CN102802053A - Audio and video file transcoding cluster dispatching method and device - Google Patents

Audio and video file transcoding cluster dispatching method and device Download PDF

Info

Publication number
CN102802053A
CN102802053A CN2012102547729A CN201210254772A CN102802053A CN 102802053 A CN102802053 A CN 102802053A CN 2012102547729 A CN2012102547729 A CN 2012102547729A CN 201210254772 A CN201210254772 A CN 201210254772A CN 102802053 A CN102802053 A CN 102802053A
Authority
CN
China
Prior art keywords
transcoding
task
request
burst
audio
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.)
Pending
Application number
CN2012102547729A
Other languages
Chinese (zh)
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.)
World (Shanghai) Technology Development Co., Ltd.
Original Assignee
Shenzhen Temobi Science and Technology 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 Shenzhen Temobi Science and Technology Co Ltd filed Critical Shenzhen Temobi Science and Technology Co Ltd
Priority to CN2012102547729A priority Critical patent/CN102802053A/en
Publication of CN102802053A publication Critical patent/CN102802053A/en
Pending legal-status Critical Current

Links

Images

Abstract

The invention discloses an audio and video file transcoding cluster dispatching method comprising the following steps: a transcoding request is sent to a transcoding cluster dispatching device by a streaming server or a CMS (content management system); an audio and video file corresponding to a transcoding task is subjected to grainy treatment by the audio and video file transcoding cluster dispatching device according to the transcoding request, and then the transcoding task subjected to grainy treatment is allocated to a transcoding cluster for transcoding; and dispatching treatment is carried out by the audio and video file transcoding cluster dispatching device according to a completion status of the transcoding task and a source of the transcoding request. By utilizing the audio and video file transcoding cluster dispatching method, the audio and video file is granulated so that a task unit of transcoding is smaller, so that computing resources can be flexibly allocated, a transcoding file with high priority can be fast output, and system response can be improved. In addition, compared with the conventional transcoding cluster dispatching method, the audio and video file transcoding cluster dispatching method can be suitable for the transcoding task by adopting a server with lower configuration, and the threshold of the server is reduced so that the service cost of a service provider is reduced.

Description

A kind of audio-video document transcoding colony dispatching method and device
Technical field
The present invention relates to the mobile Internet field, relate in particular to a kind of audio-video document transcoding colony dispatching method and device.
Background technology
Usually in the prior art, all be in the audio-video document transcoding process with file decoding on one side from the beginning to the end, on one side transcoding.
Adopt this code-transferring method, at first, when using the transcoding cluster, the efficient of this method depends on the quantity of transcoding process.Because be the transcoding cluster, so, even if adopt the programmed method of multithreading.Can't guarantee that also all computational resources all are in use.
Secondly, the mode that present video coding complexity is geometric progression always increases progressively, and in the cataloged procedure of high-resolution and high code check, original transcoding process is difficult to realize the real-time of transcoding.
At last, the scheduling of transcoding task depends on the transcoding task termination, and flexibility is very low.
Therefore, need a kind of new code-transferring method at present, can granulating transcoding task.Improve transcoding efficiency and flexibility.
Summary of the invention
The purpose of the embodiment of the invention is to propose a kind of audio-video document transcoding colony dispatching method and device.
Said audio-video document transcoding colony dispatching method method comprises:
Receive the transcoding request, the transcoding request is carried out burst with the transcoding task of correspondence, generate transcoding task burst according to said;
Generate transcoding task burst schedule information according to the task priority that is provided with in advance; And transcoding Task Distribution to transcoding cluster is carried out transcoding according to said transcoding task burst schedule information;
Judge the corresponding source file of all transcoding task bursts whether transcoding accomplish, if transcoding is not accomplished and said transcoding request from streaming server, the source file burst after then notifying the transcoding cluster with transcoding is stored in caching server; The notification streams server is according to the VOD order request of receiving, with being buffered in the file push of transcoding corresponding in the caching server to portable terminal.
Said audio-video document transcoding colony dispatching device comprises: receiving element, sharding unit, first processing unit, judging unit, second processing unit;
Receiving element comprises first receiving element, and first receiving element is used to receive the transcoding request;
Sharding unit is used for carrying out burst according to the said transcoding task that the transcoding request is corresponding, generates transcoding task burst;
First processing unit is used for generating transcoding task burst schedule information according to the task priority that is provided with in advance; And transcoding Task Distribution to transcoding cluster is carried out transcoding according to described transcoding task burst schedule information;
Judging unit comprises first judging unit, and said first judging unit is used to judge whether the transcoding completion of the corresponding source file of all transcoding task bursts; Then notify second processing unit with the result;
Second processing unit; Be used for when the corresponding also not transcoding completion of source file of all transcoding task bursts of first judgment unit judges; And said transcoding request is from streaming server; Notice transcoding cluster carries out transcoding to the corresponding source file of transcoding task burst, and the source file burst behind the transcoding is stored in caching server; And the notification streams server with being buffered in the file of transcoding corresponding in the caching server, is pushed to portable terminal according to the VOD order request of receiving; When the corresponding source file transcoding completion of all transcoding task bursts of first judgment unit judges, and said transcoding request then with synthetic file destination behind all source file transcodings, is deposited to the hosted service device from streaming server.
Through said method and apparatus, the present invention makes that through with the audio-video document granulating task unit of transcoding is littler; Thereby can the flexible allocation computational resource, the high transcoding file of output priority improves system responses fast.And use the transcoding colony dispatching method of prior art, server need adopt higher configuration could be competent at the transcoding task, and the method for the application of the invention has reduced the server threshold, thereby has reduced the cost of service.
Description of drawings
Fig. 1 is the code-transferring method flow chart of the audio-video document of the embodiment of the invention 1;
Fig. 2 is the code-transferring method flow chart of the audio-video document of the embodiment of the invention 2;
Fig. 3 is the code-transferring method flow chart of the audio-video document of the embodiment of the invention 3;
Fig. 4 is the transcoding structure drawing of device of the audio-video document of the embodiment of the invention 4.
Embodiment
In order to make the object of the invention, technical scheme and advantage clearer, below in conjunction with accompanying drawing and embodiment, the present invention is further elaborated, for the ease of explanation, only show the part relevant with the embodiment of the invention.Should be appreciated that the specific embodiment that this place is described, only be used to explain the present invention, not in order to restriction the present invention.
Embodiment 1, and the present invention provides a kind of audio-video document colony dispatching method, and referring to Fig. 1, this method comprises:
Step 101: receive the transcoding request, according to described transcoding request, the transcoding task that the transcoding request is corresponding is carried out burst, generates transcoding task burst;
Described " receive the transcoding request, according to described transcoding request, the transcoding task that the transcoding request is corresponding is carried out burst, generates transcoding task burst " is specially:
Search the corresponding task description file of described transcoding request file name; If find, then, obtain the transcoding mission bit stream through described task description file;
Read source file through described transcoding mission bit stream, and obtain the coded message of source file;
According to the coded message of described source file, obtain I frame period time and bit rate output, the transcoding task that said transcoding mission bit stream is corresponding is carried out burst, generates transcoding task burst;
Step 102: generate transcoding task burst schedule information according to the task priority that is provided with in advance; And transcoding Task Distribution to transcoding cluster is carried out transcoding according to described transcoding task burst schedule information;
Step 103: judge whether the corresponding source file of all transcoding task bursts transcoding accomplish, if not, and said transcoding request is from streaming server, then execution in step 104; If, and said transcoding request is from streaming server, and then execution in step 105; If not, and said transcoding request is from CMS, and then execution in step 106; If, and said transcoding request is from CMS, and then execution in step 107;
Step 104: behind the source file transcoding of notice transcoding cluster with transcoding task burst correspondence, burst is stored in caching server; And the notification streams server with being buffered in the file of transcoding corresponding in the caching server, is pushed to portable terminal according to the VOD order request of receiving;
Step 105: then, deposit to the hosted service device with synthetic file destination behind all source file transcodings; Process ends;
Step 106: behind the source file transcoding with segmentation, burst is deposited to caching server;
Step 107: with synthetic file destination behind all source file transcodings, deposit to the hosted service device, notice CMS transcoding is accomplished; Process ends.
For more detailed explanation implementation method of the present invention, below respectively from streaming server with the transcoding request be sent to audio-video document transcoding colony dispatching device, CMS sends transcoding request to audio-video document transcoding colony dispatching device and describes
Embodiment 2, and the present invention provides a kind of audio-video document transcoding colony dispatching method, and this method is that streaming server sends the transcoding request as audio-video document transcoding colony dispatching device, and referring to Fig. 2, this method is specially:
Step 201: portable terminal is initiated VOD (Video On Demand video-on-demand service) order request to streaming server; Carry the filename that needs program request in the said VOD order request, said filename is the filename of predefined file destination;
Step 202: streaming server receives described VOD order request, and judges whether to receive SEEK (reorientation) request, if receive, then execution in step 203; If do not receive then execution in step 204;
Step 203: described SEEK request is sent to audio-video document transcoding colony dispatching device; Execution in step 213;
Step 204; After streaming server receives described VOD order request,, in the transcoding destination file, search for according to described filename; If retrieve, then execution in step 205; If do not retrieve, then execution in step 206;
Step 205: retrieve then directly that said order request is corresponding transcoding destination file and feed back to portable terminal, promptly order program service is provided to portable terminal; Process ends;
Step 206: streaming server does not retrieve the corresponding transcoding destination file of filename, then sends the transcoding request to audio-video document transcoding colony dispatching device;
Step 207: after audio-video document transcoding colony dispatching device receives the transcoding request, search the corresponding task description file of described transcoding request file name, if do not find execution in step 208; If find execution in step 209;
Step 208: the notification streams server file does not exist;
Step 209: audio-video document transcoding colony dispatching device obtains the transcoding mission bit stream through described task description file;
Wherein said transcoding mission bit stream comprises: source file address information and transcoding parameter;
Its transit code parameter comprises: coded system, resolution, frame per second, code check, transcoding beginning and ending time, transcoding priority etc.;
Step 210: audio-video document transcoding colony dispatching device reads source file through described transcoding mission bit stream, and obtains the coded message of source file;
Wherein, the coded message of described source file comprises: coded system, resolution, frame per second, code check, video file length etc.;
Step 211: audio-video document transcoding colony dispatching device obtains I frame period time and bit rate output according to the coded message of described source file, and the transcoding task that said transcoding mission bit stream is corresponding is carried out burst, generates transcoding task burst;
Wherein carry out burst method can for:
(value of code check * I frame period time) is not more than threshold values MB; That is to say and round several I frame period as transcoding task burst; Wherein * is for doing multiplying;
Step 212: audio-video document transcoding colony dispatching device generates transcoding task burst schedule information according to the task priority that is provided with in advance (need immediately transcoding, news category focus video, whether focus etc.); Execution in step 217
Wherein, described task priority is that audio-video document transcoding colony dispatching device is provided with according to condition of different, just is arranged to the first the highest priority of priority such as what need transcoding immediately; News category focus video is set to the priority time second high priority.
Step 213: after audio-video document transcoding colony dispatching device receives the SEEK request,, find the first corresponding transcoding task burst in the SEEK request according to the time started of the broadcast of carrying in the described SEEK request;
Step 214; Audio-video document transcoding colony dispatching device judges whether the described first transcoding task burst should be present in the transcoding task queue, if then execution in step 215; If then execution in step 216 not;
Step 215: the notification streams server can be attempted reading of data, process ends just at transcoding;
Step 216: the priority that improves this first transcoding task burst; Execution in step 217;
Step 217: audio-video document transcoding colony dispatching device is according to described transcoding task burst schedule information, and according to transcoding task burst schedule information transcoding Task Distribution to transcoding cluster carried out transcoding;
Wherein, described " and according to transcoding task burst schedule information with transcoding Task Distribution to transcoding cluster " can for:
Audio-video document transcoding colony dispatching device is chosen the first the highest transcoding task burst schedule information of priority, and the first transcoding Task Distribution that the said first transcoding task burst schedule information is corresponding is to the transcoding cluster;
Perhaps the audio-video document transcoding colony dispatching device current task that will carry out the transcoding cluster of the transcoding task that is lower than first priority stops, again with the second transcoding Task Distribution of the said transcoding task that is lower than first priority to this transcoding cluster;
Step 218: judge whether the corresponding source file of all transcoding task bursts transcoding accomplish, if execution in step 219 then; Execution in step 220 then if not;
Step 219: audio-video document transcoding colony dispatching device with all source file transcodings after synthetic file destination, deposit to the hosted service device;
Step 220: audio-video document transcoding colony dispatching device is judged the transcoding request from streaming server, and behind the source file transcoding of notice transcoding cluster with transcoding task burst correspondence, burst is stored in caching server; And the notification streams server with being buffered in the file of transcoding corresponding in the caching server, is pushed to portable terminal according to the VOD order request of receiving.
Embodiment 3, and main introduction is the transcoding request that streaming server sends in the technical scheme that embodiment 2 provides; Also having a kind of situation is that (Content Management System Chinese is: the web site contents management system) directly send transcoding request to audio-video document transcoding colony dispatching device from CMS.Referring to Fig. 3. this method is specially:
Step 301:CMS sends the transcoding request to audio-video document transcoding colony dispatching device; Carry the filename of predefined file destination in the said transcoding request, promptly predefined filename with the completion of source file transcoding, transcoding result;
Step 302: after audio-video document transcoding colony dispatching device receives the transcoding request, search the corresponding task description file of described transcoding request file name, if do not find execution in step 303; If find execution in step 304;
Step 303: notice CMS file does not exist;
Step 304: audio-video document transcoding colony dispatching device obtains the transcoding mission bit stream through described task description file;
Wherein said transcoding mission bit stream comprises: source file address information and transcoding parameter;
Its transit code parameter comprises: coded system, resolution, frame per second, code check, transcoding beginning and ending time, transcoding priority etc.;
Step 305: audio-video document transcoding colony dispatching device reads source file through described transcoding mission bit stream, and obtains the coded message of source file;
Wherein, the coded message of described source file comprises: coded system, resolution, frame per second, code check, video file length etc.;
Step 306: audio-video document transcoding colony dispatching device obtains I frame period time and bit rate output according to the coded message of described source file, and the transcoding task that said transcoding mission bit stream is corresponding is carried out burst, generates transcoding task burst.
Wherein carry out burst method can for:
(value of code check * I frame period time) is not more than threshold values MB; That is to say and round several I frame period as transcoding task burst; Wherein * is for doing multiplying;
Step 307: audio-video document transcoding colony dispatching device generates transcoding task burst schedule information according to the task priority that is provided with (need immediately transcoding, news category focus video, whether focus etc.).
Wherein, described task priority is that audio-video document transcoding colony dispatching device is provided with according to condition of different, just is arranged to the first the highest priority of priority such as what need transcoding immediately; News category focus video is set to the priority time second high priority.
Step 308: audio-video document transcoding colony dispatching device is according to described transcoding task burst schedule information, and according to transcoding task burst schedule information transcoding Task Distribution to transcoding cluster carried out transcoding;
Wherein, described " and according to transcoding task burst schedule information with transcoding Task Distribution to transcoding cluster " can for:
Audio-video document transcoding colony dispatching device is chosen the first the highest transcoding task burst schedule information of priority, and the first transcoding Task Distribution that the said first transcoding task burst schedule information is corresponding is to the transcoding cluster;
Perhaps the audio-video document transcoding colony dispatching device current task that will carry out the transcoding cluster of the transcoding task that is lower than first priority stops, again with the second transcoding Task Distribution of the said transcoding task that is lower than first priority to this transcoding cluster;
Step 309: judge whether the corresponding source file of all transcoding task bursts transcoding accomplish, if execution in step 310 then; Execution in step 312 then if not;
Step 310: audio-video document transcoding colony dispatching device with all source file transcodings after synthetic file destination, deposit to the hosted service device;
Step 311: audio-video document transcoding colony dispatching device is judged the transcoding request from CMS, and then audio-video document transcoding colony dispatching device notice CMS transcoding is accomplished; Process ends;
Step 312: behind the source file transcoding of transcoding cluster with segmentation, burst is stored in caching server.
Embodiment 4, and the present invention also provides a kind of audio-video document transcoding colony dispatching device, and referring to Fig. 4, said device comprises:
Receiving element comprises first receiving element, and first receiving element is used to receive the transcoding request;
Sharding unit is used for carrying out burst according to the said transcoding task that the transcoding request is corresponding, generates transcoding task burst;
First processing unit is used for generating transcoding task burst schedule information according to the task priority that is provided with in advance; And transcoding Task Distribution to transcoding cluster is carried out transcoding according to described transcoding task burst schedule information;
Judging unit comprises first judging unit, and said first judging unit is used to judge whether the transcoding completion of the corresponding source file of all transcoding task bursts; Then notify second processing unit with the result;
Second processing unit, be used for when the corresponding source file of all transcoding task bursts of first judgment unit judges also not transcoding accomplish, and said transcoding request is from streaming server, the source file burst of notice transcoding cluster after with transcoding is stored in caching server; And the notification streams server with being buffered in the file of transcoding corresponding in the caching server, is pushed to portable terminal according to the VOD order request of receiving; When the corresponding source file transcoding completion of all transcoding task bursts of first judgment unit judges, and said transcoding request then with synthetic file destination behind all source file transcodings, is deposited to the hosted service device from streaming server.
Wherein sharding unit comprises: search unit, reading unit, first sharding unit;
Search the unit and comprise that first searches the unit, first searches the unit, is used to search the corresponding task description file of described transcoding request file name; If find, then, obtain the transcoding mission bit stream through described task description file;
Reading unit is used for reading source file through described transcoding mission bit stream, and obtains the coded message of source file;
First sharding unit according to the coded message of described source file, is obtained I frame period time and bit rate output, and the transcoding task that said transcoding mission bit stream is corresponding is carried out burst, generates transcoding task burst.
Wherein, receiving element further comprises: second receiving element; The said unit of searching comprises that second searches the unit; Said judging unit further comprises second judging unit; Said device further comprises the 3rd processing unit;
Second receiving element is used to receive the SEEK request;
Second searches the unit, is used for the time started of the broadcast that request is carried according to described SEEK, finds the first corresponding transcoding task burst in the SEEK request;
Judging unit further comprises second judging unit, and said second judging unit is used to judge whether the described first transcoding task burst should be present in the transcoding task queue; Then notify the 3rd processing unit with the result;
The 3rd processing unit is used for being present in the transcoding task queue when the first transcoding task burst, and the notification streams server is attempted reading of data, process ends just at transcoding; When the first transcoding task burst is not present in the transcoding task queue, then improve the priority of this first transcoding task burst, notify first processing unit to continue to handle.
Wherein, described receiving element further comprises the 3rd receiving element; Said device comprises that further manages the unit everywhere
The 3rd receiving element is used to receive the transcoding request that CMS sends; Carry the filename of predefined file destination in the said transcoding request;
The manages the unit everywhere, be used for when the corresponding source file of all transcoding Task Distribution of the firstth judgment unit judges also not transcoding accomplish, and said transcoding request is from CMS, then behind the source file transcoding of segmentation, burst is deposited to caching server; When the corresponding source file of all transcoding Task Distribution of first judgment unit judges transcoding accomplish, and said transcoding request is from CMS, synthetic file destination is deposited to the hosted service device behind then all source file transcodings, notice CMS transcoding is accomplished; Process ends.
The present invention with the audio-video document granulating, makes that the task unit of transcoding is littler through this method; Can the flexible allocation computational resource, the high transcoding file of output priority improves system responses fast.And use the method for prior art, server need adopt higher configuration could be competent at the transcoding task, and the method for the application of the invention has reduced the server threshold, has therefore reduced the cost of service.
Those having ordinary skill in the art will appreciate that; All or part of step in realization the foregoing description method can be accomplished through the program command related hardware; Described program can be stored in the computer read/write memory medium, and described storage medium can be ROM, RAM, disk, CD etc.
The above is merely preferred embodiment of the present invention, not in order to restriction the present invention, all any modifications of within spirit of the present invention and principle, being done, is equal to and replaces and improvement etc., all should be included within protection scope of the present invention.

Claims (10)

1. audio-video document transcoding colony dispatching method is characterized in that said method comprises:
Receive the transcoding request, the transcoding request is carried out burst with the transcoding task of correspondence, generate transcoding task burst according to said;
Generate transcoding task burst schedule information according to the task priority that is provided with in advance; And transcoding Task Distribution to transcoding cluster is carried out transcoding according to said transcoding task burst schedule information;
Judge the corresponding source file of all transcoding task bursts whether transcoding accomplish, if transcoding is not accomplished and said transcoding request from streaming server, the source file burst after then notifying the transcoding cluster with transcoding is stored in caching server; The notification streams server is according to the VOD order request of receiving, with being buffered in the file push of transcoding corresponding in the caching server to portable terminal.
2. audio-video document transcoding colony dispatching method according to claim 1 is characterized in that, described " receive the transcoding request, carry out burst according to the transcoding task that said transcoding request is corresponding, generate transcoding task burst " is specially:
Search the corresponding task description file of described transcoding request file name; If find, then, obtain the transcoding mission bit stream through described task description file;
Read source file through described transcoding mission bit stream, and obtain the coded message of source file;
According to the coded message of described source file, obtain I frame period time and bit rate output, the transcoding task that said transcoding mission bit stream is corresponding is carried out burst, generates transcoding task burst.
3. audio-video document transcoding colony dispatching method according to claim 2 is characterized in that, described " receiving the transcoding request " also comprises before:
Portable terminal sends the VOD order request, carries the filename of predefined file destination in the described request;
Streaming server receives described VOD order request, and judges whether to receive the SEEK request; Then streaming server is searched in the transcoding destination file according to described filename if not; Then send the transcoding request if search.
4. audio-video document transcoding colony dispatching method according to claim 3 is characterized in that, described " streaming server receives described VOD order request, and judges whether to receive the SEEK request " is if then send described SEEK request;
After receiving described SEEK request,, find the first corresponding transcoding task burst in the SEEK request according to the time started of the broadcast of carrying in the described SEEK request;
Judge whether the described first transcoding task burst should be present in the transcoding task queue; If then the notification streams server is just at transcoding, reading of data, process ends; Then improve the priority of this first transcoding task burst if not; Continue to carry out and ", and transcoding Task Distribution to transcoding cluster to be carried out transcoding according to transcoding task burst schedule information according to described transcoding task burst schedule information.
5. audio-video document transcoding colony dispatching method according to claim 4; It is characterized in that; Described " judging the whether transcoding completion of the corresponding source file of all transcoding task bursts ", if, and said transcoding request is from streaming server; Then, deposit to the hosted service device with synthetic file destination behind all source file transcodings.
6. audio-video document transcoding colony dispatching method according to claim 2 is characterized in that, described " receiving the transcoding request " also comprises before: CMS sends the transcoding request; Carry the filename of predefined file destination in the said transcoding request;
Described " judge the corresponding source file of all transcoding task bursts whether transcoding accomplish ", and if said transcoding request is from CMS, synthetic file destination is deposited to the hosted service device behind then all source file transcodings, notice CMS transcoding is accomplished; Process ends; If not, and said transcoding request is from CMS, and then behind the source file transcoding with segmentation, burst is deposited to caching server.
7. an audio-video document transcoding colony dispatching device is characterized in that said device comprises: receiving element, sharding unit, first processing unit, judging unit, second processing unit;
Receiving element comprises first receiving element, and first receiving element is used to receive the transcoding request;
Sharding unit is used for carrying out burst according to the said transcoding task that the transcoding request is corresponding, generates transcoding task burst;
First processing unit is used for generating transcoding task burst schedule information according to the task priority that is provided with in advance; And transcoding Task Distribution to transcoding cluster is carried out transcoding according to described transcoding task burst schedule information;
Judging unit comprises first judging unit, and said first judging unit is used to judge whether the transcoding completion of the corresponding source file of all transcoding task bursts; Then notify second processing unit with the result;
Second processing unit, be used for when the corresponding source file of all transcoding task bursts of first judgment unit judges also not transcoding accomplish, and said transcoding request is from streaming server, the source file burst of notice transcoding cluster after with transcoding is stored in caching server; And the notification streams server with being buffered in the file of transcoding corresponding in the caching server, is pushed to portable terminal according to the VOD order request of receiving; When the corresponding source file transcoding completion of all transcoding task bursts of first judgment unit judges, and said transcoding request then with synthetic file destination behind all source file transcodings, is deposited to the hosted service device from streaming server.
8. audio-video document transcoding colony dispatching device according to claim 7 is characterized in that described sharding unit comprises: search unit, reading unit, first sharding unit;
Search the unit and comprise that first searches the unit, first searches the unit, is used to search the corresponding task description file of described transcoding request file name; If find, then, obtain the transcoding mission bit stream through described task description file;
Reading unit is used for reading source file through described transcoding mission bit stream, and obtains the coded message of source file;
First sharding unit according to the coded message of described source file, is obtained I frame period time and bit rate output, and the transcoding task that said transcoding mission bit stream is corresponding is carried out burst, generates transcoding task burst.
9. audio-video document transcoding colony dispatching device according to claim 8 is characterized in that described receiving element further comprises: second receiving element; The said unit of searching comprises that further second searches the unit; Said judging unit further comprises second judging unit; Said device further comprises the 3rd processing unit;
Second receiving element is used to receive the SEEK request;
Second searches the unit, is used for the time started of the broadcast that request is carried according to described SEEK, finds the first corresponding transcoding task burst in the SEEK request;
Said second judging unit is used to judge whether the described first transcoding task burst should be present in the transcoding task queue; Then notify the 3rd processing unit with the result;
The 3rd processing unit is used for being present in the transcoding task queue when the first transcoding task burst, and the notification streams server is attempted reading of data, process ends just at transcoding; When the first transcoding task burst is not present in the transcoding task queue, then improve the priority of this first transcoding task burst, notify first processing unit to continue to handle.
10. audio-video document transcoding colony dispatching device according to claim 9 is characterized in that described receiving element further comprises the 3rd receiving element; Said device comprises that further manages the unit everywhere;
The 3rd receiving element is used to receive the transcoding request that CMS sends; Carry the filename of predefined file destination in the said transcoding request;
The manages the unit everywhere, be used for when the corresponding source file of all transcoding Task Distribution of the firstth judgment unit judges also not transcoding accomplish, and said transcoding request is from CMS, then behind the source file transcoding of segmentation, burst is deposited to caching server; When the corresponding source file of all transcoding Task Distribution of first judgment unit judges transcoding accomplish, and said transcoding request is from CMS, synthetic file destination is deposited to the hosted service device behind then all source file transcodings, notice CMS transcoding is accomplished; Process ends.
CN2012102547729A 2012-07-23 2012-07-23 Audio and video file transcoding cluster dispatching method and device Pending CN102802053A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2012102547729A CN102802053A (en) 2012-07-23 2012-07-23 Audio and video file transcoding cluster dispatching method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2012102547729A CN102802053A (en) 2012-07-23 2012-07-23 Audio and video file transcoding cluster dispatching method and device

Publications (1)

Publication Number Publication Date
CN102802053A true CN102802053A (en) 2012-11-28

Family

ID=47201004

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2012102547729A Pending CN102802053A (en) 2012-07-23 2012-07-23 Audio and video file transcoding cluster dispatching method and device

Country Status (1)

Country Link
CN (1) CN102802053A (en)

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103916679A (en) * 2014-03-10 2014-07-09 百度在线网络技术(北京)有限公司 Method, equipment and system for providing video information
CN104349176A (en) * 2013-07-30 2015-02-11 中国电信股份有限公司 Self-adaptive stream media system, downloading method and stream media server, user terminal
CN104469401A (en) * 2014-12-25 2015-03-25 武汉市烽视威科技有限公司 HLS based on-demand playing system and method
WO2015100956A1 (en) * 2014-01-02 2015-07-09 中兴通讯股份有限公司 Method and system for realizing x264 coding acceleration in heterogeneous cluster, calculation node and storage medium
CN104967868A (en) * 2014-04-04 2015-10-07 清华大学 Video transcoding method, video transcoding apparatus and server
CN105610823A (en) * 2015-12-28 2016-05-25 武汉鸿瑞达信息技术有限公司 Stream media processing method and processing system architecture based on task vectors
CN106604062A (en) * 2016-12-01 2017-04-26 中央电视台 Streaming media on demand method and device
CN106789326A (en) * 2017-01-11 2017-05-31 浙江广播电视集团 A kind of media transcoding elastic telescopic method of servicing based on mPaaS
CN106899858A (en) * 2017-02-14 2017-06-27 北京时间股份有限公司 Video transcoding method, server and system
CN106973306A (en) * 2017-02-14 2017-07-21 北京时间股份有限公司 Distributed trans-coding method, apparatus and system
CN111629233A (en) * 2020-05-29 2020-09-04 北京华夏电通科技有限公司 Audio and video transcoding method and device
CN115174535A (en) * 2022-06-24 2022-10-11 上海网达软件股份有限公司 POD scheduling method, system and device for realizing file transcoding based on Kubernetes and storage medium

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1929462A (en) * 2006-07-25 2007-03-14 中山大学 Device and method for digital household network media format transcoding
CN101098483A (en) * 2007-07-19 2008-01-02 上海交通大学 Video cluster transcoding system using image group structure as parallel processing element
CN101404652A (en) * 2008-10-10 2009-04-08 华南理工大学 Media format conversion system and method used for digital house
CN101459848A (en) * 2008-12-26 2009-06-17 西安交通大学 Distributed multi-format digital video transcoding construction design method
US20090172685A1 (en) * 2007-10-01 2009-07-02 Mevio Inc. System and method for improved scheduling of content transcoding
CN101917387A (en) * 2009-11-17 2010-12-15 新奥特(北京)视频技术有限公司 Multi-media transcoding cluster system
CN101951504A (en) * 2010-09-07 2011-01-19 中国科学院深圳先进技术研究院 Method and system for transcoding multimedia slices based on overlapping boundaries
EP2290912A1 (en) * 2008-05-30 2011-03-02 ZTE Corporation Content distributing method, service redirecting method and system, node device
CN102123279A (en) * 2010-12-28 2011-07-13 乐视网信息技术(北京)股份有限公司 Distributed real-time transcoding method and system
CN102256162A (en) * 2011-07-22 2011-11-23 网宿科技股份有限公司 Method and system for optimizing media-on-demand based on real-time file format conversion

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1929462A (en) * 2006-07-25 2007-03-14 中山大学 Device and method for digital household network media format transcoding
CN101098483A (en) * 2007-07-19 2008-01-02 上海交通大学 Video cluster transcoding system using image group structure as parallel processing element
US20090172685A1 (en) * 2007-10-01 2009-07-02 Mevio Inc. System and method for improved scheduling of content transcoding
EP2290912A1 (en) * 2008-05-30 2011-03-02 ZTE Corporation Content distributing method, service redirecting method and system, node device
CN101404652A (en) * 2008-10-10 2009-04-08 华南理工大学 Media format conversion system and method used for digital house
CN101459848A (en) * 2008-12-26 2009-06-17 西安交通大学 Distributed multi-format digital video transcoding construction design method
CN101917387A (en) * 2009-11-17 2010-12-15 新奥特(北京)视频技术有限公司 Multi-media transcoding cluster system
CN101951504A (en) * 2010-09-07 2011-01-19 中国科学院深圳先进技术研究院 Method and system for transcoding multimedia slices based on overlapping boundaries
CN102123279A (en) * 2010-12-28 2011-07-13 乐视网信息技术(北京)股份有限公司 Distributed real-time transcoding method and system
CN102256162A (en) * 2011-07-22 2011-11-23 网宿科技股份有限公司 Method and system for optimizing media-on-demand based on real-time file format conversion

