CN106507177A - Method and apparatus for generating barrage - Google Patents

Method and apparatus for generating barrage Download PDF

Info

Publication number
CN106507177A
CN106507177A CN201611081537.0A CN201611081537A CN106507177A CN 106507177 A CN106507177 A CN 106507177A CN 201611081537 A CN201611081537 A CN 201611081537A CN 106507177 A CN106507177 A CN 106507177A
Authority
CN
China
Prior art keywords
interface
word
above
mentioned
default
Prior art date
Application number
CN201611081537.0A
Other languages
Chinese (zh)
Inventor
王帆
师帅
Original Assignee
百度在线网络技术(北京)有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 百度在线网络技术(北京)有限公司 filed Critical 百度在线网络技术(北京)有限公司
Priority to CN201611081537.0A priority Critical patent/CN106507177A/en
Publication of CN106507177A publication Critical patent/CN106507177A/en

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, synchronizing decoder's clock; Client middleware
    • H04N21/431Generation of visual interfaces for content selection or interaction; Content or additional data rendering
    • H04N21/4312Generation of visual interfaces for content selection or interaction; Content or additional data rendering involving specific graphical features, e.g. screen layout, special fonts or colors, blinking icons, highlights or animations
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/475End-user interface for inputting end-user data, e.g. personal identification number [PIN], preference data
    • 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/475End-user interface for inputting end-user data, e.g. personal identification number [PIN], preference data
    • H04N21/4756End-user interface for inputting end-user data, e.g. personal identification number [PIN], preference data for rating content, e.g. scoring a recommended movie

Abstract

This application discloses for the method and apparatus for generating barrage.One specific embodiment of said method includes:Detect that to video playback interface first operates;In response to detecting above-mentioned first operation, suspend on above-mentioned video playback interface and default interface is set, wherein, above-mentioned default interface does not constitute to above-mentioned video playback interface and blocks;Detect the second operation for being input into word track carried out at above-mentioned default interface;According to the word track of the above-mentioned second operation input, coupling obtains word;Detect that the to above-mentioned default interface the 3rd operates;In response to detecting above-mentioned 3rd operation, the word that coupling is obtained concurrently is served and states Word message to server, so that above-mentioned server generates barrage according to above-mentioned Word message as the Word message in barrage to be generated.The broadcasting for suspending video when barrage is generated is this embodiment avoids, the efficiency for generating barrage is improve.

Description

Method and apparatus for generating barrage

Technical field

The application is related to field of computer technology, and in particular to video technique field, more particularly, to generates barrage Method and apparatus.

Background technology

Barrage, is the user comment sent as shell when video playback, is greatly enriched video-see Interest.Existing barrage generating mode, when user sends barrage using mobile terminal, ejects input keyboard receive user The barrage content of input.

However, the input keyboard for ejecting can block video playback picture, user is caused to can't see video pictures, for not shadow User's viewing complete video is rung, existing barrage generating mode generally suspends video playback when barrage is input into, so as to deposit In the inefficient problem for generating barrage.

Content of the invention

The purpose of the application is to propose a kind of improved method and apparatus for generating barrage, solves background above The technical problem that technology segment is mentioned.

In a first aspect, this application provides a kind of method for generating barrage, said method includes:Detection is broadcast to video Put first operation at interface;In response to detecting above-mentioned first operation, suspending on above-mentioned video playback interface, it is default to arrange Interface, wherein, above-mentioned default interface does not constitute to above-mentioned video playback interface and blocks;The use that detection is carried out at above-mentioned default interface The second operation in input word track;According to the word track of the above-mentioned second operation input, coupling obtains word;Detection is to upper State the 3rd operation at default interface;In response to detecting above-mentioned 3rd operation, the word that coupling is obtained is used as barrage to be generated In Word message, concurrently serve and state Word message to server, so that above-mentioned server generates bullet according to above-mentioned Word message Curtain.

In certain embodiments, above-mentioned suspension on video playback interface arranges default interface, including:Call default defeated Enter the inputting interface of touch keypad in method, wherein, the transparency of above-mentioned inputting interface is less than default transparency threshold;Will be above-mentioned defeated Enter interface to be arranged on above-mentioned video playback interface as the suspension of default interface.

In certain embodiments, above-mentioned above-mentioned inputting interface suspends as default interface is arranged on above-mentioned video playback circle On face, including:Obtain the screen size of the terminal unit that above-mentioned video playback interface is located;Adjust the chi of above-mentioned inputting interface Very little obtain and above-mentioned screen size identical inputting interface;Adjusted inputting interface suspends as default interface and is arranged on State on video playback interface.

In certain embodiments, the above-mentioned word track according to the above-mentioned second operation input, coupling obtain word, including: In the candidate character that above-mentioned default interface display is obtained according to above-mentioned word path matching;Receive the selection to candidate character to grasp Make;Using candidate character targeted for above-mentioned selection operation as the word with above-mentioned word path matching.

In certain embodiments, said method also includes:In response to detecting above-mentioned 3rd operation, above-mentioned default boundary is packed up Face, and show the word that coupling is obtained with barrage form at above-mentioned video playback interface.

