CN106375319A - Audio and video transcoding scheduling method, apparatus, device and system - Google Patents
Audio and video transcoding scheduling method, apparatus, device and system Download PDFInfo
- Publication number
- CN106375319A CN106375319A CN201610804902.XA CN201610804902A CN106375319A CN 106375319 A CN106375319 A CN 106375319A CN 201610804902 A CN201610804902 A CN 201610804902A CN 106375319 A CN106375319 A CN 106375319A
- Authority
- CN
- China
- Prior art keywords
- transcoding
- audio
- video
- task
- result
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 142
- 230000008569 process Effects 0.000 claims description 115
- 238000004891 communication Methods 0.000 claims description 18
- 238000012545 processing Methods 0.000 abstract description 11
- 238000006243 chemical reaction Methods 0.000 description 6
- 230000005540 biological transmission Effects 0.000 description 5
- 239000000654 additive Substances 0.000 description 2
- 230000000996 additive effect Effects 0.000 description 2
- 230000008859 change Effects 0.000 description 2
- 238000010586 diagram Methods 0.000 description 2
- 230000005059 dormancy Effects 0.000 description 2
- 235000013399 edible fruits Nutrition 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000008901 benefit Effects 0.000 description 1
- 238000013500 data storage Methods 0.000 description 1
- 230000007423 decrease Effects 0.000 description 1
- 238000000151 deposition Methods 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 230000005611 electricity Effects 0.000 description 1
- 230000006870 function Effects 0.000 description 1
- 230000007774 longterm Effects 0.000 description 1
- 238000004321 preservation Methods 0.000 description 1
- 208000019116 sleep disease Diseases 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L65/00—Network arrangements, protocols or services for supporting real-time applications in data packet communication
- H04L65/60—Network streaming of media packets
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L65/00—Network arrangements, protocols or services for supporting real-time applications in data packet communication
- H04L65/80—Responding to QoS
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/50—Network services
- H04L67/60—Scheduling or organising the servicing of application requests, e.g. requests for application data transmissions using the analysis and optimisation of the required network resources
- H04L67/61—Scheduling or organising the servicing of application requests, e.g. requests for application data transmissions using the analysis and optimisation of the required network resources taking into account QoS or priority requirements
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/20—Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
- H04N21/23—Processing of content or additional data; Elementary server operations; Server middleware
- H04N21/234—Processing of video elementary streams, e.g. splicing of video streams or manipulating encoded video stream scene graphs
- H04N21/2343—Processing of video elementary streams, e.g. splicing of video streams or manipulating encoded video stream scene graphs involving reformatting operations of video signals for distribution or compliance with end-user requests or end-user device requirements
- H04N21/234336—Processing of video elementary streams, e.g. splicing of video streams or manipulating encoded video stream scene graphs involving reformatting operations of video signals for distribution or compliance with end-user requests or end-user device requirements by media transcoding, e.g. video is transformed into a slideshow of still pictures or audio is converted into text
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/20—Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
- H04N21/23—Processing of content or additional data; Elementary server operations; Server middleware
- H04N21/238—Interfacing the downstream path of the transmission network, e.g. adapting the transmission rate of a video stream to network bandwidth; Processing of multiplex streams
- H04N21/2387—Stream processing in response to a playback request from an end-user, e.g. for trick-play
Landscapes
- Engineering & Computer Science (AREA)
- Signal Processing (AREA)
- Multimedia (AREA)
- Computer Networks & Wireless Communication (AREA)
- Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
Abstract
The invention provides an audio and video transcoding scheduling method, apparatus, device and system. The method comprises the following steps: receiving a request message of acquiring an audio and video file transcoding result sent by a user terminal, wherein the request message carries identification information of an audio and video file having a to-be-acquired transcoding result; determining whether a transcoding task corresponding to the audio and video file having the to-be-acquired transcoding result has completed the transcoding processing according to the identification information of the audio and video file having the to-be-acquired transcoding result carried in the request message; when the transcoding task corresponding to the audio and video file having the to-be-acquired transcoding result does not carry out the transcoding processing, adjusting the priority of the transcoding task corresponding to the audio and video file having the to-be-acquired transcoding result; and acquiring a transcoding task list, and carrying out the transcoding processing at least according to the priorities of the transcoding tasks in the transcoding task list to acquire transcoding data. The transcoding priority of the to-be-viewed audio and video file of a user is improved to shorten the waiting time of the user.
Description
Technical field
The present invention relates to audio, video data process field, more particularly to a kind of method of audio frequency and video transcoding scheduling, device,
Equipment and system.
Background technology
Audio frequency and video transcoding, refers to for the audio-video code stream of compressed encoding to be converted into another kind of audio-video code stream, with suitable
Answer the different network bandwidths, different terminals disposal ability and different user's requests.Audio frequency and video transcoding is substantially one and first solves
Code, the process of re-encoding, the audio-video code stream before and after conversion may follow identical encryption algorithm it is also possible to follow different volumes
Code algorithm.
At present, the audio-video document producing in daily life gets more and more, file format is also varied.Put down with network
The development of platform, the demand that people watch audio frequency and video in web terminal and mobile terminal is continuously increased.Web terminal or mobile terminal are subject to platform
Limit, typically give tacit consent to the audio-video document form that can play fewer, as mp4 etc..In order to the literary composition of various forms can be play
Part, needs to carry out transcoding to original document, is converted into and is adapted to the destination file play in each platform.
Some audio frequency and video transcoding Patents existing, on the one hand lay particular emphasis on introduce transcoding service how with Play System phase
In conjunction with providing the user service, the scheduling for transcoding lacks description;On the other hand, how existing patent and scheme lay particular emphasis on
Realize the function of large-scale transcoding server cluster, in the case of lacking for transcoding resource-constrained, how to meet user as far as possible and visit
Ask the solution of demand.In transcoding inadequate resource, randomness audio-video document being accessed due to user, easily produce
The unmanned situation accessing, needing the file accessing for a long time just will can carry out transcoding afterwards of file through transcoding, needs user to wait
Long period, greatly reduce Consumer's Experience.
Content of the invention
The shortcoming of prior art in view of the above, it is an object of the invention to provide a kind of side of audio frequency and video transcoding scheduling
Method, device, equipment and system, for accessing situation according to user, lift the transcoding task priority of audio-video document to be watched,
Shorten period of reservation of number, improve the experience that user accesses audio-video document transcoding result.
For achieving the above object, the invention provides a kind of method of audio frequency and video transcoding scheduling, comprise the following steps: receive
The request message of the acquisition audio-video document transcoding result that user terminal sends;Transcoding to be obtained is carried in described request message
The identification information of the audio-video document of result;According to described request message carry described in transcoding result to be obtained audio frequency and video literary composition
The identification information of part, determines whether the audio-video document corresponding transcoding task of described transcoding result to be obtained completes at transcoding
Reason;When the audio-video document corresponding transcoding task of described transcoding result to be obtained not yet carries out transcoding process, adjustment is described
The priority of the audio-video document corresponding transcoding task of transcoding result to be obtained;Obtain transcoding task list, according at least to institute
The priority stating each transcoding task in transcoding task list carries out transcoding process, obtains transcoded data.
Optionally, described acquisition transcoding task list, according at least to each transcoding task in described transcoding task list
Priority carries out transcoding process, obtains transcoded data and includes: obtains transcoding task list, according to each in described transcoding task list
The priority of individual transcoding task and creation time, carry out transcoding process to each transcoding task in described transcoding task list, obtain
Take transcoded data.
Optionally, the described audio-video document corresponding transcoding task in described transcoding result to be obtained not yet carries out transcoding
During process, the priority adjusting the audio-video document corresponding transcoding task of described transcoding result to be obtained includes: treats described
When the audio-video document corresponding transcoding task of acquisition transcoding result not yet carries out transcoding process, it is determined whether receive for the first time
The corresponding request message of audio-video document of described transcoding result to be obtained;If receiving described transcoding knot to be obtained for the first time
The corresponding request message of audio-video document of fruit, then adjust the priority that priority is more than the transcoding task of first threshold, and institute
State the priority of the audio-video document corresponding transcoding task of transcoding result to be obtained.
Optionally, the described audio-video document corresponding transcoding task in described transcoding result to be obtained is not carried out at transcoding
During reason, the priority adjusting the audio-video document corresponding transcoding task of described transcoding result to be obtained includes: waits to obtain described
When taking the audio-video document corresponding transcoding task of transcoding result not carry out transcoding process, only adjust described transcoding result to be obtained
Audio-video document corresponding transcoding task priority.
Optionally, described each transcoding task in described transcoding task list is carried out with transcoding process, obtain transcoded data
Including: any one of described transcoding task list transcoding task is carried out transcoding process when, according to described transcoding task can
The output video resolution of transcoding result and/or audio sample rate, order from low to high, described audio frequency and video task is carried out turn
Code is processed, and obtains transcoded data.
Optionally, before the request message of the acquisition audio-video document transcoding result that described receive user terminal sends,
Also include: the audio-video document that receive user terminal sends;The audio-video document being sent according to user terminal, creates transcoding and appoints
Business, updates described transcoding task list.
A second aspect of the present invention, embodiments provides a kind of device of audio frequency and video transcoding scheduling, comprising: receive
Module, the request message of the acquisition audio-video document transcoding result that receive user terminal sends;Carry in described request message
The identification information of the audio-video document of transcoding result to be obtained;Determining module, described in carrying according to described request message
The identification information of the audio-video document of transcoding result to be obtained, determines that the audio-video document of described transcoding result to be obtained is corresponding
Whether transcoding task completes transcoding is processed;Adjusting module, corresponding for the audio-video document in described transcoding result to be obtained
When transcoding task not yet carries out transcoding process, adjust the audio-video document corresponding transcoding task of described transcoding result to be obtained
Priority;Acquisition module, for obtaining transcoding task list, according at least to each transcoding task in described transcoding task list
Priority carries out transcoding process, obtains transcoded data.
The third aspect, embodiments provides a kind of transcoding server, comprising: processor, communication interface, memorizer
And communication bus;Wherein, described processor, described communication interface and described memorizer are completed by described communication bus each other
Communication;Described memorizer, is used for depositing program code;Wherein, described program code includes computer-managed instruction;Described logical
Letter interface, the request message of the acquisition audio-video document transcoding result sending for receive user terminal;In described request message
Carry the identification information of the audio-video document of transcoding result to be obtained;Described computing device described program code, for root
According to described request message carry described in transcoding result to be obtained audio-video document identification information, determine described to be obtained turn
Whether the audio-video document corresponding transcoding task of code result completes transcoding is processed;Audio frequency and video in described transcoding result to be obtained
When file corresponding transcoding task not yet carries out transcoding process, the audio-video document adjusting described transcoding result to be obtained is corresponding
The priority of transcoding task;Obtain transcoding task list, according at least in described transcoding task list each transcoding task excellent
First level carries out transcoding process, obtains transcoded data.
Fourth aspect, embodiments provides a kind of system of audio frequency and video transcoding scheduling, comprising: user terminal, extremely
Transcoding server described in few above-described embodiment and storage server.
As described above, a kind of method of audio frequency and video transcoding scheduling of the present invention, device, equipment and system, having following has
Beneficial effect: the request message of the acquisition audio-video document transcoding result that receive user terminal sends;Carry according in request message
The audio-video document of transcoding result to be obtained identification information, determine corresponding turn of the audio-video document of transcoding result to be obtained
Whether code task completes transcoding is processed;Not yet carry out transcoding in the audio-video document corresponding transcoding task of transcoding result to be obtained
During process, the priority of adjustment task;Obtain transcoding task list, according at least in list each transcoding task preferentially grading
Row transcoding is processed, and obtains transcoded data.By the viewing needs according to user, improve the preferential of audio-video document to be watched
Level, so that priority treatment high-priority task during the scheduling of audio frequency and video transcoding, and then can shorten period of reservation of number.Often process one
Individual transcoding task, first exports time-consuming short transcoded data, then exports other time-consuming longer transcoded data, and the transcoding that upgrades in time is appointed
Business list is it is ensured that user can obtain processed content as early as possible.
Brief description
A kind of method flow schematic diagram of audio frequency and video transcoding scheduling that Fig. 1 provides for the present invention;
The method flow schematic diagram of another kind of audio frequency and video transcoding scheduling that Fig. 2 provides for the present invention;
A kind of structural representation of the device of audio frequency and video transcoding scheduling that Fig. 3 provides for the present invention;
The structural representation of the device of another kind of audio frequency and video transcoding scheduling that Fig. 4 provides for the present invention;
A kind of structural representation of transcoding server that Fig. 5 present invention provides;
A kind of structural representation of the system of audio frequency and video transcoding scheduling that Fig. 6 provides for the present invention.
Specific embodiment
Accompanying drawing in conjunction with the embodiments, will elaborate to the purpose of the present invention, design, technical scheme and advantage below.Should
Work as understanding, described embodiment is in order to the present invention will be described, and limit present disclosure never in any form.By reality
Apply example, those of ordinary skill in the art may be better understood content of the invention.On the premise of not paying creative work, this
Its related embodiment all that field those of ordinary skill obtains, all should belong to protection scope of the present invention.
When user watches audio-video document by user terminal, need first to carry out transcoding process to audio-video document.Current sound
Laying particular emphasis on the processing procedure of large-scale transcoding server cluster video code conversion scheduling scheme, that is, it is sufficient for envisioning system resource more,
Process successively according to the order that user uploads.As: under the scene of video website, website background server uploads to user
File carry out transcoding, the video that only transcoding completes just can list and select play.But, because user is to audio frequency and video literary composition
The randomness that part accesses, easily produces the unmanned access of audio-video document of transcoding, needs the audio-video document accessing temporarily not enter
Row video code conversion is processed, and needs user to wait the long period.Additionally, the former resolution result of one video of transcoding is generally time-consuming relatively
Long, can consider that transcoding goes out the result of a low resolution in the case of mobile terminal, low network speed, preferentially be supplied to user and broadcast
Put.One of feature of the present invention, the request of the acquisition audio-video document transcoding result according to user, lifting audio frequency and video to be watched literary composition
The priority of the transcoding task of part is so that priority treatment high-priority task during the scheduling of audio frequency and video transcoding, it is possible to reduce user etc.
Treat the time.
As shown in figure 1, the invention provides a kind of method of audio frequency and video transcoding scheduling, comprising the following steps:
Step s101: the request message of the acquisition audio-video document transcoding result that receive user terminal sends.
Wherein, carry the identification information of the audio-video document of transcoding result to be obtained in request message.
Specifically, user, when needing to watch audio-video document by user terminal, needs first by audio frequency and video to be watched
File transcoding is the file format that its user terminal can be play.Reason audio frequency and video transcoding scheduling at the transcoding of audio-video document
Device completes.Therefore, user terminal need to obtain the transcoding result of audio-video document by the device that audio frequency and video transcoding is dispatched.This
When, user can be added the identification information of audio-video document to be watched to request message by user terminal, as will
The identification information of the audio-video document of transcoding result to be obtained adds to request message, and the device to the scheduling of audio frequency and video transcoding
Send transcoding request message.Now, the device of audio frequency and video transcoding scheduling can receive the request message of user terminal transmission.
It should be noted that treating that the identification information of the audio-video document of transcoding is can uniquely to indicate to treat that the sound of transcoding regards
The information of frequency file, can be the audio-video document treating transcoding identification number or treat transcoding audio-video document name
Title information, can also be other information, the invention is not limited in this regard.
Step s102: the identification information of the audio-video document of the transcoding result to be obtained being carried according to request message, determine
Whether the audio-video document corresponding transcoding task of transcoding result to be obtained completes transcoding is processed.
Specifically, after the device of audio frequency and video transcoding scheduling receives the request message of user terminal transmission, can parse please
Seek message, obtain the identification information of the audio-video document of transcoding result to be obtained.The device of audio frequency and video transcoding scheduling is getting
After the identification information of audio-video document of transcoding result to be obtained, can be according to the mark of the audio-video document of transcoding result to be obtained
Know transcoding corresponding to the identification information of the audio-video document whether having transcoding result to be obtained in information searching transcoding task list
Task, if there being the transcoding task corresponding to identification information of the audio-video document of transcoding result to be obtained in transcoding task list,
Can determine that the audio-video document corresponding transcoding task of transcoding result to be obtained does not complete transcoding and processes.Now, audio frequency and video transcoding
The device of scheduling may further determine that whether the audio-video document corresponding transcoding task of transcoding result to be obtained is not yet carried out
Transcoding is processed.The audio-video document corresponding transcoding task that the device dispatched in audio frequency and video transcoding determines transcoding result to be obtained is just
When carrying out transcoding process, now the device of explanation audio frequency and video transcoding scheduling is after the transcoding process having carried out this, you can to
User returns transcoded data, the device that therefore audio frequency and video transcoding is dispatched following steps to audio-video document corresponding transcoding tasks carrying
Suddenly.And the device in the scheduling of audio frequency and video transcoding determines that the audio-video document corresponding transcoding task of transcoding result to be obtained is not yet entered
When row transcoding is processed, in order to shorten the waiting time of user, the preferential of this audio-video document corresponding transcoding task can be changed
Level, executes following step.
If there is no the audio-video document corresponding transcoding task of transcoding result to be obtained in transcoding task list, can be true
The audio-video document of fixed transcoding result to be obtained has completed transcoding and has processed, and can return to user, no with direct access transcoded data
Following step need to be executed.
It should be noted that the device of audio frequency and video transcoding scheduling is according to the transcoding result to be obtained being carried according to request message
Audio-video document identification information, determine the audio-video document corresponding transcoding task of transcoding result to be obtained whether complete turn
The method that code is processed can also be additive method, and for example, the device of audio frequency and video transcoding scheduling can be according to the audio frequency and video treating transcoding
The identification information-enquiry of file deposits in the identification information of the audio-video document completing transcoding whether there is transcoding result to be obtained
Audio-video document identification information, if not having, can determine the corresponding transcoding of audio-video document of transcoding result to be obtained
Task does not complete transcoding and processes.If having, can determine that the audio-video document corresponding transcoding task of transcoding result to be obtained is complete
Part or all of transcoding is become to process.The invention is not limited in this regard.
Step s103: when the audio-video document corresponding transcoding task of transcoding result to be obtained does not carry out transcoding process,
Adjust the priority of the audio-video document corresponding transcoding task of transcoding result to be obtained.
Specifically, the device of audio frequency and video transcoding scheduling is determining the audio-video document treating transcoding corresponding transcoding task not
When carrying out transcoding process, the priority of the audio-video document corresponding transcoding task of transcoding result to be obtained can be improved, now,
The device of audio frequency and video transcoding scheduling adjusts the priority of the audio-video document corresponding transcoding task of transcoding result to be obtained.
Further, the device of audio frequency and video transcoding scheduling is in corresponding turn of audio-video document adjusting transcoding result to be obtained
Code task priority when, can with receive user terminal send transcoding request message number of times unrelated it is also possible to reception
User terminal send transcoding request message number of times relevant.Specific as follows:
When the audio-video document corresponding transcoding task of transcoding result to be obtained does not carry out transcoding process, adjustment is to be obtained
The priority of the audio-video document corresponding transcoding task of transcoding result includes: the audio-video document of transcoding result to be obtained corresponds to
Transcoding task do not carry out transcoding process when, it is determined whether receive for the first time transcoding result to be obtained audio-video document correspond to
Request message;If receiving the corresponding request message of audio-video document of transcoding result to be obtained for the first time, then adjust excellent
First level is more than the priority of the transcoding task of first threshold, and the audio-video document corresponding transcoding task of transcoding result to be obtained
Priority.
That is, the device of audio frequency and video transcoding scheduling is corresponding in the audio-video document determining transcoding result to be obtained
When transcoding task does not carry out transcoding process, can be according to the request message of the audio-video document receiving, it is determined whether connect for the first time
Receive the corresponding request message of audio-video document of this transcoding result to be obtained, if receiving this transcoding knot to be obtained for the first time
The corresponding request message of audio-video document of fruit, the priority of the transcoding task that priority can be more than first threshold is first carried out
Lifting, then the priority lifting the audio-video document corresponding transcoding task of this transcoding result to be obtained.So, in transcoding
When the priority of task is more than first threshold, illustrates that this transcoding task is to be badly in need of carrying out transcoding process, now can ensure that this
While the priority that the transcoding of transcoding task is processed is not changed, the audio-video document of transcoding result to be obtained can also be lifted
The priority of corresponding transcoding task.
It is not the audio-video document pair receiving this transcoding result to be obtained for the first time in the device of audio frequency and video transcoding scheduling
During the request message answered, following transcoding process can not be carried out in the priority adjusting each transcoding task.
By said method, can also realize when the priority of multiple transcoding tasks is all adjusted it is ensured that earliest
The transcoding task of adjustment priority maintains limit priority always.
By said method, the adjustment of the priority of each transcoding task please to the transcoding of audio-video document with user terminal
Ask number of times unrelated.
It should be noted that the device of audio frequency and video transcoding scheduling is according to the audio-video document of the transcoding result to be obtained receiving
Corresponding request message, it is determined whether receive the corresponding request message of audio-video document of this transcoding result to be obtained for the first time
Method, can be audio frequency and video transcoding scheduling device first time receive transcoding result to be obtained audio-video document corresponding
After request message, can first cache the corresponding request message of audio-video document of transcoding result to be obtained, here transcoding to be obtained
The audio-video document corresponding transcoding task of result completes after transcoding processes, then deletes the sound of the transcoding result to be obtained of caching and regard
The corresponding request message of frequency file.So, the device of audio frequency and video transcoding scheduling receives transcoding result to be obtained every time
The corresponding request message of audio-video document can first detect in caching this request message that whether is stored with, if being stored with this in caching
Request message, then can determine that the corresponding request of audio-video document not being to receive this transcoding result to be obtained for the first time disappears
Breath.If not storing the corresponding request message of audio-video document of this transcoding result to be obtained in caching, can be determined that the
Once receive the corresponding request message of audio-video document of this transcoding result to be obtained.Certainly, the dress of audio frequency and video transcoding scheduling
Put can also determine whether that the audio-video document receiving for the first time this transcoding result to be obtained is corresponding by additive method please
Ask message, the invention is not limited in this regard.
It should be noted that first threshold can manager pre-set according to the actual requirements.For example, transcoding task
Priority can represent with numeral, the more big then priority of numeral is higher.And priority is when 0 then it represents that non-preferential is processed
Transcoding task, its priority is minimum.So, first threshold can be set to 0 by manager, as appoint carrying out transcoding
During the adjustment of business, the transcoding task that only priority is more than 0, could be corresponding with the audio-video document of transcoding result to be obtained
The adjustment of the priority of transcoding task and adjust.
Exemplary, the transcoding task not carrying out transcoding process has transcoding task a, and transcoding task b.Wherein, transcoding is appointed
The priority of business a is 1, and the priority of transcoding task b is 0, and first threshold is 0.If the audio frequency and video literary composition of transcoding result to be obtained
Part corresponding transcoding task is transcoding task c, and the priority of transcoding task c of record is 0 in transcoding task list.Sound regards
The device of frequency transcoding scheduling is when determining that transcoding task c does not carry out transcoding process, and determines that receiving transcoding for the first time appoints
After the business corresponding request message of c, the priority that first priority can be more than 0 transcoding task a is adjusted to 2, then transcoding is appointed
The priority of business part c is adjusted to 1.So it is ensured that the priority of the transcoding task first adjusting can preferentially be located always
Reason.
Or, when the audio-video document corresponding transcoding task of transcoding result to be obtained does not carry out transcoding process, adjustment
The priority of the audio-video document corresponding transcoding task of transcoding result to be obtained includes: in the audio frequency and video of transcoding result to be obtained
When file corresponding transcoding task does not carry out transcoding process, only adjust the corresponding transcoding of audio-video document of transcoding result to be obtained
The priority of task.
That is, the device of audio frequency and video transcoding scheduling is corresponding in the audio-video document determining transcoding result to be obtained
When transcoding task does not carry out transcoding process, the audio-video document corresponding transcoding task of this transcoding result to be obtained can be improved
Priority.Now, the device of audio frequency and video transcoding scheduling can only adjust corresponding turn of the audio-video document of transcoding result to be obtained
The priority of code task.
That is, the device of audio frequency and video transcoding scheduling is corresponding in the audio-video document determining transcoding result to be obtained
When transcoding task does not carry out transcoding process, the audio-video document corresponding transcoding task of this transcoding result to be obtained can be improved
Priority.Now, the device of audio frequency and video transcoding scheduling can only adjust corresponding turn of the audio-video document of transcoding result to be obtained
The priority of code task.
Step s104: obtain transcoding task list, according at least to the priority of each transcoding task in transcoding task list
Carry out transcoding process, obtain transcoded data.
It should be noted that user terminal is when the device needing the scheduling of audio frequency and video transcoding carries out the conversion of audio-video document,
Audio-video document need to be sent to the device of audio frequency and video transcoding scheduling, the device of now audio frequency and video transcoding scheduling is directed to audio frequency and video literary composition
Part sets up transcoding task, leaves in transcoding task list.
Specifically, the device of audio frequency and video transcoding scheduling is carrying out transcoding process to audio-video document corresponding transcoding task
When, transcoding task need to be obtained in transcoding task list.Now, the device of audio frequency and video transcoding scheduling obtains transcoding in the buffer and appoints
Business list, according at least to the priority of each transcoding task of record in transcoding task list, can be according to priority by up to
Low order carries out transcoding process to transcoding task, obtains transcoded data.
Further, the device of audio frequency and video transcoding scheduling is carrying out transcoding process to the transcoding task in transcoding task list
When, the transcoding task with high priority and the transcoding task not having priority can also be carried out with alternately transcoding and process.In sound
When the device of video code conversion scheduling is the device of multithread scheduling, by there being the transcoding task of priority and can there is no priority
Transcoding task separately carries out transcoding process.It is, of course, also possible to be other working method, the invention is not limited in this regard.
Further, obtain transcoding task list, according at least to the priority of each transcoding task in transcoding task list
Carry out transcoding process, obtain transcoded data and include: obtain transcoding task list, according to each transcoding task in transcoding task list
The height of priority and creation time, each transcoding task in transcoding task list is carried out with transcoding process, obtains transcoding number
According to.
That is, the device of audio frequency and video transcoding scheduling can determine according to the priority of transcoding task and creation time
The order that the transcoding of each transcoding task of transcoding task list is processed, and then turning according to each transcoding task of transcoding task list
The order that code is processed, carries out transcoding process, obtains transcoded data.Now, the device of audio frequency and video transcoding scheduling can be according to transcoding
The priority of task, the transcoding preferentially carrying out the high transcoding task of priority is processed.And the priority phase in multiple transcoding tasks
Meanwhile, then can be according to the creation time of priority identical transcoding task, preferentially the transcoding task early to creation time is carried out
Corresponding transcoding is processed.
Further, each transcoding task in transcoding task list is carried out with transcoding process, obtains transcoded data and include: be right
When any one of transcoding task list transcoding task carries out transcoding and processes, according to the regarding of exportable transcoding result of transcoding task
Frequency division resolution and/or audio sample rate, order from low to high, audio frequency and video task is carried out with transcoding process, obtains transcoded data.
It is, when the device of audio frequency and video transcoding scheduling carries out transcoding process to transcoding task, because user terminal may be same
When multiple forms are requested to audio-video document, and video resolution and/or audio sample rate are less, the total time that transcoding is processed
Shorter, therefore in order that user terminal can playing audio-video document as early as possible, transcoding process is carried out to any one transcoding task,
The audio frequency and video form of the low resolution being preferentially directed in this transcoding task carries out transcoding process, to the high-resolution in this transcoding task
Carry out transcoding process.It is, when transcoding task can produce the transcoded data of multiple audio frequency and video forms, preferential acquisition is time-consuming short
Transcoded data.
Further, the detailed process that the device of audio frequency and video transcoding scheduling carries out transcoding process to transcoding task is that sound regards
The device of frequency transcoding scheduling can show the acquisition corresponding audio-video document of transcoding task in the buffer, and audio-video document is solved
Analysis, obtains the relevant information of audio-video document, carries out transcoding process according to the relevant information of the audio-video document obtaining, is turned
Code data.
It should be noted that the relevant information of audio-video document includes but is not limited to: video resolution, code check, duration, be
No have the information such as video flowing/audio stream/caption stream, the invention is not limited in this regard.
To sum up, by adjusting the processing order of transcoding task according to user's request, improve and need to be accessed for audio frequency and video
The processing speed of file.And and by preferential obtain time-consuming short transcoded data, upgrade in time transcoded data information, makes user
Processed content can be obtained as early as possible, improve the experience that user accesses audio-video document transcoding result.
As shown in Fig. 2 embodiments providing a kind of method of audio frequency and video transcoding scheduling, comprise the following steps:
Step s201: the audio-video document that receive user terminal sends.
Specifically, user, when need carry out the broadcasting of audio-video document, due to the restriction of the broadcast format of user terminal, needs
Audio-video document is first carried out transcoding process by the device to be dispatched by audio frequency and video transcoding.Now, user will by user terminal
The audio-video document carrying out transcoding process is needed to send to the device of audio frequency and video transcoding scheduling.The device of audio frequency and video transcoding scheduling connects
Receive the audio-video document that user terminal sends.
Step s202: the video file being sent according to user, create transcoding task, update transcoding task list.
Specifically, audio frequency and video transcoding scheduling device receive user terminal transmission audio-video document after, due to need
To carry out transcoding process for this audio-video document, therefore can create transcoding task to this audio-video document, and by this transcoding
Task stores to transcoding task list, updates the transcoding task list to store.
Wherein, the relevant information of audio-video document, the priority of audio-video document, creation time are contained in transcoding task
Deng.
It should be noted that the creation time of audio-video document can be the creation time of transcoding task.
Step s203: obtain transcoding task list, whether search in transcoding task list has transcoding task.
Specifically, the device of audio frequency and video transcoding scheduling gets transcoding task list from caching, checks that transcoding task arranges
Transcoding task whether has been recorded in table.If record has transcoding task, the device of audio frequency and video transcoding scheduling can arrange to transcoding task
Transcoding task in table carries out transcoding process, now execution step s204a-212a, or execution step s204a-s210b.If
Transcoding task has not been recorded, then the device of audio frequency and video transcoding scheduling then terminates the transcoding of this transcoding task in transcoding task list
Process, as execution step s204b.
Step s204a, the transcoding task obtaining in transcoding task list.
Specifically, the device of audio frequency and video transcoding scheduling can get transcoding task list in the buffer, can be in transcoding
Priority according to each transcoding task in task list, obtains the high transcoding task of priority, as obtains priority numeral
Maximum transcoding task.If the priority of each transcoding task is identical in transcoding task list, can be according to each transcoding
The creation time of task, obtains the earliest transcoding task of creation time.
Step s204b: if there is no transcoding task in transcoding task list, this transcoding finishing scheduling.
Specifically, the device of audio frequency and video transcoding scheduling is space-time obtaining transcoding task list, or audio frequency and video transcoding
When the device of scheduling does not get transcoding task list, then can determine there is no transcoding task, now the scheduling of audio frequency and video transcoding
Device can terminate this transcoding dispatch deal.
It should be noted that after the device of the audio frequency and video transcoding scheduling in the present invention finishes this transcoding dispatch deal,
Needing continuous circulating repetition to execute above-mentioned steps s201- step s203, if temporarily not having pending processing transcoding task, one can be carried out
The dormancy of section time, and need after sleeping to re-execute above-mentioned steps s201- step s203.
It should be noted that the device of audio frequency and video transcoding scheduling carry out time of dormancy can be by manager according to actual need
Set, the invention is not limited in this regard.
Step s205a: obtain the relevant information of audio-video document according to transcoding task.
Specifically, the device of audio frequency and video transcoding scheduling, after obtaining transcoding task, can parse sound in transcoding task
Video file, and then the relevant information of audio-video document can be got according to audio-video document.Specifically refer to step s104,
Will not be described here.
Wherein, the relevant information of audio-video document, including but not limited to: video resolution, code check, duration, whether there is
Video flowing/audio stream/caption stream etc..
Step s206a: according to the relevant information of the audio-video document obtaining, when needing the output of transcoding result, transcoding is appointed
Business carries out transcoding process, obtains transcoded data.
Specifically, the device of audio frequency and video transcoding scheduling, after obtaining the relevant information of audio-video document, determines whether
Needing the transcoded data of output, if there being predetermined exportable transcoded data, now need not carry out the relevant information of audio-video document
In Unrecorded transcoded format transcoding process, thus need not export other failed calls output transcoded data.
For example, the transcoded format that have recorded audio-video document in the relevant information of audio-video document is 240p low resolution
Change data, then audio-video document can be 240p low resolution by former conversion of resolution by the device of audio frequency and video transcoding scheduling
Video and audio file, and video interception will be carried out.And for situations below, process can be reduced: a video file only has audio stream,
There is not video flowing, then do not need to process video interception.The former resolution of one video file only has 180p it is only necessary to former point of output
Resolution result it is not necessary to attempt output 240p transcoded data.
Because video resolution is less, the total time that transcoding is processed is shorter, therefore in order that user terminal can be broadcast as early as possible
Playback video file, when a video file is carried out with transcoding process, is preferentially directed to this video file and exports turning of low resolution
Code data, more high-resolution transcoded data is exported to this audio-video document.
It should be noted that audio frequency and video transcoding scheduling device judge audio-video document do not need export result
During finishing scheduling, can be by this audio frequency and video transcoding finishing scheduling.
Step s207a: preserve transcoded data, update transcoded data file.
Specifically, the device of audio frequency and video transcoding scheduling often produces a transcoded data, just preserves transcoded data to transcoding number
According in file, as update the data file, during ensureing user's inquiry, processed partial results can be obtained as early as possible.
It should be noted that the device that above-mentioned steps are the scheduling of audio frequency and video transcoding carries out the mistake of transcoding process to transcoding task
Journey.At this point it is possible to be that the device that audio frequency and video transcoding is dispatched voluntarily is carried out.Send to the device that audio frequency and video transcoding is dispatched in user
During transcoding request message, the device of audio frequency and video transcoding scheduling need to be processed accordingly according to the request message of user, now may be used
To execute following step.
Step s208: the request message of the acquisition audio-video document transcoding result that receive user terminal sends.
Wherein, carry the identification information of the audio-video document of transcoding result to be obtained in request message.
Specifically, refer to step s101, will not be described here.
Step s209: the identification information of the audio-video document of the transcoding result to be obtained being carried according to request message, determine
Whether the audio-video document corresponding transcoding task of transcoding result to be obtained completes transcoding is processed.
Specifically, refer to step s102, will not be described here.
It should be noted that the device that audio, video data is processed is different according to the result determining, the step being performed below is same.
When the audio-video document corresponding transcoding task determining transcoding result to be obtained does not carry out transcoding process, execution step s210a,
When the audio-video document corresponding transcoding task determining transcoding result to be obtained completes transcoding process, execution step s210b.
Step s210a: when the audio-video document corresponding transcoding task of transcoding result to be obtained does not carry out transcoding process,
Adjust the priority of the audio-video document corresponding transcoding task of transcoding result to be obtained.
Specifically, refer to step s103, will not be described here.
Step s210b: when the audio-video document corresponding transcoding task of transcoding result to be obtained completes transcoding process, root
According to transcoded data file, return corresponding transcoded data to user terminal.
Specifically, the device of audio frequency and video transcoding scheduling is determining corresponding turn of the audio-video document of transcoding result to be obtained
When code task completes transcoding process, the transcoded data file in caching can be got, and get use in transcoded data file
The transcoded data that family terminal need to obtain, and send to user terminal.
Step s211a: obtain transcoding task list, according at least to the priority of each transcoding task in transcoding task list
Carry out transcoding process, obtain transcoded data.
Specifically, refer to step s104, will not be described here.
Step s212a: transcoding destination file is updated according to transcoded data.
Specifically, transcoding, after obtaining transcoded data, can be processed turning of acquisition by the device that audio, video data is processed
Code data storage, to transcoded data file, so that in the transcoded data of user terminal requests audio-video document, is directly turning
Transcoded data is obtained in code data file.So, audio, video data process device by step s211a get turn
After code data, the transcoded data of acquisition can be stored to transcoded data file, as update transcoded data file.
To sum up, by adjusting the priority of transcoding task according to user's request, improve audio-video document to be watched and turning
Processing speed during code scheduling, decreases period of reservation of number;During by processing a transcoding task, preferential output is time-consuming short
Transcoded data, and the task list that upgrades in time is it is ensured that user terminal can get completed part or all of transcoding number as early as possible
According to.
As shown in figure 3, embodiments providing a kind of device of audio frequency and video transcoding scheduling, comprising:
Receiver module 301, the request message of the acquisition audio-video document transcoding result that receive user terminal sends.
Wherein, carry the identification information of the audio-video document of transcoding result to be obtained in request message.
Determining module 302, for the mark letter of the audio-video document of transcoding result to be obtained in being carried according to request message
Breath, determines whether the audio-video document corresponding transcoding task of transcoding result to be obtained completes transcoding and process.
Adjusting module 303, not yet carries out turning for the audio-video document corresponding transcoding task in transcoding result to be obtained
When code is processed, adjust the priority of the audio-video document corresponding transcoding task of transcoding result to be obtained.
Specifically, adjusting module 303, specifically for the audio-video document corresponding transcoding task in transcoding result to be obtained
When not carrying out transcoding process, it is determined whether the corresponding request of audio-video document receiving transcoding result to be obtained for the first time disappears
Breath.If receiving the corresponding request message of audio-video document of transcoding result to be obtained for the first time, then adjustment priority is more than
The priority of the transcoding task of first threshold, and the audio-video document corresponding transcoding task of transcoding result to be obtained is preferential
Level.
Or, adjusting module 303, specifically for the audio-video document corresponding transcoding task in transcoding result to be obtained not
When carrying out transcoding process, only adjust the priority of the audio-video document corresponding transcoding task of transcoding result to be obtained.
Acquisition module 304, for obtaining transcoding task list, according at least to each transcoding task in transcoding task list
Priority carries out transcoding process, obtains transcoded data.
Specifically, acquisition module 304, specifically for obtaining transcoding task list, according to each turn in transcoding task list
The priority of code task and creation time, carry out transcoding process to each transcoding task in transcoding task list, obtain transcoding number
According to.
Further, acquisition module 304 carries out transcoding process to each transcoding task in described transcoding task list, obtains
Transcoded data specifically includes: when acquisition module 304 carries out transcoding process to any one of transcoding task list transcoding task, presses
Video resolution according to the exportable transcoding result of transcoding task and/or audio sample rate, order from low to high, to audio frequency and video
Task carries out transcoding process, obtains transcoded data.
Further, the device of above-mentioned audio frequency and video transcoding scheduling, as shown in figure 4, also include: update module 305.
Above-mentioned receiver module 301, is additionally operable to the audio-video document of receive user terminal transmission.
Update module 305, for the audio-video document sending according to user terminal, creates transcoding task, updates transcoding and appoints
Business list.
Embodiments provide a kind of device of audio frequency and video transcoding scheduling, the acquisition sending including receive user terminal
The request message of audio-video document transcoding result;Audio-video document according to the transcoding result to be obtained carrying in request message
Identification information, determines whether the audio-video document corresponding transcoding task of transcoding result to be obtained completes transcoding and process;Waiting to obtain
When taking the audio-video document corresponding transcoding task of transcoding result not yet to carry out transcoding process, the priority of adjustment task;Obtain
Transcoding task list, the priority according at least to each transcoding task in list carries out transcoding process, obtains transcoded data.Pass through
According to the viewing needs of user, improve the priority of audio-video document to be watched so that preferentially locating when audio frequency and video transcoding is dispatched
Reason high-priority task, and then period of reservation of number can be shortened.Often process a transcoding task, first export time-consuming short transcoding
Data, then export other time-consuming longer transcoded data, the transcoding task list that upgrades in time is it is ensured that user can obtain as early as possible
Processed content.
As shown in figure 5, embodiments providing a kind of transcoding server, comprising: processor (processor) 401,
Communication interface (communications interface) 402, memorizer (memory) 403 and communication bus 404;Wherein, institute
State processor 401, described communication interface 402 and described memorizer 403 and mutual leading to is completed by described communication bus 404
Letter.
Processor 401 is probably a central processing unit cpu, or specific integrated circuit asic (application
Specific integrated circuit), or be arranged to implement the one or more integrated electricity of the embodiment of the present invention
Road.
Memorizer 403 is used for depositing program code, and described program code includes computer-managed instruction.Memorizer 403 can
High speed ram memorizer can be comprised it is also possible to also include nonvolatile memory (non-volatile memory), for example, at least
One disk memory.Memorizer 403 can also store Various types of data, such as audio-video document, transcoding destination file, audio frequency and video
Relevant information of file etc..
Further, the data such as audio-video document, transcoding destination file, relevant information of audio-video document can be buffered in
The fortune of memorizer 403 deposits region, and so, transcoding server can need to regard using audio-video document, transcoding destination file, sound
During the data such as the relevant information of frequency file, directly can deposit in region in the fortune of memorizer 403 and obtain.And needing long-term preservation
During the data such as audio-video document, transcoding destination file, the relevant information of audio-video document, can by above-mentioned audio-video document, turn
The data such as code destination file, the relevant information of audio-video document preserve to hard disk, and now, memorizer 403 can be hard disk.
Communication interface 402, the request message of the acquisition audio-video document transcoding result sending for receive user terminal.
Wherein, carry the identification information of the audio-video document of transcoding result to be obtained in request message.
Processor 401 executes described program code, and the sound for transcoding result to be obtained in being carried according to request message regards
The identification information of frequency file, determines whether the audio-video document corresponding transcoding task of transcoding result to be obtained completes at transcoding
Reason;When the audio-video document corresponding transcoding task of transcoding result to be obtained not yet carries out transcoding process, adjust to be obtained turn
The priority of the audio-video document corresponding transcoding task of code result;Obtain transcoding task list, according at least to transcoding task row
In table, the priority of each transcoding task carries out transcoding process, obtains transcoded data.
Specifically, processor 401 obtains transcoding task list, according at least to each transcoding task in transcoding task list
Priority carries out transcoding process, obtains transcoded data and includes: obtains transcoding task list, according to each turn in transcoding task list
The priority of code task and creation time, carry out transcoding process to each transcoding task in transcoding task list, obtain transcoding number
According to.
Processor 401 transcoding result to be obtained audio-video document corresponding transcoding task do not carry out transcoding process when,
The priority adjusting the audio-video document corresponding transcoding task of transcoding result to be obtained specifically includes:
Processor 401 transcoding result to be obtained audio-video document corresponding transcoding task do not carry out transcoding process when,
Determine whether to receive the corresponding request message of audio-video document of transcoding result to be obtained for the first time;If receiving for the first time
The corresponding request message of audio-video document of transcoding result to be obtained, then adjustment priority is more than the transcoding task of first threshold
Priority, and the priority of the audio-video document corresponding transcoding task of transcoding result to be obtained.
Or, when the audio-video document corresponding transcoding task of transcoding result to be obtained does not carry out transcoding process, only adjust
The priority of the audio-video document corresponding transcoding task of whole transcoding result to be obtained.
Further, processor 401 carries out transcoding process to each transcoding task in transcoding task list, obtains transcoding number
According to inclusion: when any one of transcoding task list transcoding task is carried out with transcoding process, according to exportable turn of transcoding task
The code video resolution of result and/or audio sample rate, order from low to high, transcoding process is carried out to audio frequency and video task, obtains
Take transcoded data.
Further, communication interface 402, are additionally operable to the audio-video document of receive user terminal transmission.
Processor 401, is additionally operable to the audio-video document sending according to user terminal, creates transcoding task, updates transcoding and appoints
Business list.
As shown in fig. 6, embodiments providing a kind of system of audio frequency and video transcoding scheduling, comprising:
User terminal 501, the transcoding server 502 described at least one above-described embodiment and storage server 503.
Wherein, storage server 503, for storing transcoding task list.Transcoding server 502 is from this storage server
Transcoding task list is got in 503.
Transcoding server 502 can be at least one.In each transcoding server 502, in the implementation method of transcoding scheduling
Need using disk storage caching audio-video document and preserve interim transcoded data.Transcoding task can be preserved using data base,
Form task queue, and represent the priority of task using a field of tables of data.In addition also preserve transcoding in tables of data
Task status, completed process data file list.
During multiple transcoding server 502, can be by a transcoding server 502 as storage server 503, from thus depositing
The data base of storage server preserves transcoding task list, and the data base of other servers is as backup.Multiple transcoding servers 502
When from same storage server 503, acquisition transcoding task list carries out transcoding task, should turn after getting transcoding task
Indicating transcoding task status in code task list is " in process ", prevents from changing transcoding task and is repeated to get, repeats process.
In sum, the present invention passes through to adjust the priority of pending transcoding task according to user's request, improves needs
It is accessed for the processing speed of audio-video document, by short transcoded data time-consuming to each transcoding priority of task output and in time
Update task list it is ensured that user terminal can get completed part or all of transcoded data as early as possible.So, the present invention
Effectively overcome shortcoming of the prior art and have high industrial utilization.
Above-described embodiment only principle of the illustrative present invention and its effect, not for the restriction present invention.Any ripe
The personage knowing this technology all can carry out modifications and changes without prejudice under the spirit and the scope of the present invention to above-described embodiment.Cause
This, those of ordinary skill in the art is complete with institute under technological thought without departing from disclosed spirit such as
All equivalent modifications becoming or change, must be covered by the claim of the present invention.
Claims (9)
1. a kind of method of audio frequency and video transcoding scheduling is it is characterised in that comprise the following steps:
The request message of the acquisition audio-video document transcoding result that receive user terminal sends;Carry in described request message and need
Obtain the identification information of the audio-video document of transcoding result;
The identification information of the audio-video document of the transcoding result described to be obtained being carried according to described request message, treats described in determination
Whether the audio-video document corresponding transcoding task obtaining transcoding result completes transcoding process;
When the audio-video document corresponding transcoding task of described transcoding result to be obtained does not carry out transcoding process, treat described in adjustment
Obtain the priority of the audio-video document corresponding transcoding task of transcoding result;
Obtain transcoding task list, the priority according at least to each transcoding task in described transcoding task list is carried out at transcoding
Reason, obtains transcoded data.
2. the method for audio frequency and video transcoding scheduling according to claim 1 is it is characterised in that described acquisition transcoding task arranges
Table, the priority according at least to each transcoding task in described transcoding task list carries out transcoding process, obtains transcoded data bag
Include:
Obtain transcoding task list, according to the priority of each transcoding task and creation time in described transcoding task list, right
In described transcoding task list, each transcoding task carries out transcoding process, obtains transcoded data.
3. audio frequency and video transcoding according to claim 1 and 2 scheduling method it is characterised in that described described to be obtained
When the audio-video document corresponding transcoding task of transcoding result does not carry out transcoding process, adjust the sound of described transcoding result to be obtained
The priority of video file corresponding transcoding task includes:
When the audio-video document corresponding transcoding task of described transcoding result to be obtained does not carry out transcoding process, it is determined whether the
Once receive the corresponding request message of audio-video document of described transcoding result to be obtained;
If receiving the corresponding request message of audio-video document of described transcoding result to be obtained for the first time, then adjust priority
More than the priority of the transcoding task of first threshold, and the audio-video document corresponding transcoding task of described transcoding result to be obtained
Priority.
4. audio frequency and video transcoding according to claim 1 and 2 scheduling method it is characterised in that described described to be obtained
When the audio-video document corresponding transcoding task of transcoding result does not carry out transcoding process, adjust the sound of described transcoding result to be obtained
The priority of video file corresponding transcoding task includes:
When the audio-video document corresponding transcoding task of described transcoding result to be obtained does not carry out transcoding process, only adjust described
The priority of the audio-video document corresponding transcoding task of transcoding result to be obtained.
5. the method for audio frequency and video transcoding scheduling according to claim 2 is it is characterised in that described arrange to described transcoding task
In table, each transcoding task carries out transcoding process, obtains transcoded data and includes:
Any one of described transcoding task list transcoding task is carried out transcoding process when, according to described transcoding task can be defeated
Go out video resolution and/or the audio sample rate of transcoding result, order from low to high, transcoding is carried out to described audio frequency and video task
Process, obtain transcoded data.
6. the method for audio frequency and video transcoding according to claim 1 and 2 scheduling is it is characterised in that in described receive user eventually
Before the request message of acquisition audio-video document transcoding result that end sends, also include:
The audio-video document that receive user terminal sends;
The audio-video document being sent according to user terminal, creates transcoding task, updates described transcoding task list.
7. a kind of device of audio frequency and video transcoding scheduling is it is characterised in that include:
Receiver module, the request message of the acquisition audio-video document transcoding result that receive user terminal sends;Described request message
In carry transcoding result to be obtained audio-video document identification information;
Determining module, for the mark letter of the audio-video document of transcoding result to be obtained described in being carried according to described request message
Breath, determines whether the audio-video document corresponding transcoding task of described transcoding result to be obtained completes transcoding and process;
Adjusting module, is not yet carried out at transcoding for the audio-video document corresponding transcoding task in described transcoding result to be obtained
During reason, adjust the priority of the audio-video document corresponding transcoding task of described transcoding result to be obtained;
Acquisition module, for obtaining transcoding task list, according at least in described transcoding task list each transcoding task excellent
First level carries out transcoding process, obtains transcoded data.
8. a kind of transcoding server is it is characterised in that include:
Processor, communication interface, memorizer and communication bus;Wherein, described processor, described communication interface and described memorizer
Mutual communication is completed by described communication bus;
Described memorizer, is used for depositing program code;Wherein, described program code includes computer-managed instruction;
Described communication interface, the request message of the acquisition audio-video document transcoding result sending for receive user terminal;Described
The identification information of the audio-video document of transcoding result to be obtained is carried in request message;
Described computing device described program code, for transcoding result to be obtained described in being carried according to described request message
The identification information of audio-video document, determines whether the audio-video document corresponding transcoding task of described transcoding result to be obtained completes
Transcoding is processed;When the audio-video document corresponding transcoding task of described transcoding result to be obtained not yet carries out transcoding process, adjust
The priority of the audio-video document corresponding transcoding task of whole described transcoding result to be obtained;Obtain transcoding task list, at least
Transcoding process is carried out according to the priority of each transcoding task in described transcoding task list, obtains transcoded data.
9. a kind of system of audio frequency and video transcoding scheduling is it is characterised in that include:
Including: user terminal, the transcoding server described at least one claim 8 and storage server.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610804902.XA CN106375319A (en) | 2016-09-06 | 2016-09-06 | Audio and video transcoding scheduling method, apparatus, device and system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610804902.XA CN106375319A (en) | 2016-09-06 | 2016-09-06 | Audio and video transcoding scheduling method, apparatus, device and system |
Publications (1)
Publication Number | Publication Date |
---|---|
CN106375319A true CN106375319A (en) | 2017-02-01 |
Family
ID=57900063
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610804902.XA Pending CN106375319A (en) | 2016-09-06 | 2016-09-06 | Audio and video transcoding scheduling method, apparatus, device and system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106375319A (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108235133A (en) * | 2018-01-15 | 2018-06-29 | 北京陌上花科技有限公司 | video frequency identifying method and device |
CN109471715A (en) * | 2018-09-17 | 2019-03-15 | 咪咕视讯科技有限公司 | A kind of dispatching method, device and the storage medium of transcoding task |
CN110505523A (en) * | 2019-09-24 | 2019-11-26 | 广州优视云集科技有限公司 | A kind of video code conversion priority orders control method and processing terminal |
CN114827751A (en) * | 2022-03-28 | 2022-07-29 | 慧之安信息技术股份有限公司 | Web end plug-in-free monitoring video playing method based on wasm |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101909048A (en) * | 2009-12-08 | 2010-12-08 | 新奥特(北京)视频技术有限公司 | Centralized trans-coding treatment method and device |
CN101977218A (en) * | 2010-10-20 | 2011-02-16 | 深圳市融创天下科技发展有限公司 | Internet playing file transcoding method and system |
-
2016
- 2016-09-06 CN CN201610804902.XA patent/CN106375319A/en active Pending
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101909048A (en) * | 2009-12-08 | 2010-12-08 | 新奥特(北京)视频技术有限公司 | Centralized trans-coding treatment method and device |
CN101977218A (en) * | 2010-10-20 | 2011-02-16 | 深圳市融创天下科技发展有限公司 | Internet playing file transcoding method and system |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108235133A (en) * | 2018-01-15 | 2018-06-29 | 北京陌上花科技有限公司 | video frequency identifying method and device |
CN109471715A (en) * | 2018-09-17 | 2019-03-15 | 咪咕视讯科技有限公司 | A kind of dispatching method, device and the storage medium of transcoding task |
CN110505523A (en) * | 2019-09-24 | 2019-11-26 | 广州优视云集科技有限公司 | A kind of video code conversion priority orders control method and processing terminal |
CN110505523B (en) * | 2019-09-24 | 2020-06-30 | 广州优视云集科技有限公司 | Video transcoding priority order control method and processing terminal |
CN114827751A (en) * | 2022-03-28 | 2022-07-29 | 慧之安信息技术股份有限公司 | Web end plug-in-free monitoring video playing method based on wasm |
CN114827751B (en) * | 2022-03-28 | 2023-01-17 | 慧之安信息技术股份有限公司 | Wasm-based web-end plug-in-free monitoring video playing method |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102571726B (en) | Method, system and the state judgment server that multi-medium data is shared | |
CN104572278B (en) | The method, device and equipment of light application calling local side ability | |
US20140082135A1 (en) | Apparatus and method for providing content, and system for providing content with the said apparatus | |
KR101942211B1 (en) | Cooperative provision of personalized user functions using shared and personal devices | |
CN106375319A (en) | Audio and video transcoding scheduling method, apparatus, device and system | |
US20220174346A1 (en) | Video playing method and apparatus | |
CN102882829A (en) | Transcoding method and system | |
CN105516733B (en) | Interactive system and its exchange method | |
CN103546774A (en) | Method and system for realizing seamless access to media file | |
CN109640173A (en) | A kind of video broadcasting method, device, equipment and medium | |
CN101715104A (en) | Network interaction reading system and method for user and content management | |
CN105610869B (en) | Method and device for scheduling streaming media | |
KR20170101416A (en) | Method for providing funding and consulting information related with entertainment by crowd funding system | |
KR20210113005A (en) | Method and system for providing contents through efficient database architecture for individualized time managment | |
US20130239158A1 (en) | Method and System to Locally Cache and Inform Users of Partial Video Segments and Data Objects | |
CN109639813B (en) | Video file transmission processing method and device, electronic equipment and storage medium | |
CN103685295A (en) | Method, terminal and system for downloading multimedia files | |
CN109347967A (en) | A kind of method and device obtaining audio, video data | |
CN106162231A (en) | The method and device that a kind of net cast turning point is broadcast | |
CN109672910A (en) | Video broadcasting method, device, electronic equipment and computer readable storage medium | |
US10739944B1 (en) | System and method for generating user interface data to provide indicators associated with content | |
CN103561013B (en) | The data distribution systems of Streaming Media | |
KR102134250B1 (en) | Method and system for reproducing streaming content | |
CN105392028B (en) | A kind of transmission method and device of data | |
KR101659420B1 (en) | Personalized video content consumption using shared video device and personal device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20170201 |