CN107920272A - A kind of barrage screening technique, device and mobile terminal - Google Patents

A kind of barrage screening technique, device and mobile terminal Download PDF

Info

Publication number
CN107920272A
CN107920272A CN201711121151.2A CN201711121151A CN107920272A CN 107920272 A CN107920272 A CN 107920272A CN 201711121151 A CN201711121151 A CN 201711121151A CN 107920272 A CN107920272 A CN 107920272A
Authority
CN
China
Prior art keywords
picture
barrage
video
keyword
barrage text
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201711121151.2A
Other languages
Chinese (zh)
Other versions
CN107920272B (en
Inventor
蔡杨梅
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN201711121151.2A priority Critical patent/CN107920272B/en
Publication of CN107920272A publication Critical patent/CN107920272A/en
Application granted granted Critical
Publication of CN107920272B publication Critical patent/CN107920272B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/431Generation of visual interfaces for content selection or interaction; Content or additional data rendering
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/70Information retrieval; Database structures therefor; File system structures therefor of video data
    • G06F16/78Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually
    • G06F16/7867Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually using information manually generated, e.g. tags, keywords, comments, title and artist information, manually generated time, location and usage information, user ratings
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/435Processing of additional data, e.g. decrypting of additional data, reconstructing software from modules extracted from the transport stream
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/478Supplemental services, e.g. displaying phone caller identification, shopping application
    • H04N21/4788Supplemental services, e.g. displaying phone caller identification, shopping application communicating with other users, e.g. chatting
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/488Data services, e.g. news ticker
    • H04N21/4884Data services, e.g. news ticker for displaying subtitles

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Library & Information Science (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Telephone Function (AREA)

Abstract

The invention discloses a kind of barrage screening technique, for solving the problems, such as that the screening of barrage in the prior art and screen method effect are poor.This method includes:Obtain the keyword of user setting;When video loads, the frame picture of the video is detected, obtains the first picture for including barrage text;According to the keyword, the barrage text comprising the keyword is filtered out from first picture.The invention also discloses a kind of barrage screening plant.

Description

A kind of barrage screening technique, device and mobile terminal
Technical field
The present invention relates to field of computer technology, more particularly to a kind of barrage screening technique, device and mobile terminal.
Background technology
With the development of internet video technology, the barrage function of video player provides one for user when watching video The platform of a exchange, user can deliver the comment to video by barrage function, these comments can go out in the form of subtitles On present video pictures.During due to video playing, the comment sailed above video is referred to as bullet as intensive shell Curtain.
Since the comment in barrage being capable of view and cognition of the actual response spectators to video work so that spectators can lead Dynamic to participate in video playing, this form that interaction can be carried out with other spectators is also recognized by more and more spectators Can.And widely using with barrage function, also become increasingly complex using the user group of barrage function, user is in viewing video When, the barrage that occurs on video pictures, the comment delivered except other users can be included, also have comprising advertisement, it is acute thoroughly, brush The speeches such as screen, the black, quarrel in region.
In above-mentioned scene, in order to purify barrage environment, the barrage function of some video players can pass through keyword The mode of shielding shields the barrage that some include vulgar speech, but the barrage that shields of this mode can only be shielded comprising setting The barrage for the keyword put, and some are quarrelled by homophonic vocabulary and it is acute thoroughly, some speeches of brush screen still can not be by Mask.Therefore, in order to enable barrage brings preferably exchange to experience to user, the screening and function of shielding in barrage function are still Need to further it optimize.
The content of the invention
The embodiment of the present invention provides a kind of barrage screening technique, to solve screening and shielding in barrage function in the prior art The problem of functional effect is poor.
In order to solve the above-mentioned technical problem, the present invention is realized in:In a first aspect, an embodiment of the present invention provides one Kind barrage screening technique, including:
Obtain the keyword of user setting;
When video loads, the frame picture of the video is detected, obtains the first picture for including barrage text;
The barrage text comprising the keyword is filtered out from first picture.
Second aspect, the embodiment of the present invention also provide a kind of barrage screening plant, including:
First acquisition unit, for obtaining the keyword of user setting;
Second acquisition unit, for when video loads, being detected to the frame picture of the video, acquisition includes bullet First picture of curtain text;
Barrage screening unit, for filtering out the barrage text comprising the keyword from first picture.
The third aspect, the embodiment of the present invention also provide a kind of mobile terminal, including:Memory, processor and it is stored in institute The computer program that can be run on memory and on the processor is stated, when the computer program is performed by the processor Realize such as the step of barrage screening technique.
In embodiments of the present invention, by obtaining the keyword of user setting, when video loads, to the frame picture of video It is detected, obtains and include the first picture of barrage text, further according to keyword, is given to you from the first picture and filters out and include The barrage text of keyword, such user can set oneself keyword interested when video is watched in selection, and regarding The barrage related with these keywords is obtained when frequency loads, such user is when watching video, with regard to that can see that oneself is interested Barrage, can solve the problems, such as that the screening of barrage in the prior art and screen method effect are poor, so as to watch video in user When, can be that user brings more preferable interaction to experience.
Brief description of the drawings
In order to illustrate the technical solution of the embodiments of the present invention more clearly, below by institute in the description to the embodiment of the present invention Attached drawing to be used is needed to be briefly described, it should be apparent that, drawings in the following description are only some implementations of the present invention Example, for those of ordinary skill in the art, without having to pay creative labor, can also be according to these attached drawings Obtain other attached drawings.
Fig. 1 is a kind of specific implementation flow diagram of barrage screening technique provided in an embodiment of the present invention;
Fig. 2 is a kind of structure diagram of barrage screening plant provided in an embodiment of the present invention;
Fig. 3 is a kind of structure diagram of mobile terminal provided in an embodiment of the present invention.
Embodiment
Below in conjunction with the attached drawing in the embodiment of the present invention, the technical solution in the embodiment of the present invention is carried out clear, complete Site preparation describes, it is clear that described embodiment is part of the embodiment of the present invention, instead of all the embodiments.Based on this hair Embodiment in bright, the every other implementation that those of ordinary skill in the art are obtained without making creative work Example, belongs to the scope of protection of the invention.
The technical solution provided below in conjunction with attached drawing, each embodiment that the present invention will be described in detail.
To solve the problems, such as that screening and function of shielding effect are poor in barrage function in the prior art, the present invention provides a kind of Barrage screening technique, the executive agent of this method, can be, but not limited to mobile phone, tablet computer, wearable device etc. can by with It is set to and performs at least one of this method user terminal provided in an embodiment of the present invention, alternatively, the executive agent of this method, also Can be able to carry out the client of this method in itself.
For ease of description, hereafter executive agent in this way is to be able to carry out exemplified by the mobile terminal of this method, to this The embodiment of method is introduced.It is appreciated that the executive agent of this method is a kind of exemplary say for mobile terminal It is bright, it is not construed as the restriction to this method.
Specifically, barrage screening technique provided by the invention includes:First, the keyword of user setting is obtained;Then, exist When video loads, the frame picture of the video is detected, obtains the first picture for including barrage text;Finally, according to pass Keyword, filters out the barrage text comprising keyword from the first picture.
In embodiments of the present invention, by obtaining the keyword of user setting, when video loads, to the frame picture of video It is detected, obtains and include the first picture of barrage text, further according to keyword, is given to you from the first picture and filters out and include The barrage text of keyword, such user can set oneself keyword interested when video is watched in selection, and regarding The barrage related with these keywords is obtained when frequency loads, such user is when watching video, with regard to that can see that oneself is interested Barrage, can solve the problems, such as that the screening of barrage in the prior art and screen method effect are poor, so as to watch video in user When, can be that user brings more preferable interaction to experience.
With reference to the specific implementation flow diagram of the barrage screening technique shown in Fig. 1, to the implementation process of this method Describe in detail, including:
Step 101, the keyword of user setting is obtained;
As described in the background art, although video player of the prior art can mask one by some keywords Include the barrage of vulgar speech a bit, but still have some vulgar speeches for including homophonic vocabulary.In this case, this hair In order to solve this problem bright embodiment, can obtain the pre-set keyword of user, then when video loads, only obtain With the relevant barrage of keyword of user setting.
When user wants to watch a certain video, can according to video content and the hobby of oneself, pre-set with The relevant keyword of hobby of oneself, for example, it is interested in some story of a play or opera in video or certain role, then it can set With this story of a play or opera or the relevant keyword of role.Since user is only needed before video is watched, the pass that oneself is interested is selected Keyword, be able to can also be directly selected and the relevant keyword classification of video content, behaviour by inputting the relevant keyword of interest Make easy.
Step 102, when video loads, the frame picture of video is detected, acquisition includes the first of barrage text Picture;
Wherein, when video loads, the frame picture of video is detected, each frame picture of video can be examined Survey, can also be detected every frame pictures of the frame of the frame of a frame/two/tri- or other default quantity, include barrage text to obtain This first picture, the embodiment of the present invention are not specifically limited this.It is detected, is come with each frame picture to video below Exemplified by obtaining the first picture for including barrage text, the implementation process of step 102 is described in detail.
Because often there is strong contrast in color and brightness with video background in barrage text, and each video be by Picture composition forms one by one, then obtains the first picture for including barrage text, can specifically be loaded first in video When, each frame picture of video is detected, detects in each frame picture whether include angle point information, wherein angle point information For characterizing the brightness of barrage text and the feature of color;If then detect and include angle point information in picture, it is determined that should Include barrage text in picture;The picture for including barrage text is finally obtained, as the first picture.
Whether include angle point information in detection frame picture in the embodiment of the present invention, SUSAN operators (Small can be passed through Univalue segment assimilating nucleus) Corner Detection Algorithm detects.The template of SUSAN operators with often The square templates difference of convolution algorithm is advised, it uses a kind of approximate circle template, is moved on the image with circular shuttering, mould The gray value of each image slices vegetarian refreshments of intralamellar part and the gray value of template center's pixel are made comparisons, if some pixel in template The difference of gray scale and template center's pixel (core) gray scale is less than certain value, then it is assumed that the point has the ash of identical (or close) with core Degree.The region that pixel by meeting this condition forms is known as absorbing He Tongzhi area (Univalue Segment Assimilating Nucleus, USAN) region.
It is even more to contain most that USAN regions, which contain the important information of picture structure, the especially size in USAN regions, For important structural information.When the pixel of investigation is located inside region, the area in its USAN region is maximum;And when investigation When pixel is located on border, USAN region areas are reduced to the half of maximum;When the pixel of investigation is angle point, USAN The area smaller in region.SUSAN algorithms be according to the difference (as angle point receptance function) of USAN region areas at each point come It is region internal point, boundary point or angle point to distinguish current point.
First, the USAN region areas under circular window template with current point are investigated.USAN region areas are to pass through public affairs FormulaCome what is determined, wherein It is the position of current point,It is The position of other any points in ox-eye,Representing image intensity value, t is then default gray threshold,It is defeated Go out.
Next, compare the size of USAN region areas n and default geometry threshold value g.According to the definition of USAN, in angle point Locate half of the size certainly less than its maximum value possible of n.That is, in the presence of angle point, the area in USAN regions is less than window The half of area, and the corner point value should be local minimum.According to formula It can determine an initial angle point response.
Finally, search determines the local maximum in initial angle point response, its corresponding pixel is labeled as angle point.
Step 103, according to keyword, the barrage text comprising keyword is filtered out from the first picture.
The subtitle carried in itself due to often will also include video in the first picture for including barrage text that is truncated to. Therefore according to keyword, the barrage text comprising keyword is filtered out from the first picture, specifically, then can be determined first Non- caption area in first picture, wherein, non-caption area is the region for the subtitle for not including video in the first picture;So Afterwards, from non-caption area, the barrage text for including keyword is obtained.
And the story of a play or opera is understood while video is watched for the ease of user, the subtitle that video carries in itself is often arranged on Video bottom, it is thus determined that the non-caption area in the first picture, then can be upward first by picture bottom in the first picture The region of preset ratio, is determined as caption area;Then, by the region in the first picture in addition to caption area, it is determined as non- Caption area.Wherein, the region of the upward preset ratio in bottom can be that the upward whole picture that accounts in bottom compares for 15% in picture The region of example, the preset ratio can be determined by the picture of the multiple video files for selection of sampling.
And from non-caption area, the barrage text for including keyword is obtained, then can be known first by OCR optical characters Not (English full name is Optical Character Recognition) technology obtains barrage text from non-video caption area This;Then again from barrage text, the barrage text comprising keyword is filtered out.After video has loaded, these, which are included, closes The barrage text of keyword will be bundled in the barrage bag of individual subscriber, and user watch video when, with barrage text pair Corresponding barrage text is shown on the picture answered.
It should be noted that in the embodiment of the present invention, after acquisition includes the first picture of barrage text, often delay There are in the memory of mobile terminal, for releasing memory space, the bullet that includes keyword is being screened from each first picture After curtain text, first picture is just deleted, is then filtered out again from next picture of first picture comprising keyword Barrage text, then delete operation is carried out, and so on, so as to avoid taking excessive memory headroom.
After the barrage bag of individual subscriber is obtained, user can be selected the barrage bag comprising the keyword set by it Other users are shared with, user can also select it when some video is watched in selection according to the classification of the keyword of barrage bag The barrage bag that his user shares.That is, user both can be when watching video by setting oneself keyword interested To obtain personal barrage bag, the barrage bag that other users are shared can also be directly selected, so as to bring more preferable viewing for user The experience of video.
In embodiments of the present invention, by obtaining the keyword of user setting, when video loads, to the frame picture of video It is detected, obtains and include the first picture of barrage text, further according to keyword, is given to you from the first picture and filters out and include The barrage text of keyword, such user can set oneself keyword interested when video is watched in selection, and regarding The barrage related with these keywords is obtained when frequency loads, such user is when watching video, with regard to that can see that oneself is interested Barrage, can solve the problems, such as that the screening of barrage in the prior art and screen method effect are poor, so as to watch video in user When, can be that user brings more preferable interaction to experience.
The embodiment of the present invention also provides a kind of barrage screening plant 200, as shown in Fig. 2, including following function unit:
First acquisition unit 201, for obtaining the keyword of user setting;
Second acquisition unit 202, for when video loads, being detected to the frame picture of the video, acquisition includes There is the first picture of barrage text;
Barrage screening unit 203, for filtering out the barrage text comprising the keyword from first picture.
In one embodiment, the barrage screening unit 203, is used for:
Determine the non-caption area in first picture, the non-caption area is does not include institute in first picture State the region of the subtitle of video;
From the non-caption area, the barrage text for including the keyword is obtained.
In one embodiment, the barrage screening unit 203, is used for:
By the region of the upward preset ratio in picture bottom in first picture, it is determined as caption area;
By the region in first picture in addition to the caption area, it is determined as the non-caption area.
In one embodiment, the barrage screening unit 203, is used for:
By OCR optical character recognition technology from the non-video caption area, barrage text is obtained;
From the barrage text, the barrage text comprising the keyword is filtered out.
In one embodiment, the second acquisition unit 202, is used for:
When video loads, each frame picture of the video is detected, detect in each frame picture whether Include angle point information, the angle point information is used for brightness and the feature of color for characterizing the barrage text;
Include the angle point information in the picture if detecting, it is determined that include barrage text in the picture;
Include the picture of barrage text described in acquisition, as first picture.
Barrage screening plant provided in an embodiment of the present invention can realize that mobile terminal in the embodiment of the method for Fig. 1 is realized Each process, to avoid repeating, which is not described herein again.
Fig. 3 is a kind of hardware architecture diagram for the mobile terminal for realizing each embodiment of the present invention,
The mobile terminal 300 includes but not limited to:It is radio frequency unit 301, mixed-media network modules mixed-media 302, audio output unit 303, defeated Enter unit 304, sensor 305, display unit 306, user input unit 307, interface unit 308, memory 309, processor The component such as 310 and power supply 311.It will be understood by those skilled in the art that the mobile terminal structure shown in Fig. 3 is not formed Restriction to mobile terminal, mobile terminal can be included than illustrating more or fewer components, either combine some components or Different component arrangements.In embodiments of the present invention, mobile terminal include but not limited to mobile phone, tablet computer, laptop, Palm PC, car-mounted terminal, wearable device and pedometer etc..
Wherein, radio frequency unit 301, for obtaining the keyword of user setting;When video loads, to the frame of the video Picture is detected, and obtains the first picture for including barrage text;
Processor 310, for filtering out the barrage text comprising the keyword from first picture.
In embodiments of the present invention, by obtaining the keyword of user setting, when video loads, to the frame picture of video It is detected, obtains and include the first picture of barrage text, further according to keyword, is given to you from the first picture and filters out and include The barrage text of keyword, such user can set oneself keyword interested when video is watched in selection, and regarding The barrage related with these keywords is obtained when frequency loads, such user is when watching video, with regard to that can see that oneself is interested Barrage, can solve the problems, such as that the screening of barrage in the prior art and screen method effect are poor, so as to watch video in user When, can be that user brings more preferable interaction to experience.
It should be understood that in the embodiment of the present invention, radio frequency unit 301 can be used for receiving and sending messages or communication process in, signal Reception and transmission, specifically, by from base station downlink data receive after, handled to processor 310;In addition, by uplink Data sending is to base station.In general, radio frequency unit 301 includes but not limited to antenna, at least one amplifier, transceiver, coupling Device, low-noise amplifier, duplexer etc..In addition, radio frequency unit 301 can also by wireless communication system and network and other set Standby communication.
Mobile terminal has provided wireless broadband internet to the user by mixed-media network modules mixed-media 302 and has accessed, and such as helps user to receive Send e-mails, browse webpage and access streaming video etc..
Audio output unit 303 can be receiving by radio frequency unit 301 or mixed-media network modules mixed-media 302 or in memory 309 It is sound that the voice data of storage, which is converted into audio signal and exports,.Moreover, audio output unit 303 can also be provided and moved The relevant audio output of specific function that dynamic terminal 300 performs is (for example, call signal receives sound, message sink sound etc. Deng).Audio output unit 303 includes loudspeaker, buzzer and receiver etc..
Input unit 304 is used to receive audio or video signal.Input unit 304 can include graphics processor (Graphics Processing Unit, GPU) 3041 and microphone 3042, graphics processor 3041 is in video acquisition mode Or the static images or the view data of video obtained in image capture mode by image capture apparatus (such as camera) carry out Reason.Picture frame after processing may be displayed on display unit 306.Picture frame after the processing of graphics processor 3041 can be deposited Storage is transmitted in memory 309 (or other storage mediums) or via radio frequency unit 301 or mixed-media network modules mixed-media 302.Mike Wind 3042 can receive sound, and can be voice data by such acoustic processing.Voice data after processing can be The form output of mobile communication base station can be sent to via radio frequency unit 301 by being converted in the case of telephone calling model.
Mobile terminal 300 further includes at least one sensor 305, such as optical sensor, motion sensor and other biographies Sensor.Specifically, optical sensor includes ambient light sensor and proximity sensor, wherein, ambient light sensor can be according to environment The light and shade of light adjusts the brightness of display panel 3061, and proximity sensor can close when mobile terminal 300 is moved in one's ear Display panel 3061 and/or backlight.As one kind of motion sensor, accelerometer sensor can detect in all directions (general For three axis) size of acceleration, size and the direction of gravity are can detect that when static, available for identification mobile terminal posture (ratio Such as horizontal/vertical screen switching, dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, tap);Pass Sensor 305 can also include fingerprint sensor, pressure sensor, iris sensor, molecule sensor, gyroscope, barometer, wet Meter, thermometer, infrared ray sensor etc. are spent, details are not described herein.
Display unit 306 is used for the information for showing by information input by user or being supplied to user.Display unit 306 can wrap Display panel 3061 is included, liquid crystal display (Liquid Crystal Display, LCD), Organic Light Emitting Diode can be used Forms such as (Organic Light-Emitting Diode, OLED) configures display panel 3061.
User input unit 307 can be used for the numeral or character information for receiving input, and produce the use with mobile terminal The key signals input that family is set and function control is related.Specifically, user input unit 307 include contact panel 3071 and Other input equipments 3072.Contact panel 3071, also referred to as touch-screen, collect user on it or neighbouring touch operation (for example user uses any suitable objects or annex such as finger, stylus on contact panel 3071 or in contact panel 3071 Neighbouring operation).Contact panel 3071 may include both touch detecting apparatus and touch controller.Wherein, touch detection Device detects the touch orientation of user, and detects the signal that touch operation is brought, and transmits a signal to touch controller;Touch control Device processed receives touch information from touch detecting apparatus, and is converted into contact coordinate, then gives processor 310, receiving area Manage the order that device 310 is sent and performed.It is furthermore, it is possible to more using resistance-type, condenser type, infrared ray and surface acoustic wave etc. Type realizes contact panel 3071.Except contact panel 3071, user input unit 307 can also include other input equipments 3072.Specifically, other input equipments 3072 can include but is not limited to physical keyboard, function key (such as volume control button, Switch key etc.), trace ball, mouse, operation lever, details are not described herein.
Further, contact panel 3071 can be covered on display panel 3061, when contact panel 3071 is detected at it On or near touch operation after, send to processor 310 with determine touch event type, be followed by subsequent processing device 310 according to touch The type for touching event provides corresponding visual output on display panel 3061.Although in figure 3, contact panel 3071 and display Panel 3061 is the component independent as two to realize the function that outputs and inputs of mobile terminal, but in some embodiments In, can be integrated by contact panel 3071 and display panel 3061 and realize the function that outputs and inputs of mobile terminal, it is specific this Place does not limit.
Interface unit 308 is the interface that external device (ED) is connected with mobile terminal 300.For example, external device (ED) can include Line or wireless head-band earphone port, external power supply (or battery charger) port, wired or wireless data port, storage card end Mouth, port, audio input/output (I/O) port, video i/o port, earphone end for connecting the device with identification module Mouthful etc..Interface unit 308 can be used for receive the input (for example, data message, electric power etc.) from external device (ED) and One or more elements that the input received is transferred in mobile terminal 300 can be used in 300 He of mobile terminal Data are transmitted between external device (ED).
Memory 309 can be used for storage software program and various data.Memory 309 can mainly include storing program area And storage data field, wherein, storing program area can storage program area, application program (such as the sound needed at least one function Sound playing function, image player function etc.) etc.;Storage data field can store according to mobile phone use created data (such as Voice data, phone directory etc.) etc..In addition, memory 309 can include high-speed random access memory, can also include non-easy The property lost memory, a for example, at least disk memory, flush memory device or other volatile solid-state parts.
Processor 310 is the control centre of mobile terminal, utilizes each of various interfaces and the whole mobile terminal of connection A part, by running or performing the software program and/or module that are stored in memory 309, and calls and is stored in storage Data in device 309, perform the various functions and processing data of mobile terminal, so as to carry out integral monitoring to mobile terminal.Place Reason device 310 may include one or more processing units;Preferably, processor 310 can integrate application processor and modulatedemodulate is mediated Device is managed, wherein, application processor mainly handles operating system, user interface and application program etc., and modem processor is main Handle wireless communication.It is understood that above-mentioned modem processor can not also be integrated into processor 310.
Mobile terminal 300 can also include the power supply 311 (such as battery) to all parts power supply, it is preferred that power supply 311 Can be logically contiguous by power-supply management system and processor 310, so as to realize management charging by power-supply management system, put The function such as electricity and power managed.
In addition, mobile terminal 300 includes some unshowned function modules, details are not described herein.
Preferably, the embodiment of the present invention also provides a kind of mobile terminal, including processor 310, and memory 309, is stored in On memory 309 and the computer program that can be run on the processor 310, the computer program are performed by processor 310 Each process of the above-mentioned barrage screening technique embodiments of Shi Shixian, and identical technique effect can be reached, to avoid repeating, here Repeat no more.
The embodiment of the present invention also provides a kind of computer-readable recording medium, and meter is stored with computer-readable recording medium Calculation machine program, the computer program realize each process of above-mentioned barrage screening technique embodiment, and energy when being executed by processor Reach identical technique effect, to avoid repeating, which is not described herein again.Wherein, the computer-readable recording medium, such as only Read memory (Read-Only Memory, abbreviation ROM), random access memory (Random Access Memory, abbreviation RAM), magnetic disc or CD etc..
It should be noted that herein, term " comprising ", "comprising" or its any other variant are intended to non-row His property includes, so that process, method, article or device including a series of elements not only include those key elements, and And other elements that are not explicitly listed are further included, or further include as this process, method, article or device institute inherently Key element.In the absence of more restrictions, the key element limited by sentence "including a ...", it is not excluded that including this Also there are other identical element in the process of key element, method, article or device.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side Method can add the mode of required general hardware platform to realize by software, naturally it is also possible to by hardware, but in many cases The former is more preferably embodiment.Based on such understanding, technical scheme substantially in other words does the prior art Going out the part of contribution can be embodied in the form of software product, which is stored in a storage medium In (such as ROM/RAM, magnetic disc, CD), including some instructions are used so that a station terminal (can be mobile phone, computer, services Device, air conditioner, or network equipment etc.) perform method described in each embodiment of the present invention.
The embodiment of the present invention is described above in conjunction with attached drawing, but the invention is not limited in above-mentioned specific Embodiment, above-mentioned embodiment is only schematical, rather than restricted, those of ordinary skill in the art Under the enlightenment of the present invention, in the case of present inventive concept and scope of the claimed protection is not departed from, it can also make very much Form, belongs within the protection of the present invention.

Claims (11)

  1. A kind of 1. barrage screening technique, it is characterised in that including:
    Obtain the keyword of user setting;
    When video loads, the frame picture of the video is detected, obtains the first picture for including barrage text;
    The barrage text comprising the keyword is filtered out from first picture.
  2. 2. according to the method described in claim 1, it is characterized in that, it is described filtered out from first picture include it is described The barrage text of keyword, including:
    Determine the non-caption area in first picture, the non-caption area is not include described regard in first picture The region of the subtitle of frequency;
    From the non-caption area, the barrage text for including the keyword is obtained.
  3. 3. according to the method described in claim 2, it is characterized in that, it is described determine first picture in non-caption area, Including:
    By the region of the upward preset ratio in picture bottom in first picture, it is determined as caption area;
    By the region in first picture in addition to the caption area, it is determined as the non-caption area.
  4. 4. according to the method described in claim 2, it is characterized in that, described from the non-caption area, acquisition is comprising described The barrage text of keyword, including:
    By OCR optical character recognition technology from the non-video caption area, barrage text is obtained;
    From the barrage text, the barrage text comprising the keyword is filtered out.
  5. 5. according to the method described in claim 1, it is characterized in that, when video loads, the frame picture of the video is carried out Detection, obtains the first picture for including barrage text, including:
    When video loads, each frame picture of the video is detected, detects and whether is included in each frame picture There is angle point information, the angle point information is used for brightness and the color characteristic for characterizing the barrage text;
    Include the angle point information in the picture if detecting, it is determined that include barrage text in the picture;
    Include the picture of barrage text described in acquisition, as first picture.
  6. A kind of 6. barrage screening plant, it is characterised in that including:
    First acquisition unit, for obtaining the keyword of user setting;
    Second acquisition unit, for when video loads, being detected to the frame picture of the video, acquisition includes barrage text This first picture;
    Barrage screening unit, for filtering out the barrage text comprising the keyword from first picture.
  7. 7. device according to claim 6, it is characterised in that the barrage screening unit, is used for:
    Determine the non-caption area in first picture, the non-caption area is not include described regard in first picture The region of the subtitle of frequency;
    From the non-caption area, the barrage text for including the keyword is obtained.
  8. 8. device according to claim 7, it is characterised in that the barrage screening unit, is used for:
    By the region of the upward preset ratio in picture bottom in first picture, it is determined as caption area;
    By the region in first picture in addition to the caption area, it is determined as the non-caption area.
  9. 9. device according to claim 7, it is characterised in that the barrage screening unit, is used for:
    By OCR optical character recognition technology from the non-video caption area, barrage text is obtained;
    From the barrage text, the barrage text comprising the keyword is filtered out.
  10. 10. device according to claim 6, it is characterised in that the second acquisition unit, is used for:
    When video loads, each frame picture of the video is detected, detects and whether is included in each frame picture There is angle point information, the angle point information is used for brightness and the feature of color for characterizing the barrage text;
    Include the angle point information in the picture if detecting, it is determined that include barrage text in the picture;
    Include the picture of barrage text described in acquisition, as first picture.
  11. A kind of 11. mobile terminal, it is characterised in that including:Memory, processor and it is stored on the memory and can be in institute The computer program run on processor is stated, such as claim 1 to 5 is realized when the computer program is performed by the processor Any one of barrage screening technique the step of.
CN201711121151.2A 2017-11-14 2017-11-14 Bullet screen screening method and device and mobile terminal Active CN107920272B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711121151.2A CN107920272B (en) 2017-11-14 2017-11-14 Bullet screen screening method and device and mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711121151.2A CN107920272B (en) 2017-11-14 2017-11-14 Bullet screen screening method and device and mobile terminal

Publications (2)

Publication Number Publication Date
CN107920272A true CN107920272A (en) 2018-04-17
CN107920272B CN107920272B (en) 2020-03-10

Family

ID=61896190

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711121151.2A Active CN107920272B (en) 2017-11-14 2017-11-14 Bullet screen screening method and device and mobile terminal

Country Status (1)

Country Link
CN (1) CN107920272B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109739990A (en) * 2019-01-04 2019-05-10 北京七鑫易维信息技术有限公司 Information processing method and terminal
CN111432263A (en) * 2020-03-10 2020-07-17 上海盛付通电子支付服务有限公司 Bullet screen information display, processing and publishing method, electronic equipment and medium
CN114827745A (en) * 2022-04-08 2022-07-29 海信集团控股股份有限公司 Video subtitle generation method and electronic equipment

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101777124A (en) * 2010-01-29 2010-07-14 北京新岸线网络技术有限公司 Method for extracting video text message and device thereof
CN103020618A (en) * 2011-12-19 2013-04-03 北京捷成世纪科技股份有限公司 Detection method and detection system for video image text
CN103425980A (en) * 2012-05-17 2013-12-04 腾讯科技(深圳)有限公司 Method and device for obtaining text regions in pictures
CN105357586A (en) * 2015-09-28 2016-02-24 北京奇艺世纪科技有限公司 Video bullet screen filtering method and device
CN105451087A (en) * 2015-12-14 2016-03-30 广州弹幕网络科技有限公司 Pushing method, terminals, historical data server and system for barrage information
CN105812888A (en) * 2016-03-31 2016-07-27 北京奇艺世纪科技有限公司 Character display method and device
US20160261917A1 (en) * 2015-03-03 2016-09-08 Google Inc. Systems and methods for broadcast audience interaction and participation
CN106028167A (en) * 2016-06-27 2016-10-12 乐视控股(北京)有限公司 Barrage display method and device
US20160314195A1 (en) * 2015-04-24 2016-10-27 Linkedin Corporation Detecting and combining synonymous topics
CN106470357A (en) * 2016-10-11 2017-03-01 北京小米移动软件有限公司 barrage message display method and device

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101777124A (en) * 2010-01-29 2010-07-14 北京新岸线网络技术有限公司 Method for extracting video text message and device thereof
CN103020618A (en) * 2011-12-19 2013-04-03 北京捷成世纪科技股份有限公司 Detection method and detection system for video image text
CN103425980A (en) * 2012-05-17 2013-12-04 腾讯科技(深圳)有限公司 Method and device for obtaining text regions in pictures
US20160261917A1 (en) * 2015-03-03 2016-09-08 Google Inc. Systems and methods for broadcast audience interaction and participation
US20160314195A1 (en) * 2015-04-24 2016-10-27 Linkedin Corporation Detecting and combining synonymous topics
CN105357586A (en) * 2015-09-28 2016-02-24 北京奇艺世纪科技有限公司 Video bullet screen filtering method and device
CN105451087A (en) * 2015-12-14 2016-03-30 广州弹幕网络科技有限公司 Pushing method, terminals, historical data server and system for barrage information
CN105812888A (en) * 2016-03-31 2016-07-27 北京奇艺世纪科技有限公司 Character display method and device
CN106028167A (en) * 2016-06-27 2016-10-12 乐视控股(北京)有限公司 Barrage display method and device
CN106470357A (en) * 2016-10-11 2017-03-01 北京小米移动软件有限公司 barrage message display method and device

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109739990A (en) * 2019-01-04 2019-05-10 北京七鑫易维信息技术有限公司 Information processing method and terminal
CN111432263A (en) * 2020-03-10 2020-07-17 上海盛付通电子支付服务有限公司 Bullet screen information display, processing and publishing method, electronic equipment and medium
CN114827745A (en) * 2022-04-08 2022-07-29 海信集团控股股份有限公司 Video subtitle generation method and electronic equipment
CN114827745B (en) * 2022-04-08 2023-11-14 海信集团控股股份有限公司 Video subtitle generation method and electronic equipment

Also Published As

Publication number Publication date
CN107920272B (en) 2020-03-10

Similar Documents

Publication Publication Date Title
CN107820011A (en) Photographic method and camera arrangement
CN107592459A (en) A kind of photographic method and mobile terminal
CN108234289A (en) A kind of message display method, device and mobile terminal
CN108600647A (en) Shooting preview method, mobile terminal and storage medium
CN107786827A (en) Video capture method, video broadcasting method, device and mobile terminal
CN107832110A (en) A kind of information processing method and mobile terminal
CN107635110A (en) A kind of video interception method and terminal
CN108021825A (en) A kind of method for protecting privacy, mobile terminal
CN110109593A (en) A kind of screenshotss method and terminal device
CN107808084A (en) A kind of touch operation method and mobile terminal
CN109862266A (en) A kind of image sharing method and terminal
CN107845057A (en) One kind is taken pictures method for previewing and mobile terminal
CN108052251A (en) A kind of screenshotss method for information display and mobile terminal
CN107911540A (en) Profile switching method and terminal device
CN108279948A (en) A kind of application program launching method and mobile terminal
CN108833709A (en) A kind of the starting method and mobile terminal of camera
CN109194839A (en) A kind of display control method and terminal
CN107948505A (en) A kind of panorama shooting method and mobile terminal
CN108037966A (en) A kind of interface display method, device and mobile terminal
CN108174081B (en) A kind of image pickup method and mobile terminal
CN109981904A (en) A kind of method for controlling volume and terminal device
CN111083374B (en) Filter adding method and electronic equipment
CN107920272A (en) A kind of barrage screening technique, device and mobile terminal
CN107959755A (en) A kind of photographic method and mobile terminal
CN108174110A (en) A kind of photographic method and flexible screen terminal

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
GR01 Patent grant
GR01 Patent grant