Embodiment
The present invention program is understood better in order to make those skilled in the art person, below in conjunction with the accompanying drawing in the embodiment of the present invention, technical scheme in the embodiment of the present invention is clearly and completely described, obviously, described embodiment is only the embodiment of a part of the present invention, instead of whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art, not making the every other embodiment obtained under creative work prerequisite, should belong to the scope of protection of the invention.
It should be noted that, term " first ", " second " etc. in instructions of the present invention and claims and above-mentioned accompanying drawing are for distinguishing similar object, and need not be used for describing specific order or precedence.Should be appreciated that the data used like this can be exchanged in the appropriate case, so as embodiments of the invention described herein can with except here diagram or describe those except order implement.In addition, term " comprises " and " having " and their any distortion, intention is to cover not exclusive comprising, such as, contain those steps or unit that the process of series of steps or unit, method, system, product or equipment is not necessarily limited to clearly list, but can comprise clearly do not list or for intrinsic other step of these processes, method, product or equipment or unit.
The present invention be internet music platform PC, mobile terminal, WEB version search song, search engine can return except song title, Ge Shouming, album name song variation identification information to user, front end can according to information show song variation mark.
Embodiment 1
According to the embodiment of the present invention, provide a kind of data processing method of music file.
The data processing method of the music file that the embodiment of the present invention provides, it can be performed by computing machine or similar arithmetic unit.Figure 1 shows that a kind of structured flowchart of computing machine.As shown in Figure 1, computing machine 100 comprises one or more (only illustrating one in figure) processor 102, storer 104 and transport module 106.One of ordinary skill in the art will appreciate that, the structure shown in Fig. 1 is only signal, and it does not cause restriction to the structure of above-mentioned electronic installation.Such as, computing machine 100 also can comprise than assembly more or less shown in Fig. 1, or has the configuration different from shown in Fig. 1.
Storer 104 can be used for storing software program and module, as the web page processing method in the embodiment of the present invention and programmed instruction/module corresponding to device, processor 102 is by running the software program and module that are stored in storer 104, thus perform the application of various function and data processing, namely realize data processing method and the device of above-mentioned music file.Storer 104 can comprise high speed random access memory, also can comprise nonvolatile memory, as one or more magnetic storage device, flash memory or other non-volatile solid state memories.In some instances, storer 104 can comprise the storer relative to the long-range setting of processor 102 further, and these remote memories can be connected to computing machine 100 by network.The example of above-mentioned network includes but not limited to internet, intranet, LAN (Local Area Network), mobile radio communication and combination thereof.
Transport module 106 for via a network reception or send data.Above-mentioned network instantiation can include spider lines and wireless network.In an example, transport module 106 comprises a network adapter (Network Interface Controller, be called for short NIC), and it to be connected with other network equipments by netting twine thus can to carry out communication with internet.In an example, transport module 106 is ethernet module, and it is for carrying out communication by ethernet line mode and internet.
Fig. 2 is the process flow diagram of the data processing method of music file according to the embodiment of the present invention.As shown in the figure, the data processing method of this music file comprises the steps:
Step S102, receives searching request instruction.
Searching request instruction is the instruction for searching for music file, in this instruction, comprises the search keyword relevant to music file.Under normal circumstances, this searching request instruction can be received by the search box on webpage or music application interface.
Step S104, obtains the search keyword in searching request instruction.
After receiving searching request instruction, obtain the search keyword in this searching request instruction.
Step S106, obtain the analysis of key word of music file, wherein, analysis of key word is the keyword obtained music file analysis.
In order to obtain the abundanter keyword relevant to music file, in embodiments of the present invention, by keyword not available before getting music file to the content analysis of music file.Particularly, first obtain the content of music file, the content of music file is analyzed, obtain the keyword relevant to the content of music file, then keyword analysis obtained is as analysis of key word, and this analysis of key word is the keyword that can searchedly arrive.By analyzing the content of analysis of key word, obtaining analysis of key word, having expanded the keyword of music file further.
Carrying out analyzing to the content of music file can be analyze the melody of music file, also can be analyze the lyrics of music file.
In embodiments of the present invention, the content obtaining music file can comprise the melody content information obtaining music file, the content of music file is analyzed, obtain the keyword relevant to the content of music file to comprise: analyze the melody content information of music file, determine the category attribute of melody content information, then obtain and describe the keyword of category attribute, and using the keyword that gets as the keyword relevant to the content of music file.When analyzing the melody content information of music file, can be that the crest of music file melody and the situation of trough are analyzed, thus compare with the crest of the music file of related category and the situation of trough, thus analyze and obtain the melody classification of music file, obtain keyword corresponding to the melody classification of music file further as analysis of key word.
In embodiments of the present invention, the content obtaining music file also can be comprise the lyrics content obtaining music file, in that case, the content of music file is analyzed, obtain the keyword relevant to the content of music file to comprise: analyze the lyrics content of music file, determine the category attribute of lyrics content, then obtain and describe the keyword of category attribute, and using the keyword that gets as the keyword relevant to the content of music file.The content of music file is being analyzed, can be extract the keyword in lyrics content, keyword in lyrics content is mated with the keyword in the keyword database of the expression music categories preset, thus analyze and obtain the melody classification of music file, obtain keyword corresponding to the melody classification of music file further as analysis of key word.
The analysis of key word obtaining music file also can adopt following mode to obtain: obtain user to the feedback information of music file, wherein, feedback information is the feature field that the described project of user to music file is described.Feedback information is analyzed, obtains multiple feature field.The feature field that the number of times that is described is maximum is filtered out from multiple feature field.Using feature field maximum for the number of times be described as Expressive Features field corresponding to the described project of music file.The analysis of key word of music file is obtained by the Expressive Features field that the described project of music file is corresponding.
The method obtaining Expressive Features field can be obtained by purchase database, the embodiment of the present invention additionally provides a kind of method obtaining Expressive Features field based on the music platform such as web, PC and mobile terminal, particularly, obtain the Expressive Features field that not there is the described project of Expressive Features field corresponding to comprise: obtain user to the feedback information of music file, wherein, feedback information is the feature field that the described project of user to music file is described; Feedback information is analyzed, obtains multiple feature field; The feature field that the number of times that is described is maximum is filtered out from multiple feature field; And using feature field maximum for the number of times that is described as Expressive Features field corresponding to the described project of music file.
User can utilize music platform to send feedback information by information feed back passage, after collecting the feedback information of user, the information of collecting is analyzed, therefrom obtain the Expressive Features field that user expects to be shown by music platform, thus enriched the Expressive Features field of music file, and this Expressive Features field is still according to the increase in demand of user, therefore the use habit of user and the requirement to music file is more met, after these Expressive Features fields of increase, the music file that can conveniently filter out user and expect to find from multiple music files of coupling.
Such as, user sends the information wanting the music file listened by the user feedback module in client, as, user expects that the music heard is 10 years, original singer, may store by this first song in the database that now music platform relies on, but in Expressive Features field, do not embody " original singer " this feature, after collecting the feedback information of 100 users, wherein have 90 original singer's music all expecting to find 10 years these first songs, then according to feedback information will " original singer " as 10 years these first Expressive Features fields sung.
User feedback module can be the search box of music platform, analyze the content of being searched for by search box and determine which user has in paying close attention to, such as, by there being 80 Tiao Doushi square dances in 100 information of search box, so determine that the music demand that user waves square is comparatively large, so can using square dance as one of them Expressive Features field when determining Expressive Features field.
Analyzing from the feedback information of user obtains in the process of Expressive Features field, the Expressive Features field obtained more meets the demand of user, search in the feedback information obtained and be described maximum feature field, and by newly-built for this field be described project, or original described project is supplemented, the Expressive Features field of music file can be enriched, thus when carrying out Keywords matching and searching to carry out music file, can be more prone to be queried to, and show user, so not only search efficiency can be improved in search procedure, user also obtains the music file oneself wanted by these Expressive Features field filters, improve the search efficiency of user, improve Consumer's Experience.
Step S108, searches the music file that analysis of key word comprises search keyword.
Search keyword is mated with analysis of key word, in discriminatory analysis keyword, whether comprises search keyword, thus search analysis of key word comprise search keyword music file.
In embodiments of the present invention, in order to improve search efficiency and search accuracy, preferably, music file can be searched in the following ways: identify the described project belonging to keyword; The Expressive Features field of search and Keywords matching in the Expressive Features field that described project is corresponding; And show the music file that the Expressive Features field that searches is corresponding.
After the instruction being received search music file by search box, analyze the described project belonging to keyword comprised in search instruction, and Keywords matching is carried out in search in the Expressive Features field that corresponding described project is corresponding, and show the music file searched, certainly, corresponding Expressive Features field is also shown when showing music file.
As shown in Figure 4, the music platform shown in Fig. 4 have search box and feedback.Have input in the search box " getting back to over ", after clicking search, to " get back to over " as keyword in the backstage of music platform, determining that this " is got back to over " by contrast can be album name or singer's name, the scope so determining search is two described projects, i.e. album name and singer's name.Obtain the Expressive Features field in the described project of album name in database and singer's name, and carry out Keywords matching from these Expressive Features fields.
The music file searched out is as shown in Figure 4, not identical with special edition with the singer of the music file of this Keywords matching, but the song subscript being Zhou Jielun singer is marked with original singer, namely in this music file, has Expressive Features field " original singer ".Compared with other music files, the Expressive Features field of this music file has original singer and marks like this, more easily searchedly to arrive when searching for, and is arranged in the music file of coupling foremost when showing.
Certainly, can also see that other music files also have Expressive Features field in the diagram, such as, get back to over (sheet caudal flexure), singer is fuse, together with this Expressive Features field " sheet caudal flexure " and " getting back to over " are all labeled in as song title, like this in search procedure, two Expressive Features fields corresponding a described project, i.e. described project of " song title ", is not easy when carrying out Keywords matching to match this music file.In addition, if the keyword of search is sheet caudal flexure, first select to search for Expressive Features field in described project corresponding to sheet caudal flexure when searching for, and the sheet caudal flexure of this first song is labeled in the described project of song title, just being not easy to search out this music file when searching for, also just reducing search efficiency.
Step S110, shows the music file found.
After execution is searched, display lookup result, also, shows the music file corresponding with search keyword.
In embodiments of the present invention, in order to provide analysis of key word for searching of music file, can before the analysis of key word obtaining music file, analyze according to the file of the rule preset to music content, thus obtain analysis of key word, particularly: the content obtaining music file, the content of music file is analyzed, obtain the keyword relevant to the content of music file, the keyword then analysis obtained is as analysis of key word.
Usual music file is except having the audio file of music itself, also there is the information description document for describing music file, information description document is used for being described the essential information of music file, so that different music files is distinguished, be also convenient to the content pointing out this music file of user to record.This information description document as music file, can indicate the information of audio file together with audio file by information description document.
Information description document can comprise the type of music file, also can comprise the essential information describing music, can also comprise the general designation etc. to a kind of music in internet, namely can describe the file of music file feature.The type of music file comprises allusion, popular, popular, folk rhyme and rock and roll etc., the essential information describing music comprises song title, Ge Shouming, album name, can also comprise original singer, turn over chorus etc. of joining in the chorus, the general designation of internet to certain music comprises square dance etc.When describing the feature of music file, multiple Expressive Features field can be adopted to describe, and above-mentioned citing is only used to the technical scheme being convenient to understand the embodiment of the present invention, not enumerates.
The common form of music file is song, the content comprised in the information description document of song does not have fixing rule, the descriptive text recorded in its information description document can comprise: song title, Ge Shouming, music type etc., such as, song " is got back to over ", be: get back to over (original singer), Zhou Jielun, Eight Dimensions also have the Expressive Features field recorded in a kind of information description document to be to the descriptive text that records in a kind of information description document of this song: to get back to over, Lin Xinyi/Zhang Zhenyue, predestined the sharpest.For the song of same names, its descriptive text differs greatly, and like this when searching the identical song of these titles, cannot therefrom filter out the song of mating most.In addition, for song " getting back to over (original singer) " this music file by name, when searching for song title, because its song title is " get back to over (original singer) ", be not easy to match this music file when carrying out Keywords matching, and this sings original singer's song exactly, if namely the music file needing search is this song, so because keyword does not match this first song, then cause searching this song, greatly reduce search efficiency.
In order to solve the low problem of search efficiency, first need to obtain the information description document corresponding with music file, namely obtain and get back to over (original singer), Zhou Jielun, Eight Dimensions in above-mentioned example, or get back to over, Lin Xinyi/Zhang Zhenyue, predestined the sharpest.
After getting information description document, from information description document, extract the Expressive Features field describing music file.
In order to avoid obscuring the feature of music file, each Expressive Features field can both describe a kind of feature of music file, extracts the Expressive Features field describing music file.Such as, song title is for getting back to over (original singer), " get back to over " as song title, " original singer " is as the description of a kind of feature of song, it is not the word describing song title, these two words being used for describing music file different characteristic just as Expressive Features field, namely " get back to over " and " original singer " respectively as an Expressive Features field.After acquisition music file corresponding informance description document, therefrom extract the Expressive Features field describing music file.In leaching process, the method contrasted with database can be adopted to extract, such as, in database, have recorded Expressive Features field " original singer ", then find to comprise " original singer " in song title by comparing, then original singer is extracted as Expressive Features field.Lists of keywords can be generated according to Expressive Features field.
In embodiments of the present invention, the analysis of key word of music file comprises multiple analysis of key word, the analysis of key word obtaining music file comprises the multiple analysis of key words obtaining music file, obtain the analysis of key word list with predetermined format, search analysis of key word comprise search keyword music file comprise: whether comprise search keyword in discriminatory analysis lists of keywords, if the list of analysis of key word comprises search keyword, then determine that music file is the music file that analysis of key word comprises search keyword.
After Expressive Features field is extracted, in order to when utilizing Expressive Features field description music file, multiple Expressive Features field can not be disturbed mutually, and there is no redundant information in each Expressive Features field, can generate lists of keywords according to Expressive Features field, each feature of music file all uses one or a class Expressive Features field description.
Such as, in the lists of keywords generated, every a line represents a category feature of music file.Particularly, the first row of lists of keywords is for describing the title of music file, and the second row is for describing the type of music file, and the third line is for describing other features of music file.Expressive Features field for describing the type of music file can comprise popular and light music, when the Expressive Features field of this music file can be described by kinds of words, can using multiple descriptive text as an Expressive Features field, as above, in example, popular and light music can as an Expressive Features field.
Utilize the lists of keywords generated to upgrade information description document, obtain the information description document after upgrading, wherein, the information description document after renewal is used for searching for music file.
The Expressive Features field of extraction is have recorded in the lists of keywords generated, the lists of keywords generated is utilized to upgrade information description document, obtain the information description document after upgrading, the description field feature recorded in description document after renewal, for the feature of each music file, can not cause obscuring and redundancy between the information of the feature describing music file.Such as, in the information description document got, have recorded (original singer), Zhou Jielun, the Eight Dimensions of getting back to over, have recorded in the information description document after renewal get back to over, original singer, Zhou Jielun, Eight Dimensions.The each description field feature recorded in information description document after renewal is all for a feature of music file, when searching for, if searched for for song title, the impact of other description field can not be subject to, as long as match keyword can search corresponding song in song title.
Pass through above-described embodiment, extract the description field feature in information description document corresponding to music file, and generate lists of keywords according to description field feature, utilize lists of keywords lastest imformation description document, description document after renewal can describe the feature of music file, can search for for the feature of certain music file when searching for, and the impact of other description field features can not be subject in search procedure, thus the efficiency of mating when improve search, and then solve the problem that in prior art, the search efficiency of music is lower.
Preferably, generate lists of keywords according to Expressive Features field to comprise: obtain the lists of keywords with predetermined format; The write of the Expressive Features field of extraction is had in the lists of keywords of predetermined format, obtains the lists of keywords with Expressive Features field; And will there is the lists of keywords of Expressive Features field as the lists of keywords generated.
In order to accurately search out music file, the lists of keywords of music file can be set to unified form, namely obtain the lists of keywords with predetermined format.In the lists of keywords with predetermined format, be provided with the described project needing to write Expressive Features field.After extracting Expressive Features field, can the write of Expressive Features field be had in the lists of keywords of predetermined format, obtain the lists of keywords with Expressive Features field, namely the lists of keywords with Expressive Features field can be used as the lists of keywords of generation.Namely generate the process of lists of keywords, not only directly can convert extraction Expressive Features field to lists of keywords, Expressive Features field can also be written to and have in the lists of keywords of predetermined format.
When Expressive Features field is written in the lists of keywords with predetermined format, because multiple music file all generates lists of keywords according to predetermined format, and it is identical to have the described project recorded in the lists of keywords of predetermined format, when display description feature field, because the order with the described project recorded in the lists of keywords of predetermined format is identical, the mode of then display description feature field is also identical with order, can improve Consumer's Experience when displaying.
Having in the lists of keywords of predetermined format can recording musical type (classic, popular), the essential information (player) of recording musical, whether original singer (original singer, turn over and sing) whether to record, can also record is dance music (square dance, exactly).After extracting Expressive Features field, Expressive Features field is written in the relevant position of lists of keywords, can judges the Expressive Features field extracted should be written to which position had in the lists of keywords of predetermined format by the contrast of database.
Such as, the Expressive Features field extracted for getting back to over, Zhou Jielun, turn over and sing, the Expressive Features field write of so these being extracted has in the lists of keywords of predetermined format, relevant position in the lists of keywords with predetermined format then shows the Expressive Features field extracted, at song title place display " getting back to over ", locate to show " Zhou Jielun " singer, whether, original singer locates to show " turn over and sing ", so, in the lists of keywords with predetermined format, also have that not write Expressive Features field local, as whether being dance music and music type.These do not have the Expressive Features field of extracting directly from information description document can extract from music libraries, Expressive Features field can be got in the music libraries such as gracenote, freedb, Microsoft cddb, additionally provide the method that other obtain Expressive Features field in following embodiment, do not repeat at this.
Preferably, in order to enrich the content of Expressive Features field, when the Expressive Features field write that the lists of keywords with predetermined format is not extracted, the Expressive Features field that these do not write described project corresponding to Expressive Features field can be obtained, particularly, have in the lists of keywords of predetermined format by the write of the Expressive Features field of extraction, the lists of keywords obtaining having Expressive Features field comprises: the described project of checking the lists of keywords with predetermined format; Whether the described project that contrast has the lists of keywords of predetermined format all has Expressive Features field; If the described project with the lists of keywords of predetermined format is not all have Expressive Features field, then obtain the Expressive Features field that the described project without Expressive Features field is corresponding.
Check the described project having and exist in the lists of keywords of predetermined format, as shown in Figure 3, the described project existed in lists of keywords has A, B, C, D, E and F, the Expressive Features field extracted is a, d and f, obviously having in the lists of keywords of predetermined format and there is described project is not all to there being Expressive Features field, in order to enrich the content of described project, increase the content describing music file, more easily search the key word of coupling when searching for thus find corresponding music file, so, when there is the situation shown in Fig. 3, obtain described project B, the Expressive Features field that C and E is corresponding.It should be noted that, when the Expressive Features field that acquisition described project B, C and E are corresponding, not necessarily will obtain the Expressive Features field that all described projects are corresponding, only obtain corresponding Expressive Features field for current music file.
As, light music does not have corresponding singer, after the Expressive Features field extracting light music, if there is no corresponding Expressive Features field on singer one hurdle, just without the need to obtaining the title of the singer of its correspondence when the write of Expressive Features field being had in the lists of keywords of predetermined format.
Pass through above-described embodiment, in the Expressive Features field that music file itself carries comprehensively or when can not describe the key feature of music file, these Expressive Features fields can be obtained, and the write of these Expressive Features fields is had in the lists of keywords of predetermined format.By supplementing Expressive Features field in the lists of keywords with predetermined format, can search for for more feature when searching for, and when carrying out keyword match, because the Expressive Features field describing music file feature is more, more easily match relevant music file, thus improve the efficiency of search music file.
It should be noted that, lists of keywords in above-described embodiment is only used to the form of expression being convenient to understand the embodiment of the present invention and abstract a kind of Expressive Features field out, certainly it can be arranged in the form of frames in music file, lists of keywords is obtained by resolving music file, the lists of keywords with predetermined format can directly be modified to resolving the lists of keywords obtained in music file, add or delete the lists of keywords generating predetermined format, the lists of keywords with predetermined format can also be generated separately, then the original lists of keywords of music file is replaced by the lists of keywords with predetermined format generated, thus music file obtains the lists of keywords with predetermined format.
Preferably, utilizing the lists of keywords generated to upgrade information description document, after obtaining the information description document after upgrading, method also comprises: the instruction receiving search music file, and wherein, instruction comprises keyword corresponding to music file; Identify the described project belonging to keyword; The Expressive Features field of search and Keywords matching in the Expressive Features field that described project is corresponding; And show the music file that the Expressive Features field that searches is corresponding.
Known by above-mentioned analysis, when Expressive Features field is abundanter, and the content of Expressive Features field is when being more in corresponding described project, easilier searchedly when carrying out Keywords matching to arrive, thus solve in prior art the problem that when carrying out Musicfile search, efficiency is lower, reach the effect of the efficiency that improve music searching.
It should be noted that, for aforesaid each embodiment of the method, in order to simple description, therefore it is all expressed as a series of combination of actions, but those skilled in the art should know, the present invention is not by the restriction of described sequence of movement, because according to the present invention, some step can adopt other orders or carry out simultaneously.Secondly, those skilled in the art also should know, the embodiment described in instructions all belongs to preferred embodiment, and involved action and module might not be that the present invention is necessary.
Through the above description of the embodiments, those skilled in the art can be well understood to the mode that can add required general hardware platform by software according to the method for above-described embodiment and realize, hardware can certainly be passed through, but in a lot of situation, the former is better embodiment.Based on such understanding, technical scheme of the present invention can embody with the form of software product the part that prior art contributes in essence in other words, this computer software product is stored in a storage medium (as ROM/RAM, magnetic disc, CD), comprising some instructions in order to make a station terminal equipment (can be mobile phone, computing machine, server, or the network equipment etc.) perform the method for each embodiment of the present invention.
Embodiment 2
According to the embodiment of the present invention, additionally provide a kind of data processing equipment of music file.The data processing method of music file of this device for implementing the embodiment of the present invention and providing.
Fig. 5 is the schematic diagram of the data processing equipment of music file according to the embodiment of the present invention.As shown in the figure, this device comprises: receiving element 10, first acquiring unit 20, second acquisition unit 30 and search unit 40 and display unit 50.
Receiving element 10 is for receiving searching request instruction.
First acquiring unit 20 is for obtaining the search keyword in searching request instruction.
Second acquisition unit 30 is for obtaining the analysis of key word of music file, and wherein, analysis of key word is the keyword obtained music file analysis.
In embodiments of the present invention, second acquisition unit 30 is by keyword not available before getting music file to the content analysis of music file.Particularly, first obtain the content of music file, the content of music file is analyzed, obtain the keyword relevant to the content of music file, then keyword analysis obtained is as analysis of key word, and this analysis of key word is the keyword that can searchedly arrive.By analyzing the content of analysis of key word, obtaining analysis of key word, having expanded the keyword of music file further.
Carrying out analyzing to the content of music file can be analyze the melody of music file, also can be analyze the lyrics of music file.
In embodiments of the present invention, the content that second acquisition unit 30 obtains music file can comprise the melody content information obtaining music file, the content of music file is analyzed, obtain the keyword relevant to the content of music file to comprise: analyze the melody content information of music file, determine the category attribute of melody content information, then obtain and describe the keyword of category attribute, and using the keyword that gets as the keyword relevant to the content of music file.When analyzing the melody content information of music file, can be that the crest of music file melody and the situation of trough are analyzed, thus compare with the crest of the music file of related category and the situation of trough, thus analyze and obtain the melody classification of music file, obtain keyword corresponding to the melody classification of music file further as analysis of key word.
In embodiments of the present invention, the content that second acquisition unit 30 obtains music file also can be comprise the lyrics content obtaining music file, the content of music file is analyzed, obtain the keyword relevant to the content of music file to comprise: analyze the lyrics content of music file, determine the category attribute of lyrics content, then obtain and describe the keyword of category attribute, and using the keyword that gets as the keyword relevant to the content of music file.The content of music file is being analyzed, can be extract the keyword in lyrics content, keyword in lyrics content is mated with the keyword in the keyword database of the expression music categories preset, thus analyze and obtain the melody classification of music file, obtain keyword corresponding to the melody classification of music file further as analysis of key word.
The analysis of key word that second acquisition unit 30 obtains music file also can adopt following mode to obtain: obtain user to the feedback information of music file, wherein, feedback information is the feature field that the described project of user to music file is described.Feedback information is analyzed, obtains multiple feature field.The feature field that the number of times that is described is maximum is filtered out from multiple feature field.Using feature field maximum for the number of times be described as Expressive Features field corresponding to the described project of music file.The analysis of key word of music file is obtained by the Expressive Features field that the described project of music file is corresponding.
Usual music file is except having the audio file of music itself, also there is the information description document for describing music file, information description document is used for being described the essential information of music file, so that different music files is distinguished, be also convenient to the content pointing out this music file of user to record.This information description document as music file, can indicate the information of audio file together with audio file by information description document.
Information description document can comprise the type of music file, also can comprise the essential information describing music, can also comprise the general designation etc. to a kind of music in internet, namely can describe the file of music file feature.The type of music file comprises allusion, popular, popular, folk rhyme and rock and roll etc., the essential information describing music comprises song title, Ge Shouming, album name, can also comprise original singer, turn over chorus etc. of joining in the chorus, the general designation of internet to certain music comprises square dance etc.When describing the feature of music file, multiple Expressive Features field can be adopted to describe, and above-mentioned citing is only used to the technical scheme being convenient to understand the embodiment of the present invention, not enumerates.
The common form of music file is song, the content comprised in the information description document of song does not have fixing rule, the descriptive text recorded in its information description document can comprise: song title, Ge Shouming, music type etc., such as, song " is got back to over ", be: get back to over (original singer), Zhou Jielun, Eight Dimensions also have the Expressive Features field recorded in a kind of information description document to be to the descriptive text that records in a kind of information description document of this song: to get back to over, Lin Xinyi/Zhang Zhenyue, predestined the sharpest.For the song of same names, its descriptive text differs greatly, and like this when searching the identical song of these titles, cannot therefrom filter out the song of mating most.In addition, for song " getting back to over (original singer) " this music file by name, when searching for song title, because its song title is " get back to over (original singer) ", be not easy to match this music file when carrying out Keywords matching, and this sings original singer's song exactly, if namely the music file needing search is this song, so because keyword does not match this first song, then cause searching this song, greatly reduce search efficiency.
In order to solve the low problem of search efficiency, first need to obtain the information description document corresponding with music file, namely obtain and get back to over (original singer), Zhou Jielun, Eight Dimensions in above-mentioned example, or get back to over, Lin Xinyi/Zhang Zhenyue, predestined the sharpest.
In order to avoid obscuring the feature of music file, each Expressive Features field can both describe a kind of feature of music file, extracts the Expressive Features field describing music file.Such as, song title is for getting back to over (original singer), " get back to over " as song title, " original singer " is as the description of a kind of feature of song, it is not the word describing song title, these two words being used for describing music file different characteristic just as Expressive Features field, namely " get back to over " and " original singer " respectively as an Expressive Features field.After acquisition music file corresponding informance description document, therefrom extract the Expressive Features field describing music file.In leaching process, the method contrasted with database can be adopted to extract, such as, in database, have recorded Expressive Features field " original singer ", then find to comprise " original singer " in song title by comparing, then original singer is extracted as Expressive Features field.
After Expressive Features field is extracted, in order to when utilizing Expressive Features field description music file, multiple Expressive Features field can not be disturbed mutually, and there is no redundant information in each Expressive Features field, can generate lists of keywords according to Expressive Features field, each feature of music file all uses one or a class Expressive Features field description.
Such as, in the lists of keywords generated, every a line represents a category feature of music file.Particularly, the first row of lists of keywords is for describing the title of music file, and the second row is for describing the type of music file, and the third line is for describing other features of music file.Expressive Features field for describing the type of music file can comprise popular and light music, when the Expressive Features field of this music file can be described by kinds of words, can using multiple descriptive text as an Expressive Features field, as above, in example, popular and light music can as an Expressive Features field.
The Expressive Features field of extraction is have recorded in the lists of keywords generated, the lists of keywords generated is utilized to upgrade information description document, obtain the information description document after upgrading, the description field feature recorded in description document after renewal, for the feature of each music file, can not cause obscuring and redundancy between the information of the feature describing music file.Such as, in the information description document got, have recorded (original singer), Zhou Jielun, the Eight Dimensions of getting back to over, have recorded in the information description document after renewal get back to over, original singer, Zhou Jielun, Eight Dimensions.The each description field feature recorded in information description document after renewal is all for a feature of music file, when searching for, if searched for for song title, the impact of other description field can not be subject to, as long as match keyword can search corresponding song in song title.
Pass through above-described embodiment, extract the description field feature in information description document corresponding to music file, and generate lists of keywords according to description field feature, utilize lists of keywords lastest imformation description document, description document after renewal can describe the feature of music file, can search for for the feature of certain music file when searching for, and the impact of other description field features can not be subject in search procedure, thus the efficiency of mating when improve search, and then solve the problem that in prior art, the search efficiency of music is lower.
Search unit 40 comprises search keyword music file for searching analysis of key word.
Display unit 50 is for showing the music file found.
The data processing equipment of the music file of the embodiment of the present invention can also comprise: the 3rd acquiring unit, for before the analysis of key word obtaining music file, obtains the content of music file; Analytic unit, for analyzing the content of music file, obtains the keyword relevant to the content of music file, and keyword analysis obtained is as analysis of key word.
Particularly, the 3rd acquiring unit may be used for the melody content information obtaining music file, and analytic unit comprises: analysis module, for analyzing the melody content information of music file, determines the category attribute of melody content information; Acquisition module, describes the keyword of category attribute for obtaining, and using the keyword that gets as the keyword relevant to the content of music file.
Particularly, the 3rd acquiring unit also may be used for the lyrics content obtaining music file, and analytic unit comprises: analysis module, for analyzing the lyrics content of music file, determines the category attribute of lyrics content; Acquisition module, describes the keyword of category attribute for obtaining, using the keyword that gets as the keyword relevant to the content of music file.
Preferably, second acquisition unit comprises: the first acquisition module, and for obtaining the feedback information of user to music file, wherein, feedback information is the feature field that the described project of user to music file is described.Analysis module, for analyzing feedback information, obtains multiple feature field.Screening module, for filtering out the maximum feature field of the number of times that is described from multiple feature field.Determination module, the maximum feature field of the number of times for being described is as Expressive Features field corresponding to the described project of music file.Second acquisition module, obtains the analysis of key word of music file for the Expressive Features field corresponding by the described project of music file.
Preferably, the analysis of key word of music file comprises multiple analysis of key word, second acquisition unit 30 is for obtaining multiple analysis of key words of music file, obtain the analysis of key word list with predetermined format, search unit to comprise: judge module, for whether comprising search keyword in discriminatory analysis lists of keywords; Determination module, during for comprising search keyword in the list of analysis of key word, determines that music file is the music file that analysis of key word comprises search keyword.
In order to accurately search out music file, the lists of keywords of music file can be set to unified form, namely obtain the lists of keywords with predetermined format.In the lists of keywords with predetermined format, be provided with the described project needing to write Expressive Features field.After extracting Expressive Features field, can the write of Expressive Features field be had in the lists of keywords of predetermined format, obtain the lists of keywords with Expressive Features field, namely the lists of keywords with Expressive Features field can be used as the lists of keywords of generation.Namely generate the process of lists of keywords, not only directly can convert extraction Expressive Features field to lists of keywords, Expressive Features field can also be written to and have in the lists of keywords of predetermined format.
When Expressive Features field is written in the lists of keywords with predetermined format, because multiple music file all generates lists of keywords according to predetermined format, and it is identical to have the described project recorded in the lists of keywords of predetermined format, when display description feature field, because the order with the described project recorded in the lists of keywords of predetermined format is identical, the mode of then display description feature field is also identical with order, can improve Consumer's Experience when displaying.
Having in the lists of keywords of predetermined format can recording musical type (classic, popular), the essential information (player) of recording musical, whether original singer (original singer, turn over and sing) whether to record, can also record is dance music (square dance, exactly).After extracting Expressive Features field, Expressive Features field is written in the relevant position of lists of keywords, can judges the Expressive Features field extracted should be written to which position had in the lists of keywords of predetermined format by the contrast of database.
Such as, the Expressive Features field extracted for getting back to over, Zhou Jielun, turn over and sing, the Expressive Features field write of so these being extracted has in the lists of keywords of predetermined format, relevant position in the lists of keywords with predetermined format then shows the Expressive Features field extracted, at song title place display " getting back to over ", locate to show " Zhou Jielun " singer, whether, original singer locates to show " turn over and sing ", so, in the lists of keywords with predetermined format, also have that not write Expressive Features field local, as whether being dance music and music type.These do not have the Expressive Features field of extracting directly from information description document can extract from music libraries, Expressive Features field can be got in the music libraries such as gracenote, freedb, Microsoft cddb, additionally provide the method that other obtain Expressive Features field in following embodiment, do not repeat at this.
Having the described project existed in the lists of keywords of predetermined format can be as shown in Figure 3, the described project existed in lists of keywords has A, B, C, D, E and F, the Expressive Features field extracted is a, d and f, obviously having in the lists of keywords of predetermined format and there is described project is not all to there being Expressive Features field, in order to enrich the content of described project, increase the content describing music file, more easily search the key word of coupling when searching for thus find corresponding music file, so, when there is the situation shown in Fig. 3, obtain described project B, the Expressive Features field that C and E is corresponding.It should be noted that, when the Expressive Features field that acquisition described project B, C and E are corresponding, not necessarily will obtain the Expressive Features field that all described projects are corresponding, only obtain corresponding Expressive Features field for current music file.
As, light music does not have corresponding singer, after the Expressive Features field extracting light music, if there is no corresponding Expressive Features field on singer one hurdle, just without the need to obtaining the title of the singer of its correspondence when the write of Expressive Features field being had in the lists of keywords of predetermined format.
Pass through above-described embodiment, in the Expressive Features field that music file itself carries comprehensively or when can not describe the key feature of music file, these Expressive Features fields can be obtained, and the write of these Expressive Features fields is had in the lists of keywords of predetermined format.By supplementing Expressive Features field in the lists of keywords with predetermined format, can search for for more feature when searching for, and when carrying out keyword match, because the Expressive Features field describing music file feature is more, more easily match relevant music file, thus improve the efficiency of search music file.
It should be noted that, lists of keywords in above-described embodiment is only used to the form of expression being convenient to understand the embodiment of the present invention and abstract a kind of Expressive Features field out, certainly it can be arranged in the form of frames in music file, lists of keywords is obtained by resolving music file, the lists of keywords with predetermined format can directly be modified to resolving the lists of keywords obtained in music file, add or delete the lists of keywords generating predetermined format, the lists of keywords with predetermined format can also be generated separately, then the original lists of keywords of music file is replaced by the lists of keywords with predetermined format generated, thus music file obtains the lists of keywords with predetermined format.
The method obtaining Expressive Features field can be obtained by purchase database, and the embodiment of the present invention additionally provides a kind of method obtaining Expressive Features field based on the music platform such as web, PC and mobile terminal
User can utilize music platform to send feedback information by information feed back passage, after collecting the feedback information of user, the information of collecting is analyzed, therefrom obtain the Expressive Features field that user expects to be shown by music platform, thus enriched the Expressive Features field of music file, and this Expressive Features field is still according to the increase in demand of user, therefore the use habit of user and the requirement to music file is more met, after these Expressive Features fields of increase, the music file that can conveniently filter out user and expect to find from multiple music files of coupling.
Such as, user sends the information wanting the music file listened by client, as, user expects that the music heard is 10 years, original singer, may store by this first song in the database that now music platform relies on, but in Expressive Features field, do not embody " original singer " this feature, after collecting the feedback information of 100 users, wherein there are 90 original singer's music all expecting to find 10 years these first songs, then will " original singer " Expressive Features field of singing as 10 years these head according to feedback information.
In embodiments of the present invention, analyze the content of being searched for by search box and determine which user has in paying close attention to, such as, by there being 80 Tiao Doushi square dances in 100 information of search box, so determine that the music demand that user waves square is comparatively large, so can using square dance as one of them Expressive Features field when determining Expressive Features field.
Analyzing from the feedback information of user obtains in the process of Expressive Features field, the Expressive Features field obtained more meets the demand of user, search in the feedback information obtained and be described maximum feature field, and by newly-built for this field be described project, or original described project is supplemented, the Expressive Features field of music file can be enriched, thus when carrying out Keywords matching and searching to carry out music file, can be more prone to be queried to, and show user, so not only search efficiency can be improved in search procedure, user also obtains the music file oneself wanted by these Expressive Features field filters, improve the search efficiency of user, improve Consumer's Experience.
As shown in Figure 4, the music platform shown in Fig. 4 have search box and feedback.Have input in the search box " getting back to over ", after clicking search, to " get back to over " as keyword in the backstage of music platform, determining that this " is got back to over " by contrast can be album name or singer's name, the scope so determining search is two described projects, i.e. album name and singer's name.Obtain the Expressive Features field in the described project of album name in database and singer's name, and carry out Keywords matching from these Expressive Features fields.
The music file searched out is as shown in Figure 4, not identical with special edition with the singer of the music file of this Keywords matching, but the song subscript being Zhou Jielun singer is marked with original singer, namely in this music file, has Expressive Features field " original singer ".Compared with other music files, the Expressive Features field of this music file has original singer and marks like this, more easily searchedly to arrive when searching for, and is arranged in the music file of coupling foremost when showing.
Certainly, can also see that other music files also have Expressive Features field in the diagram, such as, get back to over (sheet caudal flexure), singer is fuse, together with this Expressive Features field " sheet caudal flexure " and " getting back to over " are all labeled in as song title, like this in search procedure, two Expressive Features fields corresponding a described project, i.e. described project of " song title ", is not easy when carrying out Keywords matching to match this music file.In addition, if the keyword of search is sheet caudal flexure, first select to search for Expressive Features field in described project corresponding to sheet caudal flexure when searching for, and the sheet caudal flexure of this first song is labeled in the described project of song title, just being not easy to search out this music file when searching for, also just reducing search efficiency.
Known by above-mentioned analysis, when Expressive Features field is abundanter, and the content of Expressive Features field is when being more in corresponding described project, easilier searchedly when carrying out Keywords matching to arrive, thus solve in prior art the problem that when carrying out Musicfile search, efficiency is lower, reach the effect of the efficiency that improve music searching.
Embodiment 3
According to the embodiment of the present invention, additionally provide a kind of terminal device of the data processing for implementing above-mentioned music file, as shown in Figure 6, this terminal device comprises: storer 104, processor 102, output device 108.
Processor 102 receives searching request instruction; Processor 102 obtains the search keyword in searching request instruction; Processor 102 obtains the analysis of key word of music file, and wherein, analysis of key word is the keyword obtained music file analysis; The music file that analysis of key word comprises search keyword searched by processor 102; Processor 102 shows the music file found.
Processor 102, before the analysis of key word obtaining music file, also obtains the content of music file; The content of music file is analyzed, obtains the keyword relevant to the content of music file; Keyword analysis obtained is as analysis of key word.
The content that processor 102 obtains music file comprises the melody content information obtaining music file, the content of processor 102 pairs of music files is analyzed, obtain the keyword relevant to the content of music file to comprise: analyze the melody content information of music file, determine the category attribute of melody content information; Obtain and describe the keyword of category attribute, and using the keyword that gets as the keyword relevant to the content of music file.
The content that processor 102 obtains music file comprises the lyrics content obtaining music file, the content of processor 102 pairs of music files is analyzed, obtain the keyword relevant to the content of music file to comprise: analyze the lyrics content of music file, determine the category attribute of lyrics content; Obtain and describe the keyword of category attribute, and using the keyword that gets as the keyword relevant to the content of music file.
The analysis of key word that processor 102 obtains music file comprises: obtain user to the feedback information of music file, wherein, feedback information is the feature field that the described project of user to music file is described; Feedback information is analyzed, obtains multiple feature field; The feature field that the number of times that is described is maximum is filtered out from multiple feature field; Using feature field maximum for the number of times be described as Expressive Features field corresponding to the described project of music file; The analysis of key word of music file is obtained by the Expressive Features field that the described project of music file is corresponding.
The analysis of key word of music file comprises multiple analysis of key word, the analysis of key word that processor 102 obtains music file comprises the multiple analysis of key words obtaining music file, obtain the analysis of key word list with predetermined format, processor 102 search analysis of key word comprise search keyword music file comprise: whether comprise search keyword in discriminatory analysis lists of keywords; If the list of analysis of key word comprises search keyword, then determine that music file is the music file that analysis of key word comprises search keyword.
Embodiment 4
Embodiments of the invention additionally provide a kind of storage medium.Alternatively, in the present embodiment, above-mentioned storage medium may be used for the program code of the data processing method of the music file storing the embodiment of the present invention.
Alternatively, in the present embodiment, storage medium is set to store the program code for performing following steps:
S1, receives searching request instruction;
S2, obtains the search keyword in searching request instruction;
S3, obtain the analysis of key word of music file, wherein, analysis of key word is the keyword obtained music file analysis;
S4, searches the music file that analysis of key word comprises search keyword.
S5, shows the music file found.
Alternatively, in the present embodiment, above-mentioned storage medium can include but not limited to: USB flash disk, ROM (read-only memory) (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), portable hard drive, magnetic disc or CD etc. various can be program code stored medium.
Alternatively, in the present embodiment, processor performs according to the program code stored in storage medium: obtain the lists of keywords with predetermined format; The write of the Expressive Features field of extraction is had in the lists of keywords of predetermined format, obtains the lists of keywords with Expressive Features field; And will there is the lists of keywords of Expressive Features field as the lists of keywords generated.
Alternatively, in the present embodiment, processor performs according to the program code stored in storage medium: the described project of checking the lists of keywords with predetermined format; Whether the described project that contrast has the lists of keywords of predetermined format all has Expressive Features field; If the described project with the lists of keywords of predetermined format is not all have Expressive Features field, then obtain the Expressive Features field that the described project without Expressive Features field is corresponding.
Alternatively, in the present embodiment, processor performs according to the program code stored in storage medium: obtain user to the feedback information of music file, wherein, feedback information is the feature field that the described project of user to music file is described; Feedback information is analyzed, obtains multiple feature field; The feature field that the number of times that is described is maximum is filtered out from multiple feature field; And using feature field maximum for the number of times that is described as Expressive Features field corresponding to the described project of music file.
Alternatively, in the present embodiment, processor performs according to the program code stored in storage medium: upgrade information description document utilizing the lists of keywords generated, after obtaining the information description document after upgrading, method also comprises: the instruction receiving search music file, wherein, instruction comprises keyword corresponding to music file; Identify the described project belonging to keyword; The Expressive Features field of search and Keywords matching in the Expressive Features field that described project is corresponding; And show the music file that the Expressive Features field that searches is corresponding.
Alternatively, the concrete example in the present embodiment can with reference to the example described in above-described embodiment 1 and embodiment 2, and the present embodiment does not repeat them here.
The invention described above embodiment sequence number, just to describing, does not represent the quality of embodiment.
If the integrated unit in above-described embodiment using the form of SFU software functional unit realize and as independently production marketing or use time, can be stored in the storage medium that above computer can read.Based on such understanding, the part that technical scheme of the present invention contributes to prior art in essence in other words or all or part of of this technical scheme can embody with the form of software product, this computer software product is stored in storage medium, comprises all or part of step of some instructions in order to make one or more computer equipment (can be personal computer, server or the network equipment etc.) perform each embodiment method of the present invention.
In the above embodiment of the present invention, the description of each embodiment is all emphasized particularly on different fields, in certain embodiment, there is no the part described in detail, can see the associated description of other embodiments.
In several embodiments that the application provides, should be understood that, disclosed client, the mode by other realizes.Wherein, device embodiment described above is only schematic, the division of such as unit, be only a kind of logic function to divide, actual can have other dividing mode when realizing, such as multiple unit or assembly can in conjunction with or another system can be integrated into, or some features can be ignored, or do not perform.Another point, shown or discussed coupling each other or direct-coupling or communication connection can be by some interfaces, and the indirect coupling of unit or module or communication connection can be electrical or other form.
The unit illustrated as separating component or can may not be and physically separates, and the parts as unit display can be or may not be physical location, namely can be positioned at a place, or also can be distributed in multiple network element.Some or all of unit wherein can be selected according to the actual needs to realize the object of the present embodiment scheme.
In addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, also can be that the independent physics of unit exists, also can two or more unit in a unit integrated.Above-mentioned integrated unit both can adopt the form of hardware to realize, and the form of SFU software functional unit also can be adopted to realize.
Below be only the preferred embodiment of the present invention; it should be pointed out that for those skilled in the art, under the premise without departing from the principles of the invention; can also make some improvements and modifications, these improvements and modifications also should be considered as protection scope of the present invention.