In certain embodiments, said method also includes:In the text that above-mentioned default interface display above-mentioned second operates input Word track.

Second aspect, this application provides a kind of device for generating barrage, said apparatus include:First detection mould Block, operates to the first of video playback interface for detection;Setup module, for operating in response to detecting above-mentioned first, Suspend on above-mentioned video playback interface and default interface is set, wherein, above-mentioned default interface is to above-mentioned video playback interface not structure Into blocking;Second detection module, for the second operation for being input into word track that detection is carried out at above-mentioned default interface;? Match somebody with somebody module, for the word track according to the above-mentioned second operation input, coupling obtains word;3rd detection module, for detecting Operate to the 3rd of above-mentioned default interface the;Sending module, for the text in response to detecting above-mentioned 3rd operation, coupling being obtained Word is concurrently served and states Word message to server, so that above-mentioned server is according to upper as the Word message in barrage to be generated State Word message and generate barrage.

In certain embodiments, above-mentioned setup module, is further used for:Call the input of touch keypad in default input method Interface, wherein, the transparency of above-mentioned inputting interface is less than default transparency threshold;Above-mentioned inputting interface is hanged as default interface Float and be arranged on above-mentioned video playback interface.

In certain embodiments, above-mentioned setup module, is further used for:Obtain the terminal that above-mentioned video playback interface is located The screen size of equipment;The size for adjusting above-mentioned inputting interface is obtained and above-mentioned screen size identical inputting interface;Will be through adjusting Whole inputting interface suspends as default interface and is arranged on above-mentioned video playback interface.

In certain embodiments, above-mentioned matching module, is further used for:In above-mentioned default interface display according to above-mentioned word The candidate character that path matching is obtained;Receive the selection operation to candidate character;By candidate's text targeted for above-mentioned selection operation Word is used as the word with above-mentioned word path matching.

The application provide for the method and apparatus that generates barrage, arranged not by suspending on video playback interface The default interface that blocks is constituted to video playback interface, the word track of user input on above-mentioned default interface is then detected, then Obtain the Word message of barrage to be generated afterwards according to word path matching, can avoid suspending video when barrage is generated Play, improve the efficiency for generating barrage.

Description of the drawings

By reading the detailed description made by non-limiting example made with reference to the following drawings, the application other Feature, objects and advantages will become more apparent upon:

Fig. 1 is that the application can apply to exemplary system architecture figure therein;

Fig. 2 is the flow chart for generating one embodiment of the method for barrage according to the application;

Fig. 3 a and Fig. 3 b are the schematic diagrams of for generating the method for barrage application scenarios according to the application;

Fig. 4 is the flow chart for generating another embodiment of the method for barrage according to the application;

Fig. 5 is the flow chart for generating the further embodiment of the method for barrage according to the application;

Fig. 6 is the structural representation for generating one embodiment of the device of barrage according to the application;

Fig. 7 is adapted for the structural representation of the computer system of the terminal unit for realizing the embodiment of the present application.

Specific embodiment

With reference to the accompanying drawings and examples the application is described in further detail.It is understood that this place is retouched The specific embodiment that states is used only for explaining related invention, rather than the restriction to the invention.It also should be noted that, in order to Be easy to describe, illustrate only in accompanying drawing to about the related part of invention.

It should be noted that in the case where not conflicting, the feature in embodiment and embodiment in the application can phase Mutually combine.Below with reference to the accompanying drawings and in conjunction with the embodiments describing the application in detail.

Fig. 1 shows the method for generating barrage or the enforcement for generating the device of barrage that can apply the application The exemplary system architecture 100 of example.

As shown in figure 1, system architecture 100 can include terminal unit 101,102,103, network 104 and server 105. Medium of the network 104 in order to offer communication link between terminal unit 101,102,103 and server 105.Network 104 can be with Including various connection types, such as wired, wireless communication link or fiber optic cables etc..

User can be interacted with server 105 by network 104 with using terminal equipment 101,102,103, to receive or send out Send message etc..Various telecommunication customer end applications can be installed on terminal unit 101,102,103, such as video playback class should With, web browser applications, shopping class application, searching class application, JICQ, mailbox client, social platform software Deng.

Terminal unit 101,102,103 can with display screen and support the various electronic equipments of video playback, bag Include but be not limited to smart mobile phone, panel computer, E-book reader, MP3 player (Moving Picture Experts Group Audio Layer III, dynamic image expert's compression standard audio frequency aspect 3), MP4 (Moving Picture Experts Group Audio Layer IV, dynamic image expert's compression standard audio frequency aspect 4) player, on knee portable Computer and desk computer etc..Also, the display screen of terminal unit 101,102,103 is the screen for supporting touch function, User can be input into word track on a display screen by the touch of finger or the touch of writing pencil.

Server 105 can be to provide the server of various services, such as to broadcasting on terminal unit 101,102,103 Video provides the background server that supports.Background server can be asked to the video playback for receiving, barrage receives request etc. Data are analyzed etc. and to process, and result (such as video data, barrage information) is fed back to terminal unit.

