CN108134961A - Video filtering method, mobile terminal and computer readable storage medium - Google Patents
Video filtering method, mobile terminal and computer readable storage medium Download PDFInfo
- Publication number
- CN108134961A CN108134961A CN201711438543.1A CN201711438543A CN108134961A CN 108134961 A CN108134961 A CN 108134961A CN 201711438543 A CN201711438543 A CN 201711438543A CN 108134961 A CN108134961 A CN 108134961A
- Authority
- CN
- China
- Prior art keywords
- video
- configuration file
- segment
- target video
- target
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000001914 filtration Methods 0.000 title claims abstract description 100
- 238000000034 method Methods 0.000 title claims abstract description 55
- 230000003139 buffering effect Effects 0.000 claims description 33
- 238000004458 analytical method Methods 0.000 claims description 13
- 230000011218 segmentation Effects 0.000 claims description 9
- 230000000694 effects Effects 0.000 abstract description 2
- 238000004891 communication Methods 0.000 description 5
- 238000010586 diagram Methods 0.000 description 4
- 230000006870 function Effects 0.000 description 4
- 230000009885 systemic effect Effects 0.000 description 4
- 238000005516 engineering process Methods 0.000 description 3
- 230000033001 locomotion Effects 0.000 description 3
- 238000012545 processing Methods 0.000 description 3
- 230000006835 compression Effects 0.000 description 2
- 238000007906 compression Methods 0.000 description 2
- 239000000284 extract Substances 0.000 description 2
- 230000005484 gravity Effects 0.000 description 2
- 230000001133 acceleration Effects 0.000 description 1
- 238000010835 comparative analysis Methods 0.000 description 1
- 238000012790 confirmation Methods 0.000 description 1
- 238000005314 correlation function Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 230000018109 developmental process Effects 0.000 description 1
- 239000000203 mixture Substances 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 238000012163 sequencing technique Methods 0.000 description 1
- 230000006641 stabilisation Effects 0.000 description 1
- 238000011105 stabilization Methods 0.000 description 1
- 238000012795 verification Methods 0.000 description 1
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/45—Management operations performed by the client for facilitating the reception of or the interaction with the content or administrating data related to the end-user or to the client device itself, e.g. learning user preferences for recommending movies, resolving scheduling conflicts
- H04N21/454—Content or additional data filtering, e.g. blocking advertisements
- H04N21/4542—Blocking scenes or portions of the received content, e.g. censoring scenes
-
- 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/44—Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs
- H04N21/44008—Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs involving operations for analysing video streams, e.g. detecting features or characteristics in the video stream
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Databases & Information Systems (AREA)
- Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
Abstract
The invention discloses a kind of video filtering method, mobile terminal and computer readable storage mediums, the video filtering method, playing request including receiving control video playing, target video is determined from video to be played according to playing request, and configuration file is obtained, the video attribute of each segment in target video is determined according to configuration file, video attribute includes Sensitive Attributes and normal attribute, Sensitive Attributes segment in Filtration Goal video plays normal attribute segment one by one;So as to fulfill the video clip for only filtering unsuitable viewing in video to be played, the effect of other unfiltered video sections of normal play, the entire video for solving the problems, such as to be related to being not suitable for viewing video clip in the prior art carries out whole filterings.
Description
Technical field
The present invention relates to a kind of technical field of video processing more particularly to video filtering method, mobile terminal and computers
Readable storage medium storing program for executing.
Background technology
With the development of network technology, the quantity of Internet video is more and more, and user may search for when obtaining video
Contain the video for being not suitable for viewing segment to some, this just needs to be filtered the unsuitable viewing segment in video.At present,
Filtering for video, for different websites, such as iqiyi.com, youku.com, Tencent video be filtered or for acquisition
Entire video carry out whole filterings, result in include the video clip of viewing in need, influence in this way in the video filtered
Acquisition of the user to video resource reduces the Experience Degree of user.
Invention content
It is a primary object of the present invention to provide a kind of video filtering method, mobile terminal and computer-readable storage medium
Matter, it is intended to realize that the segment for being not suitable for viewing in the video to acquisition is filtered, the purpose of the unfiltered video of normal play.
To achieve the above object, the embodiment of the present invention provides a kind of video filtering method, and the video filtering method includes:
The playing request of control video playing is received, target video is determined from video to be played according to playing request, and
Obtain configuration file;
The video attribute of each segment in target video is determined according to configuration file, video attribute is including Sensitive Attributes and normally
Attribute;
Sensitive Attributes segment in Filtration Goal video plays normal attribute segment one by one.
Optionally, it is described to determine to further include the step of target video from video to be played according to playing request:
Determine that playing request corresponds to video from video to be played;
If playing request corresponds to video as local video, using entire local video as target video;
If playing request corresponds to video as Online Video, will have been buffered in Online Video one by one the sub-video finished as
Target video.
Optionally, the playing request for receiving control video playing is determined according to playing request from video to be played
Target video, and the step of obtain configuration file before include:
Preset filtering keys word information is read, using preset filtering keys word as the filter condition of target video, root
Configuration file is generated according to the filter condition.
Optionally, the playing request for receiving control video playing is determined according to playing request from video to be played
Target video, and the step of obtain configuration file before include:
The newer self-defined information of active user is read, using the self-defined information as the filter condition of target video,
Configuration file is generated according to the filter condition.
Optionally, include before the step of acquisition configuration file:
Target video is pre-read, the target video is analyzed by filter condition, the information generation configuration text that analysis is obtained
Part, the filter condition are preset filtering keys word or self-defined information.
Optionally, it is described to pre-read target video, the target video is analyzed by filter condition, the information that analysis is obtained
The step of generating configuration file, further includes:
By being split in buffer manager for use to target video;
Target video after segmentation is sent to corresponding multiple decoders to be decoded;
Decoded target video information is analyzed with filter condition, the information generation configuration text that analysis is obtained
Part.
Optionally, described the step of determining the video attribute of each segment in target video according to configuration file, includes:
Target video is pre-read, the target video is verified with configuration file, determines the Sensitive Attributes in target video
Segment and normal attribute segment.
Optionally, Sensitive Attributes segment in the Filtration Goal video, the step of playing normal attribute segment one by one, include:
Sensitive Attributes segment in target video is filtered by flow manager;
Flow manager controls normal attribute segment to carry out corresponding to normal attribute piece sequentially in time by multiple buffering area
The buffering of section;
The normal attribute segment of the buffering is sent to corresponding multiple decoders and is decoded broadcasting.
The present invention also provides a kind of mobile terminal, the mobile terminal includes:It memory, processor and is stored in described
On memory and the video filtering program that can run on the processor, the video filtering program are performed by the processor
The step of Shi Shixian above-mentioned video filtering methods.
The present invention also provides a kind of computer readable storage medium, video is stored on the computer readable storage medium
The step of filter, the video filtering program realizes above-mentioned video filtering method when being executed by processor.
The present invention receives the playing request of video to be played by terminal, receives the playing request of control video playing, root
Target video is determined from video to be played, and obtain configuration file according to playing request, target video is determined according to configuration file
In each segment video attribute, video attribute includes Sensitive Attributes and normal attribute, Sensitive Attributes segment in Filtration Goal video,
Normal attribute segment is played one by one;So as to fulfill the video clip for only filtering unsuitable viewing in video to be played, normal play
The effect of other unfiltered video sections, solve in the prior art will be related to be not suitable for viewing video clip entire video into
The problem of row all filters.
Description of the drawings
The hardware architecture diagram of Fig. 1 each optional mobile terminals of embodiment one to realize the present invention;
Fig. 2 is the flow diagram of one embodiment of video filtering method of the present invention;
Fig. 3 is the flow diagram of another embodiment of video filtering method of the present invention.
The embodiments will be further described with reference to the accompanying drawings for the realization, the function and the advantages of the object of the present invention.
Specific embodiment
It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, it is not intended to limit the present invention.
In subsequent description, using for representing that the suffix of such as " module ", " component " or " unit " of element is only
Be conducive to the explanation of the present invention, itself there is no a specific meaning.Therefore, " module ", " component " or " unit " can mix
Ground uses.
As shown in Figure 1, the terminal structure schematic diagram for the hardware running environment that Fig. 1, which is the embodiment of the present invention, to be related to.
Terminal of the embodiment of the present invention can be PC or smart mobile phone, tablet computer, E-book reader, MP3
(Moving Picture Experts Group Audio Layer III, dynamic image expert's compression standard audio level 3)
Player, MP4 (Moving Picture Experts Group Audio Layer IV, dynamic image expert's compression standard sound
Frequency level 3) player, pocket computer etc. have the packaged type terminal device of display function.
As shown in Figure 1, the terminal can include:Processor 1001, such as CPU, network interface 1004, user interface
1003, memory 1005, communication bus 1002.Wherein, communication bus 1002 is used to implement the connection communication between these components.
User interface 1003 can include display screen (Display), input unit such as keyboard (Keyboard), optional user interface
1003 can also include standard wireline interface and wireless interface.Network interface 1004 can optionally connect including the wired of standard
Mouth, wireless interface (such as WI-FI interfaces).Memory 1005 can be high-speed RAM memory or the memory of stabilization
(non-volatile memory), such as magnetic disk storage.Memory 1005 optionally can also be independently of aforementioned processor
1001 storage device.
Optionally, terminal can also include camera, RF (Radio Frequency, radio frequency) circuit, sensor, audio
Circuit, WiFi module etc..Wherein, sensor such as optical sensor, motion sensor and other sensors.Specifically, light
Sensor may include ambient light sensor and proximity sensor, wherein, ambient light sensor can according to the light and shade of ambient light come
The brightness of display screen is adjusted, proximity sensor can close display screen and/or backlight when mobile terminal is moved in one's ear.As
One kind of motion sensor, gravity accelerometer can detect in all directions the size of (generally three axis) acceleration, quiet
It can detect that size and the direction of gravity when only, the application that can be used to identify mobile terminal posture is (such as horizontal/vertical screen switching, related
Game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, tap) etc.;Certainly, mobile terminal can also match
The other sensors such as gyroscope, barometer, hygrometer, thermometer, infrared ray sensor are put, details are not described herein.
It will be understood by those skilled in the art that the restriction of the terminal structure shown in Fig. 1 not structure paired terminal, can wrap
It includes and either combines certain components or different components arrangement than illustrating more or fewer components.
As shown in Figure 1, it can lead to as in a kind of memory 1005 of computer storage media including operating system, network
Believe module, Subscriber Interface Module SIM and video filtering program.
In terminal shown in Fig. 1, network interface 1004 is mainly used for connecting background server, is carried out with background server
Data communicate;User interface 1003 is mainly used for connecting client (user terminal), with client into row data communication;And processor
1001 can be used for calling the video filtering program stored in memory 1005.
Based on above-mentioned mobile terminal hardware configuration and communications network system, video filtering method of the present invention and movement are proposed
The each embodiment of terminal.
The present invention provides a kind of video filtering method, in one embodiment of video filtering method, with reference to Fig. 2, this method packet
It includes:
Step S10 receives the playing request of control video playing, and target is determined from video to be played according to playing request
Video, and obtain configuration file;
Video to be played includes the video that is locally stored in terminal, to be played online is regarded by what terminal searching obtained
Frequently.Playing request, user by operating terminal to the local video that is stored in terminal or by terminal searching to online regard
Frequency plays out control operation, plays control operation and sends out playing request to terminal.Target video, will be into video to be played
The video clip that the video that row plays can be entire video or buffering obtains.Configuration file includes mesh to be played
Mark the relationship between video file and filtering rule, configuration file can be generated according to pre-set filtering keys word or
Need the video content filtered generation or the entire video to be played of terminal pre-read according to user-defined, by with
The filter condition comparative analysis of setting obtains the configuration file for the video to be played.
For example, being stored with video A in the terminal, video A is clicked, the control that video A is played out is operated, at this point,
The playing request of video A is had issued to terminal.Alternatively, by terminal searching to Online Video B, Online Video B, control are clicked
The broadcasting of video B has issued the playing request of video B to terminal.Terminal has received video A or video B to be played
Playing request.Using the entire video of the video A either buffered video clip of video B as target video, and
Obtain the configuration file generated in terminal.
Step S20, the video attribute of each segment in target video is determined according to configuration file, and video attribute includes sensitive belong to
Property and normal attribute;
Sensitive Attributes video is the video for meeting configuration file filtering rule, and normal attribute video is does not meet configuration file
The video of filtering rule.Filtering rule is the video content types that the needs set in configuration file filter.If to be played regard
The content included in configuration file involved in frequency, then meet filtering rule, then the video content for meeting this filtering rule is determined
Justice is Sensitive Attributes video, and the video for not meeting filtering rule is defined as normal attribute video.Mesh is determined according to configuration file
Mark the video clip of normal attribute and Sensitive Attributes in video.For example, the configuration file 1 is the filtering keys by setting
Word, the keyword generation of Sensitive Attributes, verification is compared with configuration file 1 by video A to be played, i.e. video A belongs to sensitive
Property keyword is compared, and the video clip for meeting filtering keys word in configuration file 1 is defined as Sensitive Attributes video, will not
The video clip for meeting filtering keys word in configuration file 1 is defined as normal attribute segment.
Step S30, Sensitive Attributes segment in Filtration Goal video, plays normal attribute segment one by one.
The Sensitive Attributes video clip obtained in above-mentioned steps is filtered, the video clip of remaining normal attribute into
The normal video playing of row.For example, video clip P1, N1, P2, N2, N3, wherein piece of video are included in certain section of video A to be played
Section P1, P2 are the Sensitive Attributes video clip for meeting configuration file filtering rule, and N1, N2, N3 is does not meet configuration file filtering
The normal attribute video clip of rule during the video A is played, filters out quick according to the filtering rule of configuration file
Feel attribute video clip P1, P2, to normal attribute video clip N1, N2, N3 are played out.
In the present embodiment, the playing request of video playing is controlled by reception, according to playing request from video to be played
In determine target video, and obtain configuration file, the video attribute of each segment in target video, video determined according to configuration file
Attribute includes Sensitive Attributes and normal attribute, and Sensitive Attributes segment in Filtration Goal video plays normal attribute segment one by one;From
And realize and only filter the Sensitive Attributes video clip that meets configuration file filtering rule in video to be played, normal play other not
The purpose of the normal attribute video section of filtering.
Optionally, in another embodiment of video filtering method of the present invention, according to playing request from treating described in step S10
It plays and determines to further include the step of target video in video:
Step S11 determines that playing request corresponds to video from video to be played;
If playing request corresponds to video as local video, using entire local video as target video;
If playing request corresponds to video as Online Video, will have been buffered in Online Video one by one the sub-video finished as
Target video.
Belonging to for the entire video content of local video is buffered complete, and Online Video is usually slow using loading
Rush technology, the video that side buffer edge plays out.Video to be played is carried out to the classification confirmation of local video and Online Video, from
And it is the complete entire video of buffering or the sub-video of buffering to determine target video.
In the present embodiment, it by confirming the classification of video to be played, further determines that the classification of target video, is local
The sub-video finished is buffered, and then target video is compared with configuration file in video either Online Video, without etc.
To Online Video, all buffering is complete, and entire video to be played is compared with configuration file, optimize video to be played and
The processing procedure that configuration file compares improves the treatment effeciency of processor.
Optionally, control video playing is received in another embodiment of video filtering method of the present invention, described in step S10
Playing request, target video is determined from video to be played according to playing request, and the step of obtain configuration file before wrap
It includes:
Step S01 reads preset filtering keys word information, using preset filtering keys word as the filtering of target video
Condition generates configuration file according to the filter condition.
Preset filtering information is the pre-set filtering keys word information of system in terminal, can be with this kind of pass of Sensitive Attributes
Keyword generates configuration file according to the filtering keys word of the systemic presupposition, and the form of the configuration file can be xml texts
Part, txt file etc..
In the present embodiment, before configuration file is obtained, configuration file is generated by the filtering keys word of systemic presupposition,
Without generating configuration file in video display process, so as to improve the rate of video playing, the processing of processor is accelerated
Analyze speed.
Optionally, control video playing is received in another embodiment of video filtering method of the present invention, described in step S10
Playing request, target video is determined from video to be played according to playing request, and the step of obtain configuration file before wrap
It includes:
Step S02 reads the newer self-defined information of active user, using self-defined information as the filtering rod of target video
Part generates configuration file according to the filter condition.
Self-defined information can be the various filtering information of user oneself setting, can be not only to filter about above-mentioned quick
Feel the video information of this class keywords of attribute, self demand can be set according to user, for example, setting quarrel, war, song
Sing etc. self-defined information or pictorial information, video clip etc.;Self-defined information can also be according to the different need of user
It asks, update at any time sets different filtering information.By the filtering information of user setting, to generate configuration file, the configuration text
The form of part can be xml files, txt file etc..
In the present embodiment, by customized information, configuration file is generated, the sight between different user can be met
It sees the different demands of video, can also meet the needs of same user's different periods viewing different video content, so as to improve
User experience.
Optionally, in another embodiment of video filtering method of the present invention, the acquisition configuration file in step slo
The step of before include:
Step S03, pre-reads target video, and the target video is analyzed by filter condition, and the information that analysis is obtained is given birth to
Into configuration file, the filter condition is preset filtering keys word or self-defined information.
Target video is read first into row buffering, according to filter condition preset in system or customized filtering rod
Part analyses and compares to the target video of buffering, and the video content that analyses and comparison are met to the filter condition generates configuration
File, and stored, this configuration file is generated according to specific video content, for specific video content.
For example, being video B for target video, video B is read into row buffering, according to step S01 or step S02
In filter condition analyse and compare to the video information in video B, certainly, there are the self-defined informations in step S02
When, the video information in video B is compared using self-defined information, the analysis result that can so cause more accords with
Share the individual needs at family.The video content of filter condition will be met, such as video clip B1, B2, video clip B1, B2 are carried out
It stores and generates configuration file.Just include the video segment information for needing to filter in video B in the configuration file.
In the present embodiment, by carrying out pre-read, and according to the video content of pre-read to target video to be played,
The video is compared according to default filter condition, generates configuration file.Based on different target video generations for each
From the configuration file of target video content, so as to the content more accurately to meeting filter condition in video content to be played
It is filtered, reduces the occupancy of video running memory in playing process, improve the treatment effeciency of processor, while also optimize
The viewing experience of user.
Optionally, in another embodiment of video filtering method of the present invention, target video is pre-read described in step S03, is led to
It crosses filter condition and analyzes the target video, the step of obtained information generates configuration file will be analyzed, further included:
Step S031, by being split in buffer manager for use to target video;
The target video is divided into multiple video clips, the segmentation can be according on reproduction time sequencing
Segmentation or be split according to the content of the video of broadcasting.The buffering area of the buffer manager for use subordinate can be
Multiple, multiple buffering area can accelerate the segmentation process to the video.
Target video after segmentation is sent to corresponding multiple decoders and is decoded by step S032;
In the segmentation video clip that above-mentioned steps S031 is obtained, each segment is decoded by decoder.The solution
Code device can also set it is multiple, it is corresponding with the number of above-mentioned buffering area, accelerate the decoding speed of the video clip for segmentation.
Step S033 analyzes decoded target video information with filter condition, and the information that analysis is obtained is given birth to
Into configuration file.
Preset filtering information can be systemic presupposition or user-defined filtering information, according to filtering
Keyword or pictorial information.Obtained video content will be decoded and preset filtering information is compared analysis one by one.Analysis
Obtained information is to meet the video content of filter condition, above-mentioned video content is stored, and generate configuration file.It is described
The form of configuration file can be xml document, txt files etc..
In the present embodiment, by multiple buffering area, the use of multiple decoders, accelerate segmentation to target video into
Journey, while also improve to dividing the decoded speed of rear video segment, so as to shorten the time of generation configuration file.
Optionally, it in another embodiment of video filtering method of the present invention, is determined described in step S20 according to configuration file
Include the step of the video attribute of each segment in target video:
Step S21, pre-reads target video, and the target video is verified with configuration file, determined in target video
Sensitive Attributes segment and normal attribute segment.
The configuration file used in the present embodiment can be any configuration file in step S01, S02, S03, make
With in the process, the priority of above-mentioned configuration file can be set, since the configuration file obtained in step S03 is directed to target video
Decoding target video compares filter condition in advance, and the video content of filtering rule will be met in the target video as configuration text
Part can directly use in target video playing process, filter out Sensitive Attributes video clip, and it is preferential to could be provided as first
Grade;In step S02, configuration file is generated by customized information, more meeting user needs the personalization of video filtering
It asks, could be provided as the second priority;In step S03, by the configuration file of the filtering keys word generation of systemic presupposition, it is
Unified generation, not necessarily meets the individual demand of user, could be provided as third priority.To above-mentioned three kinds of configuration files,
According to the sequence of first, second, third priority, select down successively.
Therefore, in the present embodiment, during the target video and configuration file are verified, can first to configuration file into
Row selection, selects the configuration file of highest priority, obtained configuration file is being verified with target video later, is being obtained
Sensitive Attributes segment and normal attribute segment into target video.
In the present embodiment, target video is compared with the configuration file of highest priority, to each in target video
The attribute of segment is determined, and so as to obtain the video clip of Sensitive Attributes for needing to filter, is conducive to execution Filtration Goal and is regarded
Sensitive Attributes segment step in frequency.
Optionally, it is quick in Filtration Goal video described in step S30 in another embodiment of video filtering method of the present invention
The step of feeling attribute segment, playing normal attribute segment one by one includes:
Sensitive Attributes segment in target video is filtered by step S31 by flow manager;
To the Sensitive Attributes segment in the target video that is obtained in above-mentioned steps, flow manager carries out Sensitive Attributes segment
Filtering is to get to normal attribute segment.
Step S32, flow manager control normal attribute segment by multiple buffering area correspond to just sequentially in time
The buffering of normal attribute segment;
To normal attribute segment obtained above, the time order and function sequence that is played according to video clip, respectively into row buffering,
Buffering area into row buffering can set multiple, the number of corresponding normal attribute segment.
The normal attribute segment of the buffering is sent to corresponding multiple devices of raising the price and is decoded broadcasting by step S33.
To the normal attribute segment of buffering obtained above, it is decoded also according to time order and function sequence, according to buffering
The number in area sets multiple decoders to be decoded it, and the decoder and the buffering area of buffering correspond, thus plus
The fast decoded speed of video clip.
In the present embodiment, to the broadcasting of normal attribute segment, video clip buffering is carried out using multiple buffering area, it is corresponding
Multiple decoders carry out buffered video segment decoding, can effectively ensure linear buffer broadcasting content, it is also ensured that video
The continuity of broadcasting.
Supplemented by assistant solve video filtering method of the present invention, now illustrate as one example, as shown in figure 3, using a video C as
Example:
First, the playing request of video C is received, video C is judged, if video C is local video, will entirely be regarded
Frequency C is as target video to be played;If video C is Online Video, using sub-video Cn buffered video C as waiting to broadcast
The target video put is split target video decoding.Then configuration file is obtained, during configuration file is obtained,
The priority of configuration file can be judged, the configuration file for selecting priority high.And then according to the configuration text of above-mentioned acquisition
Part carries out video attribute judgement to video clip each in target video, and the video clip for meeting configuration file filtering rule is quick
Feel attribute segment, the video clip for not meeting filtering rule is normal attribute segment.Later, Sensitive Attributes segment was carried out
Filter retains normal attribute segment, and carries out buffered play one by one to normal attribute segment.
For example, Online Video C, online buffered play is carried out to it, video C neutrons video C1 is buffered, wherein C1 is regarded
Frequency includes video clip C1a, P1, C1b.For video clip C1a, P1, the C1b of above-mentioned buffering, pass through matching for highest priority
It puts file to be compared with sub-video C1, judges to show that video clip P1 meets configuration file filtering rule as Sensitive Attributes piece
Section, C1a and C1b video clips are normal attribute segment, then the P1 video clips in buffered sub-video C1 are carried out
It extracts and filters.Filter out the video clip P1 of Sensitive Attributes, then obtain normal attribute C1a, C1b video clips.To upper
The video clip C1a, C1b stated decodes broadcasting into row buffering.Finally, judge whether video C finishes;If judge
Go out the video C to finish, then terminate to play.If judgement show that the video C is not finished, relayed in playing process
It is continuous to video C into row buffering, buffering sub-video Cn, then extract and filter and meet configuration file filtering rule in sub-video Cn
Sensitive Attributes video clip Pn, play normal attribute video clip Cna, Cnb etc., recycle the above process, until entire video
C is finished.
The present invention also provides a kind of mobile terminal, the mobile terminal includes:It memory, processor and is stored in described
On memory and the video filtering program that can run on the processor, the video filtering program are performed by the processor
The step of each embodiment of the above-mentioned video filtering methods of Shi Shixian.
The present invention also provides a kind of computer readable storage medium, video is stored on the computer readable storage medium
The step of filter, the video filtering program realizes each embodiment of above-mentioned video filtering method when being executed by processor.
In the embodiment of mobile terminal of the present invention and computer readable storage medium, above-mentioned video filtering method is contained
Content and the basic phase of each embodiment of above-mentioned video filtering method are expanded and explained to all technical features of each embodiment, specification
Together, this will not be repeated here.
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 elements, and
And it further includes other elements that are not explicitly listed or further includes intrinsic for this process, method, article or device institute
Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including this
Also there are other identical elements in the process of element, method, article or device.
The embodiments of the present invention are for illustration only, do not represent the quality of embodiment.
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 of the present invention 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), used including some instructions so that a mobile terminal (can be mobile phone, computer takes
Be engaged in device, air conditioner or the 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 specific embodiment is only schematical rather than restricted, those of ordinary skill in the art
Under the enlightenment of the present invention, present inventive concept and scope of the claimed protection are not being departed from, can also made very much
Form, these are belonged within the protection of the present invention.
Claims (10)
1. a kind of video filtering method, which is characterized in that the video filtering method includes:
The playing request of control video playing is received, target video is determined, and obtain from video to be played according to playing request
Configuration file;
The video attribute of each segment in target video is determined according to configuration file, video attribute includes Sensitive Attributes and normal category
Property;
Sensitive Attributes segment in Filtration Goal video plays normal attribute segment one by one.
2. video filtering method as described in claim 1, which is characterized in that it is described according to playing request from video to be played
The step of determining target video further includes:
Determine that playing request corresponds to video from video to be played;
If playing request corresponds to video as local video, using entire local video as target video;
If playing request corresponds to video as Online Video, the sub-video finished will have been buffered in Online Video one by one as target
Video.
3. video filtering method as described in claim 1, which is characterized in that the broadcasting for receiving control video playing please
Include before the step of asking, target video is determined from video to be played according to playing request, and obtains configuration file:
Preset filtering keys word information is read, using preset filtering keys word as the filter condition of target video, according to institute
State filter condition generation configuration file.
4. video filtering method as described in claim 1, which is characterized in that the broadcasting for receiving control video playing please
Include before the step of asking, target video is determined from video to be played according to playing request, and obtains configuration file:
The newer self-defined information of active user is read, using the self-defined information as the filter condition of target video, according to
The filter condition generates configuration file.
5. video filtering method as described in claim 1, which is characterized in that wrapped before described the step of obtaining configuration file
It includes:
Target video is pre-read, the target video is analyzed by filter condition, the information that analysis is obtained generates configuration file, institute
Filter condition is stated as preset filtering keys word or self-defined information.
6. video filtering method as claimed in claim 5, which is characterized in that it is described to pre-read target video, pass through filter condition
The target video is analyzed, the step of obtained information generates configuration file will be analyzed, further included:
By being split in buffer manager for use to target video;
Target video after segmentation is sent to corresponding multiple decoders to be decoded;
Decoded target video information is analyzed with filter condition, the information that analysis is obtained generates configuration file.
7. video filtering method as described in claim 1, which is characterized in that described to be determined in target video according to configuration file
The step of video attribute of each segment, includes:
Target video is pre-read, the target video is verified with configuration file, determines the Sensitive Attributes segment in target video
With normal attribute segment.
8. video filtering method as described in claim 1, which is characterized in that Sensitive Attributes piece in the Filtration Goal video
Section, the step of playing normal attribute segment one by one, include:
Sensitive Attributes segment in target video is filtered by flow manager;
Flow manager controls normal attribute segment to carry out corresponding to normal attribute segment sequentially in time by multiple buffering area
Buffering;
The normal attribute segment of the buffering is sent to corresponding multiple decoders and is decoded broadcasting.
9. a kind of mobile terminal, which is characterized in that the mobile terminal includes:Memory, processor and it is stored in described deposit
On reservoir and the video filtering program that can run on the processor, when the video filtering program is performed by the processor
It realizes such as the step of video filtering method described in any item of the claim 1 to 8.
10. a kind of computer readable storage medium, which is characterized in that video mistake is stored on the computer readable storage medium
Filter fly sequence realizes such as video filtering described in any item of the claim 1 to 8 when the video filtering program is executed by processor
The step of method.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711438543.1A CN108134961A (en) | 2017-12-26 | 2017-12-26 | Video filtering method, mobile terminal and computer readable storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711438543.1A CN108134961A (en) | 2017-12-26 | 2017-12-26 | Video filtering method, mobile terminal and computer readable storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN108134961A true CN108134961A (en) | 2018-06-08 |
Family
ID=62392915
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201711438543.1A Pending CN108134961A (en) | 2017-12-26 | 2017-12-26 | Video filtering method, mobile terminal and computer readable storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108134961A (en) |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108924575A (en) * | 2018-07-09 | 2018-11-30 | 武汉斗鱼网络科技有限公司 | A kind of video decoding and analyzing method, device, equipment and medium |
CN109040782A (en) * | 2018-08-29 | 2018-12-18 | 百度在线网络技术(北京)有限公司 | Video playing processing method, device and electronic equipment |
CN109089126A (en) * | 2018-07-09 | 2018-12-25 | 武汉斗鱼网络科技有限公司 | A kind of video analysis method, apparatus, equipment and medium |
CN110493645A (en) * | 2019-08-20 | 2019-11-22 | 安徽抖范视频科技有限公司 | A kind of method and limitation system of limitation video playing |
CN111935502A (en) * | 2020-06-28 | 2020-11-13 | 百度在线网络技术(北京)有限公司 | Video processing method, video processing device, electronic equipment and storage medium |
CN114745588A (en) * | 2022-04-08 | 2022-07-12 | 泰州市华仕达机械制造有限公司 | Microcomputer operating platform applying characteristic detection |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20020147782A1 (en) * | 2001-03-30 | 2002-10-10 | Koninklijke Philips Electronics N.V. | System for parental control in video programs based on multimedia content information |
CN1968390A (en) * | 2006-10-19 | 2007-05-23 | 李卫红 | Digital video classification coding and playing system |
CN103258050A (en) * | 2013-05-27 | 2013-08-21 | 公安部第三研究所 | System and method for controlling video information filtering based on semantic content |
CN106973317A (en) * | 2016-12-30 | 2017-07-21 | 华为软件技术有限公司 | Multimedia data processing method, multimedia data providing method, apparatus and system |
-
2017
- 2017-12-26 CN CN201711438543.1A patent/CN108134961A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20020147782A1 (en) * | 2001-03-30 | 2002-10-10 | Koninklijke Philips Electronics N.V. | System for parental control in video programs based on multimedia content information |
CN1636388A (en) * | 2001-03-30 | 2005-07-06 | 皇家菲利浦电子有限公司 | System for parental control in video programs based on multimedia content information |
CN1968390A (en) * | 2006-10-19 | 2007-05-23 | 李卫红 | Digital video classification coding and playing system |
CN103258050A (en) * | 2013-05-27 | 2013-08-21 | 公安部第三研究所 | System and method for controlling video information filtering based on semantic content |
CN106973317A (en) * | 2016-12-30 | 2017-07-21 | 华为软件技术有限公司 | Multimedia data processing method, multimedia data providing method, apparatus and system |
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108924575A (en) * | 2018-07-09 | 2018-11-30 | 武汉斗鱼网络科技有限公司 | A kind of video decoding and analyzing method, device, equipment and medium |
CN109089126A (en) * | 2018-07-09 | 2018-12-25 | 武汉斗鱼网络科技有限公司 | A kind of video analysis method, apparatus, equipment and medium |
CN108924575B (en) * | 2018-07-09 | 2021-02-02 | 武汉斗鱼网络科技有限公司 | Video decoding analysis method, device, equipment and medium |
CN109089126B (en) * | 2018-07-09 | 2021-04-27 | 武汉斗鱼网络科技有限公司 | Video analysis method, device, equipment and medium |
CN109040782A (en) * | 2018-08-29 | 2018-12-18 | 百度在线网络技术(北京)有限公司 | Video playing processing method, device and electronic equipment |
CN110493645A (en) * | 2019-08-20 | 2019-11-22 | 安徽抖范视频科技有限公司 | A kind of method and limitation system of limitation video playing |
CN111935502A (en) * | 2020-06-28 | 2020-11-13 | 百度在线网络技术(北京)有限公司 | Video processing method, video processing device, electronic equipment and storage medium |
CN114745588A (en) * | 2022-04-08 | 2022-07-12 | 泰州市华仕达机械制造有限公司 | Microcomputer operating platform applying characteristic detection |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108134961A (en) | Video filtering method, mobile terminal and computer readable storage medium | |
US11064011B2 (en) | Content collection navigation and autoforwarding | |
US11397504B2 (en) | Content collection navigation queue | |
EP2728859B1 (en) | Method of providing information-of-users' interest when video call is made, and electronic apparatus thereof | |
US20220263815A1 (en) | Multiple application authentication | |
CN106415664A (en) | System and methods of generating user facial expression library for messaging and social networking applications | |
CN104885049A (en) | A lock screen method and mobile terminal | |
US11836764B2 (en) | Media collection navigation with opt-out interstitial | |
US8683015B2 (en) | Method and apparatus for providing content in mobile terminal | |
CN108763564A (en) | Using method for pushing, device and computer readable storage medium | |
US8651951B2 (en) | Game processing server apparatus | |
US11265621B2 (en) | Video push method, device and computer-readable storage medium | |
CN110046571B (en) | Method and device for identifying age | |
CN109754316A (en) | Products Show method, Products Show system and storage medium | |
US20220335478A1 (en) | Methods and systems for personalized gamification of media content | |
CN106471493B (en) | Method and apparatus for managing data | |
CN110851032A (en) | Display style adjustment method and device for target device | |
CN114021016A (en) | Data recommendation method, device, equipment and storage medium | |
CN108419118A (en) | Generation method, television set and the readable storage medium storing program for executing of TV user interface | |
CN113220752A (en) | Display method and device and electronic equipment | |
US11876634B2 (en) | Group contact lists generation | |
CN111918112B (en) | Video optimization method, device, storage medium and terminal | |
CN114912039A (en) | Search special effect display method, device, equipment and medium | |
CN113593582A (en) | Control method and device of intelligent device, storage medium and electronic device | |
CN111199519B (en) | Method and device for generating special effect package |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20180608 |
|
RJ01 | Rejection of invention patent application after publication |