CN102194504B - Media file play method, player and server for playing medial file - Google Patents

Media file play method, player and server for playing medial file Download PDF

Info

Publication number
CN102194504B
CN102194504B CN201010127506.0A CN201010127506A CN102194504B CN 102194504 B CN102194504 B CN 102194504B CN 201010127506 A CN201010127506 A CN 201010127506A CN 102194504 B CN102194504 B CN 102194504B
Authority
CN
China
Prior art keywords
media file
file
dub
server
information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201010127506.0A
Other languages
Chinese (zh)
Other versions
CN102194504A (en
Inventor
盛馥钟
梅书慧
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN201010127506.0A priority Critical patent/CN102194504B/en
Publication of CN102194504A publication Critical patent/CN102194504A/en
Application granted granted Critical
Publication of CN102194504B publication Critical patent/CN102194504B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Signal Processing For Digital Recording And Reproducing (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The invention relates to a media file play method, a player and a server for playing a media file, and belongs to the technical field of multimedia playing. The method comprises the following steps of: loading a media file; acquiring the information of the media file; uploading the information of the media file to the server; acquiring a dubbing file returned by the server according to the information of the media file; and selecting the dubbing file and synchronically playing the dubbing file with the media file. The player comprises a loading module, an acquisition module, a communication module and a play module. By automatically acquiring and loading the dubbing file from the server, the operation of manually acquiring or configuring the dubbing file by a user is avoided, the requirements of the user for the dubbing diversification and the stability of the media file are met better, and great convenience is provided for the user.

Description

Media file playing method, player and the server for playback of media files
[technical field]
The present invention relates to multimedia play technology field, particularly relate to a kind of media file playing method, player and the server for playback of media files.
[background technology]
In multimedia technology field, particularly video display play-back technology field, the formation great majority of films and television programs are all first shooting and producing videos, then in the later stage for personage dubs.Some popular films and television programs even need multi-lingual dubbing.Therefore dub for films and television programs can be appreciated better most important.
Video files can more than one dub, for user's choice for use embedded.But embedded dub file and can increase cost of manufacture, therefore for most of films and television programs, its video files may only only have one to dub.Dub file corruption if embedded also will cause normally cannot appreciating film.
The external player dubbed can be supported for small part, need again the manual preprepared that loads to dub file, the use of inconvenient user.
[summary of the invention]
Based on this, preprepared is dubbed, inconvenient use problem to be necessary to need craft to load for traditional films and television programs, provides a kind of and automatically can load the external media file playing method dubbed.
In addition, also provide a kind of automatic loading the external player dubbed, and a kind ofly provide the server dubbing file online.
A kind of media file playing method, comprises the following steps: loading medium file; Gather the media file information of described media file; Uploaded onto the server by described media file information, what acquisition server was passed back according to described media file information dubs file; Choose and dub file and play with media file synchronization.
Preferably, after the step of loading medium file, also comprise and judge whether this locality has the step of dubbing file corresponding with media file, if this locality has and corresponding with media file dubs file, then judge whether that receiving replacing dubs instruction further, if do not receive replacing to dub instruction, then choose local dubbing file and play with media file synchronization; If receive replacing to dub instruction, then gather the media file information of described media file, uploaded onto the server by described media file information, what acquisition server was passed back according to described media file information dubs file; If what this locality was corresponding with media file dubs file, then gather the media file information of described media file, uploaded onto the server by described media file information, what acquisition server was passed back according to described media file information dubs file.
Preferably, after the step of loading medium file, also comprise and judge local whether have the step of dubbing file corresponding with described media file, if this locality has and corresponding with described media file dubs file, dub files passe to server by this locality.
Preferably, described files passe to the step of server of dubbing by this locality specifically comprises the following steps: gather media file media file information and local dub file dub fileinfo; By described media file information with dub fileinfo and upload onto the server, reception server is according to described media file information and dub the judged result that fileinfo judges whether server stores the identical and media file information of correspondence and dub fileinfo; If described judged result is server store the identical and media file information of correspondence and dub fileinfo, then terminate to upload; If described judged result is server do not store the identical and media file information of correspondence and dub fileinfo, then by this locality dub files passe to server and announcement server will describedly dub file and media file information, dub fileinfo association store.
Preferably, before the media file information gathering described media file, also judge whether user allows to obtain from server to dub file, if user allows to obtain from server to dub file, then gather the media file information of described media file, uploaded onto the server by described media file information, what acquisition server was passed back according to described media file information dubs file.
Preferably, described media file information at least comprises file cryptographic Hash.
Preferably, described media file information is being uploaded onto the server, what obtain that server passes back according to described media file information dubs in the step of file, and server passes the data of dubbing file and specifically comprising the steps: according to storing in the file cryptographic Hash retrieval server comprised in described media file information back according to described media file information; Judge whether server stores the media file of identical file cryptographic Hash corresponding dub fileinfo; Corresponding dub fileinfo if server had, then according to described in dub fileinfo find on server with described dub fileinfo association store dub file, and dub file by this and pass back.
Preferably, to pass back according to described media file information at server and dub in the step of file, if do not have corresponding to dub fileinfo, then carry out fuzzy search according to the media file information except file cryptographic Hash further.
Preferably, also comprise the step of dubbing file according to the screening that imposes a condition, described imposing a condition comprises optimum condition and/or exclusion condition, according to described optimum condition filter out meet optimum condition dub file, according to described exclusion condition filter out do not meet exclusion condition dub file.
A kind of player, comprising: insmod: for loading medium file; Acquisition module: for gathering the media file information of described media file; Communication module: for described media file information is uploaded onto the server, what acquisition server was passed back according to described media file information dubs file; Playing module: dub file for choosing and play with media file synchronization.
Preferably, also comprise the first judge module and the second judge module, described first judge module for judge local whether have corresponding with media file dub file, if this locality has and corresponding with media file dubs file, receiving replacing dubs instruction then to indicate the second judge module to judge whether further, if the second judge module does not receive replacing and dubs instruction, then notify that playing module chooses local dubbing file and play with media file synchronization; If the second judge module receives replacing and dubs instruction, then notify that acquisition module gathers the media file information of described media file, and by communication module, described media file information is uploaded onto the server, what acquisition server was passed back according to described media file information dubs file; If what this locality was corresponding with media file dubs file, then the first judge module notice acquisition module gathers the media file information of described media file, and by communication module, described media file information is uploaded onto the server, what acquisition server was passed back according to described media file information dubs file.
Preferably, also comprise the first judge module, described first judge module for judge local whether have corresponding with media file dub file, and have in this locality corresponding with media file indicate when dubbing file described acquisition module to gather described media file media file information and local dub fileinfo; Described communication module also for by described media file information and dub fileinfo upload onto the server and reception server according to described media file information with dub the judged result that fileinfo judges whether server stores corresponding media file information and dub fileinfo; If server does not store corresponding media file information and dubs fileinfo, then by communication module by this locality dub files passe to server and announcement server will describedly dub file and media file information, dub fileinfo association store.
Preferably, described media file information at least comprises file cryptographic Hash.
A kind of server for playback of media files, described server stores have the media file information of media file, corresponding with described media file information dub fileinfo and with dub that fileinfo associates dub file, for receiving the media file information that player sends, and pass back according to described media file information and corresponding dub file.
Preferably, described server according to the data stored in the file cryptographic Hash retrieval server comprised in described media file information, judge whether server stores the media file of identical file cryptographic Hash corresponding dub fileinfo; Corresponding dub fileinfo if server had, then according to described in dub fileinfo find on server with described dub fileinfo association store dub file, and dub file by this and pass back.
Preferably, if described server corresponding dubs fileinfo through judging not have, then fuzzy search is carried out according to the media file information except file cryptographic Hash further.
In above-mentioned media file playing method, player and server, player dubs file by automatically obtaining from server and load, eliminate user manually obtain or configure the operation of dubbing file, meet diversification and stable demand that user dubs for media file better, be user-friendly to.
[accompanying drawing explanation]
Fig. 1 is the media file playing method flow chart of embodiment one;
Fig. 2 is that server passes the flow chart dubbing file back according to described media file information;
Fig. 3 is that server passes another flow chart dubbing file back according to described media file information;
Fig. 4 is the player structure figure of embodiment four;
Fig. 5 is the structure chart of another player of embodiment four;
Fig. 6 is the structure chart of the another player of embodiment four;
Fig. 7 is Play System structure chart.
[embodiment]
Be further detailed below in conjunction with accompanying drawing.
Need that manual loading is preprepared dubs file for solving when playing media file, the problem that inconvenient user uses, propose a kind of can the media file playing method of automatic dubbing.
Embodiment one
As shown in Figure 1, be the media file playing method flow chart of the present embodiment.The method comprises the steps:
S10: loading medium file.Media file is the data acquisition system of relevant information including sound, image information and this sound or image.Media file exists with certain file format according to the difference of coded system and application, media file format comprises MOV, AVI, RMVB, WMV, MP4, RAM, RA, MPG, VCD and DVD etc., after media file is loaded, can output sound, image obtain the relevant information (such as coded system, code check, duration etc.) of sound or image.
S20: the media file information gathering described media file.Media file information comprises the various information of media file, and the relevant information of the sound that some media file information can directly be comprised by media file itself or image obtains, as file name, file format, file duration etc.; Other obtain, as file cryptographic Hash after then needing the data comprised media file to carry out certain process.
File name generally can the content that comprises of presentation medium file, sometimes can search media file according to file name, but due to media file can rename, reliably dependent file title can not determine a media file.
File cryptographic Hash (HASH) is the numerical value that content-data according to media file (as single view data or view data and voice data) is obtained by certain logical operation, different files is because content-data difference (even if filename is identical) its cryptographic Hash comprised is different, identical file (even if filename was modified) its cryptographic Hash is also constant, therefore file cryptographic Hash can prove as the uniqueness of file, and the cryptographic Hash of identical file is stable and unique.File cryptographic Hash can also be used to carry out file verification.As after transmission file, judge that whether file is complete by the method for cryptographic Hash contrast.
In a preferred embodiment, media file information can further include more information, as included but not limited to following content: file format (showing the packaged type of media file), file size (showing the number of media file data amount and shared memory space), file duration (showing the time according to normal speed forward these media file needs complete), video information (as Video coding mode), audio-frequency information (as audio coding mode), whether have and external dub file (show whether have corresponding with this media file dub file) and external cryptographic Hash (for uniquely determining that this dubs file) of dubbing file.More detailed information is conducive to obtaining Search Results rapidly and accurately.
S30: uploaded onto the server by described media file information, what acquisition server was passed back according to described media file information dubs file.
Server stores media file media file information and corresponding dub file dub fileinfo.Described media file information, dub fileinfo and dub file association store.Media file and to dub between file be the relation of multi-to-multi.Media file may correspond to multiplely dubs file, as the multi-lingual of a film is dubbed; Dubbing file for one also can corresponding multiple media file (the animation version of such as same portion film and live-action version).Therefore the media file information on server and to dub fileinfo be corresponding stored, just can find according to media file information and corresponding dub file.Following table gives the media file information of server stores and dubs an example of fileinfo: contain media file information in this table as media file name, media file cryptographic Hash, media file size etc., also contains and dub fileinfo as dubbed filename, dubbing file cryptographic Hash etc., and media file information is with to dub fileinfo corresponding.
Can see from upper table, the file name of front 4 files, media file cryptographic Hash, file size and file duration are just the same, are shown to be the file that content is identical.But from dubbing file cryptographic Hash, corresponding to dub file different, wherein sequence number 1 to 3 is Chinese and dubs, and sequence number 4 is dubbed for English.Chinese is dubbed also has mandarin to dub or difference that Guangdong language is dubbed, or is made by different publishers and produce difference etc.
When comprising media file cryptographic Hash in the media file information of player collection, as shown in Figure 2, server returns the step of dubbing file according to described media file information and is specially:
S302: according to the data stored in the file cryptographic Hash retrieval server comprised in described media file information.According to foregoing description, the cryptographic Hash of media file is stable and unique, can prove as the uniqueness of file, therefore adopts the method for file cryptographic Hash contrast retrieval can obtain result accurately.Preferably, primary election can be carried out by file name to the data stored in server, reduce the scope of retrieval.Further preferably, can select again by the data of more media file information to primary election, reduce the scope of retrieval further.
S304: judge whether server stores the media file of identical media file cryptographic Hash corresponding dub fileinfo.If server stores the media file cryptographic Hash that the media file cryptographic Hash uploaded with player is identical, and to should fileinfo be dubbed, then proceed to step S306, otherwise terminate.The data that server stores only can comprise media file information, for the related information set up with dub file, do not need to comprise this media file itself.
S306: according to described dub fileinfo find on server with described dub fileinfo association store dub file, and dub file by this and pass back.Due to media file with dub file and may have and multiplely corresponding dub file, therefore the file of dubbing found all can be returned to player by server, or only returns and dub listed files and select for user.
In above-mentioned processing procedure, utilize file cryptographic Hash to carry out precise search, if there is no a media file of this file cryptographic Hash completely corresponding dub file, then obtain the process of dubbing and just will terminate.And dub requirement not too high occasion to some, the mode of fuzzy search can be adopted to obtain and to dub.In a preferred embodiment, as shown in Figure 3, if judged result is no in step S304, then following steps are carried out:
S308: carry out fuzzy search according to the media file information except file cryptographic Hash.Fuzzy search refers to that media file information such as file name, file duration or the external cryptographic Hash etc. of dubbing file of utilization except this condition of file cryptographic Hash is retrieved in search condition, obtains and dubs file.
Wherein, the cryptographic Hash of dubbing file can dub the relation of file and media file corresponding with it by side light.Such as, media file has an external Chinese to dub in this locality, and user needs the English of this media file to dub, and Chinese server just in time saving this media file is dubbed and is dubbed with English, that dubs file by Chinese dubs file cryptographic Hash, indirectly can find the media file cryptographic Hash of this media file, then find English to dub according to this media file cryptographic Hash.In fact, may corresponding multiple media file owing to dubbing file, and when can not find according to media file cryptographic Hash suitable dub file time, undertaken searching may obtain satisfied result by having the file cryptographic Hash of dubbing of dubbing file.
S310: judge whether to have obtain according to fuzzy search dub fileinfo.If so, then step S306 is proceeded to; Otherwise terminate.
S40: choose and dub file and play with media file synchronization.Player is chosen and is loaded and dub file after obtaining and dubbing file, according to the current time value of playback of media files, makes to dub file and media file synchronization is play.
In further improving, can also before the media file information gathering described media file, judge whether user allows download to dub file, if user allows download to dub file, then gather the media file information of described media file, uploaded onto the server by described media file information, what acquisition server was passed back according to described media file information dubs file; If user does not allow download to dub file, then do not carry out gathering media file information and the upload media fileinfo step to server.
Embodiment two
On the basis of a upper embodiment, after step S10, also comprise and judge whether this locality has the step of dubbing file corresponding with media file.This step is by realizing with under type, and player is by retrieval local folders (file that global search or user specify), and what associate with media file if find that there is dubs file, then this is dubbed file and present to user by selecting interface.Then judge whether that receiving user changes the instruction of dubbing: what media file was embedded dubs and may meet consumers' demand, and also likely existing file of dubbing can not be met consumers' demand, and is therefore necessary to judge that user dubs file the need of replacing.Can add such as the information of " that does not want dubs, and downloads new dubbing " or " do not need to download, leave " in user interface, representative of consumer needs replacing to dub or does not need replacing to dub respectively.If do not receive replacing to dub instruction, show local dub file and can meet consumers' demand, then directly can load broadcasting according to the selection of user, manually search without the need to user and dub file and load, namely directly perform step S40: choose local dubbing file and play with media file synchronization; If receive replacing to dub instruction, then perform step S20 and S30: the media file information gathering described media file, uploads onto the server described media file information, what acquisition server was passed back according to described media file information dubs file.
If what this locality was corresponding with media file dubs file, then perform step S20 and S30: the media file information gathering described media file, uploaded onto the server by described media file information, what acquisition server was passed back according to described media file information dubs file.
If this locality has and corresponding with media file dubs file, dub files passe to server by this locality.If user natively has dub file, but this dubs file only for user oneself.Dub files passe to server by this locality, the file of dubbing of user can be shared, by the participation of user, resource can be made to reach shared.Concrete steps are as follows:
Gather media file information and dub fileinfo.
By described media file information with dub fileinfo and upload onto the server, reception server is according to described media file information and dub the judged result that fileinfo judges whether server stores the identical and media file information of correspondence and dub fileinfo.If described judged result is server store corresponding media file information and dub fileinfo, then terminate to upload.
If described judged result is server do not store corresponding media file information and dub fileinfo, then by this locality dub files passe to server and announcement server will describedly dub file and media file information, dub fileinfo association store.
In a preferred embodiment, at collection media file information with dub fileinfo and before sending the step of server to, also comprise and judge whether user allows to upload to dub Files step.If user forbids uploading, then end operation, dub files passe to server only when user allows to upload just by this locality.
Wherein choose dub file and the step play with media file synchronization with by this locality dub files passe to server step in no particular order, also can carry out simultaneously.
Embodiment three
In the present embodiment, also comprise the step of dubbing file according to the screening that imposes a condition.The all files of dubbing obtained after retrieval on the server may only have part useful concerning user, and also there is no need all results all to return for server, waste unnecessary resource.Therefore the result number returned can be set at server end, and return according to certain strategy that degree of correlation is forward or user evaluates good result.Concrete returns at most 5 results as arranged, and the degree according to media file information retrieval sorts to result, then gets first 5 and returns to player; And in player end, user can impose a condition, the result that server returns further is screened.The condition of user's setting can be exclusion condition or optimum condition, as got rid of the lower file of sound quality or selecting a certain languages etc.
Embodiment four
As shown in Figure 4, be the player structure figure of the present embodiment.Player 10 comprises: for loading medium file insmod 102, for gather described media file media file information and pass to communication module 106 acquisition module 104, for media file information is sent to server, the communication module 106 of dubbing file that reception server returns according to described media file information and dub file and the playing module 108 play with media file synchronization for choosing.
The media file of 102 loadings of insmoding is the data acquisition systems of relevant information including sound, image information and this sound or image.After media file is loaded, can output sound, image obtain the relevant information (such as coded system, code check, duration etc.) of sound or image.
Acquisition module 104 gathers the media file information of above-mentioned media file, media file information comprises the various information of media file, the relevant information of the sound that some media file information can directly be comprised by media file itself or image obtains, as file name, file format, file duration etc.; Other obtain, as file cryptographic Hash after then needing the data comprised media file to carry out certain process.
The media file information collected uploads onto the server by communication module 106, and what acquisition server was passed back according to described media file information dubs file.
What playing module 108 chose that server passes back dubs file and plays with media file synchronization, obtains after dubbing file, chooses and load and dub file, according to the current time value of playback of media files, makes to dub file and media file synchronization is play.
As shown in Figure 5, player 10 also can comprise further the first judge module 110 and the second judge module 114, first judge module 110 for judge local whether have corresponding with media file dub file.After the 102 loading medium files that insmod, first judge module 110 judge local whether have corresponding with media file dub file, if this locality has and corresponding with media file dubs file, receiving replacing dubs instruction then to indicate the second judge module 114 to judge whether further, if the second judge module 114 does not receive replacing and dubs instruction, then notify that playing module 108 chooses local dubbing file and play with media file synchronization; If the second judge module 114 receives replacing and dubs instruction, acquisition module 104 is then indicated to gather media file information, and then by communication module 106, described media file information is uploaded onto the server, what acquisition server was passed back according to described media file information dubs file.
If what this locality was corresponding with media file dubs file, then the first judge module 110 indicates acquisition module 104 to gather media file information, and then by communication module 106, described media file information is uploaded onto the server, what acquisition server was passed back according to described media file information dubs file.
First judge module 110 also for judge local whether have corresponding with media file dub file, and have in this locality and corresponding with media file indicate when dubbing file described acquisition module 104 gather media file information and local dub fileinfo; Described communication module 106 also for by described media file information and local dub fileinfo upload onto the server and reception server according to described media file information with dub the judged result that fileinfo judges whether server to store corresponding media file information and dub fileinfo; If server does not store corresponding media file information and dubs fileinfo, then by communication module 106 by this locality dub files passe to server and announcement server will describedly dub file and media file information, dub fileinfo association store.
In other examples, also can comprise the 3rd judge module further, for judging whether user allows to upload to dub file, only just can upload when user allows to upload and dubs file and dubbing file.
As shown in Figure 6, player 10 also comprises the 4th judge module 116, for judging whether user allows to obtain from server to dub file.After the 102 loading medium files that insmod, if the 4th judge module 116 is through judging that user allows to obtain from server to dub file, acquisition module 104 is then indicated to gather media file information, and then by communication module 106, described media file information is uploaded onto the server, what acquisition server was passed back according to described media file information dubs file.Otherwise instruction playing module 108 play-overs the media file of loading.
In one embodiment, provide a kind of server, this server stores have media file information, corresponding with described media file information dub fileinfo and with dub fileinfo association store dub file, for receiving the media file information that player sends, and pass back according to described media file information and corresponding dub file.
More specifically, server is according to the data of the file cryptographic Hash retrieval server storage comprised in described media file information; Judge whether server stores the media file of identical file cryptographic Hash corresponding dub fileinfo; Corresponding dub fileinfo if server had, then according to described in dub fileinfo find on server with described dub fileinfo association store dub file, and dub file by this and pass back.
If server through judgement not have the media file of identical file cryptographic Hash corresponding dub fileinfo, then carry out fuzzy search according to the media file information except file cryptographic Hash further.Fuzzy search refers to that media file information such as file name, file duration or the external cryptographic Hash etc. of dubbing file of utilization except this condition of file cryptographic Hash is retrieved in search condition, obtains and dubs file.
As shown in Figure 7, be Play System that the player 10 in above-described embodiment and server 20 form.
Further, this system also can be protected and be comprised screening module 30 for dubbing file according to the screening that imposes a condition.The all files of dubbing found on server 20 may only have part useful concerning user, and also there is no need all results all to return for server 20, waste unnecessary resource.Screening module 30 can be located at server end or player end.Therefore the result number returned can be set at server end, and return according to certain strategy that degree of correlation is forward or user evaluates good result.Concrete returns at most 5 results as arranged, and the degree according to media file information retrieval sorts to result, then gets first 5 and returns to player; And in player end, user can impose a condition, the result that server returns further is screened.The condition of user's setting can be exclusion condition or optimum condition, as got rid of the lower file of sound quality or selecting a certain languages etc.
The above embodiment only have expressed several execution mode of the present invention, and it describes comparatively concrete and detailed, but therefore can not be interpreted as the restriction to the scope of the claims of the present invention.It should be pointed out that for the person of ordinary skill of the art, without departing from the inventive concept of the premise, can also make some distortion and improvement, these all belong to protection scope of the present invention.Therefore, the protection range of patent of the present invention should be as the criterion with claims.

Claims (12)

1. a media file playing method, is characterized in that, comprises the following steps:
Loading medium file;
Gather the media file information of described media file;
Uploaded onto the server by described media file information, what acquisition server was passed back according to described media file information dubs file;
Choose and dub file and play with media file synchronization;
Described media file information comprises media file cryptographic Hash and cryptographic Hash corresponding to file dubs with external.;
Describedly uploaded onto the server by described media file information, what obtain that server passes back according to described media file information dubs in the step of file, and server is passed back according to described media file information and dubbed file and specifically comprise the steps:
According to the data stored in the file cryptographic Hash retrieval server comprised in described media file information;
Judge whether server stores the media file of identical media file cryptographic Hash corresponding dub fileinfo, if, then according to described in dub fileinfo find on server with described dub fileinfo association store dub file, and dub file by this and pass back; Otherwise, carry out retrieving according to the external cryptographic Hash of dubbing file comprised in described media file information and obtain corresponding with described media file dubbing file;
Wherein, described media file information, dub fileinfo and dub file association store on the server, media file and to dub between file be the relation of multi-to-multi.
2. media file playing method as claimed in claim 1, it is characterized in that, after the step of loading medium file, also comprise and judge whether this locality has the step of dubbing file corresponding with media file, if this locality has and corresponding with media file dubs file, then judge whether that receiving replacing dubs instruction further, if do not receive replacing to dub instruction, then choose local dubbing file and play with media file synchronization; If receive replacing to dub instruction, then gather the media file information of described media file, uploaded onto the server by described media file information, what acquisition server was passed back according to described media file information dubs file;
If what this locality was corresponding with media file dubs file, then gather the media file information of described media file, uploaded onto the server by described media file information, what acquisition server was passed back according to described media file information dubs file.
3. media file playing method as claimed in claim 1, it is characterized in that, after the step of loading medium file, also comprise and judge whether this locality has the step of dubbing file corresponding with described media file, if this locality has and corresponding with described media file dubs file, dub files passe to server by this locality.
4. media file playing method as claimed in claim 3, is characterized in that, described files passe to the step of server of dubbing by this locality specifically comprises the following steps:
Gather media file media file information and local dub file dub fileinfo;
By described media file information with dub fileinfo and upload onto the server, reception server is according to described media file information and dub the judged result that fileinfo judges whether server stores the identical and media file information of correspondence and dub fileinfo;
If described judged result is server store the identical and media file information of correspondence and dub fileinfo, then terminate to upload;
If described judged result is server do not store the identical and media file information of correspondence and dub fileinfo, then by this locality dub files passe to server and announcement server will describedly dub file and media file information, dub fileinfo association store.
5. media file playing method as claimed in claim 1, it is characterized in that, before the media file information gathering described media file, also judge whether user allows to obtain from server to dub file, if user allows to obtain from server to dub file, then gather the media file information of described media file, uploaded onto the server by described media file information, what acquisition server was passed back according to described media file information dubs file.
6. media file playing method as claimed in claim 1, it is characterized in that, also comprise after what the described media file judging whether server stores identical file cryptographic Hash was corresponding dub the step of fileinfo: if do not have corresponding to dub fileinfo, then carry out fuzzy search according to the media file information except file cryptographic Hash further.
7. media file playing method as claimed in claim 1, it is characterized in that, also comprise the step of dubbing file according to the screening that imposes a condition, described imposing a condition comprises optimum condition and/or exclusion condition, according to described optimum condition filter out meet optimum condition dub file, according to described exclusion condition filter out do not meet exclusion condition dub file.
8. a player, is characterized in that, comprising:
Insmod: for loading medium file;
Acquisition module: for gathering the media file information of described media file and passing to communication module;
Communication module: for described media file information is uploaded onto the server, what acquisition server was passed back according to described media file information dubs file;
Playing module: dub file for choosing and play with media file synchronization;
And described media file information comprises file cryptographic Hash and cryptographic Hash corresponding to file dub with external;
Described server stores have the media file information of media file, corresponding with described media file information dub fileinfo and with dub fileinfo association store dub file, for according to the data stored in the media file cryptographic Hash retrieval server comprised in described media file information, if retrieve, then according to described in dub fileinfo find on server with described dub fileinfo association store dub file, and dub file by this and pass back; Otherwise, carry out retrieving according to the external cryptographic Hash of dubbing file comprised in described media file information and obtain corresponding with described media file dubbing file;
Wherein, described media file information, dub fileinfo and dub file association store on the server, media file and to dub between file be the relation of multi-to-multi.
9. player as claimed in claim 8, it is characterized in that, also comprise the first judge module and the second judge module, described first judge module for judge local whether have corresponding with media file dub file, if this locality has and corresponding with media file dubs file, receiving replacing dubs instruction then to indicate the second judge module to judge whether further, if the second judge module does not receive replacing and dubs instruction, then notify that playing module chooses local dubbing file and play with media file synchronization; If the second judge module receives replacing and dubs instruction, then notify that acquisition module gathers the media file information of described media file, and by communication module, described media file information is uploaded onto the server, what acquisition server was passed back according to described media file information dubs file;
If what this locality was corresponding with media file dubs file, then the first judge module notice acquisition module gathers the media file information of described media file, and by communication module, described media file information is uploaded onto the server, what acquisition server was passed back according to described media file information dubs file.
10. player as claimed in claim 8, it is characterized in that, also comprise the first judge module, described first judge module for judge local whether have corresponding with media file dub file, and have in this locality corresponding with media file indicate when dubbing file described acquisition module to gather described media file media file information and local dub fileinfo; Described communication module also for by described media file information and dub fileinfo upload onto the server and reception server according to described media file information with dub the judged result that fileinfo judges whether server stores corresponding media file information and dub fileinfo; If server does not store corresponding media file information and dubs fileinfo, then by communication module by this locality dub files passe to server and announcement server will describedly dub file and media file information, dub fileinfo association store.
11. players as described in claim 10, is characterized in that, comprise the 3rd judge module further, dub file for judging whether user uploads, and only just can upload when user allows to upload and dubs file and dub file.
12. players as described in claim 8, it is characterized in that, also comprise the 4th judge module for judging whether user allows to obtain from server to dub file, after the loading medium file that insmods, if the 4th judge module is through judging that user allows to obtain from server to dub file, acquisition module is then indicated to gather media file information, and then by communication module, described media file information is uploaded onto the server, what acquisition server was passed back according to described media file information dubs file, otherwise instruction playing module play-overs the media file of loading.
CN201010127506.0A 2010-03-15 2010-03-15 Media file play method, player and server for playing medial file Active CN102194504B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201010127506.0A CN102194504B (en) 2010-03-15 2010-03-15 Media file play method, player and server for playing medial file

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201010127506.0A CN102194504B (en) 2010-03-15 2010-03-15 Media file play method, player and server for playing medial file

Publications (2)

Publication Number Publication Date
CN102194504A CN102194504A (en) 2011-09-21
CN102194504B true CN102194504B (en) 2015-04-08

Family

ID=44602426

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201010127506.0A Active CN102194504B (en) 2010-03-15 2010-03-15 Media file play method, player and server for playing medial file

Country Status (1)

Country Link
CN (1) CN102194504B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103179450A (en) * 2011-12-23 2013-06-26 腾讯科技(深圳)有限公司 Method, device and system for playing video, and audio track server
CN103763480B (en) * 2014-01-24 2017-08-25 三星电子(中国)研发中心 Obtain the method and apparatus that video is dubbed
CN106055671B (en) * 2016-06-03 2022-06-14 腾讯科技(深圳)有限公司 Multimedia data processing method and equipment thereof
US20180158488A1 (en) * 2016-12-07 2018-06-07 Theater Ears, LLC Continuous automated synchronization of an audio track in a movie theater

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1325189A (en) * 2000-05-18 2001-12-05 德国汤姆森-布兰特有限公司 Receiving machine of providing audio translation data according to demand and receiving method thereof
CN1774757A (en) * 2003-02-25 2006-05-17 Lg电子株式会社 Method of reproducing content information for an interactive optical disc apparatus
CN1778111A (en) * 2003-04-22 2006-05-24 松下电器产业株式会社 Reproduction device and program
CN101312565A (en) * 2007-05-25 2008-11-26 上海美通无线网络信息有限公司 Method for synchronous lyrics browsing when playing music on mobile phone
CN101365106A (en) * 2008-10-10 2009-02-11 四川长虹电器股份有限公司 IPTV system Chinese subtitle indication method

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1325189A (en) * 2000-05-18 2001-12-05 德国汤姆森-布兰特有限公司 Receiving machine of providing audio translation data according to demand and receiving method thereof
CN1774757A (en) * 2003-02-25 2006-05-17 Lg电子株式会社 Method of reproducing content information for an interactive optical disc apparatus
CN1778111A (en) * 2003-04-22 2006-05-24 松下电器产业株式会社 Reproduction device and program
CN101312565A (en) * 2007-05-25 2008-11-26 上海美通无线网络信息有限公司 Method for synchronous lyrics browsing when playing music on mobile phone
CN101365106A (en) * 2008-10-10 2009-02-11 四川长虹电器股份有限公司 IPTV system Chinese subtitle indication method

Also Published As

Publication number Publication date
CN102194504A (en) 2011-09-21

Similar Documents

Publication Publication Date Title
CN101076111B (en) Method for acquiring keyframe section positioning information in video fluid
CN1825459B (en) Method and apparatus for reproducing data from recording medium using local storage
US20100318518A1 (en) Contents managing method and apparatus
CN101777371A (en) Apparatus for reproducing AV data on information storage medium
US20050084247A1 (en) Recording medium having data structure for managing reproduction of auxiliary presentation data and recording and reproducing methods and apparatuses
CN101321257B (en) Receiving apparatus, recording apparatus, content receiving method, and content recording method
CN102194504B (en) Media file play method, player and server for playing medial file
US20090208187A1 (en) Storage medium in which audio-visual data with event information is recorded, and reproducing apparatus and reproducing method thereof
CN101866669B (en) Information storage medium and apparatus and method for reproducing the same
CN101390165B (en) Reproducing device for optical type recording medium, reproducing method for optical type recording medium
CN103716573A (en) Video playback method and device
KR100302499B1 (en) Broadcasting program playback management information generation method and playlist automatic generation method and device
US8433181B2 (en) Apparatus and method for recording digital multimedia broadcasting
KR20040070374A (en) Multimedia-contents-searching apparatus and method for the exclusive use of TV
CN101057276A (en) Recording medium, method for searching for content data from the recording medium, and method and apparatus for reproducing data from the recording medium
CN101896975A (en) Method and apparatus for reproducing data
CN101015012B (en) Apparatus for reproducing AV data
CN101742071B (en) Method for recording various formats of video by optical disk type video record-replay set top box
CN1902706B (en) Method and apparatus for generating an electronic menu
CN101521784A (en) Method and apparatus for reproducing image
KR100582500B1 (en) Automatic Playlist Creation Method and Apparatus According to Program Rating
CN101901614B (en) Method for executing application on a plurality of information storage medium
US20090097826A1 (en) Method and apparatus for recording content and application corresponding to the content, and method and apparatus for reproducing the content
WO2004109689A1 (en) Method for providing audio rendition and storage medium recording the same thereon
CN101015016A (en) Method and apparatus for enabling optical disc played in a particular logical format

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant