Key words content issue method and system based on media player
Technical field
The present invention relates to the Web content distribution technology, particularly a kind of key words content issue method and system based on media player.
Background technology
The computer user will use computer to watch content of multimedia will use media player, said herein content of multimedia comprises audio frequency, video, picture, animation etc., present media player all is the tool software that runs on the operating system mostly, the scale-of-two multimedia file of this locality or the network storage, decode by computing machine, change adult's discernible voice of ear human eye and Figure and Image then, again by output device output, thus make people on computers music appreciating, watch video, browsing pictures etc.
Keyword web advertisement technology is a kind of network promotion technology that the development with search engine grows up, for example network bid, fixedly rank etc. all is a kind of network promotion form based on search engine.Its principle is, when the user when using search engine to search for, search engine can carry out the keyword coupling according to the content of user's input, in display of search results, throws in and the maximally related AdWords of user search content on search result web page.AdWords with Google is an example, the advertiser sets keyword and the rank of oneself on the management backstage that AdWords provides according to the business tine of oneself, information such as price, the advertiser who for example is engaged in the intellecture property agency may throw in " applying for a patent ", keywords such as " trade mark registrations ", like this when the user uses the similar contents such as " how applying for a patent " of search engine searches, search engine will determine in the retrieval of content automatically and have " applying for a patent " this keyword, search engine will demonstrate all advertising messages relevant with this advertisement keyword by certain algorithm in the tabulation mode in the left side of results page, will open advertiser's enterprise web site after the user clicks advertisement link in the advertising message.Except that AdWords, each large search engine all has the key words content product of oneself, difference is that mainly its purport all is the input content according to the content keyword orientation that is comprised in the user search content, thereby reaches good input effect above the mode of algorithm, demonstration of rank.
In addition, also a lot of based on the network promotion information of keyword, various content informations such as news, weather, tourism, study for example, advertising message is wherein a kind of just.
But described herein media player mainly refers to the media play software based on the explicit user terminal, comprise independent or comprehensive can audio plays, the various media play softwares of the media file of media format such as video, picture, animation, for example MPC (Media Player Classic), RealPlayer etc.
Usually, the filename of a media file or can have correlativity with its content to a certain extent based on the media description information of standard to describe interface (as the MPEG-7 standard), when the user uses this media file of media renderer plays, just mean that this user might be also interested in other information relevant with this contents of media files, this just provides the space for the popularization based on keyword Web content information, but go back neither one now with the scheme that the advertisement of network key speech or other content information and media player combine, can utilize this correlativity to provide more humane service fully for the user.
Summary of the invention
In view of this, the purpose of this invention is to provide a kind of key words content delivery system, can solve can't be in media player directed technical matters of throwing in key words content based on media player.
For achieving the above object, technical scheme of the present invention is achieved in that
A kind of key words content delivery system based on media player comprises:
Media player is used for playing media file and displaying contents information;
The key word recognition module is used for discerning the keyword that media information comprises;
Content managing module is used for the matching treatment of keyword and data-base content;
Content data base is used for content information stored;
Described key word recognition module is obtained from described media player and is played the media information that media file comprises, and the keyword of being discerned is sent to described content managing module after therefrom identifying keyword; Described content managing module carries out the coupling of content keyword in described content data base, and the content information of coupling is fed back to described key word recognition module, is shown by described key word recognition module forwards to described media player.
Further, described media information comprises media file name or media description information.
Further, described content managing module and content data base can be positioned at service end and also can be positioned at client.
When being positioned at service end, the key word recognition module sends it to the content managing module of service end in real time after obtaining keyword, carried out in the content data base of service end by the content managing module of service end after the coupling of content keyword the content information of coupling is fed back to the key word recognition module in real time.
When being positioned at client, the key word recognition module sends it to the content managing module of client in real time after obtaining keyword, carried out in the content data base of client by the content managing module of client after the coupling of content keyword the content information of coupling is fed back to the key word recognition module in real time.
Be positioned at the technical scheme of client based on foregoing administration module and content data base, further, described key words content delivery system also comprises service end, and service end comprises:
The Web content database is used at service end memory contents keyword and content information;
The network content management module, be used to respond and handle that client initiates in the content data base of client and the synchronization request between the Web content database in service end;
Client also comprises a update module, is used for initiating synchronization request according to new model more to described network content management module, and carries out the synchronous operation of client according to feedback.
Based on technique scheme, further, this system also comprises the browser server that is positioned at service end, is used for when the user clicks in described media player content displayed information to the more detailed content information of client feedback.
Based on technique scheme, further, the content information of described coupling can not given described media player by described key word recognition module forwards, shows but directly feed back to described media player.
Another purpose of the present invention provides a kind of key words content issue method based on media player, and for achieving the above object, technical scheme of the present invention is achieved in that
A kind of key words content issue method based on media player comprises the steps,
A, obtain the media information of media player institute playing media file;
B, from described media information, identify keyword;
C, in content data base, carry out the coupling of described keyword and content information, and send described media player to show the content information of optimum matching.
Further, in the steps A, described media information is meant described media file name, and correspondingly in step B, the identification step of described keyword is as follows:
B1, use are cut morphology described media file name are carried out the phrase cutting;
Filter out described keyword B2, the phrase that after cutting, obtained.
Further, in the steps A, media information is meant the media description information that obtains by the media description interface, correspondingly in step B, filters out described keyword after described media description information handled.
Further, also comprise the step display of content details, when the user clicks on media player content displayed information, will show the more detailed information of relevant described content information with new window.
Further, when described content data base is positioned at service end, after obtaining described keyword, client sends to service end with described keyword in real time, carries out in service end in real time matching result to be fed back to client after the coupling of described keyword and content information and show in described media player.
Further, when described content data base is positioned at client, after obtaining described keyword, after the coupling of client executing keyword and content information, send described media player to show matching result.
Further, described content data base is made up of the content data base of service end and the content data base of client, and the content data base of described client and the content data base of service end keep synchronously by the more new model of setting.
Owing to adopted technical scheme of the present invention, can obtain the keyword that media file comprises, and directionally throw in various keyword Web content information to the user by network or after this locality coupling, realized the perfect adaptation of media player and Web content information increment service, improved the attention rate of Web content information, for the user has brought more humane experience.
Description of drawings
Fig. 1 is the group method process flow diagram of the method for the invention;
Fig. 2 is the system construction drawing of the key words content delivery system that comprises service end and client modules of the present invention's proposition;
Fig. 3 is the process flow diagram of the key words content issue method that comprises service end and client modules of the present invention's proposition;
Fig. 4 is the system construction drawing of the key words content delivery system that includes only client modules of the present invention's proposition;
Fig. 5 is the process flow diagram of the key words content issue method that includes only client modules of the present invention's proposition;
Fig. 6 is the system construction drawing of the key words content delivery system that has update module of the present invention's proposition;
Fig. 7 is the step of updating process flow diagram in the key words content issue method that has update module of the present invention's proposition.
Embodiment
Basic thought of the present invention is: with media player and the combination of key words content distribution technology, when the user uses media player, the keyword that is comprised in filename by identification institute playing media file or the media description information, in this locality or network-side carry out the coupling of keyword and content keyword, thereby the Web content information that acquisition is complementary with keyword most, and be presented on the media player interface the direct webpage of accessed content correspondence after the user clicks the literal of this content information or picture link.
Fig. 1 is the overview flow chart of the inventive method, below in conjunction with accompanying drawing each step is described in detail:
A, obtain the media information of media player institute playing media file;
Media information of the present invention comprises media file name or media description information.Usually the attribute the most intuitively that best embodies contents of media files is exactly the title of media file, but for the voluminous media storehouse, the naming rule of media file may be a unnatural language at random or can not intuitivism apprehension, therefore, the media description information that the present invention can obtain described media file by existing content-based video or image retrieval technologies, MPEG-7 standard for example can be obtained the descriptor of media file by the description interface of standard.
B, from described media information, identify keyword;
The purpose of obtaining media information is therefrom to extract the one or more keywords relevant with contents of media files that might become content keyword.This step is by carrying out participle and the described keyword of identification back acquisition to media information, the algorithm of participle and identification can adopt existing more known algorithms, for example based on the branch word algorithm of understanding, based on the branch word algorithm of statistics etc., also just can identify which speech behind the further screening and filtering of need participle after can become keyword.Processing procedure for clearer this step of statement, lifting an example describes, for example user's video name of watching is " computer hacker 1.wmv ", this identification module is partitioned into " computer ", " hacker " according to minute word algorithm to the words, and if " 1 " three parts are the comparatively complicated words of statement, recognizer also need be removed conjunction in the statement, modal particle etc., thereby therefrom identify the speech that most possibly becomes content keyword, for example " computer " is as the keyword of final identification.
C, in content data base, carry out the coupling of described keyword and content information, and send described media player to show the content information of optimum matching.
Content data base is that centralized stores can be for the place of media player content displayed, content in the content data base is adjusted often and changes, keyword that the present invention will obtain from media file by certain matched rule and the real time content in the content data base associate, so just can be in the demand of to a certain degree knowing the user, and give this user, thereby bring more thoughtful, more humane service and experience to the user with content release relevant in the content data base with user's request.Content information described in this step can be advertising message, news information, Weather information etc., described content information can be a kind of summary info, when user's actual click just the user is directed to more detailed content interface behind this summary info, therefore should comprise the link that can be directed to the detailed content interface in the described summary info, for example: network linking address information, brief introduction, thumbnail pictures etc.
Fig. 2 is the system construction drawing of first specific embodiment of described system disclosed by the invention, this system mainly comprises service end module and client modules two large divisions, and the service end module is used for the coupling of keyword Web content information being provided and browsing service for user terminal; Client modules be used for discerning keyword and by media player for user's rendering content information.Wherein, the service end module comprises network content management module, browser server and Web content database; Client modules comprises media player and key word recognition module.Media player is used for playing media file; The key word recognition module is used for discerning the keyword that it comprises according to media file name or contents of media files descriptor, and described keyword sent to the coupling that network content management module in the service end module is carried out content keyword, thereby obtain to send described media player to show with the highest content information of described keyword matching degree; The network content management module is used to receive the keyword matching request that the key word recognition module sends, in the Web content database, carry out the coupling of content keyword according to certain matching algorithm, thereby feed back to client behind the content information that obtains to mate to show, the content information of coupling can pass through the key word recognition module forwards, also can directly send to media player; The Web content database is used for the actual storage content keyword and with the direct corresponding content information of content keyword etc.; Browser server is used for providing more detailed content information to user terminal, need to prove, can not comprise browser server in another specific embodiment of the present invention, i.e. displaying contents information in media player only.
Based on the system architecture of this embodiment, the present invention proposes a kind of real-time network content delivery method based on media player, and as shown in Figure 3, concrete steps are as follows:
Step 301, media player pass to the key word recognition module with media file name or by the media description information that the media description interface obtains when playing media file;
Step 302, key word recognition module extract keyword from described media file name or media description information, and keyword is sent to the network content management module;
The key word recognition module is extracted keyword according to certain participle and recognizer from media file name or in the media description information, keyword described in this step is different with content keyword, and keyword is meant that the clear and definite implication of extracting that has reaches more general keyword sets from media file name or media description information; Content keyword is and the direct corresponding keyword of content information that content keyword and content information together are stored in the Web content database.Client sends keyword to service end, and which type of content information is concrete service end feed back need could be determined through behind the matching process of keyword in service end to client.
Step 303, network content management module are carried out the coupling of keyword and content keyword, obtain content information and send the key word recognition module to;
The certain matching algorithm of network content management module basis carries out keyword and content keyword in the Web content database, thereby obtain the highest content information of matching degree, matching algorithm can adopt that keyword mates entirely, keyword fuzzy matching scheduling algorithm, if matching result is empty, then uploads maximum keywords and give tacit consent to coupling or return default content result of information collection according to nearest key word recognition module.The network content management module sends it to client key word recognition module by network behind the content information that obtains coupling.
In another most preferred embodiment of the present invention, for described media player adds a content reception interface, the network content management module can directly feed back to media player by this interface with the content information that mates behind the content information that obtains coupling, thereby has saved the step by client key word recognition module forwards.
Step 304, key word recognition module send described content information to described media player, and media player shows described content information on the interface.
Content information can have a variety of in the display mode of media player, such as with literal on-link mode (OLM), picture on-link mode (OLM) etc.Displaying contents information in media player only in the present invention's one specific embodiment does not promptly comprise step 305, because if the words of the quantity of information abundance of content information just need not have been removed user guiding again on more detailed content page.
After step 305, user clicked content information on the media player, client-access service end browser server obtained more detailed content information.
Fig. 4 is the system construction drawing of the present invention's second specific embodiment, compare with first specific embodiment, the characteristics of this specific embodiment are to have included only client modules, and in client modules, comprised local content managing module, this module is used for storage or cache contents information, provides content information for described key word recognition module under the non real-time duty.
Can when the publication medium player, carry the content information and/or the details of acquiescence in this embodiment, the storage mode of described content information in this locality can adopt local content data base mode, also can adopt file mode, for example use XML (extensible Markup Language) XML file mode to store.
Based on the system architecture of this embodiment, the present invention proposes a kind of non real-time local content delivery method based on media player again, and as shown in Figure 5, concrete steps are as follows:
Step 501, media player pass to the key word recognition module with media file name or by the media description information that the media description interface obtains when playing media file;
Step 502, key word recognition module are carried out key word recognition and the keyword of discerning are sent to local content managing module;
Step 503, local content managing module carry out the coupling of content keyword, obtain content information and send the key word recognition module to;
This embodiment carries out the coupling of content keyword in this locality, need call the access interface of local content data base or the parsing interface of local storage file, thereby realizes the coupling to content keyword.If after overmatching, there is not the content information of coupling, then adopt the matched rule of acquiescence, for example in the local network content data base, select one or more content informations at random.
In another most preferred embodiment of the present invention, for described media player adds a content reception interface, local content managing module can directly feed back to media player by this interface with the content information that mates behind the content information that obtains coupling, thereby has saved the step by client key word recognition module forwards.
Step 504, key word recognition module send described content information to described media player, and media player shows described content information on the interface.
As replenishing of this embodiment, also can preserve detailed content information in this locality, after the user clicks content information on the media player, can be shown to the user by browser or window mode.
Fig. 6 is the system construction drawing of the present invention's the 3rd specific embodiment, compare with second specific embodiment, its key distinction is to have increased the service end part, client modules has also added a update module in addition, be used for according to certain more new model, as periodically or in real time, from network content management module content information and refresh the function of the content information of local storage.The network content management module is mainly used to respond and handle the update request that update module sends in this embodiment, feed back to update module according to certain feedback rule after in the Web content database, matching content information, described feedback rule can be set in service end or client, the record strip number that for example each update request should be fed back, content type of feedback or the like.
System construction drawing based on this specific embodiment, the present invention also proposes a kind of Web content dissemination method based on media player, different with disclosed method in second specific embodiment is, also comprised synchronous step between local content data base and the Web content database in this method, as shown in Figure 7, synchronous step is as follows:
Step 701, update module send synchronization request according to the more new model of setting to the network content management module of service end;
Step 702, network content management module are obtained content keyword and content information feeds back to described update module according to the feedback rule from described Web content database;
Step 703, update module are stored in it in local content data base or in the middle of the cache file.
In addition, as a supplement, also comprise browser server in this specific embodiment, the user can visit browser server to obtain more detailed content information by the content link of clicking in media player.
The present invention also can have other various embodiments; under the situation that does not deviate from spirit of the present invention and essence thereof; those skilled in the art can make various corresponding changes and distortion according to the present invention, and these change and be out of shape the protection domain that all should belong to the appended claim of the present invention accordingly.