CN104978403B - A kind of generation method and device of video album title - Google Patents
A kind of generation method and device of video album title Download PDFInfo
- Publication number
- CN104978403B CN104978403B CN201510306891.8A CN201510306891A CN104978403B CN 104978403 B CN104978403 B CN 104978403B CN 201510306891 A CN201510306891 A CN 201510306891A CN 104978403 B CN104978403 B CN 104978403B
- Authority
- CN
- China
- Prior art keywords
- album
- name
- video
- title
- video album
- 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.)
- Expired - Fee Related
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/70—Information retrieval; Database structures therefor; File system structures therefor of video data
- G06F16/78—Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually
- G06F16/7867—Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually using information manually generated, e.g. tags, keywords, comments, title and artist information, manually generated time, location and usage information, user ratings
Abstract
The embodiment of the invention discloses a kind of generation methods and device of video album title, to automatically generate video album title according to the file name of video file in video album.The method includes:The file name of all video files included in video album to be named is obtained, and according to the file name in the video album of acquisition, extracts the highest high frequency words of the frequency of occurrences in the file name;The high frequency words extracted are converted to corresponding name character string by the title create-rule for calling pre-set video album according to the title create-rule;According to the naming rule of video album title, and with reference to the name character string being converted to, generate the album name corresponding to the video album to be named;With the advantageous effect for automatically generating the corresponding album name of the video album according to the file name of each video file included in video album, human cost has been saved.
Description
Technical field
The present invention relates to Internet technical field, more particularly to a kind of the generation method and device of video album title.
Background technology
By the rapid development of Internet technology in recent years, the business of internet is continuously increased, and people are based on internet
Various information can be touched, network also becomes a part indispensable in people's routine work and life.For example,
User can receive and dispatch work mail, progress video conference etc. using internet;Alternatively, using internet browsing news, listen to music,
Do shopping, make a reservation, watching video etc..With making constant progress for internet, the number based on video information caused by internet
It is also increasing according to measuring.The video file managed required for user is also more and more, user when managing a large amount of video file,
The video file that usually will be provided with certain common traits is put together, becomes a corresponding video combination, for example, by above-mentioned tool
The video group of standby certain common traits is collectively referred to as video album etc..
Currently, when being named to the video album comprising multiple video files, typically by user according to video file
Purposes, the type either certain criteria for classification or naming rule such as content, artificial name is carried out to video album.If having
Multiple video albums need to name, then while increasing amount of user effort, can also waste user's a large amount of quality time, therefore,
How the file name for each video file for being included according to the video album, carrying out automatic name to video album becomes current
One of urgent problem to be solved.
Invention content
The embodiment of the present invention provides a kind of generation method and device of video album title, to according in the video album
Including each video file file name, automatically generate title for the video album, realize the automatic name of video album.
The embodiment of the present invention provides a kind of generation method of video album title, including:
The file name of all video files included in video album to be named is obtained, and according to described in acquisition
The file name in video album extracts the highest high frequency words of the frequency of occurrences in the file name;
The title create-rule for calling pre-set video album, according to the title create-rule, by what is extracted
The high frequency words are converted to corresponding name character string;
According to the naming rule of video album title, and with reference to the name character string being converted to, generates and wait naming
The video album corresponding to album name.
In one embodiment, the filename for obtaining all video files included in video album to be named
Claim, and according to the file name in the video album of acquisition, it is highest to extract the frequency of occurrences in the file name
High frequency words, including:
Video album to be named is traversed, the filename of all video files included in the video album is obtained
Claim;
As unit of a file name of acquisition, the All Files title of the video file of acquisition is carried out respectively
Participle, the corresponding word segmentation result of the file name after being segmented;
The frequency of occurrences of all participles included in word segmentation result is calculated, the frequency of occurrences is obtained and is more than predeterminated frequency threshold value
Frequency participle;
Preconfigured interference dictionary is called, the frequency of occurrences of acquisition is more than to frequency participle and the institute of predeterminated frequency threshold value
It states interference dictionary to be compared, according to default selection rule, rejects the small grammer vocabulary of correlation, obtain remaining result after rejecting
The highest vocabulary of frequency of middle appearance, obtains the corresponding high frequency words of the file name.
In one embodiment, the title create-rule for calling pre-set video album, according to the title
The high frequency words extracted are converted to corresponding name character string by create-rule, including:
The title create-rule of preconfigured video album is called, and parses the title create-rule of calling, is obtained
The corresponding title generating mode of the title create-rule is taken, and obtains the video point where the video album to be named
Class;
According to the title generating mode of acquisition, the high frequency words extracted are combined, corresponding name is formed
Claim character string;Alternatively, the visual classification and the corresponding high frequency words of the file name are combined, formed corresponding
Name character string.
In one embodiment, the naming rule according to video album title, and with reference to the name being converted to
Claim character string, generates the album name corresponding to the video album to be named, including:
The naming rule of preconfigured video album title is extracted, and parses the life of the video album title of extraction
Name rule;
According to analysis result, judge whether the naming rule limits the album name length of the video album
It is fixed;
If judging, the naming rule is not defined the album name length of the video album, directly will
The name character string being converted to is as the album name corresponding to the video album to be named;
If judging that the naming rule has to be defined the album name length of the video album, according to
The album name length of the video album limited in naming rule, the selection pair from the name character string being converted to
The phrase answered, and using the phrase selected as the album name of the video album.
In one embodiment, if described judge that the naming rule has the album name length to the video album
It is defined, then according to the album name length of the video album limited in the naming rule, from the institute being converted to
It states and chooses corresponding phrase in name character string, and using the phrase selected as the album name of the video album,
Including:
If judging that the naming rule has to be defined the album name length of the video album, described in acquisition
The album name length for the video album that naming rule limits;
According to the album name length that the naming rule limits, from the of the name character string being converted to
One character starts, and selects the character string consistent with the album name length limited;
Identify whether the end character of the character string of the album name length selected takes word complete;
If identifying, the end character takes word imperfect, then described from the name character string being converted to
End character continues to choose corresponding character, until end character takes word complete in the character string chosen;
End character in the character string of selection is taken into the correspondence phrase that word completely obtains, the album as the video album
Title.
Corresponding to a kind of generation method for video album title that above example is provided, the embodiment of the present invention also provides
A kind of generating means of video album title, including:
Extraction module, the file name for obtaining all video files included in video album to be named, and
According to the file name in the video album of acquisition, the highest high frequency of the frequency of occurrences in the file name is extracted
Word;
Conversion module, the title create-rule for calling pre-set video album are generated according to the title and are advised
Then, the high frequency words extracted are converted into corresponding name character string;
Generation module, for the naming rule according to video album title, and with reference to the name character being converted to
String, generates the album name corresponding to the video album to be named.
In one embodiment, the extraction module includes:
Traversal Unit obtains all videos included in the video album for traversing video album to be named
The file name of file;
Participle unit is used for as unit of a file name of acquisition, respectively to the institute of the video file of acquisition
There is file name to be segmented, the corresponding word segmentation result of the file name after being segmented;
It is big to obtain the frequency of occurrences for computing unit, the frequency of occurrences for calculating all participles included in word segmentation result
It is segmented in the frequency of predeterminated frequency threshold value;
The frequency of occurrences of acquisition is more than predeterminated frequency threshold value by culling unit for calling preconfigured interference dictionary
Frequency participle be compared with the interference dictionary, according to default selection rule, the small grammer vocabulary of rejecting correlation, acquisition
The highest vocabulary of frequency occurred in remaining result after rejecting, obtains the corresponding high frequency words of the file name.
In one embodiment, the conversion module includes:
Resolution unit, the title create-rule for calling preconfigured video album, and parse the name of calling
Claim create-rule, obtains the corresponding title generating mode of the title create-rule, and obtain the video album to be named
The visual classification at place;
The high frequency words extracted are combined by converting unit for the title generating mode according to acquisition,
Form corresponding name character string;Alternatively, the visual classification and the corresponding high frequency words of the file name are carried out group
It closes, forms corresponding name character string.
In one embodiment, the generation module includes:
Extraction unit, the naming rule for extracting preconfigured video album title, and parse the described of extraction and regard
The naming rule of frequency album name;
Judging unit, for according to analysis result, judging the naming rule whether to the album name of the video album
Length is claimed to be defined;
First generation unit, if judging the naming rule not to the video album for the judging unit
Album name length is defined, then directly using the name character string being converted to as the video album to be named
Corresponding album name;
Second generation unit, if judging that the naming rule has to the special of the video album for the judging unit
Volume Name Length is defined, then according to the album name length of the video album limited in the naming rule, from turning
Corresponding phrase is chosen in the name character string got in return, and using the phrase selected as the video album
Album name.
In one embodiment, second generation unit includes:
Length obtains subelement, if judging that the naming rule has to the video album for the judging unit
Album name length is defined, then obtains the album name length for the video album that the naming rule limits;
Character chooses subelement, for the album name length that is limited according to the naming rule, from being converted to
The first character of the name character string start, select the character consistent with the album name length limited
String;
Character recognition subelement, whether the end character of the character string of the album name length selected for identification
Take word complete;
The character is chosen subelement and is additionally operable to:If the character recognition subelement identifies that the end character takes word not
Completely, then then the end character continues to choose corresponding character from the name character string being converted to, until choosing
End character takes word complete in the character string taken;
Subelement is generated, takes word completely to obtain for the character to be chosen end character in the character string that subelement is chosen
Correspondence phrase, the album name as the video album.
A kind of generation method and device of video album title described in above example can reach following beneficial to effect
Fruit:
By obtaining the file name of all video files included in video album to be named, and according to acquisition
The file name in the video album extracts the highest high frequency words of the frequency of occurrences in the file name;It calls advance
The title create-rule of the video album of setting is converted to the high frequency words extracted according to the title create-rule
Corresponding name character string;It is raw according to the naming rule of video album title, and with reference to the name character string being converted to
At the album name corresponding to the video album to be named;With according to each video file included in video album
File name automatically generates the advantageous effect of the corresponding album name of the video album, improves the efficiency of video album name,
Human cost is saved.
Other features and advantages of the present invention will be illustrated in the following description, also, partly becomes from specification
It obtains it is clear that understand through the implementation of the invention.The purpose of the present invention and other advantages can be by the explanations write
Specifically noted structure is realized and is obtained in book, claims and attached drawing.
Below by drawings and examples, technical scheme of the present invention will be described in further detail.
Description of the drawings
Attached drawing is used to provide further understanding of the present invention, and a part for constitution instruction, the reality with the present invention
It applies example to be used to explain the present invention together, not be construed as limiting the invention.In the accompanying drawings:
Fig. 1 is a kind of flow of the generation method of video album title of the present invention shown according to an exemplary embodiment
Figure;
Step in a kind of generation method of video album titles of the Fig. 2 for the present invention shown according to an exemplary embodiment
The flow chart of S10;
Step in a kind of generation method of video album titles of the Fig. 3 for the present invention shown according to an exemplary embodiment
The flow chart of S20;
Step in a kind of generation method of video album titles of the Fig. 4 for the present invention shown according to an exemplary embodiment
The flow chart of S30;
Step in a kind of generation method of video album titles of the Fig. 5 for the present invention shown according to an exemplary embodiment
The flow chart of S304;
Fig. 6 is a kind of block diagram of the generating means of video album title of the present invention shown according to an exemplary embodiment;
Mould is extracted in a kind of generating means of video album titles of the Fig. 7 for the present invention shown according to an exemplary embodiment
The block diagram of block 60;
Modulus of conversion in a kind of generating means of video album titles of the Fig. 8 for the present invention shown according to an exemplary embodiment
The block diagram of block 70;
Mould is generated in a kind of generating means of video album titles of the Fig. 9 for the present invention shown according to an exemplary embodiment
The block diagram of block 80;
Second in a kind of generating means of video album titles of the Figure 10 for the present invention shown according to an exemplary embodiment
The block diagram of generation unit 804.
Specific implementation mode
Hereinafter, preferred embodiments of the present invention will be described with reference to the accompanying drawings, it should be understood that preferred reality described herein
Apply example only for the purpose of illustrating and explaining the present invention and is not intended to limit the present invention.
A kind of generation method of video album title is provided in an embodiment disclosed by the invention, to according to the video
The file name of each video file included in album automatically generates title for the video album, realizes video album oneself
Dynamic name.As shown in Figure 1, a kind of generation method of video album title includes step S10-S30 in the embodiment of the present invention:
Step S10, the file name of all video files included in video album to be named is obtained, and according to obtaining
The file name in the video album taken extracts the highest high frequency words of the frequency of occurrences in the file name;
In the embodiment of the present invention, when being named to corresponding video album, first obtain included in the video album
All video files file name, and then the file name of all video files according to acquisition obtains each file name
Corresponding occurrence number, and the corresponding frequency of occurrences of each file name is calculated, to extract the frequency of occurrences in the file name
Highest high frequency words.
In one embodiment, as shown in Fig. 2, the step S10 may be implemented as the step S101- of description
S104:
Step S101, video album to be named is traversed, all video files included in the video album are obtained
File name;
In the embodiment of the present invention, by traversing corresponding video album, all regarded obtain that the video album included
Frequency file, to read out the file name of all video files in the video album.
Step S102, as unit of a file name of acquisition, respectively to all texts of the video file of acquisition
Part title is segmented, the corresponding word segmentation result of the file name after being segmented;
In the embodiment of the present invention, got included in the video album when by traversing the video file in video album
All video files file name when, Chinese word segmenting is carried out to the above-mentioned file name of acquisition, comprising name after segment
The notional word of the types such as word and the function word for including the types such as function word.
Step S103, the frequency of occurrences of all participles included in word segmentation result is calculated, the frequency of occurrences is obtained and is more than in advance
If the frequency of frequency threshold segments;
The number that all different participles occurred in word segmentation result occur in the word segmentation result is obtained, while obtaining participle
As a result the total number of all participles in, according to occurrence number and word segmentation result of all different participles of acquisition in word segmentation result
In all participles total number, the frequency of occurrences of all participles included in word segmentation result is calculated.According to result of calculation,
The participle that the frequency of occurrences is more than corresponding to predeterminated frequency threshold value is picked out, corresponding frequency participle is obtained.
Step S104, preconfigured interference dictionary is called, the frequency of occurrences of acquisition is more than to the frequency of predeterminated frequency threshold value
Rate participle is compared with the interference dictionary, according to default selection rule, rejects the small grammer vocabulary of correlation, obtains and reject
The highest vocabulary of frequency occurred in remaining result afterwards, obtains the corresponding high frequency words of the file name.
After picking out corresponding frequency participle, the frequency participle that will be singled out is compared with preconfigured interference dictionary
It is right, according to pre-set selection rule, the grammer vocabulary small with interference dictionary correlation is rejected, after rejecting, from
To remaining result in select the highest vocabulary of its frequency of occurrences again, to obtain the corresponding high frequency words of above-mentioned file name.
Step S20, the title create-rule for calling pre-set video album will according to the title create-rule
The high frequency words extracted are converted to corresponding name character string;
After extracting corresponding high frequency words, the corresponding title create-rule of the video album pre-set is called,
According to above-mentioned title create-rule, the above-mentioned high frequency words extracted are converted into corresponding character string.
In one embodiment, as shown in figure 3, the step S20 may be implemented as the step S201- of description
S202:
Step S201, the title create-rule of preconfigured video album is called, and parses the title life of calling
At rule, the corresponding title generating mode of the title create-rule is obtained, and obtains video album place to be named
Visual classification;
Step S202, according to the title generating mode of acquisition, the high frequency words extracted are combined, are formed
Corresponding name character string;Alternatively, the visual classification and the corresponding high frequency words of the file name are combined, shape
At corresponding name character string.
In the embodiment of the present invention, frequency meter is carried out in the file name to all video files included in video album
It calculates, and after finding out the highest high frequency words of its frequency of occurrences, it will " visual classification+frequency of occurrences where video album be highest
High frequency words " are combined into a name character string.For example, the corresponding visual classification of the video album is " light music ", the video is special
The highest high frequency words of the frequency of occurrences include in volume:Chinese zither, piano music, violoncello and urheen, then by corresponding point of the visual classification
The highest high frequency words of the frequency of occurrences are combined in class word and the video album, the name character string of the obtained video album
For:Light music Chinese zither piano music violoncello urheen.
Alternatively, being directly combined the highest high frequency words of the corresponding frequency of occurrences of the video album, it is special to obtain the video
The correspondence name character string collected;For example, the highest high frequency words of the frequency of occurrences include in the video album:Chinese zither, carries greatly piano music
Above-mentioned high frequency words are then directly combined by qin and urheen, and the name character string for obtaining the video album is:Chinese zither piano music is big
Violin urheen.
Step S30, raw according to the naming rule of video album title, and with reference to the name character string being converted to
At the album name corresponding to the video album to be named.
Based on name character string is obtained after conversion, according to the naming rule of video album title, by the name character string
Generate the corresponding album name of the video album.
In one embodiment, as shown in figure 4, the step S30 may be implemented as the step S301- of description
S304:
Step S301, the naming rule of preconfigured video album title is extracted, and the video for parsing extraction is special
Collect the naming rule of title;
Step S302, according to analysis result, judge whether the naming rule is long to the album name of the video album
Degree is defined;
If step S303, judging, the naming rule does not limit the album name length of the video album
It is fixed, then directly using the name character string being converted to as the album name corresponding to the video album to be named;
If step S304, judging that the naming rule has to be defined the album name length of the video album,
Then according to the album name length of the video album limited in the naming rule, from the name character being converted to
Corresponding phrase is chosen in string, and using the phrase selected as the album name of the video album.
In the embodiment of the present invention, it is contemplated that the quantity for the video file that video album is included and the video album pair
Whether the character length for the album name answered judges in the corresponding naming rule of the video album to the album of the video album
Name Length is defined;If not being defined to album name length, the title word that will directly be converted to
Symbol string is as the album name corresponding to the video album to be named;Album name length is defined if having, root
According to the specific length of the album name of restriction, corresponding phrase is chosen from the name character string being converted to, and will choosing
Album name of the phrase taken out as the video album.
In one embodiment, as shown in figure 5, the step S304 may be implemented as the step S341- of description
S345:
If step S341, judging that the naming rule has to be defined the album name length of the video album,
Then obtain the album name length for the video album that the naming rule limits;
Step S342, the album name length limited according to the naming rule, from the title being converted to
The first character of character string starts, and selects the character string consistent with the album name length limited;
Step S343, whether the end character of the character string for the album name length that identification selects takes word complete;
If step S344, identifying, the end character takes word imperfect, from the name character string being converted to
In then the end character continue to choose corresponding character, until choose character string in end character take word complete;
Step S345, end character in the character string of selection is taken into the correspondence phrase that word completely obtains, as the video
The album name of album.
In the embodiment of the present invention, if judging, the naming rule has the album name length progress to the video album
It limits, then chooses the character string of corresponding length according to album name length specified in naming rule;Meanwhile in order to ensure
The title generated to video album meets conventional title integrity demands, long according to album name specified in naming rule
After degree selects the character string of corresponding length, identify the character string of the album name length selected end character whether
Take word complete;And when identifying that above-mentioned end character is imperfect, continue from the name character string being converted to then
The end character chooses corresponding character, until end character takes word complete in the character string chosen;Again by the character of selection
End character takes the correspondence phrase that word completely obtains, the album name as the video album in string.
A kind of generation method of video album title described in above example, by obtaining video album to be named
Included in all video files file name, and according to the file name in the video album of acquisition, carry
Take the highest high frequency words of the frequency of occurrences in the file name;The title create-rule for calling pre-set video album, is pressed
According to the title create-rule, the high frequency words extracted are converted into corresponding name character string;According to video album name
The naming rule of title, and with reference to the name character string being converted to, generate corresponding to the video album to be named
Album name;It is corresponded to the video album is automatically generated according to the file name of each video file included in video album
Album name advantageous effect, improve video album name efficiency, saved human cost.
A kind of corresponding generation method of video album title provided in an embodiment of the present invention, the present invention also provides one kind to regard
The generating means of frequency album name;As shown in fig. 6, a kind of generating means of video album title, including:Extraction module
60, conversion module 70 and generation module 80;Wherein,
The extraction module 60, the filename for obtaining all video files included in video album to be named
Claim, and according to the file name in the video album of acquisition, it is highest to extract the frequency of occurrences in the file name
High frequency words;
In one embodiment, as shown in fig. 7, the extraction module 60 includes:
Traversal Unit 601 obtains all included in the video album regard for traversing video album to be named
The file name of frequency file;
Participle unit 602 is used for as unit of a file name of acquisition, respectively to the video file of acquisition
All Files title is segmented, the corresponding word segmentation result of the file name after being segmented;
Computing unit 603, the frequency of occurrences for calculating all participles included in word segmentation result obtain the frequency of occurrences
Frequency more than predeterminated frequency threshold value segments;
The frequency of occurrences of acquisition is more than predeterminated frequency threshold by culling unit 604 for calling preconfigured interference dictionary
The frequency participle of value is compared with the interference dictionary, according to default selection rule, rejects the small grammer vocabulary of correlation, obtains
The highest vocabulary of frequency occurred in remaining result after rejecting is taken, the corresponding high frequency words of the file name are obtained.
The conversion module 70, the title create-rule for calling pre-set video album, according to the title
The high frequency words extracted are converted to corresponding name character string by create-rule;
In one embodiment, as shown in figure 8, the conversion module 70 includes:
Resolution unit 701, the title create-rule for calling preconfigured video album, and parse the described of calling
Title create-rule obtains the corresponding title generating mode of the title create-rule, and it is special to obtain the video to be named
Visual classification where volume;
The high frequency words extracted are carried out group by converting unit 702 for the title generating mode according to acquisition
It closes, forms corresponding name character string;Alternatively, the corresponding high frequency words of the visual classification and the file name are carried out
Combination, forms corresponding name character string.
The generation module 80, for the naming rule according to video album title, and with reference to the name being converted to
Claim character string, generates the album name corresponding to the video album to be named.
In one embodiment, as shown in figure 9, the generation module 80 includes:
Extraction unit 801, the naming rule for extracting preconfigured video album title, and parse the described of extraction
The naming rule of video album title;
Judging unit 802, for according to analysis result, judging the naming rule whether to the album of the video album
Name Length is defined;
First generation unit 803, if judging that the naming rule is not special to the video for the judging unit
The album name length collected is defined, then using the name character string being converted to as the video album to be named
Corresponding album name;
Second generation unit 804, if judging that the naming rule has to the video album for the judging unit
Album name length be defined, then according to the album name length of the video album limited in the naming rule,
Corresponding phrase is chosen from the name character string being converted to, and the phrase selected is special as the video
The album name collected.
In one embodiment, as shown in Figure 10, second generation unit 804 includes:
Length obtains subelement 841, if it is special to the video to judge that the naming rule has for the judging unit
The album name length collected is defined, then obtains the album name length for the video album that the naming rule limits;
Character chooses subelement 842, for the album name length that is limited according to the naming rule, from converting
To the first character of the name character string start, select the character consistent with the album name length limited
String;
Character recognition subelement 843, the end character of the character string of the album name length selected for identification
Whether take word complete;
The character is chosen subelement 842 and is additionally operable to:If the character recognition subelement 843 identifies the end character
Take word imperfect, then then the end character continues to choose corresponding character from the name character string being converted to,
Until end character takes word complete in the character string chosen;
Subelement 844 is generated, the correspondence phrase that word completely obtains is taken for end character in the character string by selection, as
The album name of the video album.
A kind of generating means of video album title described in above example, by obtaining video album to be named
Included in all video files file name, and according to the file name in the video album of acquisition, carry
Take the highest high frequency words of the frequency of occurrences in the file name;The title create-rule for calling pre-set video album, is pressed
According to the title create-rule, the high frequency words extracted are converted into corresponding name character string;According to video album name
The naming rule of title, and with reference to the name character string being converted to, generate corresponding to the video album to be named
Album name;It is corresponded to the video album is automatically generated according to the file name of each video file included in video album
Album name advantageous effect, improve video album name efficiency, saved human cost.
It should be understood by those skilled in the art that, the embodiment of the present invention can be provided as method, system or computer program
Product.Therefore, complete hardware embodiment, complete software embodiment or reality combining software and hardware aspects can be used in the present invention
Apply the form of example.Moreover, the present invention can be used in one or more wherein include computer usable program code computer
The shape for the computer program product implemented in usable storage medium (including but not limited to magnetic disk storage and optical memory etc.)
Formula.
The present invention be with reference to according to the method for the embodiment of the present invention, the flow of equipment (system) and computer program product
Figure and/or block diagram describe.It should be understood that can be realized by computer program instructions every first-class in flowchart and/or the block diagram
The combination of flow and/or box in journey and/or box and flowchart and/or the block diagram.These computer programs can be provided
Instruct the processor of all-purpose computer, special purpose computer, Embedded Processor or other programmable data processing devices to produce
A raw machine so that the instruction executed by computer or the processor of other programmable data processing devices is generated for real
The device for the function of being specified in present one flow of flow chart or one box of multiple flows and/or block diagram or multiple boxes.
These computer program instructions, which may also be stored in, can guide computer or other programmable data processing devices with spy
Determine in the computer-readable memory that mode works so that instruction generation stored in the computer readable memory includes referring to
Enable the manufacture of device, the command device realize in one flow of flow chart or multiple flows and/or one box of block diagram or
The function of being specified in multiple boxes.
These computer program instructions also can be loaded onto a computer or other programmable data processing device so that count
Series of operation steps are executed on calculation machine or other programmable devices to generate computer implemented processing, in computer or
The instruction executed on other programmable devices is provided for realizing in one flow of flow chart or multiple flows and/or block diagram one
The step of function of being specified in a box or multiple boxes.
Obviously, various changes and modifications can be made to the invention without departing from essence of the invention by those skilled in the art
God and range.In this way, if these modifications and changes of the present invention belongs to the range of the claims in the present invention and its equivalent technologies
Within, then the present invention is also intended to include these modifications and variations.
Claims (6)
1. a kind of generation method of video album title, which is characterized in that including:
The file name of all video files included in video album to be named is obtained, and according to the video of acquisition
The file name in album extracts the highest high frequency words of the frequency of occurrences in the file name;
The title create-rule for calling pre-set video album, according to the title create-rule, described in extracting
High frequency words are converted to corresponding name character string;
According to the naming rule of video album title, and with reference to the name character string being converted to, generate institute to be named
State the album name corresponding to video album;
The naming rule according to video album title, and with reference to the name character string being converted to, generate and wait naming
The video album corresponding to album name, including:
The naming rule of preconfigured video album title is extracted, and parses the name rule of the video album title of extraction
Then;
According to analysis result, judge whether the naming rule is defined the album name length of the video album;
If judging, the naming rule is not defined the album name length of the video album, directly will conversion
The obtained name character string is as the album name corresponding to the video album to be named;
If judging that the naming rule has to be defined the album name length of the video album, according to the name
The album name length of the video album limited in rule is chosen corresponding from the name character string being converted to
Phrase, and using the phrase selected as the album name of the video album;
Judge that the naming rule has if described the album name length of the video album is defined, according to
The album name length of the video album limited in naming rule, the selection pair from the name character string being converted to
The phrase answered, and using the phrase selected as the album name of the video album, including:
If judging that the naming rule has to be defined the album name length of the video album, the name is obtained
The album name length for the video album that rule limits;
According to the album name length that the naming rule limits, from first of the name character string being converted to
Character starts, and selects the character string consistent with the album name length limited;
Identify whether the end character of the character string of the album name length selected takes word complete;
If identifying, the end character takes word imperfect, the then end from the name character string being converted to
Character continues to choose corresponding character, until end character takes word complete in the character string chosen;
End character in the character string of selection is taken into the correspondence phrase that word completely obtains, the album name as the video album
Claim.
2. the method as described in claim 1, which is characterized in that described obtain included in video album to be named is owned
The file name of video file, and according to the file name in the video album of acquisition, extract the file name
The middle highest high frequency words of the frequency of occurrences, including:
Video album to be named is traversed, the file name of all video files included in the video album is obtained;
As unit of a file name of acquisition, the All Files title of the video file of acquisition is divided respectively
Word, the corresponding word segmentation result of the file name after being segmented;
The frequency of occurrences of all participles included in word segmentation result is calculated, the frequency that the frequency of occurrences is more than predeterminated frequency threshold value is obtained
Rate segments;
Preconfigured interference dictionary is called, the frequency participle that the frequency of occurrences of acquisition is more than to predeterminated frequency threshold value is done with described
It disturbs dictionary to be compared, according to default selection rule, rejects the small grammer vocabulary of correlation, obtain to go out in remaining result after rejecting
The highest vocabulary of existing frequency obtains the corresponding high frequency words of the file name.
3. the method as described in claim 1, which is characterized in that the title for calling pre-set video album generates rule
Then, according to the title create-rule, the high frequency words extracted are converted into corresponding name character string, including:
The title create-rule of preconfigured video album is called, and parses the title create-rule of calling, obtains institute
The corresponding title generating mode of title create-rule is stated, and obtains the visual classification where the video album to be named;
According to the title generating mode of acquisition, the high frequency words extracted are combined, form corresponding title word
Symbol string;Alternatively, the visual classification and the corresponding high frequency words of the file name are combined, corresponding title is formed
Character string.
4. a kind of generating means of video album title, which is characterized in that including:
Extraction module, the file name for obtaining all video files included in video album to be named, and according to
The file name in the video album obtained, extracts the highest high frequency words of the frequency of occurrences in the file name;
Conversion module, the title create-rule for calling pre-set video album will according to the title create-rule
The high frequency words extracted are converted to corresponding name character string;
Generation module, it is raw for the naming rule according to video album title, and with reference to the name character string being converted to
At the album name corresponding to the video album to be named;
The generation module includes:
Extraction unit, the naming rule for extracting preconfigured video album title, and the video for parsing extraction is special
Collect the naming rule of title;
Judging unit, for according to analysis result, judging whether the naming rule is long to the album name of the video album
Degree is defined;
First generation unit, if judging the naming rule not to the album of the video album for the judging unit
Name Length is defined, then directly right using the name character string being converted to as video album institute to be named
The album name answered;
Second generation unit, if judging that the naming rule has the album name to the video album for the judging unit
Length is claimed to be defined, then according to the album name length of the video album limited in the naming rule, from converting
To the name character string in choose corresponding phrase, and using the phrase selected as the album of the video album
Title;
Second generation unit includes:
Length obtains subelement, if judging that the naming rule has the album to the video album for the judging unit
Name Length is defined, then obtains the album name length for the video album that the naming rule limits;
Character chooses subelement, the album name length for being limited according to the naming rule, from the institute being converted to
The first character for stating name character string starts, and selects the character string consistent with the album name length limited;
Whether the end character of character recognition subelement, the character string of the album name length selected for identification takes word
Completely;
The character is chosen subelement and is additionally operable to:If the character recognition subelement identifies that the end character takes word endless
Whole, then then the end character continues to choose corresponding character from the name character string being converted to, until choosing
Character string in end character take word complete;
Subelement is generated, for the character to be chosen pair that end character takes word completely to obtain in the character string that subelement is chosen
Phrase is answered, the album name as the video album.
5. device as claimed in claim 4, which is characterized in that the extraction module includes:
Traversal Unit obtains all video files included in the video album for traversing video album to be named
File name;
Participle unit is used for as unit of a file name of acquisition, respectively to all texts of the video file of acquisition
Part title is segmented, the corresponding word segmentation result of the file name after being segmented;
Computing unit, the frequency of occurrences for calculating all participles included in word segmentation result obtain the frequency of occurrences and are more than in advance
If the frequency of frequency threshold segments;
The frequency of occurrences of acquisition is more than the frequency of predeterminated frequency threshold value by culling unit for calling preconfigured interference dictionary
Rate participle is compared with the interference dictionary, according to default selection rule, rejects the small grammer vocabulary of correlation, obtains and reject
The highest vocabulary of frequency occurred in remaining result afterwards, obtains the corresponding high frequency words of the file name.
6. device as claimed in claim 4, which is characterized in that the conversion module includes:
Resolution unit, the title create-rule for calling preconfigured video album, and parse the title life of calling
At rule, the corresponding title generating mode of the title create-rule is obtained, and obtains video album place to be named
Visual classification;
The high frequency words extracted are combined by converting unit for the title generating mode according to acquisition, are formed
Corresponding name character string;Alternatively, the visual classification and the corresponding high frequency words of the file name are combined, shape
At corresponding name character string.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510306891.8A CN104978403B (en) | 2015-06-04 | 2015-06-04 | A kind of generation method and device of video album title |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510306891.8A CN104978403B (en) | 2015-06-04 | 2015-06-04 | A kind of generation method and device of video album title |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104978403A CN104978403A (en) | 2015-10-14 |
CN104978403B true CN104978403B (en) | 2018-08-24 |
Family
ID=54274907
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510306891.8A Expired - Fee Related CN104978403B (en) | 2015-06-04 | 2015-06-04 | A kind of generation method and device of video album title |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104978403B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107193878B (en) * | 2017-04-24 | 2020-03-06 | 维沃移动通信有限公司 | Automatic naming method of song list and mobile terminal |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1575458A (en) * | 2001-08-22 | 2005-02-02 | 皮尔雷斯系统公司 | Output management system and method for enabling access to private network resources |
CN1695193A (en) * | 2002-09-06 | 2005-11-09 | 松下电器产业株式会社 | Access method, access device, and information recording medium |
CN1726475A (en) * | 2002-12-16 | 2006-01-25 | 柯尼卡美能达控股株式会社 | File management program |
CN103259915A (en) * | 2012-02-20 | 2013-08-21 | 宇龙计算机通信科技(深圳)有限公司 | Photo naming method and mobile terminal |
CN103984735A (en) * | 2014-05-21 | 2014-08-13 | 北京京东尚科信息技术有限公司 | Method and device for generating recommended delivery place name |
Family Cites Families (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2002314905A (en) * | 2001-04-13 | 2002-10-25 | Canon Inc | Image management unit, image management system, and method and program for controlling them |
CN102033710B (en) * | 2010-04-07 | 2015-03-11 | 苹果公司 | Method for managing file folder and related equipment |
CN102622451A (en) * | 2012-04-16 | 2012-08-01 | 上海交通大学 | System for automatically generating television program labels |
CN104268137A (en) * | 2013-07-31 | 2015-01-07 | 深圳市华傲数据技术有限公司 | Method and device for matching pharmaceutical name data |
CN104408173B (en) * | 2014-12-11 | 2016-12-07 | 焦点科技股份有限公司 | A kind of kernel keyword extraction method based on B2B platform |
CN104573005A (en) * | 2015-01-07 | 2015-04-29 | 魅族科技(中国)有限公司 | Generation method and system for folder property |
-
2015
- 2015-06-04 CN CN201510306891.8A patent/CN104978403B/en not_active Expired - Fee Related
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1575458A (en) * | 2001-08-22 | 2005-02-02 | 皮尔雷斯系统公司 | Output management system and method for enabling access to private network resources |
CN1695193A (en) * | 2002-09-06 | 2005-11-09 | 松下电器产业株式会社 | Access method, access device, and information recording medium |
CN1726475A (en) * | 2002-12-16 | 2006-01-25 | 柯尼卡美能达控股株式会社 | File management program |
CN103259915A (en) * | 2012-02-20 | 2013-08-21 | 宇龙计算机通信科技(深圳)有限公司 | Photo naming method and mobile terminal |
CN103984735A (en) * | 2014-05-21 | 2014-08-13 | 北京京东尚科信息技术有限公司 | Method and device for generating recommended delivery place name |
Also Published As
Publication number | Publication date |
---|---|
CN104978403A (en) | 2015-10-14 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104735468B (en) | A kind of method and system that image is synthesized to new video based on semantic analysis | |
CN103425640A (en) | Multimedia questioning-answering system and method | |
CN104978332B (en) | User-generated content label data generation method, device and correlation technique and device | |
CN107193843A (en) | A kind of character string selection method and device based on AC automatic machines and postfix expression | |
CN108804421A (en) | Text similarity analysis method, device, electronic equipment and computer storage media | |
CN104731873A (en) | Evaluation information generation method and device | |
CN115982376B (en) | Method and device for training model based on text, multimode data and knowledge | |
CN104731874A (en) | Evaluation information generation method and device | |
CN102855317A (en) | Multimode indexing method and system based on demonstration video | |
CN103077163A (en) | Data preprocessing method, device and system | |
CN104994404A (en) | Method and device for obtaining keywords for video | |
CN103853746A (en) | Word bank generation method and system, input method and input system | |
CN103500158A (en) | Method and device for annotating electronic document | |
CN110738033B (en) | Report template generation method, device and storage medium | |
CN111309855A (en) | Text information processing method and system | |
CN111177462B (en) | Video distribution timeliness determination method and device | |
CN112784009A (en) | Subject term mining method and device, electronic equipment and storage medium | |
CN110413998B (en) | Self-adaptive Chinese word segmentation method oriented to power industry, system and medium thereof | |
CN113992944A (en) | Video cataloging method, device, equipment, system and medium | |
CN104978404B (en) | A kind of generation method and device of video album title | |
CN104978403B (en) | A kind of generation method and device of video album title | |
CN107291952B (en) | Method and device for extracting meaningful strings | |
CN105786929B (en) | A kind of information monitoring method and device | |
CN111401047A (en) | Method and device for generating dispute focus of legal document and computer equipment | |
Kurmi et al. | Text summarization using enhanced MMR technique |
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 | ||
PE01 | Entry into force of the registration of the contract for pledge of patent right |
Denomination of invention: A method and device for generating video album name Effective date of registration: 20210104 Granted publication date: 20180824 Pledgee: Inner Mongolia Huipu Energy Co.,Ltd. Pledgor: WUXI TVMINING MEDIA SCIENCE & TECHNOLOGY Co.,Ltd. Registration number: Y2020990001517 |
|
PE01 | Entry into force of the registration of the contract for pledge of patent right | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20180824 Termination date: 20210604 |
|
CF01 | Termination of patent right due to non-payment of annual fee |