CN103294683B - A kind of video file captions automatic patching system and method - Google Patents

A kind of video file captions automatic patching system and method Download PDF

Info

Publication number
CN103294683B
CN103294683B CN201210044047.9A CN201210044047A CN103294683B CN 103294683 B CN103294683 B CN 103294683B CN 201210044047 A CN201210044047 A CN 201210044047A CN 103294683 B CN103294683 B CN 103294683B
Authority
CN
China
Prior art keywords
file
video
subtitle
eigenvalue
played
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
CN201210044047.9A
Other languages
Chinese (zh)
Other versions
CN103294683A (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 CN201210044047.9A priority Critical patent/CN103294683B/en
Publication of CN103294683A publication Critical patent/CN103294683A/en
Application granted granted Critical
Publication of CN103294683B publication Critical patent/CN103294683B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
  • Information Transfer Between Computers (AREA)
  • Television Signal Processing For Recording (AREA)

Abstract

The present invention is applicable to field of computer technology, provide video file captions automatic patching system and method, including: caption database and off-line transcoding task management server, the First Eigenvalue that wherein off-line transcoding task management server target video file after calculating the success of original video files off-line transcoding is corresponding, set up subtitle file corresponding to Second Eigenvalue corresponding to original video files, original video files and the mapping relations of the First Eigenvalue corresponding to target video file, mapping relations are saved in caption database;Caption database is for storing subtitle file corresponding to Second Eigenvalue corresponding to original video files, original video files and the mapping relations of the First Eigenvalue.Present invention achieves sharing of subtitle file between the video file after off-line transcoding and original video files so that playback terminal, without re-starting coupling and the acquisition of captions, improves the response speed that player is asked for captions.

Description

A kind of video file captions automatic patching system and method
Technical field
The invention belongs to field of computer technology, particularly relate to a kind of video file captions automatic patching system and Method.
Background technology
Video playback is the most popular a kind of application in current network, regards for foreign films, TV play etc. Frequently content, captions are piths of video playback, on the one hand make to be ignorant of the spectators of language in video The sound in former video can be heard, it is understood that video content, it is also possible to effectively help audition More weak spectators understand video content.
The Video coding supported due to different terminal equipment is different, and therefore, video to be played needs to carry out turning Code complies with the form that terminal unit is supported.Encoded video transcoding (Video Transcoding) refers to The video code flow of compressed encoding is converted into another kind of video code flow, with adapt to the different network bandwidth, The terminal of different disposal ability and different user's requests.Now widely used transcoding operation, Yi Zhongshi Local transcoding software is utilized to carry out transcoding;Another kind is cloud transcoding technology, is also called off-line transcoding technology, tool Body refers to be converted into video by server (high in the clouds) the cloud meter of the video format of applicable played Calculation technology.
Video file on playback terminal can utilize player obtain the captions of coupling from rear server and close Connection, but, in the prior art, the video file after transcoding cannot be with former video file (before transcoding Video file) captions carry out Auto-matching and association, cause the former video file cannot be with the mesh after transcoding Mark video file carries out subtitle file to be shared so that playback terminal need to re-start captions coupling, Obtain and import, reduce the response speed that player is asked for captions, and then have impact on video playback Effect.
Summary of the invention
The purpose of the embodiment of the present invention is to provide a kind of video file captions automatic patching system and method, purport Subtitle file cannot be carried out with the target video file after transcoding due to prior art Central Plains video file in solution The problem shared.
The embodiment of the present invention is achieved in that a kind of video file captions automatic patching system, described system Including caption database and off-line transcoding task management server, wherein:
Off-line transcoding task management server, the target after calculating the success of original video files off-line transcoding The First Eigenvalue that video file is corresponding, sets up Second Eigenvalue corresponding to described original video files, described The mapping of subtitle file that original video files is corresponding and the First Eigenvalue corresponding to target video file is closed Described mapping relations are saved in caption database by system;
Caption database, for storing Second Eigenvalue corresponding to original video files, described original video literary composition Subtitle file that part is corresponding and the mapping relations of described the First Eigenvalue.
The another object of the embodiment of the present invention is to provide the video file of video file captions automatic patching system Captions automatic matching method, described method comprises the steps:
Video playback client obtains the eigenvalue of video file to be played, by the feature of video file to be played Value is sent to subtitle server to obtain the subtitle file of coupling;
Subtitle server sends over the eigenvalue of video file to be played according to described video playback client, The eigenvalue of video file to be played is searched in captions are according to the mapping relations of library storage;
When finding the eigenvalue of video file to be played, return to be played to described video playback client The subtitle file of the eigenvalue association of video file.
The embodiment of the present invention increases off-line transcoding task management server and captions on the basis of existing technology Data base, is set up by off-line transcoding task management server and caption database and storage original video files Subtitle file that corresponding Second Eigenvalue, original video files are corresponding and target video file corresponding the The mapping relations of one eigenvalue, achieve captions between the target video file after former video file and transcoding Sharing of file, thus the video file after off-line transcoding and original video files subtitle file are carried out automatically Association so that playback terminal, without re-starting the coupling of captions, obtaining and import, improves player pair The response speed of captions request, and video display effect.
Accompanying drawing explanation
Fig. 1 is the structure chart of the video file captions automatic patching system that the embodiment of the present invention one provides;
Fig. 2 is the structure chart of the video file captions automatic patching system that the embodiment of the present invention two provides;
Fig. 3 is the structure chart of the video file captions automatic patching system that the embodiment of the present invention three provides;
Fig. 4 is the flowchart of the video file captions automatic matching method that the embodiment of the present invention four provides;
Fig. 5 is the flowchart of the video file captions automatic matching method that the embodiment of the present invention five provides.
Detailed description of the invention
In order to make the purpose of the present invention, technical scheme and advantage clearer, below in conjunction with accompanying drawing and reality Execute example, the present invention is further elaborated.Only should be appreciated that specific embodiment described herein Only in order to explain the present invention, it is not intended to limit the present invention.
Below in conjunction with specific embodiment the present invention implemented and is described in detail:
Embodiment one:
Fig. 1 shows the structure of the video file captions automatic patching system that the embodiment of the present invention one provides, for It is easy to explanation, illustrate only the part relevant to the embodiment of the present invention.
In embodiments of the present invention, this video file captions automatic patching system includes off-line transcoding task management Server 12, caption database 13, wherein:
The off-line transcoding task management server 12 mesh after calculating the success of original video files off-line transcoding Mark the First Eigenvalue corresponding to video file, sets up Second Eigenvalue corresponding to original video files, original regards Subtitle file that frequency file is corresponding and the mapping relations of the First Eigenvalue corresponding to target video file, should Mapping relations are saved in caption database.
In embodiments of the present invention, the target video file after the success of original video files off-line transcoding is calculated After corresponding the First Eigenvalue, by off-line transcoding task management server 12, original video files is corresponding Subtitle file that Second Eigenvalue, original video files are corresponding and fisrt feature corresponding to target video file Value sets up biaxial stress structure relation, these mapping relations is saved in caption database.As illustratively, permissible Store these mapping relations in table form.As shown in table 1.
Second Eigenvalue Subtitle file The First Eigenvalue
Second Eigenvalue Subtitle file Third feature value
Second Eigenvalue Subtitle file Fourth feature value
In Table 1, store Second Eigenvalue corresponding to original video files, corresponding subtitle file, with And by the target video file characteristic of correspondence value after original video files transcoding, here store by original The target video file of the multiple different-format after video file transcoding, characteristic of correspondence value has: fisrt feature Value, third feature value and fourth feature value, it is achieved thereby that original video files and by the target of its transcoding Between video file, subtitle file is shared, and wherein, subtitle file can be carried out table by a unique identifier Show, it is also possible to represented by the absolute of subtitle file or relative address, the present invention need not be limited at this.
Caption database 13 is for storing Second Eigenvalue corresponding to original video files, original video files pair The subtitle file answered and the mapping relations of the First Eigenvalue.
In embodiments of the present invention, video file characteristic of correspondence value can be can uniquely to identify this video file Characteristic information or symbol, at this not in order to limit the present invention.Preferably, eigenvalue is for enter video file Row Hash operates the hash value obtained.
In embodiments of the present invention, caption database 13 stores the second feature that original video files is corresponding The mapping of the First Eigenvalue that value, subtitle file corresponding to original video files and target video file are corresponding Relation, thus establish the incidence relation of the target video file subtitle file corresponding with original video files, Achieve the Auto-matching of the video file captions after off-line transcoding, improve the degree of share of subtitle file, The storage overhead of saving system.
In an alternative embodiment of the invention, video file captions automatic patching system specifically may include that download Client 11, off-line transcoding task management server 12, caption database 13, off-line transcoding task scheduling Server 14, off-line transcoding server group 15 and cloud storage server 16, wherein:
Download client 11 to be used for submitting off-line transcoding task to off-line transcoding task management server 12, look into Ask the progress msg of off-line transcoding, to the off-line completed and off-line transcoding task, by point to server and point Mode (P2SP) or other download protocol obtain the video file after transcoding.
Off-line transcoding task management server 12 is additionally operable to be managed off-line transcoding task, specifically, and example As, receive and download the off-line transcoding task that client 11 is submitted to, generate for each independent off-line transcoding task Unique mark, submits to off-line transcoding task scheduling server 14 by the original link of off-line transcoding task, Receive the instruction downloading the off-line transcoding assignment file burst change that client 11 is submitted to, this request is dispatched to Off-line transcoding task scheduling server 14, receives off-line transcoding task scheduling server 14 off-line transcoding progress Report, inquire about off-line transcoding progress for downloading client 11 simultaneously, instantly carry client 11 request and fetch During the video file that off-line transcoding completes, it is provided that download client 11 and fetch the entry address etc. of data.
Caption database 13 is additionally operable to store the incidence relation of the corresponding subtitle file of video file.
Off-line transcoding task scheduling server 14, for the loading condition according to off-line transcoding server, dynamically will Off-line transcoding task scheduling is appointed to execution off-line transcoding on the node of different off-line transcoding server clusters 15 Business.In specific implementation process, it is also possible to for accepting the node load letter of off-line transcoding server cluster 15 Reporting of breath.
The cloud storage server 16 video file after the video file storing off-line download or off-line transcoding.
In specific implementation process, video file captions automatic patching system also includes statistical server, with After completing downloading task in download client, accept to download the download of this downloading task that client reports Time, speed of download, download result, file size, the original link of download and unify data ground from difference The information such as speed of download that location (Url) obtains and download time.
In the present invention implements, off-line transcoding task management server and caption database by with download client End, off-line transcoding task scheduling server, off-line transcoding server group and cloud storage server coordinate common Composition video file captions automatic patching system, it is achieved that automatic of the video file captions after off-line transcoding Join, improve degree of share and the coupling response speed of video playback client captions of subtitle file, enter And optimize Consumer's Experience.
Embodiment two:
Fig. 2 shows the structure of the video file captions automatic patching system that the embodiment of the present invention two provides, for It is easy to explanation, illustrate only the part relevant to the embodiment of the present invention.
This video file captions automatic patching system includes downloading client 11, off-line transcoding task management service Device 12, caption database 13, off-line transcoding task scheduling server 14, off-line transcoding server group 15 with And cloud storage server 16, its concrete structure is corresponding with each several part implemented in, does not repeats them here.
In embodiments of the present invention, video file captions automatic patching system also includes video playback client 17 With subtitle server 18, wherein:
Video playback client 17 is for obtaining the eigenvalue of video file to be played, by video file to be played Eigenvalue be sent to subtitle server 18 with obtain coupling subtitle file.
In embodiments of the present invention, download client 11 and video playback client 17 can integrate, Such as, as the ingredient of player on playing terminal equipment, therefore, video file to be played can lead to Cross video playback client self to obtain, such as, video file carried out Hash operation and obtains, it is also possible to Carry out calculating acquisition by downloading client.
Subtitle server 18 for sending over the spy of video file to be played according to video playback client 17 Value indicative, searches the eigenvalue of video file to be played in caption database 13 in the mapping relations of storage, when When finding the eigenvalue of video file to be played, return video file to be played to video playback client 17 Eigenvalue association subtitle file.
In embodiments of the present invention, video file characteristic of correspondence value can be can uniquely to identify this video file Characteristic information or symbol, at this not in order to limit the present invention.Preferably, eigenvalue is for enter video file Row Hash operates the hash value obtained.
In embodiments of the present invention, if video playback client commences play out video file to be played, permissible By obtaining the eigenvalue of video file to be played, the eigenvalue of video file to be played is sent to captions clothes Business device, subtitle server at captions according to Second Eigenvalue corresponding to the original video files of library storage, original regard In the mapping relations of subtitle file that frequency file is corresponding and the First Eigenvalue corresponding to target video file, inspection The eigenvalue of rope video file to be played, thus obtain the captions literary composition of the eigenvalue association of video file to be played Part also returns to video playback client, it is achieved that the quick lookup of the subtitle file of video to be played.
Embodiment three:
Fig. 3 shows the structure of the video file captions automatic patching system that the embodiment of the present invention three provides, for It is easy to explanation, illustrate only the part relevant to the embodiment of the present invention.
This video file captions automatic patching system includes downloading client 11, off-line transcoding task management service Device 12, caption database 13, off-line transcoding task scheduling server 14, off-line transcoding server group 15 with And cloud storage server 16, video playback client 17 and subtitle server 18.
In embodiments of the present invention, client 11 is downloaded for carrying to off-line transcoding task management server 12 Hand over off-line transcoding task, inquire about the progress msg of off-line transcoding, to the off-line completed and off-line transcoding task, By point to the video file after server and point mode (P2SP) or other download protocol acquisition transcoding.
The off-line transcoding task management server 12 mesh after calculating the success of original video files off-line transcoding Mark the First Eigenvalue corresponding to video file, sets up Second Eigenvalue corresponding to original video files, original regards Subtitle file that frequency file is corresponding and the mapping relations of the First Eigenvalue corresponding to target video file, should Mapping relations are saved in caption database.
In embodiments of the present invention, the target video file after the success of original video files off-line transcoding is calculated After corresponding the First Eigenvalue, by off-line transcoding task management server 12, original video files is corresponding Subtitle file that Second Eigenvalue, original video files are corresponding and fisrt feature corresponding to target video file Value sets up biaxial stress structure relation, and these mapping relations is saved in caption database 13.As illustratively, This mapping relations can be stored in table form.
Off-line transcoding task management server 12 can be also used for being managed off-line transcoding task, specifically Ground, such as, receives and downloads the off-line transcoding task that client 11 is submitted to, appoint for each independent off-line transcoding Business generates unique mark, and the original link of off-line transcoding task is submitted to the service of off-line transcoding task scheduling Device 14, receives the instruction downloading the off-line transcoding assignment file burst change that client 11 is submitted to, please by this Ask and be dispatched to off-line transcoding task scheduling server 14, receive off-line transcoding task scheduling server 14 off-line Reporting of transcoding progress, inquires about off-line transcoding progress for download client 11 simultaneously, instantly carries client 11 When the video file that off-line transcoding completes is fetched in request, it is provided that download client 11 and fetch the entry address of data Deng.
In embodiments of the present invention, caption database 13 stores the second feature that original video files is corresponding The mapping of the First Eigenvalue that value, subtitle file corresponding to original video files and target video file are corresponding Relation, thus establish the incidence relation of the target video file subtitle file corresponding with original video files, Achieve the Auto-matching of the video file captions after off-line transcoding, improve the degree of share of subtitle file, The storage overhead of saving system.
Off-line transcoding task scheduling server 14 is according to the loading condition of off-line transcoding server, dynamically by off-line Transcoding task scheduling performs off-line transcoding task on the node of different off-line transcoding server clusters 15.? In specific implementation process, it is also possible to for accepting the node load information of off-line transcoding server cluster 15 Report, such that it is able to carry out transcoding task according to the loading condition of each node in off-line transcoding server cluster 15 Distribution and height, improve off-line transcoding server cluster 15 transcoding efficiency.
The cloud storage server 16 video file after the video file storing off-line download or off-line transcoding.
In specific implementation process, video file captions automatic patching system also includes statistical server, with After completing downloading task in download client, accept to download the download of this downloading task that client reports Time, speed of download, download result, file size, the original link of download and unify data ground from difference The information such as speed of download that location (Url) obtains and download time.
Video playback client 17 is for obtaining the eigenvalue of video file to be played, by video file to be played Eigenvalue be sent to subtitle server 18 with obtain coupling subtitle file.
In embodiments of the present invention, download client 11 and video playback client 17 can integrate, Such as, as the ingredient of player on playing terminal equipment, therefore, video file to be played can lead to Cross video playback client self to obtain, such as, video file carried out Hash operation and obtains, it is also possible to Carry out calculating acquisition by downloading client.
Subtitle server 18 for sending over the spy of video file to be played according to video playback client 17 Value indicative, searches the eigenvalue of video file to be played in caption database 13 in the mapping relations of storage, when When finding the eigenvalue of video file to be played, return video file to be played to video playback client 17 Eigenvalue association subtitle file.
In embodiments of the present invention, video file captions automatic patching system also includes captions retrieval server 19 And captions crawler server 20, wherein:
Captions retrieval server 19 is for sending over according to video playback client 17 when subtitle server 18 The eigenvalue of video file to be played, does not finds to be played regarding in the mapping relations of storage in captions are according to storehouse During the eigenvalue of frequency file, it is sent to the video to be played literary composition of subtitle server according to video playback client 17 The file description information of part, retrieves the subtitle file of video file to be played in caption database, works as retrieval During to subtitle file, subtitle file is returned to subtitle server 18.
In embodiments of the present invention, video playback client 17 is additionally operable to retouch the file of video file to be played The information of stating is sent to subtitle server 18, and in specific implementation process, file description information can be with to be played The eigenvalue of video file is sent simultaneously to subtitle server 18, it is also possible to separately send, at this not in order to limit The present invention processed.Caption database 13 is additionally operable to the file description information that storage associates with video file.Specifically, File description information can be the video files such as the filename of video file, video code rate, frame per second, resolution Description information, it is also possible to include more describing information, at this not in order to limit the present invention.
Captions crawler server 20 is for crawling subtitle file download link, corresponding the regarding of captions from the Internet The file description information of frequency file, downloads corresponding subtitle file according to the download link of subtitle file, and will Subtitle file is saved in caption database 13.
In embodiments of the present invention, captions crawler server 20 can crawl captions literary composition periodically by the Internet The file description information of the video file that part download link, captions are corresponding, according to the download link of subtitle file Download corresponding subtitle file, and subtitle file is saved in caption database 13, thus constantly extension and more Subtitle file in new caption database 13, improves subtitle file the match is successful rate.
Embodiment four:
In the present invention implements, it is proposed that based on video file captions Auto-matching arbitrary in embodiment one to three The video file captions automatic matching method of system, thus realize the video file after off-line transcoding and regard with original Between frequency file, subtitle file shares so that the video file after off-line transcoding can be carried out with subtitle file Auto-associating, improves the intelligence degree of captions coupling.
Fig. 4 shows the realization stream of the video file captions automatic matching method that the embodiment of the present invention four provides Journey, details are as follows:
In step S401, video playback client obtains the eigenvalue of video file to be played, will wait to broadcast The eigenvalue putting video file is sent to subtitle server to obtain the subtitle file of coupling.
In step S402, subtitle server sends over video to be played literary composition according to video playback client The eigenvalue of part, searches the eigenvalue of video file to be played in the mapping relations of caption data library storage.
In embodiments of the present invention, caption database stores Second Eigenvalue corresponding to original video files, The mapping of subtitle file that original video files is corresponding and the First Eigenvalue corresponding to target video file is closed System, achieves the pass of the target video file subtitle file corresponding with original video files by these mapping relations Connection, improves the degree of share of subtitle file, and then the match is successful to improve the captions of video file to be played Rate.
In step S403, when finding the eigenvalue of video file to be played, subtitle server is to video Client end of playing back returns the subtitle file of the eigenvalue association of video file to be played.
In embodiments of the present invention, this video file captions automatic patching system includes downloading client, off-line Transcoding task management server, caption database, off-line transcoding task scheduling server, off-line transcoding service Device group and cloud storage server, video playback client and subtitle server, concrete structure and enforcement two Corresponding, do not repeat them here.
The embodiment of the present invention obtains the eigenvalue of video file to be played by video playback client, will wait to broadcast The eigenvalue putting video file is sent to subtitle server to obtain the subtitle file of coupling, subtitle server root The eigenvalue of video file to be played is sended over, reflecting of caption data library storage according to video playback client Penetrate the eigenvalue searching video file to be played in relation, when finding the eigenvalue of video file to be played, Subtitle server returns the subtitle file of the eigenvalue association of video file to be played to video playback client, Owing to caption database storing Second Eigenvalue corresponding to original video files, original video files correspondence Subtitle file and the mapping relations of the First Eigenvalue corresponding to target video file, thus improve captions The degree of share of file, and then improve the captions of video file to be played the match is successful rate.
Embodiment five:
In the present invention implements, it is proposed that based on video file captions Auto-matching arbitrary in embodiment one to three The video file captions automatic matching method of system, it is achieved the video file after off-line transcoding and original video literary composition Auto-associating between part subtitle file.
Fig. 5 shows the realization stream of the video file captions automatic matching method that the embodiment of the present invention five provides Journey, details are as follows:
In step S501, video playback client obtains the eigenvalue of video file to be played, will wait to broadcast The eigenvalue putting video file is sent to subtitle server to obtain the subtitle file of coupling.
In step S502, subtitle server sends over video to be played literary composition according to video playback client The eigenvalue of part, searches the eigenvalue of video file to be played in the mapping relations of caption data library storage.
In embodiments of the present invention, caption database stores Second Eigenvalue corresponding to original video files, The mapping of subtitle file that original video files is corresponding and the First Eigenvalue corresponding to target video file is closed System, achieves the pass of the target video file subtitle file corresponding with original video files by these mapping relations Connection, improves the degree of share of subtitle file, and then the match is successful to improve the captions of video file to be played Rate.
In step S503, it may be judged whether find the eigenvalue of video file to be played, be, perform step Rapid S504, otherwise performs step S505.
In step S504, when finding the eigenvalue of video file to be played, subtitle server is to video Client end of playing back returns the subtitle file of the eigenvalue association of video file to be played.
In step S505, when not finding the eigenvalue of video file to be played, video playback client The file description information of video file to be played is sent to subtitle server by end.
In step S506, captions retrieval server is sent to subtitle server according to video playback client The file description information of video file to be played, caption database is retrieved the word of video file to be played Curtain file.
In step s 507, when retrieving subtitle file, subtitle file is returned to by captions retrieval server Subtitle server, the subtitle file of return is sent to video playback client by subtitle server.
In embodiments of the present invention, this video file captions automatic patching system includes downloading client, off-line Transcoding task management server, caption database, off-line transcoding task scheduling server, off-line transcoding service Device group and cloud storage server, video playback client, subtitle server and captions retrieval server, Concrete structure is corresponding with implementing three, does not repeats them here.
In embodiments of the present invention, when video playback client needs to play video, video to be played is obtained The eigenvalue of file, subtitle server sends over the spy of video file to be played according to video playback client Value indicative, searches the eigenvalue of video file to be played in the mapping relations of caption data library storage, when not looking into When finding the eigenvalue of video file to be played, the file of video file to be played is retouched by video playback client The information of stating is sent to subtitle server, and captions retrieval server is sent to captions clothes according to video playback client The file description information of the video file to be played of business device, retrieves video file to be played in caption database Subtitle file, it is achieved captions coupling intellectuality, further increase the captions of video file to be played It is made into power.
The foregoing is only presently preferred embodiments of the present invention, not in order to limit the present invention, all at this Any amendment, equivalent and the improvement etc. made within bright spirit and principle, should be included in the present invention Protection domain within.

Claims (11)

1. a video file captions automatic patching system, it is characterised in that described system includes caption data Storehouse and off-line transcoding task management server, wherein:
Off-line transcoding task management server, the target after calculating the success of original video files off-line transcoding The First Eigenvalue that video file is corresponding, sets up Second Eigenvalue corresponding to described original video files, described Subtitle file that original video files is corresponding and the mapping of the First Eigenvalue three corresponding to target video file Described mapping relations are saved in caption database by relation;
Caption database, for storing Second Eigenvalue corresponding to original video files, described original video literary composition Subtitle file that part is corresponding and the mapping relations of described the First Eigenvalue.
2. the system as claimed in claim 1, it is characterised in that described system also includes:
Video playback client, for obtaining the eigenvalue of video file to be played, by video file to be played Eigenvalue be sent to subtitle server with obtain coupling subtitle file.
3. system as claimed in claim 2, it is characterised in that described system also includes:
Subtitle server, for sending over the spy of video file to be played according to described video playback client Value indicative, searches the eigenvalue of video file to be played in captions are according to storehouse, works as lookup in the mapping relations of storage During to the eigenvalue of video file to be played, return video file to be played to described video playback client The subtitle file of eigenvalue association.
4. system as claimed in claim 3, it is characterised in that video playback client is additionally operable to broadcast waiting The file description information putting video file is sent to subtitle server, described caption database be additionally operable to storage with The file description information of video file association.
5. system as claimed in claim 4, it is characterised in that described system also includes:
Captions retrieval server, for when not finding the eigenvalue of video file to be played, according to video Client end of playing back is sent to the file description information of the video file to be played of subtitle server, at caption data Storehouse is retrieved the subtitle file of video file to be played, when retrieving subtitle file, subtitle file is returned To subtitle server.
6. system as claimed in claim 4, it is characterised in that described system also includes:
Captions crawler server, for crawling the download link of subtitle file, subtitle file pair from the Internet The file description information of the video file answered, downloads corresponding subtitle file according to the download link of subtitle file, And subtitle file is saved in caption database.
7. system as claimed in claim 4, it is characterised in that described file description information is video file Filename, video code rate, frame per second and the combination in any of resolution information.
8. the system as described in claim 1 to 7 is arbitrary, it is characterised in that described eigenvalue is video literary composition The hash value that part is corresponding.
9. a video file captions automatic matching method based on system described in claim 8, its feature exists In, described method comprises the steps:
Video playback client obtains the eigenvalue of video file to be played, by the feature of video file to be played Value is sent to subtitle server to obtain the subtitle file of coupling;
Subtitle server sends over the eigenvalue of video file to be played according to described video playback client, The eigenvalue of video file to be played is searched in the mapping relations of caption data library storage;
When finding the eigenvalue of video file to be played, subtitle server is to described video playback client Return the subtitle file of the eigenvalue association of video file to be played.
10. method as claimed in claim 9, it is characterised in that described method also includes:
When not finding the eigenvalue of video file to be played, video playback client is by video to be played literary composition The file description information of part is sent to subtitle server;
Captions retrieval server is sent to the video file to be played of subtitle server according to video playback client File description information, caption database is retrieved the subtitle file of video file to be played;
When retrieving subtitle file, subtitle file is returned to subtitle server, word by captions retrieval server The subtitle file of return is sent to video playback client by curtain server.
11. methods as claimed in claim 10, it is characterised in that described file description information is video literary composition The combination in any of the filename of part, video code rate, frame per second and resolution information.
CN201210044047.9A 2012-02-24 2012-02-24 A kind of video file captions automatic patching system and method Active CN103294683B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210044047.9A CN103294683B (en) 2012-02-24 2012-02-24 A kind of video file captions automatic patching system and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210044047.9A CN103294683B (en) 2012-02-24 2012-02-24 A kind of video file captions automatic patching system and method

Publications (2)

Publication Number Publication Date
CN103294683A CN103294683A (en) 2013-09-11
CN103294683B true CN103294683B (en) 2016-09-14

Family

ID=49095576

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210044047.9A Active CN103294683B (en) 2012-02-24 2012-02-24 A kind of video file captions automatic patching system and method

Country Status (1)

Country Link
CN (1) CN103294683B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105141979A (en) * 2015-08-21 2015-12-09 努比亚技术有限公司 Video subtitle matching device, system and method
CN107396203A (en) * 2017-09-06 2017-11-24 深圳市视维科技股份有限公司 A kind of method based on the plug-in captions of IJKPlayer
CN107995519B (en) * 2017-11-30 2020-11-03 广州酷狗计算机科技有限公司 Method, device and storage medium for playing multimedia file
CN108924588B (en) * 2018-06-29 2021-03-19 阿里巴巴(中国)有限公司 Subtitle display method and device

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101668132A (en) * 2008-09-02 2010-03-10 华为技术有限公司 Method and system for matching and processing captions
CN102087668A (en) * 2011-02-17 2011-06-08 天擎华媒(北京)科技有限公司 Method for automatically obtaining audio and video subtitles and lyrics and fast locating, searching and individually displaying
US7992183B1 (en) * 2007-11-09 2011-08-02 Google Inc. Enabling users to create, to edit and/or to rate online video captions over the web

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7992183B1 (en) * 2007-11-09 2011-08-02 Google Inc. Enabling users to create, to edit and/or to rate online video captions over the web
CN101668132A (en) * 2008-09-02 2010-03-10 华为技术有限公司 Method and system for matching and processing captions
CN102087668A (en) * 2011-02-17 2011-06-08 天擎华媒(北京)科技有限公司 Method for automatically obtaining audio and video subtitles and lyrics and fast locating, searching and individually displaying

Also Published As

Publication number Publication date
CN103294683A (en) 2013-09-11

Similar Documents

Publication Publication Date Title
CN106850581B (en) Distribution backup method, system and server for interactive live broadcast streaming media data
CN109522330B (en) Cloud platform data processing method, device, equipment and medium based on block chain
WO2021042923A1 (en) Data sharding storage method and apparatus, and terminal and computer-readable storage mediium
TWI605400B (en) Information pushing method, device and system
JP2020119497A (en) Live streaming segmentation method, apparatus and system
CN103729471A (en) Method and device for database query
CN111327647B (en) Method and device for providing service to outside by container and electronic equipment
CN106357539B (en) A kind of data capture method and equipment
CN103294683B (en) A kind of video file captions automatic patching system and method
US20120233210A1 (en) Storage of Arbitrary Points in N-Space and Retrieval of Subset thereof Based on Criteria Including Maximum Distance to an Arbitrary Reference Point
CN105340243B (en) Method, system and the medium being present on network for detecting digital media device
CN107092686B (en) File management method and device based on cloud storage platform
US20170032052A1 (en) Graph data processing system that supports automatic data model conversion from resource description framework to property graph
WO2019120331A3 (en) Retrieving values of digital tickets using smart contracts in blockchain networks
CN107644017A (en) The querying method and device of journal file
CN108491499B (en) Data acquisition method, data acquisition platform, client and business server
JP6182578B2 (en) Method and system for comparing media assets
CN110708402A (en) Accessible resource display method and device and resource access system
CN104135503B (en) Method, Apparatus and system that data are downloaded
CN104917754A (en) Video data sending and receiving methods, servers and clients
US10990588B2 (en) Optimizing continuous query operations in an in memory data grid (IMDG)
CN111225248B (en) On-demand content management method and content distribution network on-demand server
CN106022161A (en) Data processing method and device
JP5353682B2 (en) Configuration information management apparatus, distributed information management system, distributed information management method, and distributed information management program
US20160234299A1 (en) Management server and operation method thereof and server system

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