It should be noted that the method for generating barrage that provided of the embodiment of the present application typically by terminal unit 101, 102 or 103 execute, and correspondingly, are generally positioned in terminal unit 101,102 or 103 for generating the device of barrage.

It should be understood that the number of the terminal unit, network and server in Fig. 1 is only schematically.According to realizing need Will, can have any number of terminal unit, network and server.

With continued reference to Fig. 2, the flow process for generating one embodiment of the method for barrage according to the application is it illustrates 200.The above-mentioned method for generating barrage, comprises the following steps:

Step 201, detects that to video playback interface first operates.

In the present embodiment, the electronic equipment (terminal for example shown in Fig. 1 thereon is run for generating the method for barrage Equipment) can detect that user is operated the first of video playback interface when video is watched.Here, the first operation is triggering bullet The operation that curtain function is opened.

In the present embodiment, user can be watched using video playback class application or the application of browser class on the terminal device Video, the interface of the broadcasting video of user's viewing is video playback interface.

In some optional implementations of the present embodiment, above-mentioned first predetermined registration operation can be user to video playback The clicking operation of the preset icon at interface.

In some optional implementations of the present embodiment, above-mentioned first predetermined registration operation can be user in video playback The predetermined graphic operation for skidding off at interface, for example, above-mentioned first predetermined registration operation can be that user is skidded off at video playback interface " Z " font this operation.

Generally, user is when video is watched by video playback class application or the application of browser class, thoughts on video in Plot, landscape, music etc., can produce the idea for sending barrage.User watches the terminal unit of video using which, can detect use The operation that family is carried out at video playback interface, if the operation is identical with the first operation that default triggering barrage function is opened, Barrage function is then opened.As an example, at the interface of video playback, a barrage icon can be set, clicks on this barrage icon, The unlatching of barrage function can be triggered;If the user while this barrage icon is clicked on during video-see, then can trigger barrage The unlatching of function.

Step 202, in response to detecting the first operation, suspends on video playback interface and arranges default interface.

In the present embodiment, the electronic equipment (terminal for example shown in Fig. 1 thereon is run for generating the method for barrage Equipment) default interface can be set in response to detecting above-mentioned first operation on above-mentioned video playback interface, above-mentioned default Interface is suspended on above-mentioned video playback interface, also, above-mentioned default interface is not constituted to above-mentioned video playback interface Block.

In the present embodiment, above-mentioned default interface can be arranged in barrage control in advance for receiving word track Interface;Above-mentioned default interface can be the handwriting input that above-mentioned electronic equipment calls built-in input method in above-mentioned electronic equipment The inputting interface of keyboard;Above-mentioned interface can be input circle of the touch keypad of built-in input method in video playback class application Face.

In the present embodiment, above-mentioned default interface is suspended on above-mentioned video playback interface, refers to that default interface can be with By operation of the screen receive user to the default interface;User can not default interface be suspended in above-mentioned video playback interface it In the case of upper, video playback interface is operated.But, video playback interface still normal refresh, in user, depending on Frequent right in broadcasting.

In the present embodiment, above-mentioned default interface does not constitute to above-mentioned video playback interface and blocks, and refers to regarding in user In feel, can through above-mentioned default interface see above-mentioned video playback interface, i.e. user can input barrage in the case of after Continuous viewing video.

Step 203, detects the second operation for being input into word track carried out at default interface.

In the present embodiment, the electronic equipment (terminal for example shown in Fig. 1 thereon is run for generating the method for barrage Equipment) the second operation that the default interface for arranging in step 202. is carried out can be detected.Here, above-mentioned second operate and be used for Input word track.

In the present embodiment, word track can be the stroke of user writing word.Second operation can be that user is carried out Writing words operation.When second operation is carried out, above-mentioned electronic equipment detection second is operated, you can detect user writing text The stroke of word, obtains the word track of user input.

In some optional implementations of the present embodiment, above-mentioned electronic equipment can be in above-mentioned default interface display State the word track of the second operation input, it is to be understood that the area that word track is occupied in screen is line strip, no Be enough to constitute video playback interface and block.

Step 204, according to the word track of the second operation input, coupling obtains word.

In the present embodiment, the electronic equipment (terminal for example shown in Fig. 1 thereon is run for generating the method for barrage Equipment) can according to step 203 obtain second operation input word track, coupling obtain word.

It will be understood by those skilled in the art that with regard to the algorithm for how obtaining word from word path matching, being this area Well known to technology, will not be described here.

Step 205, detects the 3rd operation to presetting interface.