Cited By (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104349176B (en) * 2013-07-30 2017-11-10 中国电信股份有限公司 Adaptive stream media system, method for down loading and streaming media server, user terminal
CN104349176A (en) * 2013-07-30 2015-02-11 中国电信股份有限公司 Self-adaptive stream media system, downloading method and stream media server, user terminal
WO2015100956A1 (en) * 2014-01-02 2015-07-09 中兴通讯股份有限公司 Method and system for realizing x264 coding acceleration in heterogeneous cluster, calculation node and storage medium
CN103916679A (en) * 2014-03-10 2014-07-09 百度在线网络技术(北京)有限公司 Method, equipment and system for providing video information
CN104967868A (en) * 2014-04-04 2015-10-07 清华大学 Video transcoding method, video transcoding apparatus and server
CN104967868B (en) * 2014-04-04 2018-09-04 清华大学 video transcoding method, device and server
CN104469401A (en) * 2014-12-25 2015-03-25 武汉市烽视威科技有限公司 HLS based on-demand playing system and method
CN105610823B (en) * 2015-12-28 2018-09-11 武汉鸿瑞达信息技术有限公司 A kind of the Streaming Media processing method and its processing system framework of task based access control vector
CN105610823A (en) * 2015-12-28 2016-05-25 武汉鸿瑞达信息技术有限公司 Stream media processing method and processing system architecture based on task vectors
CN106604062A (en) * 2016-12-01 2017-04-26 中央电视台 Streaming media on demand method and device
CN106789326A (en) * 2017-01-11 2017-05-31 浙江广播电视集团 A kind of media transcoding elastic telescopic method of servicing based on mPaaS
CN106789326B (en) * 2017-01-11 2020-03-24 浙江广播电视集团 Media transcoding elastic expansion service method based on mPAaS
CN106899858A (en) * 2017-02-14 2017-06-27 北京时间股份有限公司 Video transcoding method, server and system
CN106973306A (en) * 2017-02-14 2017-07-21 北京时间股份有限公司 Distributed trans-coding method, apparatus and system
CN111629233A (en) * 2020-05-29 2020-09-04 北京华夏电通科技有限公司 Audio and video transcoding method and device
CN111629233B (en) * 2020-05-29 2022-03-25 北京华夏电通科技股份有限公司 Audio and video transcoding method and device
CN115174535A (en) * 2022-06-24 2022-10-11 上海网达软件股份有限公司 POD scheduling method, system and device for realizing file transcoding based on Kubernetes and storage medium

Similar Documents

Publication Publication Date Title
CN102802053A (en) Audio and video file transcoding cluster dispatching method and device
US10461931B2 (en) Method for watermarking content
US9712889B2 (en) Seamless trick-mode with decreased latency for live transcode streaming
US10116572B2 (en) Method, device, and system for acquiring streaming media data
CN108848060B (en) Multimedia file processing method, processing system and computer readable storage medium
CN102740159B (en) Media file storage format and self-adaptation transfer system
US8850054B2 (en) Hypertext transfer protocol live streaming
EP2779658A2 (en) Segmented content delivery
US20140365613A1 (en) Defragmentation of adaptive streaming segment files in a content delivery network
CN102055718B (en) Method, device and system for layering request content in http streaming system
US20140074961A1 (en) Efficiently Delivering Time-Shifted Media Content via Content Delivery Networks (CDNs)
CN109587514B (en) Video playing method, medium and related device
CN102256162A (en) Method and system for optimizing media-on-demand based on real-time file format conversion
US10880024B2 (en) Reception device, transmission device, and data processing method
JP6478980B2 (en) System and method for cache-based content delivery
KR102439595B1 (en) Adaptive video streaming system using receiver caching
CN110401858B (en) Video playing method and device, electronic equipment and storage medium
WO2017201980A1 (en) Video recording method, apparatus and system
CN104349184A (en) Method of identification of multimedia flows and corresponding apparatus
US9513942B2 (en) Apparatus and method for providing contents service with virtual machine
US20200037014A1 (en) Method for audio and video just-in-time transcoding
CN104219286A (en) Method and device for processing stream media, client, CDN (content delivery network) node server and terminal
WO2018233539A1 (en) Video processing method, computer storage medium, and device
EP2883348B1 (en) Systems, methods and computer-readable media for resource-based allocation of content transmitted in a media network
CN102833241B (en) Streaming media service traffic record merged-processing method and device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C53 Correction of patent of invention or patent application
CB02 Change of applicant information

Address after: 19, building 18, Changhong technology building, 518057 South twelve Road, South tech Zone, Nanshan District hi tech Zone, Guangdong, Shenzhen

Applicant after: SHENZHEN TEMOBI TECHNOLOGY CO., LTD.

Address before: 19, building 18, Changhong technology building, 518057 South twelve Road, South tech Zone, Nanshan District hi tech Zone, Guangdong, Shenzhen

Applicant before: Shenzhen Temobi Science & Tech Development Co.,Ltd.

COR Change of bibliographic data

Free format text: CORRECT: APPLICANT; FROM: SHENZHEN TEMOBI SCIENCE + TECHNOLOGY CO., LTD. TO: SHENZHEN RONGCHANG TIANXIA TECHNOLOGY CO., LTD.

C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
ASS Succession or assignment of patent right

Owner name: RONGCHUANG TIANXIA (SHANGHAI) TECHNOLOGY DEVELOPME

Free format text: FORMER OWNER: SHENZHEN RONGCHANG TIANXIA TECHNOLOGY CO., LTD.

Effective date: 20150610

C41 Transfer of patent application or patent right or utility model
TA01 Transfer of patent application right

Effective date of registration: 20150610

Address after: 200433 Shanghai City, Yangpu District Wei Road No. 6 room 502-8

Applicant after: World (Shanghai) Technology Development Co., Ltd.

Address before: 19, building 18, Changhong technology building, 518057 South twelve Road, South tech Zone, Nanshan District hi tech Zone, Guangdong, Shenzhen

Applicant before: SHENZHEN TEMOBI TECHNOLOGY CO., LTD.

WD01 Invention patent application deemed withdrawn after publication
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20121128