CN106095804A - The processing method of a kind of video segment, localization method and terminal - Google Patents

The processing method of a kind of video segment, localization method and terminal Download PDF

Info

Publication number
CN106095804A
CN106095804A CN201610374833.3A CN201610374833A CN106095804A CN 106095804 A CN106095804 A CN 106095804A CN 201610374833 A CN201610374833 A CN 201610374833A CN 106095804 A CN106095804 A CN 106095804A
Authority
CN
China
Prior art keywords
video
target keywords
file
barrage information
key
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
CN201610374833.3A
Other languages
Chinese (zh)
Other versions
CN106095804B (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 CN201610374833.3A priority Critical patent/CN106095804B/en
Publication of CN106095804A publication Critical patent/CN106095804A/en
Application granted granted Critical
Publication of CN106095804B publication Critical patent/CN106095804B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • 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/73Querying
    • G06F16/732Query formulation
    • G06F16/7343Query language or query format
    • 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/80Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
    • H04N21/83Generation or processing of protective or descriptive data associated with content; Content structuring
    • H04N21/845Structuring of content, e.g. decomposing content into time segments
    • H04N21/8456Structuring of content, e.g. decomposing content into time segments by decomposing the content in the time domain, e.g. in time segments

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Theoretical Computer Science (AREA)
  • Signal Processing (AREA)
  • Physics & Mathematics (AREA)
  • Computational Linguistics (AREA)
  • Databases & Information Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Data Mining & Analysis (AREA)
  • Mathematical Physics (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
  • Television Signal Processing For Recording (AREA)

Abstract

The present invention provides the processing method of a kind of video segment, localization method and terminal, the problem solving to be accurately positioned video segment in prior art.This processing method includes: according to the history barrage information in pending video file, determine the key video snippet in described pending video file;The content of the described history barrage information in the video playback time corresponding to described key video snippet carries out pretreatment, obtains the target keywords that described key video snippet is corresponding, and described target keywords reflects the video content of described key video snippet;Described target keywords is added to the subtitle file of described pending video file.The present invention is by the target keywords extracted in barrage and the corresponding relation of video segment, when video file is play, it is achieved be quickly and accurately positioned video segment.Meet the video-see requirement of user, promote Consumer's Experience.

Description

The processing method of a kind of video segment, localization method and terminal
Technical field
The present invention relates to technical field of video processing, particularly relate to the processing method of a kind of video segment, localization method And terminal.
Background technology
At present, when user watches video in terminal, often exist interested in some video segment or want to skip The demand of some uninterested video segment.Prior art can be by the video progress bar on dragging video playback interface Method reaches the demand, but the method typically cannot be accurately positioned, and generally requires repeatedly to drag and just can find suitable position Put.
Certainly, current video website there is also some methods improved.Such as, the video on video playback interface Preview frame is increased, the position video letter that when allowing user drag video progress bar, the real-time understanding of energy will drag to below progress bar Breath, alleviates the demand of a part of user.Even if so, because preview frame only has a secondary picture, can not well position and regard Frequently details, it is impossible to tackle the problem at its root.
Summary of the invention
The embodiment of the present invention provides the processing method of a kind of video segment, localization method and terminal, to solve prior art In cannot be accurately positioned the problem of important video segment.
On the one hand, the embodiment of the present invention provides the processing method of a kind of video segment, including:
According to the history barrage information in pending video file, determine the key video sequence in described pending video file Fragment;
The content of the described history barrage information in the video playback time corresponding to described key video snippet carries out pre- Processing, obtain the target keywords that described key video snippet is corresponding, described target keywords reflects described key video snippet Video content;
Described target keywords is added to the subtitle file of described pending video file.
On the other hand, the embodiment of the present invention also provides for a kind of terminal, including:
Fragment determines module, for according to the history barrage information in pending video file, determines described pending regard Key video snippet in frequency file;
Processing module, in the described history barrage information in the video playback time corresponding to described key video snippet Holding and carry out pretreatment, obtain the target keywords that described key video snippet is corresponding, described target keywords reflects described key The video content of video segment;
Perform module, for described target keywords being added to the subtitle file of described pending video file.
Another aspect, the embodiment of the present invention also provides for the localization method of a kind of video segment, including:
When current video file is play, obtain the target keywords selected by user;
According to pre-recorded described target keywords and the first video segment included by described current video file Corresponding relation, at location to described first video segment, plays described first video segment.
Another further aspect, the embodiment of the present invention also provides for a kind of terminal, including:
Acquisition module, for when current video file is play, obtains the target keywords selected by user;
Locating module, for according to the included by pre-recorded described target keywords and described current video file The corresponding relation of one video segment, at location to described first video segment, plays described first video segment.
The processing method of video segment that the embodiment of the present invention provides, by the target keywords that extracts in barrage with regard Frequently the corresponding relation of fragment, when video file is play, it is achieved be quickly and accurately positioned video segment.Meet regarding of user Frequency viewing requirement, promotes Consumer's Experience.
Accompanying drawing explanation
In order to be illustrated more clearly that the technical scheme of the embodiment of the present invention, below by institute in the description to the embodiment of the present invention The accompanying drawing used is needed to be briefly described, it should be apparent that, the accompanying drawing in describing below is only some enforcements of the present invention Example, for those of ordinary skill in the art, on the premise of not paying creative work, it is also possible to according to these accompanying drawings Obtain other accompanying drawing.
Fig. 1 is the flow chart of the processing method of video segment in first embodiment of the invention;
Fig. 2 is the flow chart of the processing method of video segment in second embodiment of the invention;
Fig. 3 is the particular flow sheet of step 204 in Fig. 2;
Fig. 4 is the particular flow sheet of step 205 in Fig. 2;
Fig. 5 is the flow chart of the localization method of video segment in third embodiment of the invention;
Fig. 6 is the flow chart of the localization method of video segment in fourth embodiment of the invention;
Fig. 7 is the particular flow sheet of step 402 in Fig. 6;
Fig. 8 is by the target keywords pass corresponding with video segment extracted in barrage in fifth embodiment of the invention System realizes the flow chart of the location to video segment;
Fig. 9 is one of structured flowchart of terminal in sixth embodiment of the invention;
Figure 10 is in sixth embodiment of the invention the two of the structured flowchart of terminal;
Figure 11 is one of structured flowchart of terminal in seventh embodiment of the invention;
Figure 12 is in seventh embodiment of the invention the two of the structured flowchart of terminal;
Figure 13 is the structured flowchart of terminal in eighth embodiment of the invention;
Figure 14 is the structured flowchart of terminal in ninth embodiment of the invention.
Detailed description of the invention
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete Describe, it is clear that described embodiment is only a part of embodiment of the present invention rather than whole embodiments wholely.Based on Embodiment in the present invention, it is every other that those of ordinary skill in the art are obtained under not making creative work premise Embodiment, broadly falls into the scope of protection of the invention.
First embodiment
As it is shown in figure 1, be the flow chart of the processing method of video segment in first embodiment of the invention.Below in conjunction with this figure Illustrate the implementation process of the processing method of this video segment.
Step 101, according to the history barrage information in pending video file, determines in described pending video file Key video snippet.
It should be noted that barrage information refers to be directly displayed at commenting on video display interface when video file is play Opinion.User can know the concrete video content in video file by barrage information.Data base on the webserver is permissible Store the history barrage information of all kinds of video file.
Step 102, in the described history barrage information in the video playback time corresponding to described key video snippet Holding and carry out pretreatment, obtain the target keywords that described key video snippet is corresponding, described target keywords reflects described key The video content of video segment.
Step 103, adds described target keywords to the subtitle file of described pending video file.
The processing method of the video segment of the embodiment of the present invention, by the history barrage information of video file, obtains video Key video snippet in file, and by the analyzing and processing to history barrage information content, obtain reflecting key video snippet The keyword of video content, finally the keyword of mark key video snippet is arranged in the subtitle file of video file. The processing method of this video segment, it is simple to this video file follow-up viewing time, the fast and accurately location of video segment, meet The viewing demand of user, promotes Consumer's Experience.
Second embodiment
As in figure 2 it is shown, be the flow chart of the processing method of video segment in second embodiment of the invention, below in conjunction with this figure Illustrate the implementation process of the processing method of this video segment.
Step 201, obtains the history barrage information of record in pending video file, and described history barrage information includes: The content of every barrage information and the transmission time of every barrage information.
Step 202, detects the transmission frequency of described history barrage message, and described transmission frequency is that unit time interior transmission is gone through The bar number of history barrage information.
Needing exist for explanation, the unit interval can be per second, per minute, per quarter etc..Here unit interval is Optional setting.
Step 203, determines described transmission frequency more than corresponding to described pending video in the transmission time of predetermined threshold value The video segment of file is key video snippet, and the described transmission time includes: one or more continuous print unit interval.
Such as, predetermined threshold value is 40/minute, when the transmission frequency of the history barrage information detected is more than 40/point Zhong Shi, then be defined as key video snippet by video playback fragment corresponding in this barrage access time section.
It should be noted that cause the initial reproduction time of key video snippet stagnant to prevent barrage information delay After, typically the initial reproduction time of key video snippet is pushed away forward a Preset Time, be usually and push away forward several seconds.
Step 204, in the described history barrage information in the video playback time corresponding to described key video snippet Holding and carry out pretreatment, obtain the target keywords that described key video snippet is corresponding, described target keywords reflects described key The video content of video segment.
Step 205, adds described target keywords to the subtitle file of described pending video file.
Preferably, as it is shown on figure 3, step 204 described in the embodiment of the present invention also can farther include:
Step 2041, obtains the described history barrage information in the video playback time that described key video snippet is corresponding.
Here, the history barrage information in the video playback time that key video snippet is corresponding is the most a plurality of, including it The front same time watches the barrage information of all users of this key video snippet.
Step 2042, carries out dissection process to the content of a plurality of described history barrage information, obtains described key video sequence sheet The target keywords that section is corresponding.
It is preferred here that target keywords can be obtained by keyword extraction algorithms.
Here, described step 2042 also may particularly include:
Resolve the content of each history barrage information in a plurality of described history barrage information successively, extract each history Keyword undetermined in the content of barrage information;Will appear from number of times and be defined as more than the keyword described undetermined of preset times described The target keywords that key video snippet is corresponding.
It should be noted that, the keyword in the content of history barrage information can be extracted by keyword extraction algorithms and obtain.
Wherein, this keyword extraction algorithms uses TextRank algorithm, and this algorithm is used for as text generation keyword and plucks Want.Other algorithms that can realize extracting keyword such as CHI algorithm, TFIDF algorithm can certainly be used.Will appear from number of times to be more than The keyword described undetermined of preset times is defined as the target keywords that described key video snippet is corresponding.
Here, the number of times pass described undetermined more than preset times can be will appear from by contrasting multiple described keywords undetermined Key word is defined as the target keywords that described key video snippet is corresponding.
Such as, in the video file of a football match, determine that a key regards by the transmission frequency of history barrage information Frequently fragment, the history barrage information in the video playback time that this key video snippet is corresponding includes the following: " goal ", " breathes out Ha ha ha ", " entering to enter ", " finally score " etc..
First, by keyword extraction algorithms, the content of above-mentioned each barrage information is analyzed, such as " scores " keyword be " goal ", " the most heartily " does not extracts keyword, and the keyword of " entering to enter " is " entering ", " finally enters Ball " keyword be " goal ";Afterwards, these keywords extracted are carried out statistics and sorts out, finally, will appear from frequency One or several high word, is " goal " keyword as this key video snippet in this example.
It should be noted that the insignificant exclamation word in the content of history barrage information will not be identified as key Word.
Preferably, as shown in Figure 4, step 205 described in the embodiment of the present invention also can farther include:
Step 2051, obtains the subtitle file that described pending video file is corresponding, the subtitling format of described subtitle file In be provided with key field.
It should be noted that the form of subtitle file here is " keyword+sequence number+time frame+captions ", namely exist Original subtitle file adds key field.
The video content of video segment is that the example of the subtitle file of advertisement is as follows:
[keyword] advertisement;
[sequence number] 2;
[time frame] 00:00:38,449--00:00:44,486;
[captions] you be prepare beat electronic game or gnaw this book?
Step 2052, according to the video playback time that described key video snippet is corresponding, adds described target keywords To the described key field corresponding with described subtitle file.
The processing method of the video segment of the embodiment of the present invention, according to the transmission frequency of the history barrage information of video file Rate, obtains the key video snippet in video file, and by the analyzing and processing to history barrage information content, obtains reflection and close The keyword of the video content of key video segment, is finally arranged at the word of video file by the keyword of mark key video snippet In curtain file.The processing method of this video segment, it is simple to this video file is when follow-up viewing, by obtaining what user selected Video segment is fast and accurately positioned by keyword, meets the viewing demand of user, promotes Consumer's Experience.
3rd embodiment
As it is shown in figure 5, be the flow chart of the localization method of video segment in third embodiment of the invention, below in conjunction with this figure Illustrate the implementation process of the localization method of this video segment.
Step 301, when current video file is play, obtains the target keywords selected by user.
Needing exist for explanation, target keywords is for identifying the video content of video segment in current video file.
Step 302, regards with first included by described current video file according to pre-recorded described target keywords Frequently the corresponding relation of fragment, at location to described first video segment, plays described first video segment.
It should be noted that corresponding relation can be target keywords and video segment reproduction time in video file Correspondence.
The localization method of the video segment that the embodiment of the present invention provides, closes by target keywords is corresponding with video segment System, when video file is play, it is achieved be quickly and accurately positioned video segment.Meet the video-see requirement of user, carry Rise Consumer's Experience.
4th embodiment
As shown in Figure 6, for the flow chart of the localization method of video segment in fourth embodiment of the invention, below in conjunction with this figure Illustrate the implementation process of the localization method of this video segment.
Step 401, according to the subtitle file in current video file, obtains described target keywords and described target is closed Key word, corresponding to the video playback position of described first video segment, records described target keywords and described first video segment Corresponding relation.
It should be noted that video playback position includes the initial play position of video segment and terminates play position, also It it is exactly initial broadcasting moment and end broadcasting moment.
Specifically, the target keywords comprised in described subtitle file is multiple;Wherein, each target keywords respectively with One video segment record has corresponding relation.
Step 402, when current video file is play, obtains the target keywords selected by user.
Step 403, regards with first included by described current video file according to pre-recorded described target keywords Frequently the corresponding relation of fragment, at location to described first video segment, plays described first video segment.
Preferably, as it is shown in fig. 7, step 402 described in the localization method of the video segment of the embodiment of the present invention can enter one Step includes:
Step 4021, when described current video file is play, resolves described subtitle file, it is judged that in described subtitle file Whether comprise multiple target keywords.
The most then perform step 4022;If it is not, then terminate flow process, obtain target keywords by other means.
Step 4022, when comprising multiple target keywords in described subtitle file, shows institute playing on display interface State multiple target keywords.
Here, play and on display interface, keyword display interface can be set, the multiple targets that will obtain from subtitle file Keyword shows on keyword display interface.
It is of course also possible to arrange the preview word of mark target keywords on the video progress bar playing display interface Frame, the position of each preview textbox is correspondingly arranged in the initial play position of each video segment.When user clicks on preview literary composition Target keywords during word frame, in display textbox.
Here, playing and show that the form of target keywords is not limited to above two form on display interface, other can be real Now show that the form of effect all can use.
Step 4023, obtains the user's wherein target keywords selected in the plurality of target keywords.
The localization method of video segment that the embodiment of the present invention provides, by resolve subtitle file obtain target keywords with The corresponding relation of video segment, when video file is play, realizes according to the corresponding relation of target keywords with video segment Video segment is quickly and accurately positioned.Meet the video-see requirement of user, promote Consumer's Experience.
5th embodiment
As shown in Figure 8, for fifth embodiment of the invention is passed through the target keywords and the video segment that extract in barrage Corresponding relation realize the flow chart to the location of video segment, illustrate the location realizing video segment below in conjunction with this figure Implementation process.
Step 501, according to the history barrage information in current video file, determines the key in described current video file Video segment;
It should be noted that barrage information refers to be directly displayed at commenting on video display interface when video file is play Opinion.User can know the concrete video content in video file by barrage information.Data base on the webserver is permissible Store the history barrage information of all kinds of video file.
Step 502, in the described history barrage information in the video playback time corresponding to described key video snippet Holding and carry out pretreatment, obtain the target keywords that described key video snippet is corresponding, described target keywords reflects described key The video content of video segment;
Step 503, adds described target keywords to the subtitle file of described current video file;
Step 504, when current video file is play, obtains the target keywords selected by user;
Step 505, regards with first included by described current video file according to pre-recorded described target keywords Frequently the corresponding relation of fragment, at location to described first video segment, plays described first video segment.
It is preferred here that described step 501 can farther include: obtain the history barrage of record in current video file Information, described history barrage information includes: the content of every barrage information and the transmission time of every barrage information;Detection institute Stating the transmission frequency of history barrage message, described transmission frequency is the unit time interior bar number sending history barrage information;Determine Described transmission frequency is that key regards more than the transmission time of the predetermined threshold value interior video segment corresponding to described current video file Frequently fragment, the described transmission time includes: one or more continuous print unit interval.
Preferably, described step 502 can farther include: obtains the video playback time that described key video snippet is corresponding Interior described history barrage information;The content of a plurality of described history barrage information is carried out dissection process, obtains described key and regard Frequently the target keywords that fragment is corresponding.
It should be noted that, target keywords can be obtained by keyword extraction algorithms.
Wherein, the content of a plurality of described history barrage information is carried out dissection process, obtains described key video snippet pair The step of the target keywords answered also can farther include: resolve each history in a plurality of described history barrage information successively The content of barrage information, extracts the keyword undetermined in the content of each history barrage information;Will appear from number of times more than presetting The keyword described undetermined of number of times is defined as the target keywords that described key video snippet is corresponding.
Preferably, described step 503 can farther include: obtains the subtitle file that described current video file is corresponding, institute State in the subtitling format of subtitle file and be provided with key field;During according to the video playback that described key video snippet is corresponding Between, described target keywords is added to the described key field corresponding with described subtitle file.
It should be noted that, the form of subtitle file here is " keyword+sequence number+time frame+captions ", namely former Some subtitle files add key field.
Here, before step 504, namely when current video file is play, obtain the target selected by user Before keyword, also include: according to the subtitle file in current video file, obtain described target keywords and described target Keyword, corresponding to the video playback position of described first video segment, records described target keywords and described first piece of video The corresponding relation of section.
Specifically, the target keywords comprised in described subtitle file is multiple;Wherein, each target keywords respectively with One video segment record has corresponding relation.
Preferably, described step 504 also can farther include: when described current video file is play, resolves described word Curtain file, it is judged that whether comprise multiple target keywords in described subtitle file;Multiple target is comprised in described subtitle file During keyword, show the plurality of target keywords playing on display interface;Obtain user in the plurality of target keywords Selected in a wherein target keywords.
The embodiment of the present invention is by the target keywords extracted in the history barrage information of video file and video segment Corresponding relation, it is achieved when video file is play, video segment is quickly and accurately positioned.Meet the video-see of user Requirement, promotes Consumer's Experience.
Sixth embodiment
As it is shown in figure 9, the embodiment of the present invention also provides for a kind of terminal 600, the process for video segment includes:
Fragment determines module 601, for according to the history barrage information in pending video file, determines described pending Key video snippet in video file.
It should be noted that barrage information refers to be directly displayed at commenting on video display interface when video file is play Opinion.User can know the concrete video content in video file by barrage information.Data base on the webserver is permissible Store the history barrage information of all kinds of video file.
Processing module 602, the described history barrage information in the video playback time corresponding to described key video snippet Content carry out pretreatment, obtain the target keywords that described key video snippet is corresponding, the reflection of described target keywords is described The video content of key video snippet.
Perform module 603, for described target keywords being added to the subtitle file of described pending video file.
As shown in Figure 10, described in the terminal 600 of the embodiment of the present invention, fragment determines that module 601 also may particularly include:
First barrage acquiring unit 6011, for obtaining the history barrage information of record in pending video file, described History barrage information includes: the content of every barrage information and the transmission time of every barrage information.
Detector unit 6012, for detecting the transmission frequency of described history barrage message, when described transmission frequency is unit The interior bar number sending history barrage information.
Needing exist for explanation, the unit interval can be per second, per minute, per quarter etc..Here unit interval is Optional setting.
Fragment determines unit 6013, corresponding to institute in determining the described transmission frequency transmission time more than predetermined threshold value The video segment stating pending video file is key video snippet, and the described transmission time includes: one or more continuous print lists Bit time.
Such as, predetermined threshold value is 40/minute, when the transmission frequency of the history barrage information detected is more than 40/point Zhong Shi, then be defined as key video snippet by video playback fragment corresponding in this barrage access time section.
It should be noted that cause the initial reproduction time of key video snippet stagnant to prevent barrage information delay After, typically the initial reproduction time of key video snippet is pushed away forward a Preset Time, be usually and push away forward several seconds.
As shown in Figure 10, described in the terminal 600 of the embodiment of the present invention, processing module 602 also may particularly include:
Second barrage acquiring unit 6021, for obtaining the institute in the video playback time that described key video snippet is corresponding State history barrage information;
Here, the history barrage information in the video playback time that key video snippet is corresponding is the most a plurality of, including it The front same time watches the barrage information of all users of this key video snippet.
Processing unit 6022, for the content of a plurality of described history barrage information is carried out dissection process, obtains described pass The target keywords that key video segment is corresponding.
It is preferred here that it is preferred here that target keywords can be obtained by keyword extraction algorithms.
Here, described processing unit 6022 specifically for: resolve in a plurality of described history barrage information each successively and go through The content of history barrage information, extracts the keyword undetermined in the content of each history barrage information;Will appear from number of times more than pre- If the keyword described undetermined of number of times is defined as the target keywords that described key video snippet is corresponding.
It should be noted that, the keyword in the content of history barrage information can be extracted by keyword extraction algorithms and obtain.
This keyword extraction algorithms uses TextRank algorithm, and this algorithm is used for as text generation keyword and summary.When So can also use other algorithms that can realize extracting keyword such as CHI algorithm, TFIDF algorithm.
Here, the number of times pass described undetermined more than preset times can be will appear from by contrasting multiple described keywords undetermined Key word is defined as the target keywords that described key video snippet is corresponding.
Such as, in the video file of a football match, determine that a key regards by the transmission frequency of history barrage information Frequently fragment, the history barrage information in the video playback time that this key video snippet is corresponding includes the following: " goal ", " breathes out Ha ha ha ", " entering to enter ", " finally score " etc..
First, by keyword extraction algorithms, the content of above-mentioned each barrage information is analyzed, such as " scores " keyword be " goal ", " the most heartily " does not extracts keyword, and the keyword of " entering to enter " is " entering ", " finally enters Ball " keyword be " goal ";Afterwards, these keywords extracted are carried out statistics and sorts out, finally, will appear from frequency One or several high word, is " goal " in this example, as the keyword of this key video snippet.
It should be noted that the insignificant exclamation word in the content of history barrage information will not be identified as key Word.
As shown in Figure 10, perform module 603 described in the terminal 600 of the embodiment of the present invention also to may particularly include:
Captions acquiring unit 6031, for obtaining the subtitle file that described pending video file is corresponding, described captions literary composition The subtitling format of part is provided with key field;
It should be noted that the form of subtitle file here is " keyword+sequence number+time frame+captions ", namely exist Original subtitle file adds key field.
The video content of video segment is that the example of the subtitle file of advertisement is as follows:
[keyword] advertisement;
[sequence number] 2;
[time frame] 00:00:38,449--00:00:44,486;
[captions] you be prepare beat electronic game or gnaw this book?
Performance element 6032, for the video playback time corresponding according to described key video snippet, closes described target Key word adds to the described key field corresponding with described subtitle file.
The terminal of the embodiment of the present invention, fragment determines the module transmission frequency according to the history barrage information of video file, Obtaining the key video snippet in video file, processing module, by the analyzing and processing to history barrage information content, obtains anti- Reflect the keyword of the video content of key video snippet, finally perform module and the keyword of mark key video snippet is arranged at In the subtitle file of video file.The processing method of this video segment, it is simple to this video file is when follow-up viewing, by obtaining Video segment is fast and accurately positioned by the keyword taking family selection, meets the viewing demand of user, promotes user's body Test.
7th embodiment
As shown in figure 11, the embodiment of the present invention also provides for a kind of terminal 700, includes for the location of video segment:
Acquisition module 701, for when current video file is play, obtains the target keywords selected by user.
Needing exist for explanation, target keywords is for identifying the video content of video segment in current video file.
Locating module 702, for according to included by pre-recorded described target keywords and described current video file The corresponding relation of the first video segment, at location to described first video segment, play described first video segment.
It should be noted that corresponding relation can be target keywords and video segment reproduction time in video file Correspondence.
Specifically, as shown in figure 12, the terminal 700 of the embodiment of the present invention may also include that
Corresponding relation logging modle 703, for when current video file is play, obtains the target selected by user and closes Before key word, according to the subtitle file in current video file, obtain described target keywords and described target keywords pair The video playback position of the first video segment described in Ying Yu, records described target keywords corresponding with described first video segment Relation.
It should be noted that video playback position includes the initial play position of video segment and terminates play position, also It it is exactly initial broadcasting moment and end broadcasting moment.
Specifically, the target keywords comprised in described subtitle file is multiple;Wherein, each target keywords respectively with One video segment record has corresponding relation.
As shown in figure 12, the acquisition module 701 of the terminal of the embodiment of the present invention also may particularly include:
Analysis judgment unit 7011, for when described current video file is play, resolves described subtitle file, it is judged that institute State and whether subtitle file comprises multiple target keywords.
Display unit 7012, in time comprising multiple target keywords in described subtitle file, is playing display interface The plurality of target keywords of upper display.
Here, play and on display interface, keyword display interface can be set, the multiple targets that will obtain from subtitle file Keyword shows on keyword display interface.
It is of course also possible to arrange the preview word of mark target keywords on the video progress bar playing display interface Frame, the position of each preview textbox is correspondingly arranged in the initial play position of each video segment.When user clicks on preview literary composition Target keywords during word frame, in display textbox.
Here, playing and show that the form of target keywords is not limited to above two form on display interface, other can be real Now show that the form of effect all can use.
Acquiring unit 7013, obtains the user's wherein target keywords selected in the plurality of target keywords.
It should be noted that the terminal 600 in the terminal 700 of the embodiment of the present invention and the 5th embodiment can be identical end End, certainly, it is possible to for different terminals.
The terminal that the embodiment of the present invention provides, resolves subtitle file by corresponding relation logging modle and obtains target keywords With the corresponding relation of video segment, when video file is play, locating module is corresponding with video segment according to target keywords Relation realizes being quickly and accurately positioned video segment.Meet the video-see requirement of user, promote Consumer's Experience.
8th embodiment
As shown in figure 13, for the structured flowchart of terminal in eighth embodiment of the invention.Mobile terminal 800 shown in Figure 13 wraps Include: at least one processor 801, memorizer 802, at least one network interface 804 and other user interfaces 803.Mobile terminal Each assembly in 800 is coupled by bus system 805.It is understood that bus system 805 be used for realizing these assemblies it Between connection communication.Bus system 805, in addition to including data/address bus, also includes power bus, controls bus and status signal Bus.But for the sake of understanding explanation, in fig. 13 various buses are all designated as bus system 805.
Wherein, user interface 803 can include display, keyboard or pointing device (such as, mouse, trace ball (trackball), touch-sensitive plate or touch screen etc..
The memorizer 802 being appreciated that in the embodiment of the present invention can be volatile memory or nonvolatile memory, Maybe can include volatibility and nonvolatile memory.Wherein, nonvolatile memory can be read only memory (Read- OnlyMemory, ROM), programmable read only memory (ProgrammableROM, PROM), Erasable Programmable Read Only Memory EPROM (ErasablePROM, EPROM), Electrically Erasable Read Only Memory (ElectricallyEPROM, EEPROM) or sudden strain of a muscle Deposit.Volatile memory can be random access memory (RandomAccessMemory, RAM), and it is used as outside the most slow Deposit.By exemplary but be not restricted explanation, the RAM of many forms can use, such as static RAM (StaticRAM, SRAM), dynamic random access memory (DynamicRAM, DRAM), Synchronous Dynamic Random Access Memory (SynchronousDRAM, SDRAM), double data speed synchronous dynamic RAM (DoubleDataRate SDRAM, DDRSDRAM), enhancement mode Synchronous Dynamic Random Access Memory (Enhanced SDRAM, ESDRAM), synchronized links Dynamic random access memory (SynchlinkDRAM, SLDRAM) and direct rambus random access memory (DirectRambusRAM, DRRAM).The memorizer 502 of system and method described herein be intended to include but not limited to these and The arbitrarily memorizer of other applicable type.
In some embodiments, memorizer 802 stores following element, executable module or data structure, or Their subset of person, or their superset: operating system 8021 and application program 8022.
Wherein, operating system 8021, comprise various system program, such as ccf layer, core library layer, driving layer etc., be used for Realize various basic business and process hardware based task.Application program 8022, comprises various application program, such as media Player (MediaPlayer), browser (Browser) etc., be used for realizing various applied business.Realize embodiment of the present invention side The program of method may be embodied in application program 8022.
In one embodiment of this invention, by calling program or the instruction of memorizer 802 storage, concrete can be The program stored in application program 8022 or instruction, processor 801 is for believing according to the history barrage in pending video file Breath, determines the key video snippet in described pending video file;During corresponding to described key video snippet video playback The content of interior described history barrage information carries out pretreatment, obtains the target keywords that described key video snippet is corresponding, Described target keywords reflects the video content of described key video snippet;Described target keywords is added to described pending In the subtitle file of video file.
It should be noted that history barrage information, target keywords and subtitle file can be stored in memorizer 802, should Processor 801 can call history barrage information, target keywords and subtitle file in memorizer 802.
Alternatively, processor 801 is additionally operable to: obtain in pending video file the history barrage information of record, described in go through History barrage information includes: the content of every barrage information and the transmission time of every barrage information;Detect described history barrage The transmission frequency of message, described transmission frequency is the unit time interior bar number sending history barrage information;Determine described transmission frequently Rate is key video snippet more than the transmission time of the predetermined threshold value interior video segment corresponding to described pending video file, institute Stating the transmission time includes: one or more continuous print unit interval.
Alternatively, processor 801 is additionally operable to: obtain in the video playback time that described key video snippet is corresponding is described History barrage information;The content of a plurality of described history barrage information is carried out dissection process, obtains described key video snippet pair The target keywords answered.
Alternatively, processor 801 is additionally operable to: resolve each history barrage letter in a plurality of described history barrage information successively The content of breath, extracts the keyword undetermined in the content of each history barrage information;Will appear from number of times more than preset times Described keyword undetermined is defined as the target keywords that described key video snippet is corresponding.
Alternatively, processor 801 is additionally operable to: obtain the subtitle file that described pending video file is corresponding, described captions The subtitling format of file is provided with key field;According to the video playback time that described key video snippet is corresponding, by institute State target keywords to add to the described key field corresponding with described subtitle file.
The mobile terminal 800 of the embodiment of the present invention, processor 801 is for according to the history barrage in pending video file Information, determines the key video snippet in described pending video file;The video playback corresponding to described key video snippet The content of the described history barrage information in the time carries out pretreatment, obtains the target critical that described key video snippet is corresponding Word, described target keywords reflects the video content of described key video snippet;Treat described in described target keywords being added extremely Process in the subtitle file of video file, it is simple to video file is when follow-up viewing, by obtaining the keyword that user selects Video segment is fast and accurately positioned, meets the viewing demand of user, promote Consumer's Experience.
In another embodiment of the present invention, by calling program or the instruction of memorizer 802 storage, concrete can be The program stored in application program 8022 or instruction, user interface 803, for when current video file is play, obtains user A selected target keywords;Processor 501 is for according to pre-recorded described target keywords and described current video The corresponding relation of the first video segment included by file, at location to described first video segment, plays described first video Fragment.
Needing exist for explanation, target keywords can be stored in memorizer 802, and this processor 801 can call storage Target keywords in device 802.
Alternatively, this processor 801 is additionally operable to: when current video file is play, and obtains the target selected by user Before keyword, according to the subtitle file in current video file, obtain described target keywords and described target keywords Corresponding to the video playback position of described first video segment, record the right of described target keywords and described first video segment Should be related to.
Specifically, the target keywords comprised in described subtitle file is multiple;Wherein, each target keywords respectively with One video segment record has corresponding relation.
Needing exist for explanation, subtitle file also can be stored in memorizer 802, and this processor 801 can call storage Subtitle file in device 802.
Alternatively, this processor 801 also can be specifically for: when described current video file is play, resolves described captions File, it is judged that whether comprise multiple target keywords in described subtitle file;In described subtitle file, comprise multiple target close During key word, show the plurality of target keywords playing on display interface;Obtain user in the plurality of target keywords A selected wherein target keywords.
The mobile terminal of the present invention can be such as mobile phone, panel computer, personal digital assistant (PersonalDigital Assistant, PDA) or vehicle-mounted computer etc. mobile terminal.
Mobile terminal 800 is capable of each process that in previous embodiment, mobile terminal realizes, for avoiding repeating, here Repeat no more.
The mobile terminal 800 of the embodiment of the present invention, by user interface 803 for when current video file is play, obtains Take the target keywords selected by family;Processor 801 is for working as with described according to pre-recorded described target keywords The corresponding relation of the first video segment included by front video file, location at described first video segment, plays described the One video segment, realizes being quickly and accurately positioned video segment.Meet the video-see requirement of user, promote user's body Test.
The method that the invention described above embodiment discloses all can apply in processor 801, or real by processor 801 Existing.Processor 801 is probably a kind of IC chip, has the disposal ability of signal.During realizing, said method Each step can be completed by the instruction of the integrated logic circuit of the hardware in processor 801 or software form.Above-mentioned place Reason device 801 can be general processor, digital signal processor (DigitalSignalProcessor, DSP), special integrated electricity Road (ApplicationSpecificIntegratedCircuit, ASIC), ready-made programmable gate array (FieldProgrammableGateArray, FPGA) or other PLDs, discrete gate or transistor logic Device, discrete hardware components.Can realize or perform disclosed each method, step and the box in the embodiment of the present invention Figure.The processor etc. that general processor can be microprocessor or this processor can also be any routine.In conjunction with the present invention The step of the method disclosed in embodiment can be embodied directly in hardware decoding processor and perform, or uses decoding processor In hardware and software module combination execution complete.Software module may be located at random access memory, and flash memory, read only memory can In the storage medium that this areas such as program read-only memory or electrically erasable programmable memorizer, depositor are ripe.This storage Medium is positioned at memorizer 802, and processor 801 reads the information in memorizer 802, completes the step of said method in conjunction with its hardware Suddenly.
It is understood that embodiments described herein can use hardware, software, firmware, middleware, microcode or its Combination realizes.Realizing for hardware, processing unit can be implemented in one or more special IC (ApplicationSpecificIntegratedCircuits, ASIC), digital signal processor (DigitalSignalProcessing, DSP), digital signal processing appts (DSPDevice, DSPD), programmable logic device (ProgrammableLogicDevice, PLD), field programmable gate array (Field-ProgrammableGateArray, FPGA), general processor, controller, microcontroller, microprocessor, for performing other electronics list of herein described function In unit or a combination thereof.
Software is realized, can be realized herein by the module (such as process, function etc.) performing function described herein Described technology.Software code is storable in performing in memorizer and by processor.Memorizer can within a processor or Processor is outside to be realized.
9th embodiment
As shown in figure 14, for the structured flowchart of terminal in ninth embodiment of the invention.In embodiments of the present invention, Tu14Zhong Mobile terminal 900 include that radio frequency (RadioFrequency, RF) circuit 910, memorizer 920, input block 930, display are single Unit 940, processor 960, voicefrequency circuit 970, WiFi (WirelessFidelity) module 980 and power supply 990.
Wherein, input block 930 can be used for receiving numeral or the character information of user's input, and produces and mobile terminal The user setup of 900 and function control relevant signal input.Specifically, in the embodiment of the present invention, this input block 930 can To include contact panel 931.Contact panel 931, also referred to as touch screen, can collect user thereon or neighbouring touch operation (such as user uses any applicable object such as finger, stylus or adnexa operation on contact panel 931), and according in advance The formula set drives corresponding attachment means.Optionally, contact panel 931 can include touch detecting apparatus and touch controller Two parts.Wherein, the touch orientation of touch detecting apparatus detection user, and detect the signal that touch operation brings, by signal Send touch controller to;Touch controller receives touch information from touch detecting apparatus, and is converted into contact coordinate, Give this processor 960 again, and order that processor 960 sends can be received and performed.Furthermore, it is possible to employing resistance-type, The polytypes such as condenser type, infrared ray and surface acoustic wave realize contact panel 931.Except contact panel 931, input block 930 can also include other input equipments 932, and other input equipments 932 can include but not limited to physical keyboard, function key One or more in (such as volume control button, switch key etc.), trace ball, mouse, action bars etc..
Wherein, display unit 940 can be used for showing the information inputted by user or the information being supplied to user and movement The various menu interfaces of terminal 900.Display unit 940 can include display floater 941, optionally, can use LCD or organic The forms such as optical diode (OrganicLight-EmittingDiode, OLED) configure display floater 941.
It should be noted that contact panel 931 can cover display floater 941, formed and touch display screen, when this touch display screen is examined Measure thereon or after neighbouring touch operation, send processor 960 to determine the type of touch event, with preprocessor 960 provide corresponding visual output according to the type of touch event on touch display screen.
Touch display screen and include Application Program Interface viewing area and conventional control viewing area.This Application Program Interface viewing area And the arrangement mode of this conventional control viewing area does not limit, can be arranged above and below, left-right situs etc. can be distinguished two and show Show the arrangement mode in district.This Application Program Interface viewing area is displayed for the interface of application program.Each interface is permissible The interface elements such as the icon and/or the widget desktop control that comprise at least one application program.This Application Program Interface viewing area It can also be the empty interface not comprising any content.This conventional control viewing area is for showing the control that utilization rate is higher, such as, The application icons etc. such as settings button, interface numbering, scroll bar, phone directory icon.
Wherein processor 960 is the control centre of mobile terminal 900, utilizes various interface and the whole mobile phone of connection Various piece, is stored in the software program in first memory 921 and/or module by running or performing, and calls storage Data in second memory 922, perform the various functions of mobile terminal 900 and process data, thus to mobile terminal 900 Carry out integral monitoring.Optionally, processor 960 can include one or more processing unit.
In one embodiment of this invention, by calling the software program and/or module stored in this first memory 921 And/or the data in this second memory 922, processor 960 is additionally operable to believe according to the history barrage in pending video file Breath, determines the key video snippet in described pending video file;During corresponding to described key video snippet video playback The content of interior described history barrage information carries out pretreatment, obtains the target keywords that described key video snippet is corresponding, Described target keywords reflects the video content of described key video snippet;Described target keywords is added to described pending In the subtitle file of video file.
It should be noted that history barrage information, target keywords and subtitle file are stored in second memory 922 In, this processor 960 can call history barrage information, target keywords and subtitle file in second memory 922.
Alternatively, processor 960 is additionally operable to: obtain in pending video file the history barrage information of record, described in go through History barrage information includes: the content of every barrage information and the transmission time of every barrage information;Detect described history barrage The transmission frequency of message, described transmission frequency is the unit time interior bar number sending history barrage information;Determine described transmission frequently Rate is key video snippet more than the transmission time of the predetermined threshold value interior video segment corresponding to described pending video file, institute Stating the transmission time includes: one or more continuous print unit interval.
Alternatively, processor 960 is additionally operable to: obtain in the video playback time that described key video snippet is corresponding is described History barrage information;The content of a plurality of described history barrage information is carried out dissection process, obtains described key video snippet pair The target keywords answered.
Alternatively, processor 960 is additionally operable to: resolve each history barrage letter in a plurality of described history barrage information successively The content of breath, extracts the keyword undetermined in the content of each history barrage information;Will appear from number of times more than preset times Described keyword undetermined is defined as the target keywords that described key video snippet is corresponding.
Alternatively, processor 960 is additionally operable to: obtain the subtitle file that described pending video file is corresponding, described captions The subtitling format of file is provided with key field;According to the video playback time that described key video snippet is corresponding, by institute State target keywords to add to the described key field corresponding with described subtitle file.
The mobile terminal 900 that the embodiment of the present invention provides, processor 960 is for according to the history in pending video file Barrage information, determines the key video snippet in described pending video file;The video corresponding to described key video snippet The content of the described history barrage information in reproduction time carries out pretreatment, obtains target corresponding to described key video snippet and closes Key word, described target keywords reflects the video content of described key video snippet;Described target keywords is added to described In the subtitle file of pending video file, it is simple to video file is when follow-up viewing, by obtaining the key that user selects Video segment is fast and accurately positioned by word, meets the viewing demand of user, promotes Consumer's Experience.
In another embodiment of the present invention, by calling the software program and/or mould stored in this first memory 921 Data in block and/or this second memory 922, input block 930, for when current video file is play, obtains user institute The target keywords selected;Processor 960 is for according to pre-recorded described target keywords and described current video literary composition The corresponding relation of the first video segment included by part, at location to described first video segment, plays described first piece of video Section.
It should be noted that target keywords, and the corresponding relation of target keywords and video segment is stored in second In memorizer 922, this processor 960 can call the target keywords in second memory 922, and target keywords and video The corresponding relation of fragment.
Alternatively, this processor 960 is additionally operable to: when current video file is play, and obtains the target selected by user Before keyword, according to the subtitle file in current video file, obtain described target keywords and described target keywords Corresponding to the video playback position of described first video segment, record the right of described target keywords and described first video segment Should be related to.
Specifically, the target keywords comprised in described subtitle file is multiple;Wherein, each target keywords respectively with One video segment record has corresponding relation.
Preferably, this processor 960 is additionally operable to: when described current video file is play, resolves described subtitle file, sentences Whether disconnected described subtitle file comprises multiple target keywords;Display unit 940 is used for: comprise many in described subtitle file During individual target keywords, show the plurality of target keywords playing on display interface;Input block 930 is additionally operable to: obtain The user's wherein target keywords selected in the plurality of target keywords.
The mobile terminal 900 that the embodiment of the present invention provides, by input block 930 for playing at current video file Time, obtain the target keywords selected by user;Processor 960 is for according to pre-recorded described target keywords and institute State the corresponding relation of the first video segment included by current video file, at location to described first video segment, play institute State the first video segment, realize video segment is quickly and accurately positioned.Meet the video-see requirement of user, promote and use Family is experienced.
The mobile terminal of the present invention can be such as mobile phone, panel computer, personal digital assistant (PersonalDigital Assistant, PDA) or vehicle-mounted computer etc. mobile terminal.
Mobile terminal 900 is capable of each process that in previous embodiment, mobile terminal realizes, for avoiding repeating, here Repeat no more.
Those of ordinary skill in the art are it is to be appreciated that combine the list of each example that the embodiments described herein describes Unit and algorithm steps, it is possible to being implemented in combination in of electronic hardware or computer software and electronic hardware.These functions are actually Perform with hardware or software mode, depend on application-specific and the design constraint of technical scheme.Professional and technical personnel Each specifically should being used for can be used different methods to realize described function, but this realization is it is not considered that exceed The scope of the present invention.
Those skilled in the art is it can be understood that arrive, for convenience and simplicity of description, the system of foregoing description, The specific works process of device and unit, is referred to the corresponding process in preceding method embodiment, does not repeats them here.
In embodiment provided herein, it should be understood that disclosed apparatus and method, can be passed through other Mode realizes.Such as, device embodiment described above is only schematically, such as, the division of described unit, it is only A kind of logic function divides, actual can have when realizing other dividing mode, the most multiple unit or assembly can in conjunction with or Person is desirably integrated into another system, or some features can be ignored, or does not performs.Another point, shown or discussed is mutual Between coupling direct-coupling or communication connection can be the INDIRECT COUPLING by some interfaces, device or unit or communication link Connect, can be electrical, machinery or other form.
The described unit illustrated as separating component can be or may not be physically separate, shows as unit The parts shown can be or may not be physical location, i.e. may be located at a place, or can also be distributed to multiple On NE.Some or all of unit therein can be selected according to the actual needs to realize the mesh of the present embodiment scheme 's.
It addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, it is also possible to It is that unit is individually physically present, it is also possible to two or more unit are integrated in a unit.
If described function is using the form realization of SFU software functional unit and as independent production marketing or use, permissible It is stored in a computer read/write memory medium.Based on such understanding, technical scheme is the most in other words The part contributing prior art or the part of this technical scheme can embody with the form of software product, this meter Calculation machine software product is stored in a storage medium, including some instructions with so that a computer equipment (can be individual People's computer, server, or the network equipment etc.) perform all or part of step of method described in each embodiment of the present invention. And aforesaid storage medium includes: USB flash disk, portable hard drive, ROM, RAM, magnetic disc or CD etc. are various can store program code Medium.
One of ordinary skill in the art will appreciate that all or part of flow process realizing in above-described embodiment method, be permissible The hardware controlling to be correlated with by computer program completes, and described program can be stored in a computer read/write memory medium In, this program is upon execution, it may include such as the flow process of the embodiment of above-mentioned each method.Wherein, described storage medium can be magnetic Dish, CD, read-only store-memory body (Read-Only Memory, ROM) or random store-memory body (Random Access Memory, RAM) etc..
The above is the preferred embodiment of the present invention, it is noted that for those skilled in the art For, on the premise of without departing from principle of the present invention, it is also possible to make some improvements and modifications, these improvements and modifications are also Should be regarded as protection scope of the present invention.

Claims (18)

1. the processing method of a video segment, it is characterised in that including:
According to the history barrage information in pending video file, determine the key video sequence sheet in described pending video file Section;
The content of the described history barrage information in the video playback time corresponding to described key video snippet carries out pretreatment, Obtaining the target keywords that described key video snippet is corresponding, described target keywords reflects the video of described key video snippet Content;
Described target keywords is added to the subtitle file of described pending video file.
The processing method of video segment the most according to claim 1, it is characterised in that according in pending video file History barrage information, determines that the step of the key video snippet in described pending video file includes:
Obtaining the history barrage information of record in pending video file, described history barrage information includes: every barrage information Content and the transmission time of every barrage information;
Detecting the transmission frequency of described history barrage message, described transmission frequency is transmission history barrage information in the unit time Bar number;
Determine that described transmission frequency is more than the piece of video corresponding to described pending video file in the transmission time of predetermined threshold value Section is key video snippet, and the described transmission time includes: one or more continuous print unit interval.
The processing method of video segment the most according to claim 1, it is characterised in that corresponding to described key video snippet The video playback time in the content of described history barrage information carry out pretreatment, obtain described key video snippet corresponding The step of target keywords includes:
Obtain the described history barrage information in the video playback time that described key video snippet is corresponding;
The content of a plurality of described history barrage information is carried out dissection process, obtains target corresponding to described key video snippet and close Key word.
The processing method of video segment the most according to claim 3, it is characterised in that to a plurality of described history barrage information Content carry out dissection process, the step obtaining target keywords corresponding to described key video snippet includes:
Resolve the content of each history barrage information in a plurality of described history barrage information successively, extract each history barrage Keyword undetermined in the content of information;
Will appear from number of times and be defined as, more than the keyword described undetermined of preset times, the target pass that described key video snippet is corresponding Key word.
The processing method of video segment the most according to claim 3, it is characterised in that described target keywords is added extremely Step in the subtitle file of described pending video file includes:
Obtain the subtitle file that described pending video file is corresponding, the subtitling format of described subtitle file is provided with keyword Field;
According to the video playback time that described key video snippet is corresponding, described target keywords is added to civilian with described captions In the described key field that part is corresponding.
6. a terminal, it is characterised in that including:
Fragment determines module, for according to the history barrage information in pending video file, determines described pending video literary composition Key video snippet in part;
Processing module, the content of the described history barrage information in the video playback time corresponding to described key video snippet is entered Row pretreatment, obtains the target keywords that described key video snippet is corresponding, and described target keywords reflects described key video sequence The video content of fragment;
Perform module, for described target keywords being added to the subtitle file of described pending video file.
Terminal the most according to claim 6, it is characterised in that described fragment determines that module includes:
First barrage acquiring unit, for obtaining the history barrage information of record, described history barrage in pending video file Information includes: the content of every barrage information and the transmission time of every barrage information;
Detector unit, for detecting the transmission frequency of described history barrage message, described transmission frequency is transmission in the unit time The bar number of history barrage information;
Fragment determines unit, corresponding to described pending in determining the described transmission frequency transmission time more than predetermined threshold value The video segment of video file is key video snippet, and the described transmission time includes: one or more continuous print unit interval.
Terminal the most according to claim 6, it is characterised in that described processing module includes:
Second barrage acquiring unit, for obtaining the described history bullet in the video playback time that described key video snippet is corresponding Curtain information;
Processing unit, for the content of a plurality of described history barrage information is carried out dissection process, obtains described key video sequence sheet The target keywords that section is corresponding.
Terminal the most according to claim 8, it is characterised in that described processing unit specifically for: resolve a plurality of institute successively Stating the content of each history barrage information in history barrage information, that extracts in the content of each history barrage information is undetermined Keyword;Will appear from number of times and be defined as, more than the keyword described undetermined of preset times, the target that described key video snippet is corresponding Keyword.
Terminal the most according to claim 8, it is characterised in that described execution module includes:
Captions acquiring unit, for obtaining the subtitle file that described pending video file is corresponding, the captions of described subtitle file Form is provided with key field;
Performance element, for the video playback time corresponding according to described key video snippet, adds described target keywords To the described key field corresponding with described subtitle file.
The localization method of 11. 1 kinds of video segments, it is characterised in that including:
When current video file is play, obtain the target keywords selected by user;
Corresponding with the first video segment included by described current video file according to pre-recorded described target keywords Relation, at location to described first video segment, plays described first video segment.
The localization method of 12. video segments according to claim 11, it is characterised in that play at current video file Time, before obtaining the target keywords selected by user, described method also includes:
According to the subtitle file in current video file, obtain described target keywords and described target keywords corresponding to institute State the video playback position of the first video segment, record the corresponding relation of described target keywords and described first video segment.
The localization method of 13. video segments according to claim 12, it is characterised in that comprise in described subtitle file Target keywords is multiple;Wherein, each target keywords has corresponding relation with a video segment record respectively.
The localization method of 14. video segments according to claim 13, it is characterised in that described broadcast at current video file When putting, the step obtaining the target keywords selected by user includes:
When described current video file is play, resolve described subtitle file, it is judged that whether described subtitle file comprises multiple Target keywords;
When comprising multiple target keywords in described subtitle file, show the plurality of target critical playing on display interface Word;
Obtain the user's wherein target keywords selected in the plurality of target keywords.
15. 1 kinds of terminals, it is characterised in that including:
Acquisition module, for when current video file is play, obtains the target keywords selected by user;
Locating module, for regarding with first included by described current video file according to pre-recorded described target keywords Frequently the corresponding relation of fragment, at location to described first video segment, plays described first video segment.
16. terminals according to claim 15, it is characterised in that described terminal also includes:
Corresponding relation logging modle, for when current video file is play, an acquisition target keywords selected by user it Before, according to the subtitle file in current video file, obtain described target keywords and described target keywords corresponding to institute State the video playback position of the first video segment, record the corresponding relation of described target keywords and described first video segment.
17. terminals according to claim 16, it is characterised in that the target keywords comprised in described subtitle file is for many Individual;Wherein, each target keywords has corresponding relation with a video segment record respectively.
18. terminals according to claim 17, it is characterised in that described acquisition module includes:
Analysis judgment unit, for when described current video file is play, resolves described subtitle file, it is judged that described captions literary composition Whether part comprises multiple target keywords;
Display unit, in time comprising multiple target keywords in described subtitle file, shows institute playing on display interface State multiple target keywords;
Acquiring unit, obtains the user's wherein target keywords selected in the plurality of target keywords.
CN201610374833.3A 2016-05-30 2016-05-30 A kind of processing method of video clip, localization method and terminal Active CN106095804B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610374833.3A CN106095804B (en) 2016-05-30 2016-05-30 A kind of processing method of video clip, localization method and terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610374833.3A CN106095804B (en) 2016-05-30 2016-05-30 A kind of processing method of video clip, localization method and terminal

Publications (2)

Publication Number Publication Date
CN106095804A true CN106095804A (en) 2016-11-09
CN106095804B CN106095804B (en) 2019-08-20

Family

ID=57230884

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610374833.3A Active CN106095804B (en) 2016-05-30 2016-05-30 A kind of processing method of video clip, localization method and terminal

Country Status (1)

Country Link
CN (1) CN106095804B (en)

Cited By (24)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106941625A (en) * 2017-03-10 2017-07-11 广东欧珀移动通信有限公司 A kind of control method for playing back of mobile terminal, device and mobile terminal
CN107707967A (en) * 2017-09-30 2018-02-16 咪咕视讯科技有限公司 The determination method, apparatus and computer-readable recording medium of a kind of video file front cover
CN107743271A (en) * 2017-10-19 2018-02-27 咪咕视讯科技有限公司 A kind of processing method of barrage, electronic equipment and computer-readable recording medium
CN108307230A (en) * 2018-02-07 2018-07-20 北京奇艺世纪科技有限公司 A kind of extracting method and device of video highlight segment
CN108449651A (en) * 2018-05-24 2018-08-24 腾讯科技(深圳)有限公司 Subtitle adding method and device
CN108509128A (en) * 2018-03-30 2018-09-07 联想(北京)有限公司 A kind of processing method, processing unit and display methods
CN108665769A (en) * 2018-05-11 2018-10-16 深圳市鹰硕技术有限公司 Network teaching method based on convolutional neural networks and device
CN108882024A (en) * 2018-08-01 2018-11-23 北京奇艺世纪科技有限公司 A kind of video broadcasting method, device and electronic equipment
CN109286850A (en) * 2017-07-21 2019-01-29 Tcl集团股份有限公司 A kind of video labeling method and terminal based on barrage
CN109344241A (en) * 2018-09-25 2019-02-15 Oppo广东移动通信有限公司 Recommended method, device, terminal and the storage medium of information
CN109587578A (en) * 2018-12-21 2019-04-05 麒麟合盛网络技术股份有限公司 The processing method and processing device of video clip
CN109729425A (en) * 2017-10-27 2019-05-07 优酷网络技术(北京)有限公司 A kind of prediction technique and system of critical segment
CN109729435A (en) * 2017-10-27 2019-05-07 优酷网络技术(北京)有限公司 The extracting method and device of video clip
CN109977239A (en) * 2019-03-31 2019-07-05 联想(北京)有限公司 A kind of information processing method and electronic equipment
CN110753269A (en) * 2018-07-24 2020-02-04 Tcl集团股份有限公司 Video abstract generation method, intelligent terminal and storage medium
CN110795597A (en) * 2018-07-17 2020-02-14 上海智臻智能网络科技股份有限公司 Video keyword determination method, video retrieval method, video keyword determination device, video retrieval device, storage medium and terminal
CN111385606A (en) * 2018-12-28 2020-07-07 Tcl集团股份有限公司 Video preview method and device and intelligent terminal
JP2020129377A (en) * 2019-02-11 2020-08-27 ベイジン バイドゥ ネットコム サイエンス アンド テクノロジー カンパニー リミテッド Content retrieval method, apparatus, device, and storage medium
CN111770386A (en) * 2020-05-29 2020-10-13 维沃移动通信有限公司 Video processing method, video processing device and electronic equipment
CN112001184A (en) * 2020-08-14 2020-11-27 西华大学 User emotion difference region detection method and system for video bullet screen
CN112188117A (en) * 2020-08-29 2021-01-05 上海量明科技发展有限公司 Video synthesis method, client and system
CN113111220A (en) * 2021-03-26 2021-07-13 北京达佳互联信息技术有限公司 Video processing method, device, equipment, server and storage medium
CN113873323A (en) * 2021-07-28 2021-12-31 百度在线网络技术(北京)有限公司 Video playing method and device, electronic equipment and medium
CN116092063A (en) * 2022-12-09 2023-05-09 湖南润科通信科技有限公司 Short video keyword extraction method

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103414948A (en) * 2013-08-01 2013-11-27 王强 Method and device for playing video
CN103761284A (en) * 2014-01-13 2014-04-30 中国农业大学 Video retrieval method and video retrieval system
CN103823870A (en) * 2014-02-26 2014-05-28 联想(北京)有限公司 Information processing method and electronic device
CN104410920A (en) * 2014-12-31 2015-03-11 合一网络技术(北京)有限公司 Video segment playback amount-based method for labeling highlights
CN104994425A (en) * 2015-06-30 2015-10-21 北京奇艺世纪科技有限公司 Video labeling method and device
CN105302906A (en) * 2015-10-29 2016-02-03 小米科技有限责任公司 Information labeling method and apparatus

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103414948A (en) * 2013-08-01 2013-11-27 王强 Method and device for playing video
CN103761284A (en) * 2014-01-13 2014-04-30 中国农业大学 Video retrieval method and video retrieval system
CN103823870A (en) * 2014-02-26 2014-05-28 联想(北京)有限公司 Information processing method and electronic device
CN104410920A (en) * 2014-12-31 2015-03-11 合一网络技术(北京)有限公司 Video segment playback amount-based method for labeling highlights
CN104994425A (en) * 2015-06-30 2015-10-21 北京奇艺世纪科技有限公司 Video labeling method and device
CN105302906A (en) * 2015-10-29 2016-02-03 小米科技有限责任公司 Information labeling method and apparatus

Cited By (34)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106941625A (en) * 2017-03-10 2017-07-11 广东欧珀移动通信有限公司 A kind of control method for playing back of mobile terminal, device and mobile terminal
CN109286850A (en) * 2017-07-21 2019-01-29 Tcl集团股份有限公司 A kind of video labeling method and terminal based on barrage
CN107707967A (en) * 2017-09-30 2018-02-16 咪咕视讯科技有限公司 The determination method, apparatus and computer-readable recording medium of a kind of video file front cover
CN107743271A (en) * 2017-10-19 2018-02-27 咪咕视讯科技有限公司 A kind of processing method of barrage, electronic equipment and computer-readable recording medium
CN107743271B (en) * 2017-10-19 2019-12-24 咪咕视讯科技有限公司 Bullet screen processing method, electronic equipment and computer readable storage medium
CN109729435A (en) * 2017-10-27 2019-05-07 优酷网络技术(北京)有限公司 The extracting method and device of video clip
CN109729425A (en) * 2017-10-27 2019-05-07 优酷网络技术(北京)有限公司 A kind of prediction technique and system of critical segment
CN109729425B (en) * 2017-10-27 2021-05-18 优酷网络技术(北京)有限公司 Method and system for predicting key segments
CN108307230A (en) * 2018-02-07 2018-07-20 北京奇艺世纪科技有限公司 A kind of extracting method and device of video highlight segment
CN108509128B (en) * 2018-03-30 2022-03-25 联想(北京)有限公司 Processing method, processing device and display method
CN108509128A (en) * 2018-03-30 2018-09-07 联想(北京)有限公司 A kind of processing method, processing unit and display methods
CN108665769A (en) * 2018-05-11 2018-10-16 深圳市鹰硕技术有限公司 Network teaching method based on convolutional neural networks and device
CN108449651A (en) * 2018-05-24 2018-08-24 腾讯科技(深圳)有限公司 Subtitle adding method and device
CN110795597A (en) * 2018-07-17 2020-02-14 上海智臻智能网络科技股份有限公司 Video keyword determination method, video retrieval method, video keyword determination device, video retrieval device, storage medium and terminal
CN110753269A (en) * 2018-07-24 2020-02-04 Tcl集团股份有限公司 Video abstract generation method, intelligent terminal and storage medium
CN108882024A (en) * 2018-08-01 2018-11-23 北京奇艺世纪科技有限公司 A kind of video broadcasting method, device and electronic equipment
CN108882024B (en) * 2018-08-01 2021-08-20 北京奇艺世纪科技有限公司 Video playing method and device and electronic equipment
CN109344241B (en) * 2018-09-25 2021-02-23 Oppo广东移动通信有限公司 Information recommendation method and device, terminal and storage medium
CN109344241A (en) * 2018-09-25 2019-02-15 Oppo广东移动通信有限公司 Recommended method, device, terminal and the storage medium of information
CN109587578A (en) * 2018-12-21 2019-04-05 麒麟合盛网络技术股份有限公司 The processing method and processing device of video clip
CN111385606A (en) * 2018-12-28 2020-07-07 Tcl集团股份有限公司 Video preview method and device and intelligent terminal
JP2020129377A (en) * 2019-02-11 2020-08-27 ベイジン バイドゥ ネットコム サイエンス アンド テクノロジー カンパニー リミテッド Content retrieval method, apparatus, device, and storage medium
JP7395377B2 (en) 2019-02-11 2023-12-11 ベイジン バイドゥ ネットコム サイエンス テクノロジー カンパニー リミテッド Content search methods, devices, equipment, and storage media
CN109977239A (en) * 2019-03-31 2019-07-05 联想(北京)有限公司 A kind of information processing method and electronic equipment
CN109977239B (en) * 2019-03-31 2023-08-18 联想(北京)有限公司 Information processing method and electronic equipment
CN111770386A (en) * 2020-05-29 2020-10-13 维沃移动通信有限公司 Video processing method, video processing device and electronic equipment
CN112001184A (en) * 2020-08-14 2020-11-27 西华大学 User emotion difference region detection method and system for video bullet screen
CN112001184B (en) * 2020-08-14 2022-10-11 西华大学 User emotion difference region detection method and system for video bullet screen
CN112188117A (en) * 2020-08-29 2021-01-05 上海量明科技发展有限公司 Video synthesis method, client and system
CN113111220A (en) * 2021-03-26 2021-07-13 北京达佳互联信息技术有限公司 Video processing method, device, equipment, server and storage medium
CN113873323B (en) * 2021-07-28 2023-08-29 百度在线网络技术(北京)有限公司 Video playing method, device, electronic equipment and medium
CN113873323A (en) * 2021-07-28 2021-12-31 百度在线网络技术(北京)有限公司 Video playing method and device, electronic equipment and medium
CN116092063A (en) * 2022-12-09 2023-05-09 湖南润科通信科技有限公司 Short video keyword extraction method
CN116092063B (en) * 2022-12-09 2024-05-17 湖南润科通信科技有限公司 Short video keyword extraction method

Also Published As

Publication number Publication date
CN106095804B (en) 2019-08-20

Similar Documents

Publication Publication Date Title
CN106095804A (en) The processing method of a kind of video segment, localization method and terminal
CN106201177A (en) A kind of operation execution method and mobile terminal
CN106055996A (en) Method and mobile terminal for multimedia information sharing
CN106126077A (en) A kind of application program image target display control method and mobile terminal
CN107678644A (en) A kind of image processing method and mobile terminal
CN102722322A (en) Method and equipment for storing page object
CN105824499A (en) Window control method and mobile terminal
CN105204744A (en) Method and device for starting application program and electronic equipment
CN105824557B (en) A kind of method and mobile terminal for playing voice messaging
CN107438204A (en) A kind of method and mobile terminal of media file loop play
CN105302442A (en) Image information processing method and terminal
CN107526492A (en) The interface display method and mobile terminal of a kind of application program
CN106293705A (en) A kind of collecting method and mobile terminal
CN106504777A (en) A kind of processing method of recording data and mobile terminal
CN107566917A (en) A kind of video marker method and video playback apparatus
CN108196760A (en) A kind of method, apparatus and storage medium that collection processing is carried out using suspension list
CN106446180A (en) Song recognition method and mobile terminal
CN106341538A (en) Lyrics poster push method and mobile terminal
CN106598623A (en) Picture combination template generation method and mobile terminal
CN104571813A (en) Information displaying method and device
CN106210231A (en) A kind of method of information processing and mobile terminal
CN106648436A (en) Text message processing method and mobile terminal
CN106055232A (en) Message processing method and mobile terminal
CN106446048A (en) Song recommendation method and mobile terminal
CN106534200A (en) Identity authentication method and mobile terminal

Legal Events

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