CN107222790A - A kind of method, terminal and computer-readable recording medium for sending barrage - Google Patents
A kind of method, terminal and computer-readable recording medium for sending barrage Download PDFInfo
- Publication number
- CN107222790A CN107222790A CN201710364060.5A CN201710364060A CN107222790A CN 107222790 A CN107222790 A CN 107222790A CN 201710364060 A CN201710364060 A CN 201710364060A CN 107222790 A CN107222790 A CN 107222790A
- Authority
- CN
- China
- Prior art keywords
- barrage
- target
- video pictures
- user
- thumb
- 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.)
- Withdrawn
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/47—End-user applications
- H04N21/478—Supplemental services, e.g. displaying phone caller identification, shopping application
- H04N21/4788—Supplemental services, e.g. displaying phone caller identification, shopping application communicating with other users, e.g. chatting
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing 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/431—Generation of visual interfaces for content selection or interaction; Content or additional data rendering
- H04N21/4312—Generation 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
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/47—End-user applications
- H04N21/472—End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Databases & Information Systems (AREA)
- Human Computer Interaction (AREA)
- General Engineering & Computer Science (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
The embodiment of the present invention provides a kind of method, terminal and computer-readable recording medium for sending barrage.Methods described includes:Receive the target area that user selects on video pictures;Recognize the target in the target area;The barrage set of the target is obtained from default barrage storehouse;Show the barrage of the predetermined number in the barrage set so that user selects;Receive the barrage of user's selection and send to server.The embodiment of the present invention can show that the barrage of predetermined number selects for user from the barrage set of the target, reduce the time that user sends barrage, the efficiency of barrage transmission is improved, while also improving the experience of user.
Description
Technical field
The present invention relates to electronic technology field, more particularly to a kind of method for sending barrage, terminal and computer-readable deposit
Storage media.
Background technology
The existing mode for sending barrage is essentially all that user clicks on video player, then clicks on word input icon,
Enter copy editor interface and carry out corresponding word input.The existing mode for sending barrage, the time of operation is long, waits until
User have input corresponding barrage, send after, often some of this scene, which are laughed at, a little have passed through;On the other hand, exist
During user's input barrage, the notice to be taken a long time is on input barrage, it is impossible to wholeheartedly watch video.
This mode efficiency for sending barrage is low, while the experience of user is not good.
The content of the invention
The embodiment of the present invention provides a kind of method, terminal and computer-readable recording medium, can improve the effect for sending barrage
Rate, lifts the experience of user.
In a first aspect, the embodiments of the invention provide a kind of method for sending barrage, this method includes:
Receive the target area that user selects on video pictures;
Recognize the target in the target area;
The barrage set of the target is obtained from default barrage storehouse;
Show the barrage of the predetermined number in the barrage set so that user selects;
Receive the barrage of user's selection and send to server.
In a first aspect, the embodiments of the invention provide a kind of terminal, the terminal includes:
Receiving unit, for receiving the target area that user selects on video pictures;
Recognition unit, for recognizing the target in the target area;
Acquiring unit, the barrage set for obtaining the target from default barrage storehouse;
Display unit, for showing that the barrage of the predetermined number in the barrage set selects for user;
Transmitting element, for receiving the barrage of user's selection and sending to server.
The third aspect, the embodiments of the invention provide another terminal, including processor, input equipment, output equipment and
Memory, the processor, input equipment, output equipment and memory are connected with each other, wherein, the memory is used to store branch
The application code that terminal performs the above method is held, the processor is arranged to the method for performing above-mentioned first aspect.
Fourth aspect, the embodiments of the invention provide a kind of computer-readable recording medium, the computer-readable storage medium
Be stored with computer program, and the computer program includes programmed instruction, and described program instruction makes institute when being executed by a processor
The method for stating the above-mentioned first aspect of computing device.
Method provided in an embodiment of the present invention, terminal and computer-readable recording medium, by recognizing in video pictures
Target, obtains the barrage set of the target from default barrage storehouse, shows the barrage of the predetermined number in the barrage set,
Receive barrage and transmission that user selects from the barrage of predetermined number.The embodiment of the present invention can be from the barrage collection of the target
Show that the barrage of predetermined number selects for user in conjunction, reduce the time that user sends barrage, improve barrage transmission
Efficiency, while also improving the experience of user.
Brief description of the drawings
Technical scheme, is used required in being described below to embodiment in order to illustrate the embodiments of the present invention more clearly
Accompanying drawing is briefly described, it should be apparent that, drawings in the following description are some embodiments of the present invention, general for this area
For logical technical staff, on the premise of not paying creative work, other accompanying drawings can also be obtained according to these accompanying drawings.
Fig. 1 is a kind of schematic flow sheet of method for sending barrage provided in an embodiment of the present invention;
Fig. 2 is a kind of sub-process schematic diagram of method for sending barrage provided in an embodiment of the present invention;
Fig. 3 is a kind of another sub-process schematic diagram of method for sending barrage provided in an embodiment of the present invention;
Fig. 4 is a kind of another sub-process schematic diagram of method for sending barrage provided in an embodiment of the present invention;
Fig. 5 is the schematic diagram of the barrage of display predetermined number provided in an embodiment of the present invention;
Fig. 6 is a kind of another sub-process schematic diagram of method for sending barrage provided in an embodiment of the present invention;
Fig. 7 is a kind of schematic block diagram of terminal provided in an embodiment of the present invention;
Fig. 8 is the schematic block diagram of receiving unit provided in an embodiment of the present invention;
Fig. 9 is the schematic block diagram of acquiring unit provided in an embodiment of the present invention;
Figure 10 is the schematic block diagram of display unit provided in an embodiment of the present invention;
Figure 11 is the schematic block diagram of another acquiring unit provided in an embodiment of the present invention;
Figure 12 is a kind of schematic block diagram for terminal that another embodiment of the present invention is provided.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete
Site preparation is described, it is clear that described embodiment is a part of embodiment of the invention, rather than whole embodiments.Based on this hair
Embodiment in bright, the every other implementation that those of ordinary skill in the art are obtained under the premise of creative work is not made
Example, belongs to the scope of protection of the invention.
It should be appreciated that ought be in this specification and in the appended claims in use, term " comprising " and "comprising" be indicated
Described feature, entirety, step, operation, the presence of element and/or component, but be not precluded from one or more of the other feature, it is whole
Body, step, operation, element, component and/or its presence or addition for gathering.
It will also be understood that although term first, second etc. can be used for describing various elements herein, these elements should not
This is limited to these terms.These terms are only used for these elements being distinguished from each other out.For example, not departing from the scope of the invention
Under the premise of, first terminal can be referred to as second terminal, and similarly, second terminal can be referred to as first terminal.First
Terminal and second terminal are terminal, but their not same terminals.
It will be further appreciated that, the term "and/or" used in description of the invention and appended claims is
Refer to any combinations of one or more of the associated item listed and be possible to combination, and including these combinations.
In the specific implementation, the terminal described in the embodiment of the present invention is including but not limited to such as with touch sensitive surface
The mobile phone, laptop computer or tablet PC of (for example, touch-screen display and/or touch pad) etc it is other just
Portable device.It is to be further understood that in certain embodiments, the equipment not portable communication device, but with touching
Touch the desktop computer of sensing surface (for example, touch-screen display and/or touch pad).
In discussion below, the terminal including display and touch sensitive surface is described.It is, however, to be understood that
It is that terminal can include one or more of the other physical user-interface device of such as physical keyboard, mouse and/or control-rod.
Terminal supports various application programs, such as one or more of following:Drawing application program, demonstration application journey
Sequence, word-processing application, website create application program, disk imprinting application program, spreadsheet applications, game application
Program, telephony application, videoconference application, email application, instant messaging applications, exercise
Support application program, photo management application program, digital camera application program, digital camera application program, web-browsing application
Program, digital music player application and/or video frequency player application program.
The various application programs that can be performed in terminal can use such as touch sensitive surface at least one is public
Physical user-interface device.It can adjust and/or change among applications and/or in corresponding application programs and touch sensitive table
The corresponding information shown in the one or more functions and terminal in face.So, the public physical structure of terminal is (for example, touch
Sensing surface) the various application programs with user interface directly perceived and transparent for a user can be supported.
Fig. 1 is a kind of method flow schematic diagram for sending barrage provided in an embodiment of the present invention.Before this method embodiment
The video that carrying is to send barrage has default barrage storehouse, wherein, default barrage storehouse is interpreted as all bullets occurred for the video
There is the barrage set corresponding to the selected target of user in the set of curtain, and the default barrage storehouse.This method includes S101
~S105.
S101, receives the target area that user selects on video pictures.Wherein, the target in the video pictures includes spy
Determine personage, in addition to specific animal or special object etc..Preferably, the target in the video pictures includes particular person
Thing.Specifically, as shown in Fig. 2 S101 includes S201-S203.S201, receives the selection operation instruction of user.Wherein, selection behaviour
Making instruction the operational order such as includes long-press, clicks on, draws a circle.Operational order of drawing a circle can be regarded as drawing open circle in target region
Or draw ring or draw rectangle etc., wherein, open circle, ring, rectangle etc. can be it is irregular can also be regular.
S202, obtains corresponding video pictures when selection operation instruction starts.If selection operation instruction is long-press operational order, then pressed
At the time of instructing beginning at the time of going down for selection operation, video pictures corresponding at the time of pressing down are obtained;If selection behaviour
It is operational order of drawing a circle to make instruction, then at the time of beginning at the time of starting to draw a circle for selection operation instruction, acquisition starts to draw a circle
At the time of corresponding video pictures.S203, obtains the region where selection operation instruction described in video pictures, by the region
It is used as target region.It should be noted that the region where the selection operation instruction not merely includes selection operation
Corresponding region is instructed, and refers to include the region that selection operation instructs the corresponding bigger preset range in region, obtains bigger pre-
If the region of scope is to prevent selection operation from instructing corresponding region too small, it is impossible to completely including clarification of objective scope, if not
Face scope can be included completely.
Target in S102, identification object region.If the target in target area can be known when being particular persons by face
Method for distinguishing recognizes the particular persons, and the particular persons are such as recognized by interpupillary distance, shape of face, nozzle type, can also pass through target
The method of detection detects the specific objective in video pictures, by the specific objective detected and the target image progress of storage
It is equipped with and determines the specific objective.
S103, obtains the barrage set of the target from default barrage storehouse.Obtained from default barrage storehouse and be directed to the target
Barrage set.Specifically, as shown in figure 3, S103 includes S301-S303.S301, obtains all bullets in default barrage storehouse
Curtain.Whether S302, the content of every barrage of detection includes the address of the target.Wherein, for each target of the video,
All addresses corresponding to each target are prestored, all addresses corresponding to the target include name, various close
Claim etc..S303, using all barrages for including the address as the target barrage set.By in the default barrage storehouse of detection
Whether every barrage includes the address of the target to obtain the barrage set of the target, the barrage for the target that the program is obtained
Set is more accurate.
S104, the barrage of the predetermined number in display barrage set is for user's selection.Wherein, predetermined number is preferably 3
It is individual.If the total quantity of the barrage in the target barrage set is less than or equal to predetermined number, the target barrage set will be shown
In all barrages.If the total quantity of the barrage in the target barrage set is more than predetermined number, can be at random from the target
The barrage of predetermined number is chosen in barrage set so that user selects, can also be according to preset rules in the target barrage set
Barrage be ranked up, display ranking results in preferably barrage for user select.Wherein, preset rules are the transmission of barrage
Amount, quantity of barrage thumb up etc..
S105, receives the barrage of user's selection and sends to server.Receive the bullet that user selects from the barrage of display
Curtain, and the barrage of the selection is sent to server.
Specifically, if as shown in figure 4, the total quantity of the barrage in the target barrage set is more than predetermined number, S104 bags
Include S401-S407.S401, is obtained in the barrage set of the target by the barrage of thumb up.S402, judges by the number of the barrage of thumb up
Whether amount is more than or equal to predetermined number.S403, if more than or equal to predetermined number, choosing pre- from the barrage by thumb up
If the barrage of quantity.The mode of selection can be randomly selected or count by the thumb up quantity of the barrage of thumb up, choose
Barrage more than thumb up quantity.S404, if being less than predetermined number by the quantity of the barrage of thumb up, chooses by all barrages of thumb up.
S405, is not counted all by the barrage of thumb up according to preparatory condition.Wherein, preparatory condition is preferably the transmission of barrage
Amount.It is to be appreciated that not counted all by the barrage of thumb up according to the traffic volume of barrage, such as statistics barrage content is
The traffic volume of " liking you ".S406, chooses the barrage of destination number in statistical result, and the destination number is that predetermined number is subtracted by point
The quantity for the barrage praised.Preferably, the barrage of the high destination number of barrage traffic volume in statistical result is chosen.It should be noted
It is, if not being less than destination number by the quantity of the barrage of thumb up, then choose all not by the barrage of thumb up.S407, display is
All barrages chosen select for user.As shown in figure 5, on the screen 51 of terminal 50, showing selection operation instruction pair
The region 512 answered and three barrages 511.If the total quantity of the barrage in the target barrage set is more than predetermined number, preferably
Choose in the target barrage set by the barrage of thumb up, if being less than predetermined number by the barrage of thumb up in the target barrage set,
The barrage of destination number is chosen in barrage from the target barrage set not by thumb up according to preparatory condition, by the program,
The barrage that online friend sends can be counted in real time, so that the barrage corresponding to the target of display best suits online friend's all the time
Phychology, lifts Consumer's Experience.
Above method embodiment is by receiving the target area that user selects on video pictures;Recognize in the target area
Target;The barrage set of the target is obtained from default barrage storehouse;Show barrage set in predetermined number barrage for
User selects;Receive the barrage of user's selection and send to server.Barrage can quickly be sent by this method embodiment, carried
Rise the experience of user.
In other embodiments, as shown in fig. 6, S103 includes S601-S603.S601, obtains and owns in default barrage storehouse
The corresponding video pictures of timestamp of barrage.Wherein, each barrage is corresponding timestamp, that is, sends the time of this barrage.
Obtain the video pictures in the video corresponding to the time for sending each barrage.Whether S602, detect has in each video pictures
The target.Specifically, it can detect in each video pictures whether there is the target by the method for recognition of face.S603,
Using the barrage for the correspondent time for having the target in video pictures as the target barrage set.It is to be understood that all bullets
The corresponding video pictures of timestamp of curtain have the target, then corresponding barrage is relevant with the target.If all barrages when
Between stab and have multiple targets in corresponding video pictures, then corresponding barrage is relevant with the plurality of target.The program is solved
If do not occur the address of target in barrage, the corresponding relation between the barrage and target person.
In other embodiments, the barrage set of the target is obtained from default barrage storehouse to be combined according to Fig. 3 with Fig. 6
Scheme.If it is to be understood that there is the target in corresponding video pictures, then corresponding barrage is relevant with the target, if
There are multiple targets in corresponding video pictures, the barrage for occurring in that corresponding address is the barrage of the target.The embodiment causes
The barrage set of the target drawn is more accurate, further, improves the efficiency for sending barrage, lifts the experience of user.
Fig. 7 is a kind of schematic block diagram of terminal provided in an embodiment of the present invention.The premise of the embodiment is to send barrage
Video have a default barrage storehouse, and there is the barrage set corresponding to the selected target of user in the default barrage storehouse.The end
End 70 includes receiving unit 701, recognition unit 702, acquiring unit 703, display unit 704, transmitting element 705.
Receiving unit 701, for receiving the target area that user selects on video pictures.Wherein, in the video pictures
Target include particular persons, in addition to specific animal or special object etc..Preferably, the target in the video pictures
Including particular persons.Specifically, as shown in figure 8, receiving unit includes instruction reception unit 801, the first picture acquiring unit
802nd, area acquisition unit 803.Instruction reception unit 801, the selection operation for receiving user is instructed.Wherein, selection operation
Instruction such as includes long-press, clicks on, draws a circle at the operational order.Operational order of drawing a circle can be regarded as target region draw open circle or
Person draws ring or draws rectangle etc., wherein, open circle, ring, rectangle etc. can be it is irregular can also be regular.First
Picture acquiring unit 802, corresponding video pictures during for obtaining selection operation instruction beginning.If selection operation instruction is long-press
Operational order, then at the time of instructing beginning at the time of pressing down for selection operation, acquisition is corresponding at the time of pressing down to be regarded
Frequency picture;If selection operation instruction is draws a circle operational order, then instructed at the time of starting to draw a circle for selection operation start when
Carve, obtain video pictures corresponding at the time of starting to draw a circle.Area acquisition unit 803, for obtaining described in video pictures
Region where selection operation instruction, regard the region as target region.It should be noted that the selection operation instruction
The region at place not merely includes selection operation and instructs corresponding region, and refers to that including selection operation instructs corresponding region
The region of bigger preset range, obtains the region of bigger preset range to prevent selection operation from instructing corresponding region too small, no
Clarification of objective scope can be included completely, face scope can not be such as included completely.
Recognition unit 702, for the target in identification object region.If the target in target area can when being particular persons
The particular persons are recognized by the method for recognition of face, the particular persons are such as recognized by interpupillary distance, shape of face, nozzle type, also may be used
The specific objective in video pictures is detected in the method by target detection, by the specific objective detected and the target of storage
Image is matched to determine the specific objective.
Acquiring unit 703, the barrage set for obtaining the target from default barrage storehouse.Obtained from default barrage storehouse
For the barrage set of the target.Specifically, as shown in figure 9, acquiring unit is examined including all barrage acquiring units 901, first
Survey unit 902, the first barrage acquiring unit 903.All barrage acquiring units 901, it is all in default barrage storehouse for obtaining
Barrage.First detection unit 902, for detecting whether the content of every barrage includes the address of the target.Wherein, for this
Each target of video, prestores all addresses corresponding to each target, all titles corresponding to the target
Exhale including name, various pet names etc..First barrage acquiring unit 903, for regarding all barrages for including the address as this
The barrage set of target.The mesh is obtained by the way that whether every barrage in the default barrage storehouse of detection includes the address of the target
Target barrage set, the barrage set for the target that the program is obtained is more accurate.
Display unit 704, for showing that the barrage of the predetermined number in barrage set selects for user.Wherein, preset
Quantity is preferably 3.If the total quantity of the barrage in the target barrage set is less than or equal to predetermined number, the mesh will be shown
Mark all barrages in barrage set.If the total quantity of the barrage in the target barrage set is more than predetermined number, Ke Yisui
Machine chooses the barrage of predetermined number so that user selects from the target barrage set, can also be according to preset rules to the target
Barrage in barrage set is ranked up, and preferably barrage is for user's selection in display ranking results.Wherein, preset rules are
Traffic volume, quantity of barrage thumb up of barrage etc..
Transmitting element 705, for receiving the barrage of user's selection and sending to server.Receive barrage of the user from display
The barrage of middle selection, and the barrage of the selection is sent to server.
Specifically, as shown in Figure 10, if the total quantity of the barrage in the target barrage set is more than predetermined number, display is single
Member includes thumb up barrage acquiring unit 101, judging unit 102, barrage and chooses unit 103, barrage display unit 104, statistics list
Member 105.Thumb up barrage acquiring unit 101, by the barrage of thumb up in the barrage set for obtaining the target.Judging unit 102,
For judging whether be more than or equal to predetermined number by the quantity of the barrage of thumb up.Barrage chooses unit 103, if for by point
The quantity for the barrage praised is more than or equal to predetermined number, and the barrage of predetermined number is chosen from the barrage by thumb up.Choose
Mode can be randomly selected or count by the thumb up quantity of the barrage of thumb up, choose the barrage more than thumb up quantity.Bullet
Curtain display unit 104, for showing that all barrages chosen select for user.Barrage choose unit 103, if be additionally operable to by
The quantity of the barrage of thumb up is less than predetermined number, chooses by all barrages of thumb up.Statistic unit 105, for by it is all not by
The barrage of thumb up is counted according to preparatory condition.Wherein, preparatory condition is preferably the traffic volume of barrage.It is to be appreciated that will
All not counted by the barrage of thumb up according to the traffic volume of barrage, such as statistics barrage content is the traffic volume of " liking you ".Bullet
Curtain chooses unit 103, is additionally operable to choose the barrage of destination number in statistical result, and the destination number is that predetermined number is subtracted by point
The quantity for the barrage praised.Preferably, the barrage of the high destination number of barrage traffic volume in statistical result is chosen.It should be noted
It is, if not being less than destination number by the quantity of the barrage of thumb up, then choose all not by the barrage of thumb up.Barrage display unit
104, for showing that all barrages chosen select for user.As shown in figure 5, on the screen 51 of terminal 50, showing
Selection operation instructs corresponding region 512 and three barrages 511.If the total quantity of the barrage in the target barrage set is more than
Predetermined number, preferably chooses in the target barrage set by the barrage of thumb up, if by the barrage of thumb up in the target barrage set
Less than predetermined number, the bullet of destination number is chosen in the barrage from the target barrage set not by thumb up according to preparatory condition
Curtain, by the program, can be counted, so that the barrage corresponding to the target of display begins to the barrage that online friend sends in real time
The phychology of online friend is best suited eventually, lifts Consumer's Experience.
Above-described embodiment is by receiving the target area that user selects on video pictures;Recognize the mesh in the target area
Mark;The barrage set of the target is obtained from default barrage storehouse;The barrage of predetermined number in display barrage set is for user
Selection;Receive the barrage of user's selection and send to server.Barrage can quickly be sent by the embodiment, lifting user's
Experience.
In other embodiments, as shown in figure 11, acquiring unit includes the second picture acquiring unit 111, second detection list
First 112, second barrage acquiring unit 113.Second picture acquiring unit 111, for obtaining all barrages in default barrage storehouse
The corresponding video pictures of timestamp.Wherein, each barrage is corresponding timestamp, that is, sends the time of this barrage.Obtain hair
Send the video pictures in the video corresponding to the time of each barrage.Second detection unit 112, for detecting each video pictures
In whether have the target.Specifically, it can detect in each video pictures whether there is the mesh by the method for recognition of face
Mark.Second barrage acquiring unit 113, the barrage for the correspondent time that will have the target in video pictures is used as the target
Barrage set.It is to be understood that the corresponding video pictures of the timestamp of all barrages have the target, then corresponding barrage with
The target is relevant.If having multiple targets in the corresponding video pictures of the timestamp of all barrages, then corresponding barrage is with being somebody's turn to do
Multiple targets are relevant.If the program solves the address for not occurring target in barrage, between the barrage and target person
Corresponding relation.
In other embodiments, acquiring unit includes the unit in Fig. 9 and Figure 11, i.e. acquiring unit is obtained including all barrages
Unit, the first detection unit, the first barrage acquiring unit, the second picture acquiring unit, the second detection unit, the second barrage is taken to obtain
Take unit.If it is to be understood that there is the target in corresponding video pictures, then corresponding barrage is relevant with the target, if
There are multiple targets in corresponding video pictures, the barrage for occurring in that corresponding address is the barrage of the target.The embodiment causes
The barrage set of the target drawn is more accurate, further, improves the efficiency for sending barrage, lifts the experience of user.
A kind of schematic block diagram for terminal that Figure 12 provides for another embodiment of the present invention.The terminal 120 includes one
Individual or multiple input equipments 121, one or more output equipments 122, one or more memories 123 and one or more places
Device 124 is managed, above-mentioned input equipment 121, output equipment 122, memory 123 and processor 124 are connected by bus 125.Its
In:
Input equipment 121, for the barrage for providing the instruction of user's input selection operation, inputting selection.In the specific implementation, this
The input equipment 121 of inventive embodiments may include that keyboard, mouse, opto-electronic input device, audio input device, touch input are set
It is standby etc..
Output equipment 122, for exporting barrage of predetermined number etc. in video pictures, the barrage set of target.It is specific real
In existing, the output equipment 122 of the embodiment of the present invention may include display, display screen, touch-screen, audio output device etc..
Memory 123, instruction and data is provided for storing the routine data with various functions, and to processor 124.
Target facial image, quilt that the data that memory 123 is stored in the embodiment of the present invention include predetermined number, preparatory condition, prestored
The quantity of the barrage of thumb up, all barrages chosen, address of all targets etc., and other can call and can be in processor
The application code of upper operation.In the specific implementation, the memory 123 of the embodiment of the present invention can be system storage, such as,
Volatile (such as RAM), the combination of non-volatile (such as ROM, flash memory etc.), or both.For example, memory 123 can
With the information of storage device type.In the specific implementation, the memory 123 of the embodiment of the present invention can also be the outside outside system
Memory, such as, and disk, CD, tape etc..
Processor 124, for calling the application code stored in memory 123, and performs following operation:
Receive the target area that user selects on video pictures;Recognize the target in the target area;From default bullet
The barrage set of the target is obtained in curtain storehouse;Show the barrage of the predetermined number in the barrage set so that user selects;
Receive the barrage of user's selection and send to server.
Processor 124, also performs following operation:
Receive the selection operation instruction of user;Obtain corresponding video pictures when the selection operation instruction starts;Obtain
Region where the instruction of selection operation described in the video pictures, regard the region as target region.
Processor 124, also performs following operation:
Obtain all barrages in the barrage storehouse;Whether the content of every barrage of detection includes the title of the target
Exhale;Using all barrages for including the address as the target barrage set.
Processor 124, also performs following operation:
Obtain the corresponding video pictures of timestamp of all barrages in the barrage storehouse;Detect in the video pictures whether
There is the target;Using the barrage for the correspondent time for having the target in the video pictures as the target barrage collection
Close.
Processor 124, also performs following operation:
Obtain in the barrage set of the target by the barrage of thumb up;Judge whether to be more than by the quantity of the barrage of thumb up or
Person is equal to predetermined number;If more than or equal to predetermined number, the barrage of predetermined number is chosen from the barrage by thumb up;Display
All barrages chosen select for user;If being less than predetermined number by the quantity of the barrage of thumb up, choose by the institute of thumb up
There is barrage;Do not counted all by the barrage of thumb up according to preparatory condition;The barrage of destination number in statistical result is chosen,
The destination number is that predetermined number is subtracted by the quantity of the barrage of thumb up;Show all barrages chosen so that user selects
Select.
It should be appreciated that in embodiments of the present invention, alleged processor 124 can be CPU (Central
Processing Unit, CPU), the processor can also be other general processors, digital signal processor (Digital
Signal Processor, DSP), application specific integrated circuit (Application Specific Integrated Circuit,
ASIC), ready-made programmable gate array (Field-Programmable Gate Array, FPGA) or other FPGAs
Device, discrete gate or transistor logic, discrete hardware components etc..General processor can be microprocessor or this at
It can also be any conventional processor etc. to manage device.
In the specific implementation, the executable present invention of processor, input equipment, output equipment described in the embodiment of the present invention
The implementation described in embodiment of the method that embodiment is provided, also can perform the terminal described by the embodiment of the present invention
Implementation, will not be repeated here.
A kind of computer-readable recording medium, the computer-readable storage medium are provided in another embodiment of the invention
Matter is stored with computer program, and the computer program includes programmed instruction, and described program instruction is real when being executed by a processor
Existing following steps:
Receive the target area that user selects on video pictures;Recognize the target in the target area;From default bullet
The barrage set of the target is obtained in curtain storehouse;Show the barrage of the predetermined number in the barrage set so that user selects;
Receive the barrage of user's selection and send to server.
Preferably, the step also includes:Receive the selection operation instruction of user;The selection operation instruction is obtained to start
When corresponding video pictures;Obtain selection operation described in the video pictures instruction where region, using the region as
Target region.
Preferably, the step also includes:Obtain all barrages in the barrage storehouse;Detecting the content of every barrage is
The no address for including the target;Using all barrages for including the address as the target barrage set.
Preferably, the step also includes:Obtain the corresponding video pictures of timestamp of all barrages in the barrage storehouse;
Whether detect has the target in the video pictures;By the barrage for the correspondent time for having the target in the video pictures
It is used as the barrage set of the target.
Preferably, the step also includes:Obtain in the barrage set of the target by the barrage of thumb up;Judge by thumb up
Barrage quantity whether be more than or equal to predetermined number;If more than or equal to predetermined number, from the barrage by thumb up
Choose the barrage of predetermined number;Show all barrages chosen so that user selects;If being less than by the quantity of the barrage of thumb up
Predetermined number, chooses by all barrages of thumb up;Do not counted all by the barrage of thumb up according to preparatory condition;Choose system
The barrage of destination number in result is counted, the destination number is that predetermined number is subtracted by the quantity of the barrage of thumb up;Display has been selected
All barrages taken select for user.
The computer-readable recording medium can be the internal storage unit of the terminal described in foregoing any embodiment, example
Such as the hard disk or internal memory of terminal.The computer-readable recording medium can also be the External memory equipment of the terminal, for example
The plug-in type hard disk being equipped with the terminal, intelligent memory card (Smart Media Card, SMC), secure digital (Secure
Digital, SD) card, flash card (Flash Card) etc..Further, the computer-readable recording medium can also be wrapped both
Including the internal storage unit of the terminal also includes External memory equipment.The computer-readable recording medium is used to store described
Other programs and data needed for computer program and the terminal.The computer-readable recording medium can be also used for temporarily
When store the data that has exported or will export.
Those of ordinary skill in the art are it is to be appreciated that the list of each example described with reference to the embodiments described herein
Member and algorithm steps, can be realized with electronic hardware, computer software or the combination of the two, in order to clearly demonstrate hardware
With the interchangeability of software, the composition and step of each example are generally described according to function in the above description.This
A little functions are performed with hardware or software mode actually, depending on the application-specific and design constraint of technical scheme.Specially
Industry technical staff can realize described function to each specific application using distinct methods, but this realization is not
It is considered as beyond the scope of this invention.
It is apparent to those skilled in the art that, for convenience of description and succinctly, the end of foregoing description
End and the specific work process of unit, may be referred to the corresponding process in preceding method embodiment, will not be repeated here.
, can be by it in several embodiments provided herein, it should be understood that disclosed terminal and method
Its mode is realized.For example, device embodiment described above is only schematical, for example, the division of the unit, only
Only a kind of division of logic function, can there is other dividing mode when actually realizing, such as multiple units or component can be tied
Another system is closed or is desirably integrated into, or some features can be ignored, or do not perform.In addition, shown or discussed phase
Coupling or direct-coupling or communication connection between mutually can be INDIRECT COUPLING or the communication by some interfaces, device or unit
Connection or electricity, mechanical or other forms are connected.
The unit illustrated as separating component can be or may not be it is physically separate, it is aobvious as unit
The part shown can be or may not be physical location, you can with positioned at a place, or can also be distributed to multiple
On NE.Some or all of unit therein can be selected to realize scheme of the embodiment of the present invention according to the actual needs
Purpose.
In addition, each functional unit in each embodiment of the invention can be integrated in a processing unit, can also
It is that unit is individually physically present or two or more units are integrated in a unit.It is above-mentioned integrated
Unit can both be realized in the form of hardware, it would however also be possible to employ the form of SFU software functional unit is realized.
If the integrated unit is realized using in the form of SFU software functional unit and as independent production marketing or used
When, it can be stored in a computer-readable recording medium.Based on it is such understand, technical scheme substantially or
Person says the part contributed to prior art, or the technical scheme all or part can in the form of software product body
Reveal and, the computer software product is stored in a storage medium, including some instructions are to cause a computer to set
Standby (can be personal computer, server, or network equipment etc.) performs the whole of each embodiment methods described of the invention
Or part steps.And foregoing storage medium includes:USB flash disk, mobile hard disk, read-only storage (ROM, Read-Only
Memory), random access memory (RAM, Random Access Memory), magnetic disc or CD etc. are various can store journey
The medium of sequence code.
The foregoing is only a specific embodiment of the invention, but protection scope of the present invention is not limited thereto, any
Those familiar with the art the invention discloses technical scope in, various equivalent modifications can be readily occurred in or replaced
Change, these modifications or substitutions should be all included within the scope of the present invention.Therefore, protection scope of the present invention should be with right
It is required that protection domain be defined.
Claims (10)
1. a kind of method for sending barrage, it is characterised in that methods described includes:
Receive the target area that user selects on video pictures;
Recognize the target in the target area;
The barrage set of the target is obtained from default barrage storehouse;
Show the barrage of the predetermined number in the barrage set so that user selects;
Receive the barrage of user's selection and send to server.
2. the method as described in claim 1, it is characterised in that receive the target area that user selects on video pictures, bag
Include:
Receive the selection operation instruction of user;
Obtain corresponding video pictures when the selection operation instruction starts;
The region where the instruction of selection operation described in the video pictures is obtained, the region is regard as target region.
3. the method as described in claim 1, it is characterised in that the barrage set of the target is obtained from default barrage storehouse,
Including:
Obtain all barrages in the barrage storehouse;
Whether the content of every barrage of detection includes the address of the target;
Using all barrages for including the address as the target barrage set.
4. the method as described in claim 1, it is characterised in that the barrage set of the target is obtained from default barrage storehouse,
Including:
Obtain the corresponding video pictures of timestamp of all barrages in the barrage storehouse;
Whether detect has the target in the video pictures;
Using the barrage for the correspondent time for having the target in the video pictures as the target barrage set.
5. the method as described in claim 1, it is characterised in that the barrage of the predetermined number in the display barrage set for
User selects, including:
Obtain in the barrage set of the target by the barrage of thumb up;
If being more than or equal to predetermined number by the quantity of the barrage of thumb up, predetermined number is chosen from the barrage by thumb up
Barrage;
Show all barrages chosen so that user selects;
If being less than predetermined number by the quantity of the barrage of thumb up, choose by all barrages of thumb up;
Do not counted all by the barrage of thumb up according to preparatory condition;
The barrage of destination number in statistical result is chosen, the destination number is that predetermined number is subtracted by the number of the barrage of thumb up
Amount;
Show all barrages chosen so that user selects.
6. a kind of terminal, it is characterised in that the terminal includes:
Receiving unit, for receiving the target area that user selects on video pictures;
Recognition unit, for recognizing the target in the target area;
Acquiring unit, the barrage set for obtaining the target from default barrage storehouse;
Display unit, for showing that the barrage of the predetermined number in the barrage set selects for user;
Transmitting element, for receiving the barrage of user's selection and sending to server.
7. terminal as claimed in claim 6, it is characterised in that the receiving unit includes:
Instruction reception unit, the selection operation for receiving user is instructed;
First picture acquiring unit, for obtaining corresponding video pictures when the selection operation instruction starts;
Area acquisition unit, for obtaining the region where selection operation described in the video pictures is instructed, by the region
It is used as target region.
8. terminal as claimed in claim 6, it is characterised in that the acquiring unit includes:
Second picture acquiring unit, the corresponding video pictures of timestamp for obtaining all barrages in the barrage storehouse;
Second detection unit, for detecting whether there is the target in the video pictures;
Second barrage acquiring unit, the barrage for the correspondent time that will have the target in the video pictures is as described
The barrage set of target.
It is the processor, defeated 9. a kind of terminal, it is characterised in that including processor, input equipment, output equipment and memory
Enter equipment, output equipment and memory to be connected with each other, wherein, the memory is used to store application code, the processing
Device is arranged to call described program code, performs the method as described in claim any one of 1-5.
10. a kind of computer-readable recording medium, it is characterised in that the computer-readable storage medium is stored with computer program,
The computer program includes programmed instruction, and described program instruction makes the computing device such as right when being executed by a processor
It is required that the method described in any one of 1-5.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710364060.5A CN107222790A (en) | 2017-05-22 | 2017-05-22 | A kind of method, terminal and computer-readable recording medium for sending barrage |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710364060.5A CN107222790A (en) | 2017-05-22 | 2017-05-22 | A kind of method, terminal and computer-readable recording medium for sending barrage |
Publications (1)
Publication Number | Publication Date |
---|---|
CN107222790A true CN107222790A (en) | 2017-09-29 |
Family
ID=59944429
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710364060.5A Withdrawn CN107222790A (en) | 2017-05-22 | 2017-05-22 | A kind of method, terminal and computer-readable recording medium for sending barrage |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107222790A (en) |
Cited By (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108235105A (en) * | 2018-01-22 | 2018-06-29 | 上海硬创投资管理有限公司 | A kind of barrage rendering method, recording medium, electronic equipment, information processing system |
CN108616772A (en) * | 2018-05-04 | 2018-10-02 | 维沃移动通信有限公司 | A kind of barrage display methods, terminal and server |
CN109218800A (en) * | 2018-06-29 | 2019-01-15 | 努比亚技术有限公司 | A kind of barrage information display method, terminal and computer readable storage medium |
CN109379614A (en) * | 2018-12-27 | 2019-02-22 | 广州华多网络科技有限公司 | Barrage sending method, mobile terminal and computer storage medium |
CN109842820A (en) * | 2017-11-29 | 2019-06-04 | 腾讯数码(天津)有限公司 | Barrage data inputting method and device, mobile terminal and readable storage medium storing program for executing |
CN110166811A (en) * | 2019-05-15 | 2019-08-23 | 口碑(上海)信息技术有限公司 | Processing method, device and the equipment of barrage information |
CN111447483A (en) * | 2017-12-19 | 2020-07-24 | 广州虎牙信息科技有限公司 | Live broadcast room barrage sending method and device and corresponding terminal |
CN112689201A (en) * | 2019-10-17 | 2021-04-20 | 维沃移动通信有限公司 | Barrage information identification method, barrage information display method, server and electronic equipment |
CN113038185A (en) * | 2021-04-02 | 2021-06-25 | 上海哔哩哔哩科技有限公司 | Bullet screen processing method and device |
CN116132701A (en) * | 2022-12-23 | 2023-05-16 | 上海哔哩哔哩科技有限公司 | Video bullet screen management method and device, storage medium and electronic equipment |
CN116193183A (en) * | 2022-11-11 | 2023-05-30 | 深圳创维-Rgb电子有限公司 | Bullet screen display method and device, electronic equipment and storage medium |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20070052855A1 (en) * | 2005-08-05 | 2007-03-08 | Samsung Electronics Co., Ltd. | Apparatus for providing multiple screens and method of dynamically configuring multiple screens |
CN104967896A (en) * | 2014-08-04 | 2015-10-07 | 腾讯科技(北京)有限公司 | Method for displaying bulletscreen comment information, and apparatus thereof |
CN104980790A (en) * | 2015-06-30 | 2015-10-14 | 北京奇艺世纪科技有限公司 | Voice subtitle generating method and apparatus, and playing method and apparatus |
CN105916057A (en) * | 2016-04-18 | 2016-08-31 | 乐视控股(北京)有限公司 | Video barrage display method and device |
CN106028161A (en) * | 2016-04-29 | 2016-10-12 | 乐视控股(北京)有限公司 | Bullet screen generation method and apparatus, bullet screen presentation method and apparatus, server and client |
CN106488296A (en) * | 2016-10-18 | 2017-03-08 | 广州酷狗计算机科技有限公司 | A kind of method and apparatus of display video barrage |
-
2017
- 2017-05-22 CN CN201710364060.5A patent/CN107222790A/en not_active Withdrawn
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20070052855A1 (en) * | 2005-08-05 | 2007-03-08 | Samsung Electronics Co., Ltd. | Apparatus for providing multiple screens and method of dynamically configuring multiple screens |
CN104967896A (en) * | 2014-08-04 | 2015-10-07 | 腾讯科技(北京)有限公司 | Method for displaying bulletscreen comment information, and apparatus thereof |
CN104980790A (en) * | 2015-06-30 | 2015-10-14 | 北京奇艺世纪科技有限公司 | Voice subtitle generating method and apparatus, and playing method and apparatus |
CN105916057A (en) * | 2016-04-18 | 2016-08-31 | 乐视控股(北京)有限公司 | Video barrage display method and device |
CN106028161A (en) * | 2016-04-29 | 2016-10-12 | 乐视控股(北京)有限公司 | Bullet screen generation method and apparatus, bullet screen presentation method and apparatus, server and client |
CN106488296A (en) * | 2016-10-18 | 2017-03-08 | 广州酷狗计算机科技有限公司 | A kind of method and apparatus of display video barrage |
Cited By (15)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109842820A (en) * | 2017-11-29 | 2019-06-04 | 腾讯数码(天津)有限公司 | Barrage data inputting method and device, mobile terminal and readable storage medium storing program for executing |
CN109842820B (en) * | 2017-11-29 | 2021-12-14 | 腾讯数码(天津)有限公司 | Barrage information input method and device, mobile terminal and readable storage medium |
CN111447483A (en) * | 2017-12-19 | 2020-07-24 | 广州虎牙信息科技有限公司 | Live broadcast room barrage sending method and device and corresponding terminal |
CN108235105B (en) * | 2018-01-22 | 2020-11-13 | 上海硬创投资管理有限公司 | Barrage presenting method, recording medium, electronic device and information processing system |
CN108235105A (en) * | 2018-01-22 | 2018-06-29 | 上海硬创投资管理有限公司 | A kind of barrage rendering method, recording medium, electronic equipment, information processing system |
CN108616772A (en) * | 2018-05-04 | 2018-10-02 | 维沃移动通信有限公司 | A kind of barrage display methods, terminal and server |
CN109218800A (en) * | 2018-06-29 | 2019-01-15 | 努比亚技术有限公司 | A kind of barrage information display method, terminal and computer readable storage medium |
CN109379614A (en) * | 2018-12-27 | 2019-02-22 | 广州华多网络科技有限公司 | Barrage sending method, mobile terminal and computer storage medium |
CN110166811B (en) * | 2019-05-15 | 2021-08-10 | 口碑(上海)信息技术有限公司 | Bullet screen information processing method, device and equipment |
CN110166811A (en) * | 2019-05-15 | 2019-08-23 | 口碑(上海)信息技术有限公司 | Processing method, device and the equipment of barrage information |
CN112689201A (en) * | 2019-10-17 | 2021-04-20 | 维沃移动通信有限公司 | Barrage information identification method, barrage information display method, server and electronic equipment |
CN112689201B (en) * | 2019-10-17 | 2022-08-26 | 维沃移动通信有限公司 | Barrage information identification method, barrage information display method, server and electronic equipment |
CN113038185A (en) * | 2021-04-02 | 2021-06-25 | 上海哔哩哔哩科技有限公司 | Bullet screen processing method and device |
CN116193183A (en) * | 2022-11-11 | 2023-05-30 | 深圳创维-Rgb电子有限公司 | Bullet screen display method and device, electronic equipment and storage medium |
CN116132701A (en) * | 2022-12-23 | 2023-05-16 | 上海哔哩哔哩科技有限公司 | Video bullet screen management method and device, storage medium and electronic equipment |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107222790A (en) | A kind of method, terminal and computer-readable recording medium for sending barrage | |
CN107040824A (en) | A kind of method and terminal for sending barrage | |
CN104750495B (en) | A kind of screenshot method and device | |
CN108211352A (en) | A kind of method and terminal for adjusting image quality | |
CN108073346A (en) | A kind of record screen method, terminal and computer readable storage medium | |
CN106454139A (en) | Shooting method and mobile terminal | |
CN107302666A (en) | Photographic method, mobile terminal and computer-readable recording medium | |
CN107181858A (en) | A kind of method and terminal for showing notification message | |
CN107066188A (en) | A kind of method and terminal for sending screenshot picture | |
CN109086742A (en) | scene recognition method, scene recognition device and mobile terminal | |
CN106406867A (en) | Android system-based screen reading method and apparatus | |
CN107330858A (en) | Picture processing method and device, electronic equipment and storage medium | |
CN107273111A (en) | A kind of multi-screen display method and terminal | |
CN107704613A (en) | A kind of approaches to IM, terminal and computer-readable recording medium | |
CN105224216B (en) | A kind of user terminal control method and user terminal | |
CN107479806A (en) | The method and terminal of a kind of changing interface | |
CN106792231A (en) | Live recharge method, device and terminal | |
CN106951550A (en) | Data processing method, device and mobile terminal | |
CN110022399A (en) | Message display method, device, user terminal and readable storage medium storing program for executing | |
CN106873888A (en) | A kind of method and terminal for showing user interface | |
CN107800776A (en) | A kind of document handling method, terminal, server and computer-readable medium | |
CN106161793A (en) | Originating method based on contact person's packet and device | |
CN108153458A (en) | A kind of dialog box processing method, terminal device and computer readable storage medium | |
CN107797749A (en) | Message method and device, storage medium, processor, terminal | |
CN110825475A (en) | Input method and electronic equipment |
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 | ||
WW01 | Invention patent application withdrawn after publication |
Application publication date: 20170929 |
|
WW01 | Invention patent application withdrawn after publication |