In the present embodiment, the electronic equipment (terminal for example shown in Fig. 1 thereon is run for generating the method for barrage Equipment) user can be detected to presetting the 3rd operation at interface.Here, above-mentioned 3rd operation is that triggering barrage information receives work( The operation that can terminate.

In the present embodiment, barrage can be set at the 3rd interface and sends icon, user is input into the barrage to be sent After content, click on this barrage and send icon, terminate the operation of input barrage content.

In some optional implementations of the present embodiment, above-mentioned electronic equipment can be in response to detecting the above-mentioned 3rd Operation, is packed up above-mentioned default interface, and is shown the word that coupling is obtained with barrage form at above-mentioned video playback interface.

Step 206, in response to detecting the 3rd operation, the word that coupling is obtained is believed as the word in barrage to be generated Breath, and Word message is sent to server, so that server generates barrage according to Word message.

In the present embodiment, the electronic equipment (terminal for example shown in Fig. 1 thereon is run for generating the method for barrage Equipment) can will mate the word for obtaining as the Word message in barrage to be generated in response to detecting above-mentioned 3rd operation, Concurrently serve and Word message is stated to server, so that above-mentioned server generates barrage according to above-mentioned Word message.

It will be understood by those skilled in the art that in response to detecting above-mentioned 3rd operation, above-mentioned electronic equipment is sent to clothes The information of business device, in addition to above-mentioned Word message, also has other to be used for the information for generating barrage.For example, above-mentioned 3rd operation is sent out Video playback is indicated when raw to the time point of where, so as to according to above-mentioned time point, above-mentioned server determines that barrage is broadcast in the video Time of occurrence when putting.

With continued reference to Fig. 3 a and Fig. 3 b, Fig. 3 a and Fig. 3 b are the applications for generating the method for barrage according to the present embodiment The schematic diagram of scene.As shown in Figure 3 a, dash area represents video playback interface, and user, can be with during viewing video Click on " barrage " icon triggering barrage function that video playback interface is arranged;Terminal unit suspends on video playback interface and sets Default interface is put, default interface does not affect user's viewing video, and user can preset handwriting input word on interface.Such as Shown in Fig. 3 b, word " the present " word can be input on default interface, the word track of terminal unit receiving user's input matches " the present " word, user click on " transmission " icon, can using " the present " word for matching as the Word message of barrage to be generated send to Server.Then the video for combining barrage is sent by server according to " the present " generating barrage as the Word message of barrage The user for playing the video to request.

It should be noted that in Fig. 3 a and Fig. 3 b, in order to by the side at video playback interface, default interface and terminal unit Frame is distinguished, and that video playback interface, default interface are drawn have bigger difference with terminal unit screen.Video playback in practice The size of interface, default interface and terminal unit screen this three can be identical.

The method that above-described embodiment of the application is provided, is not broadcast to video by suspending to arrange on video playback interface Put interface and constitute the default interface blocked, then detect the word track of above-mentioned default interface user input, then after according to word Path matching obtains the Word message of barrage to be generated, can avoid the broadcasting that must suspend video when barrage is generated, improve Generate the efficiency of barrage.

With further reference to Fig. 4, it illustrates for generating the flow process 400 of another embodiment of the method for barrage.The use In the flow process 400 of the method for generating barrage, comprise the following steps:

Step 401, detects that to video playback interface first operates.

The related description that realizes in detail with reference step 201 of step 401, will not be described here.

Step 402, in response to detecting the first operation, calls the inputting interface of default input method touch keypad.

In the present embodiment, the electronic equipment (terminal for example shown in Fig. 1 thereon is run for generating the method for barrage Equipment) inputting interface of the touch keypad of default input method can be called in response to detecting above-mentioned first operation.Here, The transparency of above-mentioned inputting interface is less than default transparency threshold.

In the present embodiment, above-mentioned default input method can be the built-in input method of above-mentioned electronic equipment, or regard Built-in input method in frequency broadcast message class application.

In the present embodiment, if the transparency of the inputting interface for calling first is adjusted above-mentioned not less than default transparency The transparency of inputting interface so that the transparency of above-mentioned inputting interface is less than default transparency threshold.The default transparency threshold Can be arranged according to practical situation, for example, default transparency threshold can video playback interface not constituted to block feelings Transparency under condition, or default transparency threshold can be fully transparent in the case of transparency.

Step 403, obtains the screen size of the terminal unit that video playback interface is located.

In the present embodiment, the electronic equipment (terminal for example shown in Fig. 1 thereon is run for generating the method for barrage Equipment) can obtain video playback interface place terminal unit screen size.

It is understood that the terminal unit that video playback interface is located, and run on for generating the method for barrage Electronic equipment (terminal unit for example shown in Fig. 1) thereon.

Step 404, the size for adjusting inputting interface are obtained and screen size identical inputting interface.

In the present embodiment, the electronic equipment (terminal for example shown in Fig. 1 thereon is run for generating the method for barrage Equipment) size that can adjust above-mentioned inputting interface obtains the screen size identical inputting interface obtained with step 403.

Step 405, adjusted inputting interface suspend as default interface and are arranged on video playback interface.

In the present embodiment, the electronic equipment (terminal for example shown in Fig. 1 thereon is run for generating the method for barrage Equipment) the adjusted inputting interface that step 404 adjustment is obtained can suspend as default interface is arranged on video playback circle On face.

In the present embodiment, the size at the default interface being arranged on video playback interface and the screen chi of terminal unit Very little identical, video playback interface can be completely covered.

Step 406, detects the second operation for being input into word track carried out in adjusted inputting interface.

In the present embodiment, the electronic equipment (terminal for example shown in Fig. 1 thereon is run for generating the method for barrage Equipment) can detect and second operate what adjusted inputting interface was carried out, above-mentioned second operates for being input into word track.

In the present embodiment, user carries out word input in above-mentioned adjusted inputting interface, when user is in input word During track, can write on full screen, it is to avoid some functions while writing in false triggering video playback interface, enter And standard of care of the user needed in writing process is reduced, the efficiency that writes is improve, and then improves barrage to be generated Efficiency.

Step 407- step 409 realizes that details and technique effect refer to the explanation to step 204- step 206, here Repeat no more.

Step 407, according to the word track of the second operation input, coupling obtains word.

Step 408, detects that the to adjusted inputting interface the 3rd operates.

Step 409, in response to detecting the 3rd operation, the word that coupling is obtained is believed as the word in barrage to be generated Breath, and Word message is sent to server, so that server generates barrage according to Word message.

Figure 4, it is seen that compared with the corresponding embodiments of Fig. 2, in the present embodiment for the method that generates barrage Flow process 400 the step of highlight the inputting interface of the touch keypad to adjusting input method and obtain default interface.Thus, this enforcement The scheme of example description can quickly recall default interface, reduce internal memory operation, improve the speed for receiving word track.Also, The size that the flow process 400 of the present embodiment highlights default interface is identical with the screen size of terminal unit, when user is in input text During word track, can write on full screen, it is to avoid some functions while writing in false touch video playback interface, enter And standard of care of the user needed in writing process is reduced, improve the efficiency that writes.Further, the present embodiment is provided Method improves the efficiency for generating barrage comprehensively.

With further reference to Fig. 5, it illustrates for generating the flow process 500 of another embodiment of the method for barrage.The use In the flow process 500 of the method for generating barrage, comprise the following steps:

Step 501, detects that to video playback interface first operates.

Step 502, in response to detecting the first operation, suspends on video playback interface and arranges default interface.

Here, above-mentioned default interface does not constitute to above-mentioned video playback interface and blocks.

Step 503, detects the second operation for being input into word track carried out at default interface.

Step 501- step 503 realizes that details and technique effect refer to the explanation to step 201- step 203, here Repeat no more.

Step 504, in the candidate character that default interface display is obtained according to word path matching.

In the present embodiment, the electronic equipment (terminal for example shown in Fig. 1 thereon is run for generating the method for barrage Equipment) candidate character can be obtained according to word path matching first, then in default interface display candidate character.

It will be understood by those skilled in the art that the algorithm for obtaining candidate character according to word path matching is art technology Well known to personnel, will not be described here.

In the present embodiment, candidate character can be shown at above-mentioned default interface where screen edge.

Step 505, receives the selection operation to candidate character.

In the present embodiment, the electronic equipment (terminal for example shown in Fig. 1 thereon is run for generating the method for barrage Equipment) can receive to the selection operation in the candidate character for presetting interface display.

Generally, user can match multiple candidate characters according to word track, by multiple times behind input word track Selection word presents to user, can select for user and wish the barrage content for sending from candidate character.

Step 506, using candidate character targeted for selection operation as the word with word path matching.

In the present embodiment, the electronic equipment (terminal for example shown in Fig. 1 thereon is run for generating the method for barrage Equipment) can be using candidate character targeted for above-mentioned selection operation as the word with above-mentioned word path matching.

Step 507, detects the 3rd operation to presetting interface.

Step 508, in response to detecting the 3rd operation, the word that coupling is obtained is believed as the word in barrage to be generated Breath, and Word message is sent to server, so that server generates barrage according to Word message.

Step 507- step 508 realizes that details and technique effect refer to the explanation to step 205- step 206, here Repeat no more.

From figure 5 it can be seen that compared with the corresponding embodiments of Fig. 2, in the present embodiment for the method that generates barrage Flow process 500 highlight candidate character obtained according to word track, and determined and word path matching according to the selection of user The step of word.Thus, the scheme of the present embodiment description can obtain more accurately obtaining the word with word path matching, so as to Realize more effectively generating barrage.

With further reference to Fig. 6, as the realization to method shown in above-mentioned each figure, this application provides a kind of be used for generating bullet One embodiment of the device of curtain, the device embodiment are corresponding with the embodiment of the method shown in Fig. 2, and the device can specifically be answered In for various electronic equipments.

As shown in fig. 6, the above-mentioned device 600 for generating barrage of the present embodiment includes:First detection module 601, set Put module 602, the second detection module 603, matching module 604, the 3rd detection module 605, sending module 606.Wherein, the first inspection Module 601 is surveyed, is operated to the first of video playback interface for detection;Setup module 602, in response to detecting above-mentioned One operation, suspends on above-mentioned video playback interface and arranges default interface, and wherein, above-mentioned default interface is to above-mentioned video playback Interface does not constitute and blocks;Second detection module 603, for detection above-mentioned default interface carry out for being input into word track Second operation;Matching module 604, for the word track according to the above-mentioned second operation input, coupling obtains word;3rd detection Module 605, operates to the 3rd of above-mentioned default interface for detection;Sending module 606, in response to detecting the above-mentioned 3rd Operation, will the word that obtains of coupling as the Word message in barrage to be generated, concurrently serve and state Word message to server, with Barrage is generated according to above-mentioned Word message for above-mentioned server.

In the present embodiment, user can be detected in viewing for generating the first detection module 601 of the device 600 of barrage During video video playback interface first operate.Here, the first operation is to trigger the operation that barrage function is opened.

In the present embodiment, above-mentioned setup module 602, can be in response to detecting above-mentioned first operation, in above-mentioned video Default interface is set on broadcast interface, and above-mentioned default interface is suspended on above-mentioned video playback interface, also, above-mentioned Default interface does not constitute to above-mentioned video playback interface and blocks.

In the present embodiment, above-mentioned second detection module 603, can detect that the default interface that setup module 602 is arranged is entered The second capable operation.Here, above-mentioned second operate for being input into word track

In the present embodiment, above-mentioned matching module 604, can according to the second detection module 603 obtain second operation defeated The word track for entering, coupling obtain word.

In the present embodiment, above-mentioned 3rd detection module 605, can detect user to presetting the 3rd operation at interface.? Here, above-mentioned 3rd operation is to trigger the operation that barrage information receive capabilities terminate.

In the present embodiment, coupling can be obtained by above-mentioned sending module 606 in response to detecting above-mentioned 3rd operation Word as the Word message in barrage to be generated, concurrently serve and state Word message to server, for above-mentioned server root Barrage is generated according to above-mentioned Word message.

In some optional implementations of the present embodiment, above-mentioned setup module 602 is further used for:Call default The inputting interface of touch keypad in input method, wherein, the transparency of above-mentioned inputting interface is less than default transparency threshold;Will be above-mentioned Inputting interface suspends as default interface and is arranged on above-mentioned video playback interface.

In some optional implementations of the present embodiment, above-mentioned setup module 602 is further used for:Obtain above-mentioned The screen size of the terminal unit that video playback interface is located;The size for adjusting above-mentioned inputting interface is obtained and above-mentioned screen size Identical inputting interface;Adjusted inputting interface suspends as default interface and is arranged on above-mentioned video playback interface.

In some optional implementations of the present embodiment, above-mentioned matching module 604 is further used for:Above-mentioned pre- If the candidate character that interface display is obtained according to above-mentioned word path matching;Receive the selection operation to candidate character;Will be above-mentioned The targeted candidate character of selection operation is used as the word with above-mentioned word path matching.

In some optional implementations of the present embodiment, above-mentioned matching module 604 is further used for:In response to inspection Above-mentioned 3rd operation is measured, above-mentioned default interface is packed up, and is shown that coupling is obtained at above-mentioned video playback interface with barrage form Word.

In some optional implementations of the present embodiment, above-mentioned matching module 604 is further used for:Above-mentioned pre- If the word track of the above-mentioned second operation input of interface display.

Device that above-described embodiment of the application is provided realizes details and technique effect, may be referred to the application for giving birth to Related description in the embodiment of the method for barrage, will not be described here.

Below with reference to Fig. 7, the computer system 700 for being suitable to the terminal unit for realizing the embodiment of the present application is it illustrates Structural representation.

As shown in fig. 7, computer system 700 includes CPU (CPU) 701, which can be read-only according to being stored in In memorizer (ROM) 702

Program is executed various suitable from the storage program that is loaded in random access storage device (RAM) 703 of part 708 When action and process.In RAM 703, the system that is also stored with 700 operates required various programs and data.CPU 701、 ROM 702 and RAM 703 is connected with each other by bus 704.Input/output (I/O) interface 705 is also connected to bus 704.

I/O interfaces 705 are connected to lower component:Importation 706 including keyboard, mouse etc.;Penetrate including such as negative electrode Spool (CRT), liquid crystal display (LCD) etc. and the output par, c 707 of speaker etc.;Storage part 708 including hard disk etc.; And the communications portion 709 of the NIC including LAN card, modem etc..Communications portion 709 via such as because The network of special net executes communication process.Driver 710 is also according to needing to be connected to I/O interfaces 705.Detachable media 711, such as Disk, CD, magneto-optic disk, semiconductor memory etc., as needed in driver 710, in order to read from it Computer program be mounted into as needed storage part 708.

Especially, in accordance with an embodiment of the present disclosure, the process above with reference to flow chart description may be implemented as computer Software program.For example, embodiment of the disclosure includes a kind of computer program, and which includes being tangibly embodied in machine readable Computer program on medium, above computer program bag is containing the program code for the method shown in execution flow chart.At this In the embodiment of sample, the computer program can be downloaded and installed from network by communications portion 709, and/or from removable Unload medium 711 to be mounted.When the computer program is executed by CPU (CPU) 701, execute in the present processes The above-mentioned functions of restriction.

Flow chart and block diagram in accompanying drawing, it is illustrated that according to the system of the various embodiments of the application, method and computer journey The architectural framework in the cards of sequence product, function and operation.At this point, each square frame in flow chart or block diagram can generation A part for table one module, program segment or code, a part for above-mentioned module, program segment or code is comprising one or more For realizing the executable instruction of the logic function of regulation.It should also be noted that in some are as the realization that replaces, institute in square frame The function of mark can also occur with the order for being different from marked in accompanying drawing.For example, the two square frame reality for succeedingly representing On can execute substantially in parallel, they can also be executed sometimes in the opposite order, and this is depending on involved function.Also to It is noted that the combination of block diagram and/or each square frame and block diagram and/or the square frame in flow chart in flow chart, Ke Yiyong Execute the function of regulation or the special hardware based system of operation to realize, or can be referred to computer with specialized hardware The combination of order is realizing.

It is described in involved unit in the embodiment of the present application to realize by way of software, it is also possible to by hard The mode of part is realizing.Described unit can also be arranged within a processor, for example, it is possible to be described as:A kind of processor bag First detection module, setup module, the second detection module, matching module, the 3rd detection module, sending module is included, wherein, these The title of unit is not constituted under certain conditions to the unit restriction of itself, and for example, first detection module can be being retouched State as " for first module that operate of the detection to video playback interface ".

As on the other hand, present invention also provides a kind of nonvolatile computer storage media, the non-volatile calculating Machine storage medium can be the nonvolatile computer storage media in above-described embodiment included in said apparatus;Can also be Individualism, without the nonvolatile computer storage media that allocates in terminal.Above-mentioned nonvolatile computer storage media is deposited One or more program is contained, when said one or multiple programs are executed by an equipment so that the said equipment:Detection Operate to the first of video playback interface;In response to detecting above-mentioned first operation, suspend on above-mentioned video playback interface Default interface is set, and wherein, above-mentioned default interface does not constitute to above-mentioned video playback interface and blocks;Detection is at above-mentioned default interface The second operation for being input into word track for carrying out;According to the word track of the above-mentioned second operation input, coupling obtains word; Detect that the to above-mentioned default interface the 3rd operates;In response to detecting above-mentioned 3rd operation, using the word that obtains of coupling as treating The Word message in barrage is generated, and is concurrently served and Word message is stated to server, so that above-mentioned server is believed according to above-mentioned word Breath generates barrage.

Above description is only the preferred embodiment and the explanation to institute's application technology principle of the application.People in the art Member should be appreciated that involved invention scope in the application, however it is not limited to the technology of the particular combination of above-mentioned technical characteristic Scheme, while should also cover in the case where conceiving without departing from foregoing invention, is carried out by above-mentioned technical characteristic or its equivalent feature Combination in any and other technical schemes for being formed.Such as features described above has similar work(with (but not limited to) disclosed herein The technical scheme that the technical characteristic of energy is replaced mutually and formed.

Claims (10)

1. a kind of method for generating barrage, it is characterised in that methods described includes:
Detect that to video playback interface first operates;
In response to detecting first operation, suspend on the video playback interface and default interface is set, wherein, described Default interface does not constitute to the video playback interface and blocks;
Detect the second operation for being input into word track carried out at the default interface;
According to the word track of the described second operation input, coupling obtains word;
Detect that the to the default interface the 3rd operates;
In response to detecting the 3rd operation, using the word that obtains of coupling as the Word message in barrage to be generated, concurrently The Word message is sent to server, so that the server generates barrage according to the Word message.
2. method according to claim 1, it is characterised in that described suspension on video playback interface arranges default boundary Face, including:
The inputting interface of touch keypad in default input method is called, wherein, the transparency of the inputting interface is transparent less than default Degree threshold value;
The inputting interface is suspended as default interface and is arranged on the video playback interface.
3. method according to claim 2, it is characterised in that the described inputting interface suspends as default interface sets Put on the video playback interface, including:
Obtain the screen size of the terminal unit that the video playback interface is located;
The size for adjusting the inputting interface is obtained and the screen size identical inputting interface;
Adjusted inputting interface suspends as default interface and is arranged on the video playback interface.
4. the method according to any one of claim 1-3, it is characterised in that described according to the described second operation input Word track, coupling obtain word, including:
In the candidate character that the default interface display is obtained according to the word path matching;
Receive the selection operation to candidate character;
Using candidate character targeted for the selection operation as the word with the word path matching.
5. method according to claim 4, it is characterised in that methods described also includes:
In response to detecting the 3rd operation, the default interface is packed up, and at the video playback interface with barrage form Show the word that coupling is obtained.
6. method according to claim 5, it is characterised in that methods described also includes:
Word track in the second operation input described in the default interface display.
7. a kind of device for generating barrage, it is characterised in that described device includes:
First detection module, operates to the first of video playback interface for detection;
Setup module, in response to detecting first operation, suspending on the video playback interface, it is default to arrange Interface, wherein, the default interface does not constitute to the video playback interface and blocks;
Second detection module, for the second operation for being input into word track that detection is carried out at the default interface;
Matching module, for the word track according to the described second operation input, coupling obtains word;
3rd detection module, operates to the 3rd of the default interface for detection;
Sending module, in response to detecting the 3rd operation, the word that coupling is obtained is as in barrage to be generated Word message, and the Word message is sent to server, so that the server generates barrage according to the Word message.
8. device according to claim 7, it is characterised in that the setup module, is further used for:
The inputting interface of touch keypad in default input method is called, wherein, the transparency of the inputting interface is transparent less than default Degree threshold value;
The inputting interface is suspended as default interface and is arranged on the video playback interface.
9. device according to claim 8, it is characterised in that the setup module, is further used for:
Obtain the screen size of the terminal unit that the video playback interface is located;
The size for adjusting the inputting interface is obtained and the screen size identical inputting interface;
Adjusted inputting interface suspends as default interface and is arranged on the video playback interface.
10. the device according to any one of claim 7-9, it is characterised in that the matching module, is further used for:
In the candidate character that the default interface display is obtained according to the word path matching;
Receive the selection operation to candidate character;
Using candidate character targeted for the selection operation as the word with the word path matching.
CN201611081537.0A 2016-11-30 2016-11-30 Method and apparatus for generating barrage CN106507177A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611081537.0A CN106507177A (en) 2016-11-30 2016-11-30 Method and apparatus for generating barrage

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611081537.0A CN106507177A (en) 2016-11-30 2016-11-30 Method and apparatus for generating barrage

Publications (1)

Publication Number Publication Date
CN106507177A true CN106507177A (en) 2017-03-15

Family

ID=58327310

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611081537.0A CN106507177A (en) 2016-11-30 2016-11-30 Method and apparatus for generating barrage

Country Status (1)

Country Link
CN (1) CN106507177A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108093312A (en) * 2017-12-29 2018-05-29 上海爱优威软件开发有限公司 Interactive approach and system based on barrage technology
WO2019196929A1 (en) * 2018-04-13 2019-10-17 维沃移动通信有限公司 Video data processing method and mobile terminal

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103108251A (en) * 2013-02-28 2013-05-15 青岛海信电器股份有限公司 System and method for television user interaction
CN104618813A (en) * 2015-01-20 2015-05-13 腾讯科技(北京)有限公司 Barrage information processing method, client and service platform
CN104731554A (en) * 2015-03-30 2015-06-24 北京奇艺世纪科技有限公司 Comment information issuing method and device
CN105872646A (en) * 2015-12-10 2016-08-17 乐视网信息技术(北京)股份有限公司 Bullet screen comment input method and device, and bullet screen comment display method and device
CN105872702A (en) * 2015-12-09 2016-08-17 乐视网信息技术(北京)股份有限公司 Method and device for displaying virtual keyboard
CN105979388A (en) * 2015-12-02 2016-09-28 乐视网信息技术(北京)股份有限公司 Video review publishing method and system

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103108251A (en) * 2013-02-28 2013-05-15 青岛海信电器股份有限公司 System and method for television user interaction
CN104618813A (en) * 2015-01-20 2015-05-13 腾讯科技(北京)有限公司 Barrage information processing method, client and service platform
CN104731554A (en) * 2015-03-30 2015-06-24 北京奇艺世纪科技有限公司 Comment information issuing method and device
CN105979388A (en) * 2015-12-02 2016-09-28 乐视网信息技术(北京)股份有限公司 Video review publishing method and system
CN105872702A (en) * 2015-12-09 2016-08-17 乐视网信息技术(北京)股份有限公司 Method and device for displaying virtual keyboard
CN105872646A (en) * 2015-12-10 2016-08-17 乐视网信息技术(北京)股份有限公司 Bullet screen comment input method and device, and bullet screen comment display method and device

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108093312A (en) * 2017-12-29 2018-05-29 上海爱优威软件开发有限公司 Interactive approach and system based on barrage technology
WO2019196929A1 (en) * 2018-04-13 2019-10-17 维沃移动通信有限公司 Video data processing method and mobile terminal

Similar Documents

Publication Publication Date Title
AU2014287943B2 (en) User terminal device for supporting user interaction and methods thereof
US8266544B1 (en) HTML pop-up control
CN101706796B (en) Method and device for showing webpage resources
CN101616213B (en) Haptic effect provisioning for a mobile communication terminal
CN105955617B (en) For selecting the gesture of text
EP2252947B1 (en) Acceleration of rendering of web-based content
US20140043325A1 (en) Facetted browsing
CN103415833B (en) The outer visual object of the screen that comes to the surface
KR20110071708A (en) Method and apparatus for searching contents in touch screen device
CN105830422B (en) Foldable electronic and its interface alternation method
EP2138927B1 (en) Haptic effect provisioning for a mobile communication terminal
US20140047308A1 (en) Providing note based annotation of content in e-reader
CN103649898B (en) Starter for the menu based on context
AU2011286583A1 (en) Touch-sensitive device and touch-based folder control method thereof
US20100070898A1 (en) Contextual window-based interface and method therefor
WO2015188674A1 (en) Method and apparatus for displaying information content
CN104298429B (en) A kind of information displaying method and input method system based on input
US8966387B2 (en) Method and apparatus for managing icon in portable terminal
WO2011029985A1 (en) Method and apparatus for controlling access
WO2014119967A1 (en) Page search method and electronic device supporting the same
CN104281430B (en) The method and apparatus for executing function relevant to the information being shown on external device (ED)
US20170052668A1 (en) Smart whiteboard interactions
CN105164714A (en) User terminal device and controlling method thereof
AU2011358860A1 (en) Operating method of terminal based on multiple inputs and portable terminal supporting the same
EP2699029A1 (en) Method and Device for Providing a Message Function

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination