CN102446526A - Sound track sharing method and system - Google Patents

Sound track sharing method and system Download PDF

Info

Publication number
CN102446526A
CN102446526A CN2010105087395A CN201010508739A CN102446526A CN 102446526 A CN102446526 A CN 102446526A CN 2010105087395 A CN2010105087395 A CN 2010105087395A CN 201010508739 A CN201010508739 A CN 201010508739A CN 102446526 A CN102446526 A CN 102446526A
Authority
CN
China
Prior art keywords
cryptographic hash
audio track
video file
track files
characteristic 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.)
Granted
Application number
CN2010105087395A
Other languages
Chinese (zh)
Other versions
CN102446526B (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 CN201010508739.5A priority Critical patent/CN102446526B/en
Publication of CN102446526A publication Critical patent/CN102446526A/en
Application granted granted Critical
Publication of CN102446526B publication Critical patent/CN102446526B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

The invention relates to a sound track sharing method, which comprises the following steps that: a hash value of a play file is calculated according to the play file; and a sound track file corresponding to the play file is transmitted according to the play file hash value, and a sound track file hash value and a video file hash value, which are previously stored on a server end. In the sound track sharing method and the sound track sharing system, through the hash value of the play file, the sound track file corresponding to the play file is transmitted, so the uploading and downloading of the sound track file corresponding to the play file can be realized, and the sound track file is more convenient and rapider to search and listen.

Description

Track is shared method and system
[technical field]
The present invention relates to the media play technology, particularly relate to a kind of track and share method and system.
[background technology]
In traditional video file playing process, generally also need plug-in different audio track files, for example,,, can realize through the mode of plug-in audio track files in order to convert thereof into Chinese film if video file is English film.
Traditional player provides the function that loads audio track files; When user's playing video file, can load local storage or in the audio track files of specified path, still; If audio track files is not stored in video file this locality that the user play, then need search for and download audio track files.
Yet the audio track files of video file is recorded, is searched for modes such as download and obtains through manual work, and the process that its manual work is recorded is loaded down with trivial details; And the technical ability that needs specialty; The user is difficult for obtaining, and under the effect through search engine, finds in the obtain manner of this audio track files and download, usually need in the search information of magnanimity, search; Can't realize the instant loading of user's audio track files at once, and can't guarantee that the audio track files that downloads to is complete errorless.
[summary of the invention]
Based on this, be necessary to provide a kind of track more easily to share method.
In addition, also be necessary to provide a kind of shared system of track more easily.
A kind of track is shared method, comprises the steps: according to played file, calculates the played file cryptographic hash; Upload said played file cryptographic hash to server end; According to the audio track files cryptographic hash and the video file cryptographic hash of said played file cryptographic hash and server end pre-stored, transmission and the corresponding audio track files of said played file.
Preferably, the concrete steps of said calculating played file cryptographic hash are: get preset byte at head, centre and the afterbody of said played file respectively, and mapping obtains merging after the cryptographic hash respectively, obtains said played file cryptographic hash.
Preferably; Said played file is that video file reaches and the corresponding audio track files of said video file; Said according to played file; The concrete steps of calculating the played file cryptographic hash are: calculate said video file cryptographic hash and audio track files cryptographic hash, and gather video file characteristic information and audio track files characteristic information; Upload said video file cryptographic hash and characteristic information thereof, audio track files cryptographic hash and characteristic information thereof.
Preferably; Said calculating video file cryptographic hash and audio track files cryptographic hash; And the step of gathering video file characteristic information and audio track files characteristic information also comprises afterwards: whether reproduction time or the playing progress rate of judging said audio track files are then to upload said video file cryptographic hash and characteristic information thereof, audio track files cryptographic hash and characteristic information thereof greater than predetermined threshold value; Otherwise, then finish.
Preferably, said audio track files cryptographic hash and video file cryptographic hash according to said played file cryptographic hash and server end pre-stored, transmission with the concrete steps of the corresponding audio track files of said played file is: A1, with said audio track files cryptographic hash one by one with the audio track files cryptographic hash of pre-stored relatively; Judge whether identical; Be, then get into steps A 2, otherwise; Then upload audio track files, add getting into steps A 2 behind the said audio track files characteristic information; A2, with said video file cryptographic hash one by one with the video file cryptographic hash of pre-stored relatively; Judge whether identical; Be, the degree of association of the video file characteristic information of the said pre-stored that then adds up and the audio track files characteristic information of pre-stored, otherwise; Then add said video file characteristic information, and set up audio track files characteristic information related of said video file characteristic information and said pre-stored.
Preferably, said played file is a video file, and is said according to played file, and the concrete steps of calculating the played file cryptographic hash are: calculate the cryptographic hash of said video file, and gather the video file characteristic information; Upload the cryptographic hash and the characteristic information thereof of said video file.
Preferably; Said audio track files cryptographic hash and video file cryptographic hash according to said played file cryptographic hash and server end pre-stored, transmission with the concrete steps of the corresponding audio track files of said played file is: B1, with said video file cryptographic hash one by one with the video file cryptographic hash of pre-stored relatively, judge whether identical; Be; Then according to the degree of association to the ordering of the video file characteristic information of pre-stored, get the comparative result of predetermined number by order from big to small, and download corresponding audio track files according to said comparative result; Otherwise, then get into step B2; B2, carry out fuzzy query, Query Result is sorted, get the Query Result of predetermined number, and download audio track files according to said Query Result by order from big to small according to matching degree according to said video file characteristic information.
Preferably, also comprise after the step of said B2: play said audio track files, accumulative total broadcasting time and each reproduction time; Whether judgement each reproduction time in preset broadcasting time is then to delete the audio track files of pre-stored all less than preset reproduction time; Otherwise, then finish.
A kind of track shared system is characterized in that, comprises at least: player, be used for according to played file, and calculate and upload the played file cryptographic hash, upload or download and the corresponding audio track files of played file through said played file cryptographic hash.
Preferably, said player is got preset byte at head, centre and the afterbody of said played file respectively, and mapping obtains merging after the cryptographic hash respectively, obtains said played file cryptographic hash.
Preferably; Said played file is that video file reaches and the corresponding audio track files of said video file; Said player comprises: first processing module is used to calculate said video file cryptographic hash and audio track files cryptographic hash, and gathers video file characteristic information and audio track files characteristic information; Last transmission module is used for uploaded videos file cryptographic hash and characteristic information thereof, audio track files cryptographic hash and characteristic information and audio track files.
Preferably; Said player also comprises adjusting module; Said adjusting module is used to judge that reproduction time or the playing progress rate of said audio track files whether greater than predetermined threshold value, are then said transmission module uploaded videos file cryptographic hash and characteristic information, audio track files cryptographic hash and the characteristic information thereof gone up; Otherwise, then stop to carry out.
Preferably, said played file is a video file, and said player comprises: first processing module is used to calculate the cryptographic hash of said video file, and gathers the video file characteristic information; Interactive module is used to upload the cryptographic hash and the characteristic information thereof of said video file and download and the corresponding audio track files of said video file.
Preferably, also comprise server, said server is used for according to the audio track files cryptographic hash of played file cryptographic hash and pre-stored and video file cryptographic hash, the corresponding audio track files of reception or transmission and played file.
Preferably, said server comprises track inspection module, receiver module and medium inspection module; Said track inspection module; Be used for said audio track files cryptographic hash one by one with the audio track files cryptographic hash of pre-stored relatively, judge whether identically, be; Then said medium inspection module is obtained the video file cryptographic hash; Otherwise after then said receiver module received said audio track files and adds the audio track files characteristic information, medium inspection module was set up related; Said medium inspection module; Be used for said video file cryptographic hash one by one with the video file cryptographic hash of pre-stored relatively, judge whether identically, be; The degree of association of the video file characteristic information of the said pre-stored that then adds up and the audio track files characteristic information of pre-stored; Otherwise, then add said video file characteristic information, and set up audio track files characteristic information related of said video file characteristic information and said pre-stored.
Preferably, said server comprises accurate enquiry module and fuzzy query module, said accurate enquiry module; Be used for said video file cryptographic hash one by one with the video file cryptographic hash of pre-stored relatively; Judge whether identically, be, then according to the video file characteristic information ordering of the degree of association pre-stored; Get the comparative result of predetermined number by order from big to small; And download corresponding audio track files according to said comparative result, otherwise then said fuzzy query module is carried out fuzzy query to said video file characteristic information; Said fuzzy query module is used for carrying out fuzzy query according to said video file characteristic information, according to matching degree Query Result is sorted, and gets the Query Result of predetermined number by order from big to small, and returns said Query Result for download.
Preferably, said server also comprises: the verification module is used to play said audio track files; Accumulative total broadcasting time and each reproduction time; Whether judgement each reproduction time in preset broadcasting time is then to delete the audio track files of pre-stored all less than preset reproduction time; Otherwise, then stop to carry out.
Above-mentioned track is shared in the method and system; Cryptographic hash through played file; Carry out the transmission with the corresponding audio track files of this played file, realized and the uploading and downloading of the corresponding audio track files of played file, make to search and listen the track file more convenient, more convenient.
Above-mentioned track is shared in the method and system, through the audio track files cryptographic hash is compared with the audio track files cryptographic hash of pre-stored one by one, has guaranteed that the audio track files of uploading does not repeat, and has saved storage resources effectively.
[description of drawings]
Fig. 1 shares the process flow diagram of method for track;
Fig. 2 is the played file hash calculation synoptic diagram of an embodiment;
Fig. 3 is the process flow diagram that the track of an embodiment is shared method;
Fig. 4 is the structure information storage of an embodiment;
Fig. 5 is the degree of association accumulation synoptic diagram of an embodiment;
Fig. 6 is the related synoptic diagram of the foundation of an embodiment;
Fig. 7 is the process flow diagram that the track of another embodiment is shared method;
Fig. 8 is the graph of a relation of video file and audio track files among the embodiment;
Fig. 9 is the comparative result synoptic diagram of an embodiment;
Figure 10 is the synoptic diagram of track shared system among the embodiment;
Figure 11 is the synoptic diagram of player among the embodiment;
Figure 12 is the synoptic diagram of server among the embodiment;
Figure 13 is the synoptic diagram of player among another embodiment;
Figure 14 is the synoptic diagram of server among another embodiment.
[embodiment]
Fig. 1 shows the method flow that track is shared, and comprises the steps:
In step S10,, calculate the played file cryptographic hash according to played file.In the present embodiment, the process of calculating the played file cryptographic hash specifically: get preset byte at head, centre and the afterbody of played file respectively, and mapping obtains merging after the cryptographic hash respectively, obtains the played file cryptographic hash.Cryptographic hash (HASH) is the numerical value that the data according to file obtain through logical operation; Different files, even identical filename, the cryptographic hash that is calculated is inequality; Therefore, the identical pairing played file content of played file cryptographic hash is identical certainly.Particularly; Played file is all bigger usually; This played file is calculated cryptographic hash can adopt segmentation cryptographic hash algorithm, as shown in Figure 2,512 bytes of played file head, 512 bytes of played file afterbody and 512 bytes in the middle of the played file are calculated cryptographic hash respectively; And merge, obtain whole played file cryptographic hash.Played file can be current video file of playing that is packaged together and corresponding audio track files, also can be the independent video file of current broadcast, can also be the audio track files that current video file of playing and user add voluntarily.In preferred embodiment, video file in the played file and audio track files are the separate computations cryptographic hash.For example; The file of the current broadcast of user " anti-terrorism special policeman group " by name; This played file is packaged together video file and corresponding audio track files, and still, the language in the audio track files of " anti-terrorism special policeman group " is an English; Therefore the user has loaded the Chinese audio track files of " anti-terrorism special policeman group " again, thereby changes the language that is broadcasted.At this moment, the cryptographic hash of calculating played file cryptographic hash can be calculated the cryptographic hash of video file and Chinese audio track files respectively.
In step S20, upload the played file cryptographic hash to server end.In the present embodiment, with the played file cryptographic hash end that uploads onto the server, so that know like clockwork in follow-up track shared procedure whether the played file of pre-stored in played file and the server end is consistent.
In step S30, according to the audio track files cryptographic hash and the video file cryptographic hash of played file cryptographic hash and server end pre-stored, transmission and the corresponding audio track files of played file.In the present embodiment, played file can only be independent video file, also can be video file and user load with the corresponding audio track files of this video file.If played file is independent video file; Then according to the video file cryptographic hash of played file cryptographic hash and server end pre-stored; The corresponding audio track files of the video file of searching and downloading and play; Promptly find video file cryptographic hash identical on the server, find corresponding audio track files according to the video file cryptographic hash again with the played file cryptographic hash; If played file is video file and user load with the corresponding audio track files of this video file; Then audio track files cryptographic hash and the video file cryptographic hash according to played file cryptographic hash and server end pre-stored determines whether to upload; For the server end situation of this audio track files not, then upload with played file in audio track files so that share with other users; For server end the situation of this audio track files is arranged, then can not upload.Audio track files can be dts (Digital Theatre System; The digitizing cinema system), ac3 (Audio Coding 3; Dolby Digital), mp3 (Moving Picture Experts Group Audio Layer III; Dynamic image expert compression standard audio frequency aspect 3), the track of aac forms such as (Advanced Audio Coding, Advanced Audio Codings).
Fig. 3 shows the shared method flow of track of an embodiment, comprises the steps:
In step S101, calculate video file cryptographic hash and audio track files cryptographic hash, and gather video file characteristic information and audio track files characteristic information.In the present embodiment, current played file is video file and audio track files, and at this moment, the user according to preset system's setting, carries out the calculating of video file cryptographic hash and audio track files cryptographic hash at the video files such as film of broadcast with plug-in audio track files.Particularly, to be provided with can be in " acquiescence is agreed ", " acquiescence is disagreed with ", " the prompting user selects " these three kinds of modes any one for preset system.The video file characteristic information has write down information such as video file name, video file size and video file duration, and the audio track files characteristic information has write down fileinfos such as audio track files name, audio track files type.
Among another embodiment, further comprising the steps of after the step S101:
Whether reproduction time or the playing progress rate of judging audio track files greater than predetermined threshold value are, then uploaded videos file cryptographic hash and characteristic information thereof, audio track files cryptographic hash and characteristic information thereof, otherwise, then finish.In the present embodiment, more mate in order to make audio track files and video file, promptly audio track files is more near the broadcast scene in the video file; Reduce uploading of useless audio track files, need to guarantee that audio track files to be uploaded is corresponding with video file, for example; After the user has loaded an audio track files, listened, find not want; Just changed another audio track files, at this moment, that previous audio track files just should not be and the corresponding audio track files of video file.To above-mentioned situation; Reproduction time or playing progress rate to audio track files are judged; To know that this reproduction time or playing progress rate whether greater than predetermined threshold value, are, then uploaded videos file cryptographic hash and characteristic information thereof, audio track files cryptographic hash and characteristic information thereof.Predetermined threshold value is an empirical value, can adjust neatly according to actual conditions.For example; After a film and plug-in audio track files thereof have been play 10 minutes; After perhaps having play 10%; Just can think that this audio track files is corresponding with film, if the user reproduction time less than 10 minutes or play less than 10% in just changed audio track files, then think the audio track files play be problematic.
In step S102, uploaded videos file cryptographic hash and characteristic information thereof, audio track files cryptographic hash and characteristic information thereof are to server end.In the present embodiment, video file cryptographic hash of being uploaded and characteristic information thereof, audio track files cryptographic hash and characteristic information thereof are stored in server end, and message structure can be as shown in Figure 4.
In step S103, with the audio track files cryptographic hash of uploading one by one with the audio track files cryptographic hash of pre-stored relatively, judge whether identically, be, then get into step S105, otherwise, then get into step S104.In the present embodiment, with the audio track files cryptographic hash of uploading one by one with the audio track files cryptographic hash of pre-stored relatively, to check in the audio track files cryptographic hash of all pre-stored; The audio track files cryptographic hash that the audio track files cryptographic hash that whether has and upload is identical; Be, then get into step S105, otherwise; Then think all not identical in the audio track files cryptographic hash of pre-stored with the audio track files cryptographic hash of uploading; The audio track files that is pre-stored is all inequality with this audio track files, therefore this audio track files is uploaded, to share this audio track files to other users.
In step S104, upload audio track files, add the audio track files characteristic information.In the present embodiment, the audio track files characteristic information has write down information such as audio track files name, audio track files type.
In step S105, with the video file cryptographic hash one by one with the video file cryptographic hash of pre-stored relatively, judge whether identically, be, then get into step S106, otherwise, then get into step S107.In the present embodiment, for each audio track files of having uploaded whether video file cryptographic hash corresponding with it is arranged in the video file cryptographic hash of all pre-stored, so that set up the related of audio track files characteristic information and video file characteristic information for understanding; Convenient in the process of follow-up shared audio track files this audio track files is accessed, with the video file cryptographic hash one by one with the video file cryptographic hash of pre-stored relatively, judge whether identical; Be, then explaining for audio track files has corresponding video file information and association, the degree of association of the video file characteristic information of the pre-stored that adds up and the audio track files characteristic information of pre-stored; As shown in Figure 5, if the original degree of association is 1, then be on the original degree of association, to add 1 now; Obtaining the degree of association is 2, otherwise, explain that then audio track files does not have corresponding video file characteristic information; The user can not recognize what the pairing video file of this audio track files is, is not easy to select suitable audio track files, therefore needs to add the video file characteristic information; And set up audio track files characteristic information related of video file characteristic information and pre-stored; As shown in Figure 6, owing to be to set up record first, the degree of association is 1.
In step S106, the degree of association of the video file characteristic information of the pre-stored that adds up and the audio track files characteristic information of pre-stored.
In step S107, add the video file characteristic information, and set up audio track files characteristic information related of video file characteristic information and pre-stored.
Fig. 7 shows the shared method flow of track of another embodiment, and current played file is a video file, and then this method comprises the steps:
In step S201, calculate the video file cryptographic hash, and gather the video file characteristic information.
In step S202, uploaded videos file cryptographic hash and characteristic information thereof.
In step S203, with the video file cryptographic hash one by one with the video file cryptographic hash of pre-stored relatively, judge whether identically, be, then get into step S204, otherwise, then get into step S205.In the present embodiment, the corresponding relation of video file and audio track files is as shown in Figure 8, is the relation of multi-to-multi; Promptly video file may be corresponding a plurality of audio track files; For example, a video file can be corresponding the audio track files of English, also can be corresponding the audio track files of Chinese.Audio track files also can be corresponding a plurality of different video files, for example, the corresponding same audio track files of the video file of a plurality of different editions.The degree of association has been represented the correlation degree between video file and the audio track files.For obtaining and the corresponding audio track files of the video file of the current broadcast of user, according to the video file cryptographic hash of uploading, with the video file cryptographic hash one by one with the video file cryptographic hash of pre-stored relatively; Judging whether identically, is then to sort according to the video file characteristic information of the degree of association to pre-stored; Get the comparative result of predetermined number by order from big to small; In a preferred embodiment, can comparative result be returned to the user, and according to relatively selecting and download corresponding audio track files; Otherwise, then get into step S204.
In step S204, to the ordering of the video file characteristic information of pre-stored, get the comparative result of predetermined number according to the degree of association, and download corresponding audio track files according to comparative result by order from big to small.In the present embodiment, comparative result is as shown in Figure 9.
In step S205, carry out fuzzy query according to the video file characteristic information, according to matching degree Query Result is sorted, get the Query Result of predetermined number by order from small to large, and download audio track files according to Query Result.In the present embodiment; Owing to do not look for the pre-stored video file cryptographic hash identical with the video file cryptographic hash; Therefore need the video file characteristic information of pre-stored to be carried out fuzzy query according to the video file characteristic information of uploading; Search out the highest Query Result of matching degree, and result for retrieval is returned to the user, so that download audio track files according to Query Result.
Among another embodiment, further comprising the steps of after step S205:
Play audio track files, accumulative total broadcasting time and each reproduction time judge that reproduction time each in preset broadcasting time whether all less than preset reproduction time, is, then delete the audio track files of pre-stored, otherwise, then finish.In the present embodiment, for the audio track files that download is provided to the user, whether audio track files of promptly uploading and corresponding media information are weighed effective through number of times and each time of playing of being called by other users.If push to other user's audio track files, the user changes in the very short time after selecting and downloading, and thinks that then this audio track files possibly be invalid.
Figure 10 shows the track shared system of an embodiment, and this system comprises player 10 and server 20, wherein:
Player 10 is used for according to played file, calculates and upload the played file cryptographic hash, uploads or download and the corresponding audio track files of played file through the played file cryptographic hash.In the present embodiment, player 10 is got preset byte at head, centre and the afterbody of played file respectively, and mapping obtains merging after the cryptographic hash respectively, obtains the played file cryptographic hash.As previously mentioned, the played file that player 10 is play can be current video file of playing and corresponding audio track files, also can be the video file of current broadcast.
Server 20 is used for audio track files cryptographic hash and video file cryptographic hash according to played file cryptographic hash and server 20 pre-stored, the corresponding audio track files of reception or transmission and played file.In the present embodiment, played file can only be independent video file, also can be video file and user load with the corresponding audio track files of this video file.If played file is independent video file; Then server 20 is according to the video file cryptographic hash of pre-stored in played file cryptographic hash and the server 20; The corresponding audio track files of the video file of searching and downloading and play; Promptly find video file cryptographic hash identical on the server 20, find corresponding audio track files according to the video file cryptographic hash again with the played file cryptographic hash; If played file is video file and user load with the corresponding audio track files of this video file; Then server 20 determines whether to upload according to the audio track files cryptographic hash and the video file cryptographic hash of played file cryptographic hash and server 20 pre-stored; For the situation of this audio track files not in the server 20, then upload with played file in audio track files so that share with other users; For the situation that this audio track files is arranged in the server 20, then can not upload.
Figure 11 shows the player of an embodiment, and this player 10 comprises first processing module 102 and last transmission module 104, wherein:
First processing module 102 is used to calculate video file cryptographic hash and audio track files cryptographic hash, and gathers video file characteristic information and audio track files characteristic information.In the present embodiment; Current played file is video file and audio track files, and at this moment, the user is at the video files such as film of broadcast with plug-in audio track files; First processing module 102 is carried out the calculating of video file cryptographic hash and audio track files cryptographic hash according to preset system's setting.The video file characteristic information has write down information such as video file name, video file length and video file duration, and the audio track files characteristic information has write down information such as audio track files name, audio track files type.It can be in " acquiescence is agreed ", " acquiescence is disagreed with ", " the prompting user selects " these three kinds of modes any one that preset system is provided with.
Among other embodiment; Above-mentioned player 10 also comprises adjusting module; This adjusting module is used to judge that reproduction time or the playing progress rate of audio track files whether greater than predetermined threshold value, are then to go up transmission module uploaded videos file cryptographic hash and characteristic information thereof, audio track files cryptographic hash and characteristic information thereof; Otherwise, then stop to carry out.In the present embodiment, more mate in order to make audio track files and video file, promptly audio track files reduces uploading of useless audio track files more near the broadcast scene in the video file, needs to guarantee that audio track files to be uploaded is corresponding with video file.Predetermined threshold value is an empirical value, can adjust neatly according to actual conditions.
Last transmission module 104 is used for uploaded videos file cryptographic hash and characteristic information thereof, audio track files cryptographic hash and characteristic information and audio track files.
Figure 12 shows the server of an embodiment, and this server 20 comprises track inspection module 202, medium inspection module 204 and receiver module 206, wherein:
Track inspection module 202; Be used for the audio track files cryptographic hash of uploading one by one with the audio track files cryptographic hash of pre-stored relatively, judge whether identically, be; Then medium inspection module 204 is obtained the video file cryptographic hash; Otherwise after then receiver module 206 received audio track files and adds the audio track files characteristic information, medium inspection module 204 was set up related.In the present embodiment; Track inspection module 202 with the audio track files cryptographic hash of uploading one by one with the audio track files cryptographic hash of pre-stored relatively; To check in the audio track files cryptographic hash of all pre-stored, whether the audio track files cryptographic hash identical with the audio track files cryptographic hash of uploading is arranged, be; Then medium inspection module 204 is obtained the video file cryptographic hash; Otherwise, think that then the audio track files cryptographic hash of pre-stored is all not identical with the audio track files cryptographic hash of uploading, promptly all inequality in the audio track files of pre-stored with this audio track files; Therefore after receiver module 206 received audio track files and adds the audio track files characteristic information, medium inspection module 204 was set up the related of audio track files characteristic information and video file characteristic information.
Medium inspection module 204; Be used for the video file cryptographic hash one by one with the video file cryptographic hash of pre-stored relatively, judge whether identically, be; The degree of association of the video file characteristic information of the pre-stored that then adds up and the audio track files characteristic information of pre-stored; Otherwise, then add the video file characteristic information, and set up audio track files characteristic information related of video file characteristic information and pre-stored.In the present embodiment; Medium inspections module 204 with the video file cryptographic hash one by one with the video file cryptographic hash of pre-stored relatively, judge whether identically, be; Then explain for audio track files corresponding video file information and association are arranged; The degree of association of the video file characteristic information of the pre-stored that adds up and the audio track files characteristic information of pre-stored, otherwise, explain that then audio track files does not have corresponding video file characteristic information; The user can not recognize what the pairing video file of this audio track files is; Therefore be not easy to select suitable audio track files, need to add the video file characteristic information, and set up audio track files characteristic information related of video file characteristic information and pre-stored.
Figure 13 shows the player among another embodiment, and player 10 comprises second processing module 106 and interactive module 108.
Second processing module 106 is used to calculate the cryptographic hash of video file, and gathers the video file characteristic information.
Interactive module 108 is used for the cryptographic hash and the characteristic information thereof of uploaded videos file and download and the corresponding audio track files of video file.
Figure 14 shows the server among another embodiment, and this server 20 comprises accurate enquiry module 207 and fuzzy query module 208.
Accurate enquiry module 207, be used for the video file cryptographic hash one by one with the video file cryptographic hash of pre-stored relatively, judge whether identical; Be; Then according to the degree of association to the ordering of the video file characteristic information of pre-stored, get the comparative result of predetermined number by order from big to small, and download corresponding audio track files according to comparative result; Otherwise then 208 pairs of video file characteristic informations of fuzzy query module carry out fuzzy query.In the present embodiment, accurately enquiry module 207 is for to obtain and the corresponding audio track files of the video file of the current broadcast of user, according to the video file cryptographic hash of uploading; With the video file cryptographic hash one by one with the video file cryptographic hash of pre-stored relatively, judge whether identically, be; Then sort, get the comparative result of predetermined number by order from big to small, in a preferred embodiment according to the video file characteristic information of the degree of association to pre-stored; Can comparative result be returned to the user; And according to relatively selecting and download corresponding audio track files, otherwise then 208 pairs of video file characteristic informations of fuzzy query module carry out fuzzy query.
Fuzzy query module 208 is used for carrying out fuzzy query according to the video file characteristic information, according to matching degree Query Result is sorted, and gets the Query Result of predetermined number by order from big to small, and returns Query Result for download.In the present embodiment; The video file characteristic information that fuzzy query module 208 foundations are uploaded carries out fuzzy query to the video file characteristic information of pre-stored; Search out the highest Query Result of matching degree, and result for retrieval is returned to the user, so that download audio track files according to Query Result.
Among other embodiment, above-mentioned server 20 also comprises the verification module, and this verification module is used to play audio track files; Accumulative total broadcasting time and each reproduction time; Whether judgement each reproduction time in preset broadcasting time is then to delete the audio track files of pre-stored all less than preset reproduction time; Otherwise, then stop to carry out.
Above-mentioned track is shared in the method and system; Cryptographic hash through played file; Carry out the transmission with the corresponding audio track files of this played file, realized and the uploading and downloading of the corresponding audio track files of played file, make to search and listen the track file more convenient, more convenient.
Above-mentioned track is shared in the method and system, through the audio track files cryptographic hash is compared with the audio track files cryptographic hash of pre-stored one by one, has guaranteed that the audio track files of uploading does not repeat, and has saved storage resources effectively.
The above embodiment has only expressed several kinds of embodiments of the present invention, and it describes comparatively concrete and detailed, but can not therefore be interpreted as the restriction to claim of the present invention.Should be pointed out that for the person of ordinary skill of the art under the prerequisite that does not break away from the present invention's design, can also make some distortion and improvement, these all belong to protection scope of the present invention.Therefore, the protection domain of patent of the present invention should be as the criterion with accompanying claims.

Claims (17)

1. a track is shared method, comprises the steps:
According to played file, calculate the played file cryptographic hash;
Upload said played file cryptographic hash to server end;
According to the audio track files cryptographic hash and the video file cryptographic hash of said played file cryptographic hash and server end pre-stored, transmission and the corresponding audio track files of said played file.
2. track according to claim 1 is shared method, it is characterized in that, the concrete steps of said calculating played file cryptographic hash are:
Get preset byte at head, centre and the afterbody of said played file respectively, and mapping obtains merging after the cryptographic hash respectively, obtains said played file cryptographic hash.
3. track according to claim 1 is shared method, it is characterized in that, said played file is that video file reaches and the corresponding audio track files of said video file, and said according to played file, the concrete steps of calculating the played file cryptographic hash are:
Calculate said video file cryptographic hash and audio track files cryptographic hash, and gather video file characteristic information and audio track files characteristic information;
Upload said video file cryptographic hash and characteristic information thereof, audio track files cryptographic hash and characteristic information thereof to server end.
4. track according to claim 3 is shared method, it is characterized in that, and said calculating video file cryptographic hash and audio track files cryptographic hash, and also comprise after the step of collection video file characteristic information and audio track files characteristic information:
Whether reproduction time or the playing progress rate of judging said audio track files greater than predetermined threshold value are, then upload said video file cryptographic hash and characteristic information thereof, audio track files cryptographic hash and characteristic information thereof, otherwise, then finish.
5. track according to claim 3 is shared method; It is characterized in that; Said audio track files cryptographic hash and video file cryptographic hash according to said played file cryptographic hash and server end pre-stored, transmission with the concrete steps of the corresponding audio track files of said played file is:
A1, with said audio track files cryptographic hash one by one with the audio track files cryptographic hash of pre-stored relatively, judge whether identically, be, then get into steps A 2, otherwise, then upload audio track files, get into steps A 2 after adding said audio track files characteristic information;
A2, with said video file cryptographic hash one by one with the video file cryptographic hash of pre-stored relatively; Judge whether identical; Be, the degree of association of the video file characteristic information of the said pre-stored that then adds up and the audio track files characteristic information of pre-stored, otherwise; Then add said video file characteristic information, and set up audio track files characteristic information related of said video file characteristic information and said pre-stored.
6. track according to claim 1 is shared method, it is characterized in that, said played file is a video file, and is said according to played file, and the concrete steps of calculating the played file cryptographic hash are:
Calculate the cryptographic hash of said video file, and gather the video file characteristic information;
Upload the cryptographic hash and the characteristic information thereof of said video file.
7. track according to claim 6 is shared method; It is characterized in that; Said audio track files cryptographic hash and video file cryptographic hash according to said played file cryptographic hash and server end pre-stored, transmission with the concrete steps of the corresponding audio track files of said played file is:
B1, with said video file cryptographic hash one by one with the video file cryptographic hash of pre-stored relatively; Judge whether identically, be, then according to the video file characteristic information ordering of the degree of association pre-stored; Get the comparative result of predetermined number by order from big to small; And download corresponding audio track files according to said comparative result, otherwise, step B2 then got into;
B2, carry out fuzzy query, Query Result is sorted, get the Query Result of predetermined number, and download audio track files according to said Query Result by order from big to small according to matching degree according to said video file characteristic information.
8. track according to claim 7 is shared method, it is characterized in that, also comprises after the step of said B2:
Play said audio track files, accumulative total broadcasting time and each reproduction time judge that reproduction time each in preset broadcasting time whether all less than preset reproduction time, is, then delete the audio track files of pre-stored, otherwise, then finish.
9. a track shared system is characterized in that, comprises at least:
Player is used for according to played file, calculates and upload the played file cryptographic hash, uploads or download and the corresponding audio track files of played file through said played file cryptographic hash.
10. track shared system according to claim 9 is characterized in that, said player is got preset byte at head, centre and the afterbody of said played file respectively, and mapping obtains merging after the cryptographic hash respectively, obtains said played file cryptographic hash.
11. track shared system according to claim 9 is characterized in that, said played file is that video file reaches and the corresponding audio track files of said video file, and said player comprises:
First processing module is used to calculate said video file cryptographic hash and audio track files cryptographic hash, and gathers video file characteristic information and audio track files characteristic information;
Last transmission module is used for uploaded videos file cryptographic hash and characteristic information thereof, audio track files cryptographic hash and characteristic information and audio track files.
12. track shared system according to claim 11; It is characterized in that said player also comprises adjusting module, said adjusting module is used to judge that whether reproduction time or the playing progress rate of said audio track files are greater than predetermined threshold value; Be; Then said transmission module uploaded videos file cryptographic hash and characteristic information, audio track files cryptographic hash and the characteristic information thereof gone up, otherwise, then stop to carry out.
13. track shared system according to claim 9 is characterized in that, said played file is a video file, and said player comprises:
First processing module is used to calculate the cryptographic hash of said video file, and gathers the video file characteristic information;
Interactive module is used to upload the cryptographic hash and the characteristic information thereof of said video file and download and the corresponding audio track files of said video file.
14. track shared system according to claim 11; It is characterized in that; Also comprise server, said server is used for according to the audio track files cryptographic hash of played file cryptographic hash and pre-stored and video file cryptographic hash, the corresponding audio track files of reception or transmission and played file.
15. track shared system according to claim 14 is characterized in that, said server comprises track inspection module, receiver module and medium inspection module;
Said track inspection module; Be used for said audio track files cryptographic hash one by one with the audio track files cryptographic hash of pre-stored relatively, judge whether identically, be; Then said medium inspection module is obtained the video file cryptographic hash; Otherwise after then said receiver module received said audio track files and adds the audio track files characteristic information, medium inspection module was set up related;
Said medium inspection module; Be used for said video file cryptographic hash one by one with the video file cryptographic hash of pre-stored relatively, judge whether identically, be; The degree of association of the video file characteristic information of the said pre-stored that then adds up and the audio track files characteristic information of pre-stored; Otherwise, then add said video file characteristic information, and set up audio track files characteristic information related of said video file characteristic information and said pre-stored.
16. track shared system according to claim 13 is characterized in that, said server comprises accurate enquiry module and fuzzy query module,
Said accurate enquiry module, be used for said video file cryptographic hash one by one with the video file cryptographic hash of pre-stored relatively, judge whether identical; Be; Then according to the degree of association to the ordering of the video file characteristic information of pre-stored, get the comparative result of predetermined number by order from big to small, and download corresponding audio track files according to said comparative result; Otherwise then said fuzzy query module is carried out fuzzy query to said video file characteristic information;
° said fuzzy query module is used for carrying out fuzzy query according to said video file characteristic information, according to matching degree Query Result is sorted, and gets the Query Result of predetermined number by order from big to small, and returns said Query Result for download.
17. track shared system according to claim 16 is characterized in that, said server also comprises:
The verification module is used to play said audio track files, and accumulative total broadcasting time and each reproduction time judge that reproduction time each in preset broadcasting time whether all less than preset reproduction time, is, then delete the audio track files of pre-stored, otherwise, then stop to carry out.
CN201010508739.5A 2010-10-14 2010-10-14 Sound track sharing method and system Active CN102446526B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201010508739.5A CN102446526B (en) 2010-10-14 2010-10-14 Sound track sharing method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201010508739.5A CN102446526B (en) 2010-10-14 2010-10-14 Sound track sharing method and system

Publications (2)

Publication Number Publication Date
CN102446526A true CN102446526A (en) 2012-05-09
CN102446526B CN102446526B (en) 2015-07-01

Family

ID=46008967

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201010508739.5A Active CN102446526B (en) 2010-10-14 2010-10-14 Sound track sharing method and system

Country Status (1)

Country Link
CN (1) CN102446526B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105898354A (en) * 2015-12-07 2016-08-24 乐视云计算有限公司 Video file multi-audio-track storage method and device
CN109670075A (en) * 2018-12-13 2019-04-23 福建天晴数码有限公司 A kind of video file degrees of overtness calculation method and server-side

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040249859A1 (en) * 2003-03-14 2004-12-09 Relatable, Llc System and method for fingerprint based media recognition
CN1860481A (en) * 2003-09-30 2006-11-08 皇家飞利浦电子股份有限公司 Using content identifiers to download cd-cover pictures to represent audio content items
CN101281766A (en) * 2007-04-03 2008-10-08 索尼株式会社 Information processing apparatus, information processing method and computer program
CN101542484A (en) * 2006-11-30 2009-09-23 皇家飞利浦电子股份有限公司 Arrangement for comparing content identifiers of files
CN101841540A (en) * 2010-04-22 2010-09-22 彭永 Method for issuing multimedia contents based on Hash function algorithm

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040249859A1 (en) * 2003-03-14 2004-12-09 Relatable, Llc System and method for fingerprint based media recognition
CN1860481A (en) * 2003-09-30 2006-11-08 皇家飞利浦电子股份有限公司 Using content identifiers to download cd-cover pictures to represent audio content items
CN101542484A (en) * 2006-11-30 2009-09-23 皇家飞利浦电子股份有限公司 Arrangement for comparing content identifiers of files
CN101281766A (en) * 2007-04-03 2008-10-08 索尼株式会社 Information processing apparatus, information processing method and computer program
CN101841540A (en) * 2010-04-22 2010-09-22 彭永 Method for issuing multimedia contents based on Hash function algorithm

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105898354A (en) * 2015-12-07 2016-08-24 乐视云计算有限公司 Video file multi-audio-track storage method and device
CN109670075A (en) * 2018-12-13 2019-04-23 福建天晴数码有限公司 A kind of video file degrees of overtness calculation method and server-side
CN109670075B (en) * 2018-12-13 2020-12-22 福建天晴数码有限公司 Video file disclosure calculation method and server

Also Published As

Publication number Publication date
CN102446526B (en) 2015-07-01

Similar Documents

Publication Publication Date Title
US11663283B2 (en) Apparatus, systems and methods for content playlist based on user location
US20200280696A1 (en) Network Storage Device and Method
US11019125B2 (en) Similar introduction advertising caching mechanism
US8086611B2 (en) Parametric analysis of media metadata
CN111447505B (en) Video clipping method, network device, and computer-readable storage medium
US20110258211A1 (en) System and method for synchronous matching of media samples with broadcast media streams
US11062331B2 (en) Determining streaming content user consumption
US7965976B2 (en) Information processing apparatus and method and computer program
KR100967658B1 (en) System and Method for personalized broadcast based on dynamic view selection of multiple video cameras, Storage medium storing the same
CN104618446A (en) Multimedia pushing implementing method and device
US9826065B2 (en) Scene-based variable compression
US20180121159A1 (en) Content Receiver to Tune and Segment Programming
CN103118275A (en) Method, terminal and server of recording program
CN103796068A (en) Scene control system and method thereof
CN102687149B (en) Media storage system and method
CN102446526B (en) Sound track sharing method and system
KR100939215B1 (en) Creation apparatus and search apparatus for index database
CN107484015B (en) Program processing method and device and terminal
EP1966969A2 (en) A method and apparatus for sharing data content between a transmitter and a receiver
CN113949921A (en) Control method and control device for short video cache cleaning
WO2019091761A1 (en) Method of recording, in a mass memory of an electronic device, at least one multimedia content
WO2008004797A1 (en) Method for providing contents referencing information for personal data broadcasting service and receiving apparatus and processing method

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