CN107122232A - Multimedia task processing device and method - Google Patents
Multimedia task processing device and method Download PDFInfo
- Publication number
- CN107122232A CN107122232A CN201710187446.3A CN201710187446A CN107122232A CN 107122232 A CN107122232 A CN 107122232A CN 201710187446 A CN201710187446 A CN 201710187446A CN 107122232 A CN107122232 A CN 107122232A
- Authority
- CN
- China
- Prior art keywords
- task
- module
- processing
- execution module
- process instruction
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
- 238000000034 method Methods 0.000 title claims abstract description 100
- 238000012545 processing Methods 0.000 title claims abstract description 89
- 230000008569 process Effects 0.000 claims description 75
- 238000009826 distribution Methods 0.000 claims description 8
- 238000003672 processing method Methods 0.000 claims description 3
- 238000004519 manufacturing process Methods 0.000 abstract description 6
- 238000007726 management method Methods 0.000 description 33
- 230000006870 function Effects 0.000 description 24
- 238000010586 diagram Methods 0.000 description 10
- 238000004590 computer program Methods 0.000 description 7
- 230000005012 migration Effects 0.000 description 5
- 238000013508 migration Methods 0.000 description 5
- 230000008859 change Effects 0.000 description 4
- 238000013461 design Methods 0.000 description 4
- 239000000463 material Substances 0.000 description 4
- 230000006978 adaptation Effects 0.000 description 2
- 230000005540 biological transmission Effects 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 230000006872 improvement Effects 0.000 description 2
- 230000003993 interaction Effects 0.000 description 2
- 238000012423 maintenance Methods 0.000 description 2
- 238000003913 materials processing Methods 0.000 description 2
- 230000007246 mechanism Effects 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 238000012544 monitoring process Methods 0.000 description 2
- 238000003860 storage Methods 0.000 description 2
- 230000000007 visual effect Effects 0.000 description 2
- 235000007926 Craterellus fallax Nutrition 0.000 description 1
- 240000007175 Datura inoxia Species 0.000 description 1
- 230000006399 behavior Effects 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000008901 benefit Effects 0.000 description 1
- 230000009172 bursting Effects 0.000 description 1
- 238000004364 calculation method Methods 0.000 description 1
- 238000006243 chemical reaction Methods 0.000 description 1
- 238000004891 communication Methods 0.000 description 1
- 238000013500 data storage Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000005111 flow chemistry technique Methods 0.000 description 1
- 230000002452 interceptive effect Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 239000000344 soap Substances 0.000 description 1
- 239000007787 solid Substances 0.000 description 1
- 238000001228 spectrum Methods 0.000 description 1
- 238000012546 transfer Methods 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/46—Multiprogramming arrangements
- G06F9/48—Program initiating; Program switching, e.g. by interrupt
- G06F9/4806—Task transfer initiation or dispatching
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
The invention provides a multimedia task processing device and a method thereof, wherein the device comprises: the task interface module is used for receiving a multimedia task processing instruction and sending the instruction to the task scheduling subsystem; the task scheduling subsystem is used for selecting the task execution modules and the processing sequence of each task execution module according to the task processing instruction, controlling each task execution module to perform task processing according to the sequence of the tasks, and feeding back a final task processing result through the task interface module; and the task execution module is used for processing the task after receiving the task processing instruction and returning a processing result to the task scheduling subsystem. The scheme of the invention can be flexibly adapted to various changing problems in the actual production process, is more convenient and flexible in function expansion, and only needs to configure the starting type and the starting number of the task execution module (namely, Worker) according to the service function requirement and the service quantity requirement and generate the required Worker according to the configuration.
Description
Technical field
The present invention relates to media materials processing technology field, more particularly to a kind of Multimedia Task processing unit and method.
Background technology
Existing Multimedia Task treatment mechanism possess at present migration, MD5 calculating, transcoding, automatic skill examine etc. function, these work(
Can be had been cured in the software program code stage, be that can not change and adjust after a compiled generation executable file
, MD5 calculating is carried out after migration and is verified as shown in figure 1, realizing, the flow of task behavior of this fixation specifies industry for certain
Business processing is feasible, but if wanting to use in other business, can only just be limited to migration and two kinds of task functions of MD5, think again
Code recompility can only be changed by adding other functions, can thus increase software maintenance cost, in software product design
Underaction.
As this method is constantly used, certain improvement is obtained in later scheme.Bundled using functional sequence
Mode, and used workflow can be configured in configuration, i.e., Multimedia Task flow is extended, in such as Fig. 2
Scheme one and scheme two, the corresponding handling process more horn of plenty of scheme one, can carry out transcoding, automatic skill examine, migration, MD5 meter
Calculate;Scheme two still corresponds to the flow for carrying out migration and MD5.Convenience of this improved mode in function compared with the first generation on is permitted
It is many.For scheme one, the functions such as automatic skill is examined and MD5 is calculated typically can be all used by the material of transcoding;Scheme two
General processing does not need the material of transcoding.If necessary to operational version one or scheme two, it is only necessary to carried out in system configuration
Effectively configure just, then software will enable the scheme of setting.This base for some fields or user's use
This is enough.But often the live environment and requirement in process of production of user is complicated and changeable, so rebuilding again
Various schemes simultaneously provide configuration mode, so also without fundamentally solution flexibly reply, in addition it is also necessary to recompile compiling, increase
The maintenance cost of software code.And the data structure that the data special delivery of above all of task node is all based on defining is come
Transmission, this data transfer mode inherently determine it must be in the way of changing code realize function addition and
Modification.
And the working method of the above is simply logically realized that the flow of function point does not have and really showed to user
The model of visible process.
The content of the invention
The present invention fixes to solve Multimedia Task handling process in the prior art, it is impossible to meet a variety of flow processing demands
The problem of, the present invention provides a kind of Multimedia Task processing unit and method.
In one aspect, the embodiments of the invention provide a kind of Multimedia Task processing unit, including:
Task interface module, for receiving Multimedia Task process instruction, and sends instructions to task scheduling subsystem;
Task scheduling subsystem, for selecting task execution module and each tasks carrying mould according to the task process instruction
The processing sequence of block, and control each task execution module to carry out task processing in order the task, and pass through the task
Interface module feeds back final task result;
Task execution module, appoints for receiving progress task processing after task process instruction, and result being back to
Business scheduler subsystem.
In another aspect, the embodiments of the invention provide a kind of Multimedia Task processing method, including:Multimedia is appointed
Task in business processing procedure is divided into the task execution module of minimum, and it is selected according to the Multimedia Task process instruction of reception
One or more of needed for task execution module and determine the processing sequence of each task execution module, and control in order each
Task execution module carries out task processing, and feeds back final task result.
Have the beneficial effect that:
This motion solves the handling process of existing cluster (i.e. functional module in flow from cleverly architecture design aspect
Quantity and order are fixed) the complex mission requirements of scene can not be adapted to, can not only be in flexible adaptation actual production process
Various change the problem of, and on Function Extension it is more convenient flexibly, it is only necessary to according to business function demand and portfolio
Demand, the startup type and startup quantity of configuration task performing module (i.e. Worker), the worker as needed for configuration generation.
The information such as new wokerID are configured in Actor, just possess new function after startup.In addition, the present invention is suitable in all functions
Also the graphic operation mode of visual edit is realized in sequence, the original all functional sequences both met can also be according to scene
Different demands sets up new workflow.
The system can apply to computer media material management, all spectra of processing, as long as being related to media materials
Processing can use the system, such as media asset management production system, broadcast material reorganize and outfit system.
Brief description of the drawings
The specific embodiment of the present invention is described below with reference to accompanying drawings, wherein:
Fig. 1 shows the flow chart for carrying out Multimedia Task processing in the prior art;
Fig. 2 shows the flow chart that Multimedia Task is handled after improvement in the prior art;
Fig. 3 shows apparatus structure schematic diagram in the embodiment of the present invention;
Fig. 4 shows each task execution module corresponding function schematic diagram in the embodiment of the present invention;
Fig. 5 shows apparatus structure schematic diagram in present pre-ferred embodiments;
Fig. 6 shows the flow of task template schematic diagram set in the embodiment of the present invention.
Embodiment
In order that technical scheme and advantage are more clearly understood, below in conjunction with accompanying drawing to the exemplary of the present invention
Embodiment is described in more detail, it is clear that described embodiment is only a part of embodiment of the present invention, rather than
The exhaustion of all embodiments.And in the case where not conflicting, the feature in embodiment and embodiment in this explanation can be mutual
It is combined.
Inventor notices during invention:Existing Multimedia Task treatment mechanism flow scheme design is fixed, for certain
A little environment and require that scene complicated and changeable need to such as increase processing task and can increase the maintenance cost of software, realize underaction,
Therefore flexible and changeable demand can not be met.
Embodiment one
The present embodiment provides a kind of Multimedia Task processing unit, as shown in figure 3, including:
Task interface module, sends to appointing for receiving Multimedia Task process instruction, and by the task process instruction
Business scheduler subsystem;The task process instruction includes the letter such as parameter needed for task type, task priority, tasks carrying
Breath;The task process instruction is TASK_XML form.
Task scheduling subsystem, for the management and running and task distribution of Multimedia Task processing, i.e., is handled according to task
The processing sequence of task type selection task execution module and each task execution module in instruction, and by the task in order
Send successively to the task execution module of selection, i.e., the task scheduling subsystem after the completion of the processing of previous task execution module
Task process instruction is sent to next task execution module together with the result of previous task execution module;
Task execution module, appoints for receiving progress task processing after task process instruction, and result being back to
Business scheduler subsystem;Specifically, task execution module is to needed for task process instruction progress parsing acquisition tasks carrying therein
Task is handled after parameter.
Further, the task scheduling subsystem includes task scheduling modules (Task Manager) and task management mould
Block (Task Actor) two parts;Specifically:
Task scheduling modules, task management module is distributed to for receiving task process instruction, and by task;And in receiving
The result is fed back into application interface module after task result;I.e. when task scheduling modules are received at a task
After reason instruction, the task management mould of a waiting task minimum number is selected according to the busy-idle condition of each task management module
Block, and task process instruction is sent to the task management module of selection;
Each task management module manages multiple tasks performing module, as shown in figure 4, each task execution module correspondence
Different processing functions, such as, the corresponding transcoding of task execution module 1, the automatic skill of the correspondence of task execution module 2 are examined etc..
Task management module:Appointing for carry out task processing is needed for the task type selection in task process instruction
Performing module of being engaged in and the processing sequence for determining each task execution module;And hold the task that task order is sent to each selection
Row module;
Specifically, such as current task is examined report and compared to carry out transcoding and skill, and the task of task management module selection is held
Row module is task execution module 1 (i.e. transcoding module), task execution module 3 (i.e. skill examines report comparison module), then will be appointed
Business is sent to task execution module 1, and is received task process instruction and the processing after the result of task execution module 1
As a result send to task execution module 3;And the result is back to task in receiving after the result of task execution module 3
Scheduler module.
Further, the task process instruction includes the precedence information of current task, and task scheduling modules are appointed
Any one following mode is used during business distribution:
(1) task scheduling modules select the task distribution of highest priority when carrying out task distribution from waiting task
To task management module;If there is the task of multiple highest priorities, task scheduling modules are from the multiple highest priority
Task in select receiving at first for task to be distributed to task management module.
(2) task scheduling modules monitor the waiting task situation of each task management module, including waiting task quantity
And the priority of each task;After task scheduling modules receive the task process instruction that a task priority is i, judge each
Task management module waiting task, therefrom selects priority to be more than or equal to a task management mould of i task minimum number
Block processing, and the current task is distributed to the task management module of the selection.
Further, task management module is received judges to perform the tasks carrying needed for current task after task process instruction
Module and each module execution sequence, and check the priority of the current task, it is assumed that perform times needed for the current task
Performing module of being engaged in and order are respectively task execution module j ... task execution modules n;The task of each task execution module is constituted
One subtask, for each subtask, the task management module judges the task execution module of the processing subtask
Whether there is the task of higher priority or equal priority in allocated task, be the high priority and the similarity priority such as then
Otherwise the current task is distributed to the task execution module after the completion of the task processing of level, the tasks carrying such as
The subtask is distributed into the task execution module after the completion of the task that module is being handled to be handled.
For example, task management module is judged as whether thering is higher priority or phase in the task of task execution module j distribution
The task of same priority, is to enter the current task after the completion of the task processing etc. the high priority and equal priority
Row is distributed to the task execution module j, otherwise wait after the completion of the handling of the task by the current task be distributed to
The task execution module j;The task management module, which is received, judges the task after task execution module j result
Next task execution module (whether such as task execution module k) has higher or equal priority waiting task, if having etc.
The current task is distributed to task execution module k after the completion of described higher or equal priority waiting task, otherwise
Deng the current task is distributed to the task execution module k after the completion of handling for task, the like, until
Complete the processing to the current task.
Further, described device also includes data memory module, is received for data storage and task interface module
Task process instruction, including business datum and video and audio ontology data etc., wherein, business datum includes task process instruction, appointed
The information such as parameter of being engaged in, video and audio body refers to the media file changed.
Business datum is stored using database mode, and video and audio ontology data is stored in the way of file.Using word
Section TASK_XML store tasks process instructions.
Further, the task execution module with identical function has one or more, i.e., each task execution module i tools
There are one or more tasks carrying submodules, each tasks carrying submodule has identical task processing function, such as entered
Row transcoding, or carry out MD5 calculating.
Further, described device also includes setup module, and for setting flow of task module, the template includes carrying out
The task execution module of task processing and the processing sequence of each module;
The template specified is included in the task process instruction;The scheduler subsystem is according to the stencil-chosen pair
The task execution module answered simultaneously controls each task execution module to perform the task according to the sequence.
Task interface module is used to receive progress media task conversion after task process instruction;Task process instruction is changed
For TASK_XML form, the TASK_XML includes the information such as the parameter needed for task type, priority, tasks carrying.
MTS agreements use XML structure, and message transmission is transmitted according to different application scenarios using different communication protocol.
Task interface module externally uses MTS Over SOAP modes;Between Manager, Actor and Worker, using MTS Over
Http protocol is transmitted;The interaction of MTS agreements is recommended to use long connection mode between Manager/Actor/Worker.
In Manager/Actor/Worker three-deckers, interaction disappears between MTS protocol definitions Manager/Actor/Worker
Cease form and interface mode.
In Manager/Actor/Worker three-deckers, the primarily discrete processing mode of interactive mode of MTS message,
That is the MTS control messages of Manager are handled and responded by Actor, and Manager MTS task messages are transmitted directly to Worker,
Directly handled and responded by Worker.
Task message is directly handled by Worker, so, Actor becomes the module of a lightweight, be only responsible for Worker
Start and stop monitoring, the collection of Worker executive capability, the monitoring of server host state etc..
Embodiment two
The embodiment of the present application provides a kind of media processing method, including:
Task in processing of multimedia tasks is divided into the task execution module of minimum, according to the multimedia of reception
Task process instruction selects required task execution module therein and determines the processing sequence of each task execution module, and by institute
State each task execution module of sequential control and carry out task processing, and feed back final task result.Specifically:
As shown in figure 4, task to be divided into one by one minimum task execution module, such as can be, but not limited to include with
Under any one or more task execution modules:Transcoding, automatic skill are examined, MD5 is calculated, migrate, skill is examined report and compared;These tasks
The combination of performing module and execution sequence all in accordance with Multimedia Task the need for selected and sorted.
Further, task scheduling modules are received after the task process instruction that task interface module is sent according to task management
The busy-idle condition of module selects the task management module of a waiting task minimum number, and the task process instruction is sent out
Deliver to the task management module of selection;
Times of task type selection carry out task processing of the task management module in the task process instruction
The processing sequence of performing module of being engaged in and each task execution module, then the task process instruction is sent to task hold in order
Row module is handled, i.e., by task process instruction and previous task execution module after the completion of the processing of previous task execution module
Result send to next tasks carrying processing module, until receive last task execution module return final place
Manage result.
Further, the task process instruction includes the precedence information of current task, task scheduling modules use with
Any of under type carries out task distribution:
(1) task of highest priority is selected to be distributed from waiting task, if there are multiple highest priorities
Task, then select receiving at first for task to be distributed at task management module progress from the task of the multiple highest priority
Reason.
(2) task scheduling modules monitor the waiting task situation of each task management module, including waiting task quantity
And the priority of each task;After task scheduling modules receive the task process instruction that a task priority is i, judge each
Task management module waiting task, therefrom selects priority to be more than or equal to a task management mould of i task minimum number
Block processing, and the current task is distributed to the task management module of the selection.
Further, task management module receive after task process instruction according to it is described instruction determination need at carry out task
The task execution module and processing sequence of reason, the task of each task execution module constitute a subtask, for each height
Task, the task management module judges whether there is higher in the allocated task of the task execution module for handling the subtask
The task of priority or equal priority, be the high priority and the equal priority such as then task processing after the completion of will be described
Current task is distributed to the task execution module, after the completion of the task that otherwise etc. the task execution module is being handled
The subtask is distributed into the task execution module to be handled.
Further, one or more flow of task templates are pre-set, the template is held comprising one or more tasks
The processing sequence of row module and each module.
One or more of task execution modules are selected to be handled according to the Multimedia Task process instruction of reception
Including:Template carries out task processing according to the stencil-chosen indicated in the instruction.
As shown in Figure 6, it is assumed that " three-in-one " template (its module numbering is 3) corresponding task execution module is transcoding in figure
With skill examine report compare, and execution sequence be first carry out transcoding carry out again skill examine report compare.
Further, the task process instruction is transmitted and stored using TASK_XML fields.
In order to realize optimal technique effect, the present invention provides a kind of Multimedia Task processing unit and method, this motion
Solving the handling process of existing cluster from cleverly architecture design aspect, (functional module quantity and order are solid i.e. in flow
It is fixed) the complex mission requirements of scene can not be adapted to, various change that can not only be in flexible adaptation actual production process is asked
Topic, and it is more convenient flexible on Function Extension, it is only necessary to according to business function demand and traffic needs, configure Worker
Startup type and start quantity, as configuration generation needed for worker.The information such as new wokerID are configured in Actor, are opened
Just possesses new function after dynamic.In addition, the present invention also realizes the graphic operation of visual edit on all functional sequences
Mode, the original all functional sequences both met can also set up new workflow according to the different demand in scene.
Further, the main carrier transmitted using XML as each module data of the present invention, multiple step format multi-process management etc.
Bottom contingency, expansibility and bursting out property, so drop in mode more significantly.
In above-described embodiment, it can be implemented using existing function component module.For example,
For convenience of description, each several part of apparatus described above is divided into various modules with function or unit is described respectively.
Certainly, each module or the function of unit can be realized in same or multiple softwares or hardware when implementing the present invention.
It should be understood by those skilled in the art that, embodiments of the invention can be provided as method, system or computer program
Product.Therefore, the present invention can be using the reality in terms of complete hardware embodiment, complete software embodiment or combination software and hardware
Apply the form of example.Moreover, the present invention can be used in one or more computers for wherein including computer usable program code
The computer program production that usable storage medium is implemented on (including but is not limited to magnetic disk storage, CD-ROM, optical memory etc.)
The form of product.
The present invention is the flow with reference to method according to embodiments of the present invention, equipment (system) and computer program product
Figure and/or block diagram are described.It should be understood that can be by every first-class in computer program instructions implementation process figure and/or block diagram
Journey and/or the flow in square frame and flow chart and/or block diagram and/or the combination of square frame.These computer programs can be provided
The processor of all-purpose computer, special-purpose computer, Embedded Processor or other programmable data processing devices is instructed to produce
A raw machine so that produced by the instruction of computer or the computing device of other programmable data processing devices for real
The device for the function of being specified in present one flow of flow chart or one square frame of multiple flows and/or block diagram or multiple square frames.
These computer program instructions, which may be alternatively stored in, can guide computer or other programmable data processing devices with spy
Determine in the computer-readable memory that mode works so that the instruction being stored in the computer-readable memory, which is produced, to be included referring to
Make the manufacture of device, the command device realize in one flow of flow chart or multiple flows and/or one square frame of block diagram or
The function of being specified in multiple square frames.
These computer program instructions can be also loaded into computer or other programmable data processing devices so that in meter
Series of operation steps is performed on calculation machine or other programmable devices to produce computer implemented processing, thus in computer or
The instruction performed on other programmable devices is provided for realizing in one flow of flow chart or multiple flows and/or block diagram one
The step of function of being specified in individual square frame or multiple square frames.
, but those skilled in the art once know basic creation although preferred embodiments of the present invention have been described
Property concept, then can make other change and modification to these embodiments.So, appended claims are intended to be construed to include excellent
Select embodiment and fall into having altered and changing for the scope of the invention.
Claims (14)
1. a kind of Multimedia Task processing unit, it is characterised in that described device includes:
Task interface module, for receiving Multimedia Task process instruction, and sends instructions to task scheduling subsystem;
Task scheduling subsystem, task execution module and each tasks carrying needed for for being selected according to the task process instruction
The processing sequence of module, and control each task execution module to carry out task processing in order the task, and pass through described
Interface module of being engaged in feeds back final task result;
Task execution module, is adjusted for receiving progress task processing after task process instruction, and result being back into task
Spend subsystem.
2. device as claimed in claim 1, it is characterised in that:
The task scheduling subsystem further comprises task scheduling modules and task management module;
The task scheduling modules, for receiving after task process instruction according to the selection of the busy-idle condition of the task management module
The task management module of one waiting task minimum number, and the task process instruction is sent to the task management of selection
Module;
Task type selection task execution module and each times of the task scheduling subsystem in the task process instruction
The processing sequence for performing module of being engaged in, and control each task execution module progress task processing to include in order the task:Institute
State task execution module and each tasks carrying that task management module selects carry out task processing according to the task process instruction
The processing sequence of module, then the task process instruction is sent to task execution module handled in order, i.e., current
The result of task process instruction and previous task execution module is sent to next after the completion of the processing of one task execution module
Tasks carrying processing module, the final process result until receiving the return of last task execution module.
3. device as claimed in claim 2, it is characterised in that:
The task process instruction includes the precedence information of current task, and the task scheduling modules are when carrying out task distribution
The task of highest priority is selected to be distributed to task management module from waiting task;If there is appointing for multiple highest priorities
Business, then task scheduling modules select receiving at first for task to be distributed to task management from the task of the multiple highest priority
Module.
4. device as claimed in claim 2, it is characterised in that:
The task process instruction includes the precedence information of current task, and the task scheduling modules monitor each task management mould
The waiting task situation of block, includes the priority of waiting task quantity and each task;When task scheduling modules receive one
After task priority is i task process instruction, each task management module waiting task is judged, therefrom select priority big
Handled in a task management module of the task minimum number equal to i, and the current task is distributed to the selection
Task management module.
5. the device as described in claim 3 or 4, it is characterised in that:
The task management module, which is received, judges to perform task execution module needed for current task and each after task process instruction
Module execution sequence, and check the priority of the current task, it is assumed that perform the tasks carrying mould needed for the current task
Block and order are respectively task execution module j ... task execution modules n;The task of each task execution module constitutes a son and appointed
Business, for each subtask, the task management module judges what the task execution module of the processing subtask was allocated
Whether there is the task of higher priority or equal priority in task, be the task of the high priority and the equal priority such as then
Otherwise etc. the current task is distributed to the task execution module after the completion of processing, the task execution module is being
The subtask is distributed into the task execution module after the completion of the task of processing to be handled.
6. the device as described in Claims 1-4 any claim, it is characterised in that:
Described device also includes data memory module, for storing the task process instruction that the task interface module is received;Institute
Task process instruction is stated to store using TASK_XML forms;
The task scheduling subsystem reads the task process instruction of TASK_XML forms from the data memory module.
7. the device as described in Claims 1-4 any claim, it is characterised in that:
Described device also includes setup module, and for setting flow of task module, the template includes appointing for carry out task processing
The processing sequence of performing module of being engaged in and each task execution module;
The template specified is included in the task process instruction;The scheduler subsystem is according to the corresponding task of the stencil-chosen
Performing module simultaneously controls each task execution module to perform the task according to the sequence.
8. a kind of Multimedia Task processing method, it is characterised in that including:
Task in processing of multimedia tasks is divided into the task execution module of minimum, according to the Multimedia Task of reception
Process instruction selects required task execution module therein and determines the processing sequence of each task execution module, and by described suitable
Sequence controls each task execution module to carry out task processing, and feeds back final task result.
9. method as claimed in claim 8, it is characterised in that methods described also includes:
Task scheduling modules are received after the task process instruction that task interface module is sent according to the busy shape of task management module
State selects the task management module of a waiting task minimum number, and the task process instruction is sent into appointing to selection
Business management module;
The task of task type selection carry out task processing of the task management module in the task process instruction is held
The processing sequence of row module and each task execution module, then in order sends the task process instruction to tasks carrying mould
Block is handled, i.e., by the place of task process instruction and previous task execution module after the completion of the processing of previous task execution module
Reason result is sent to next tasks carrying processing module, the final process knot until receiving the return of last task execution module
Really.
10. method as claimed in claim 9, it is characterised in that methods described also includes:
The task process instruction includes the precedence information of current task, and the task scheduling modules are when carrying out task distribution
The task of highest priority is selected to be distributed from waiting task, if there is the task of multiple highest priorities, from institute
Select receiving at first for task to be distributed to task management module in the stating multiple highest priorities of the task to be handled.
11. method as claimed in claim 9, it is characterised in that methods described also includes:
The task process instruction includes the precedence information of current task, and the task scheduling modules monitor each task management mould
The waiting task situation of block, includes the priority of waiting task quantity and each task;When task scheduling modules receive one
After task priority is i task process instruction, each task management module waiting task is judged, therefrom select priority big
Handled in a task management module of the task minimum number equal to i, and the current task is distributed to the selection
Task management module.
12. the method as described in claim 10 or 11, it is characterised in that methods described also includes:
The task management module receive after task process instruction according to it is described instruction determine need the task of carry out task processing
Performing module and processing sequence, the task of each task execution module constitute a subtask, described for each subtask
Task management module judge to handle whether have in the allocated task of task execution module of the subtask higher priority or
The task of equal priority, be the high priority and the equal priority such as then task processing after the completion of by the current task
It is distributed to the task execution module, by the son after the completion of the task that otherwise etc. the task execution module is being handled
Task is distributed to the task execution module and handled.
13. the method as described in claim 8 to 11, it is characterised in that methods described also includes:
One or more flow of task templates are pre-set, the template includes one or more task execution modules and each module
Processing sequence;
One or more of task execution module progress processing are selected to include according to the Multimedia Task process instruction of reception:
Template carries out task processing according to the stencil-chosen indicated in the instruction.
14. the method as described in claim 9 to 11 any claim, it is characterised in that methods described also includes:
The task interface module, which is received, to be stored after task process instruction to data memory module;The task scheduling modules are from institute
State data memory module and read task process instruction;
The task process instruction is transmitted and stored in the form of TASK_XML.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710187446.3A CN107122232B (en) | 2017-03-27 | 2017-03-27 | Multimedia task processing device and method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710187446.3A CN107122232B (en) | 2017-03-27 | 2017-03-27 | Multimedia task processing device and method |
Publications (2)
Publication Number | Publication Date |
---|---|
CN107122232A true CN107122232A (en) | 2017-09-01 |
CN107122232B CN107122232B (en) | 2021-02-02 |
Family
ID=59718155
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710187446.3A Active CN107122232B (en) | 2017-03-27 | 2017-03-27 | Multimedia task processing device and method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107122232B (en) |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109857531A (en) * | 2019-01-22 | 2019-06-07 | 合肥中科昂辉科技有限公司 | A kind of task scheduling system in onboard operations system |
CN111158889A (en) * | 2020-01-02 | 2020-05-15 | 中国银行股份有限公司 | Batch task processing method and system |
CN111352626A (en) * | 2020-02-04 | 2020-06-30 | 北京三快在线科技有限公司 | Service request processing method and device, electronic equipment and storage medium |
CN112184085A (en) * | 2020-11-05 | 2021-01-05 | 上海亿保健康管理有限公司 | Task allocation method, device and equipment |
CN112751856A (en) * | 2020-12-30 | 2021-05-04 | 湖南快乐阳光互动娱乐传媒有限公司 | Media processing system capable of arranging flow |
CN114546096A (en) * | 2022-02-10 | 2022-05-27 | Oppo广东移动通信有限公司 | Base band chip, task scheduling method and terminal equipment |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101673380A (en) * | 2009-10-16 | 2010-03-17 | 广东宇天信通通信科技有限公司 | Method and device for realizing mobile media service |
CN101986272A (en) * | 2010-11-05 | 2011-03-16 | 北京大学 | Task scheduling method under cloud computing environment |
CN102368802A (en) * | 2011-08-17 | 2012-03-07 | 丁文华 | Television station production system and method thereof for realizing construction and operation |
CN103793272A (en) * | 2013-12-27 | 2014-05-14 | 北京天融信软件有限公司 | Periodical task scheduling method and periodical task scheduling system |
CN104506881A (en) * | 2014-12-31 | 2015-04-08 | 成都东方盛行电子有限责任公司 | Scheduling method for audio/video fragment transcoding |
-
2017
- 2017-03-27 CN CN201710187446.3A patent/CN107122232B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101673380A (en) * | 2009-10-16 | 2010-03-17 | 广东宇天信通通信科技有限公司 | Method and device for realizing mobile media service |
CN101986272A (en) * | 2010-11-05 | 2011-03-16 | 北京大学 | Task scheduling method under cloud computing environment |
CN102368802A (en) * | 2011-08-17 | 2012-03-07 | 丁文华 | Television station production system and method thereof for realizing construction and operation |
CN103793272A (en) * | 2013-12-27 | 2014-05-14 | 北京天融信软件有限公司 | Periodical task scheduling method and periodical task scheduling system |
CN104506881A (en) * | 2014-12-31 | 2015-04-08 | 成都东方盛行电子有限责任公司 | Scheduling method for audio/video fragment transcoding |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109857531A (en) * | 2019-01-22 | 2019-06-07 | 合肥中科昂辉科技有限公司 | A kind of task scheduling system in onboard operations system |
CN111158889A (en) * | 2020-01-02 | 2020-05-15 | 中国银行股份有限公司 | Batch task processing method and system |
CN111352626A (en) * | 2020-02-04 | 2020-06-30 | 北京三快在线科技有限公司 | Service request processing method and device, electronic equipment and storage medium |
CN112184085A (en) * | 2020-11-05 | 2021-01-05 | 上海亿保健康管理有限公司 | Task allocation method, device and equipment |
CN112751856A (en) * | 2020-12-30 | 2021-05-04 | 湖南快乐阳光互动娱乐传媒有限公司 | Media processing system capable of arranging flow |
CN114546096A (en) * | 2022-02-10 | 2022-05-27 | Oppo广东移动通信有限公司 | Base band chip, task scheduling method and terminal equipment |
CN114546096B (en) * | 2022-02-10 | 2024-02-06 | Oppo广东移动通信有限公司 | Baseband chip, task scheduling method and terminal equipment |
Also Published As
Publication number | Publication date |
---|---|
CN107122232B (en) | 2021-02-02 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107122232A (en) | Multimedia task processing device and method | |
CN109992407B (en) | YARN cluster GPU resource scheduling method, device and medium | |
CN103279390B (en) | A kind of parallel processing system (PPS) towards little optimization of job | |
CN104063279B (en) | Method for scheduling task, device and terminal | |
CN100527119C (en) | Information processing apparatus and information processing method | |
CN110769278A (en) | Distributed video transcoding method and system | |
CN109034396A (en) | Method and apparatus for handling the deep learning operation in distributed type assemblies | |
CN112463375B (en) | Data processing method and device | |
CN112862098B (en) | Cluster training task processing method and system | |
CN115756833A (en) | AI inference task scheduling method and system oriented to multiple heterogeneous environments | |
CN112099930A (en) | Quantum computer cluster distributed queue scheduling method | |
CN110705891A (en) | Data processing method based on high-allocable changeability | |
CN114625517A (en) | DAG graph computation distributed big data workflow task scheduling platform | |
CN111435315A (en) | Method, apparatus, device and computer readable medium for allocating resources | |
CN117421108B (en) | Resource scheduling method | |
CN113535321A (en) | Virtualized container management method, system and storage medium | |
CN113110935B (en) | Distributed batch job processing system | |
CN105933136B (en) | A kind of resource regulating method and system | |
CN112261125B (en) | Centralized unit cloud deployment method, device and system | |
CN107896242B (en) | Service sharing method and device | |
CN112213956B (en) | Automatic driving simulation task scheduling method, device, equipment and readable medium | |
CN103379155B (en) | Method and system for distributing contents and content management system | |
CN117033016A (en) | Flow scheduling system, method, electronic equipment and storage medium | |
CN107025126A (en) | A kind of resource regulating method, NFVO and system | |
CN111736967B (en) | Multi-branch flow management and control device, flow template generation method and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |