CN102164229B - Link task processing method and device - Google Patents

Link task processing method and device Download PDF

Info

Publication number
CN102164229B
CN102164229B CN 201010113780 CN201010113780A CN102164229B CN 102164229 B CN102164229 B CN 102164229B CN 201010113780 CN201010113780 CN 201010113780 CN 201010113780 A CN201010113780 A CN 201010113780A CN 102164229 B CN102164229 B CN 102164229B
Authority
CN
China
Prior art keywords
flow process
link task
task
content
download
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.)
Expired - Fee Related
Application number
CN 201010113780
Other languages
Chinese (zh)
Other versions
CN102164229A (en
Inventor
李梁
张成春
杨群
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China Digital Video Beijing Ltd
Original Assignee
Peking University Founder Group Co Ltd
Beijing Founder Electronics Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Peking University Founder Group Co Ltd, Beijing Founder Electronics Co Ltd filed Critical Peking University Founder Group Co Ltd
Priority to CN 201010113780 priority Critical patent/CN102164229B/en
Publication of CN102164229A publication Critical patent/CN102164229A/en
Application granted granted Critical
Publication of CN102164229B publication Critical patent/CN102164229B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Information Transfer Between Computers (AREA)

Abstract

The invention discloses a link task processing method, which comprises that: in the execution of a link task in a first downloading flow, if determining that a cache region comprises duplicate node results of the link task, a media asset platform multiplexes the duplicate node results of the link task, and executes the next link task in the first downloading flow, wherein the duplicate node results of the link task are results obtained by executing the link task in a second downloading flow comprising the link task and having requirements on the consistency of the results. The invention also discloses a link task processing device. By the method and the device, the consumption of resources can be reduced, and the execution efficiency of the flows can be improved.

Description

Link task processing method and device
Technical field
The present invention relates to the media asset management system field based on workflow, especially relate to a kind of link task processing method and a kind of link Task Processing Unit.
Background technology
Media asset management system based on workflow control mainly is for the integration of TV station's full court record and broadcast business is supported, it is one of core application plateform system of TV station, its major function comprises: 1) by uploading operation flow processing program, storage TV station's full court finished product program and material content; Provide sharing channel by downloading flow process to each business department of full court; 2) making operational plate, the central matchmaker who integrates TV station by the flow process passage supports operational plate, editor-in-chief and broadcasts operational plate fully and broadcast operational plate.TV station's media asset management system can carry out omnidistance process automation with the broadcast warming-up exercise with the daily download activity that goes up, and has greatly improved the work efficiency of TV station, and has reduced cost.
The record and broadcast operation flow of TV station is made of a plurality of link tasks, operation flow is reconstructed and promotes the automatization level of each link task based on the media asset management system of workflow control.In the prior art, being also referred to as the matchmaker based on the media asset management system of workflow control and supporting platform, is conveniently hereinafter to describe, and hereinafter relates to media asset management system based on workflow control and all is called the matchmaker and supports platform.
Usually, the matchmaker supports the service of all link tasks of platform abstraction, form the system of a distributed structure/architecture, each flow process of its execution is the once combination in order of several link tasks, in other words, the task of an operation flow is decomposed into the subtask that comprises each link task handles, can be conducive to like this carry out strain rate effect at diversity and the variability of flow process, can also carry out unified management and allotment to the bottom Service Source.
The matchmaker supports the operation flow classification and can comprise: matchmaker's money is to sowing the current-carrying journey fully, and the matchmaker supports arrangement and uploads flow process, etc.; Link task classification can comprise: retrieval is downloaded, migration service, and the transcoding service, skill is examined service, and service is examined in the catalogue service, etc.Matchmaker's money can be made up of retrieval download, the link tasks such as service, transcoding service, the careful service of skill, migration service of examining to sowing the current-carrying journey fully.
Now describe with instantiation, referring to Fig. 1, as seen from Figure 1, flow process finally is to be finished by each independent link task service of bottom, suppose in Fig. 1, example 1 is 80 matchmaker money to sowing the current-carrying journey fully for priority, and example 2 is matchmaker's money of 55 for priority to sowing the current-carrying journey fully, example 1 and example 2 by retrieval download, examine service, transcoding service, skill examines service and migration service, tape recovery, fragment download several links task are formed; Example 3 is that 65 matchmaker supports arrangement and uploads flow process for priority, and example 4 is that 25 matchmaker supports arrangement and uploads flow process for priority, example 3 and example 4 by catalogue service, transcoding service, skill carefully serve, migration service several links task forms.Wherein, the more big representative priority of numeral is more high.
Be that example describes with the transcoding service now, as shown in Figure 1, the transcoding service is all served in the example of four flow process correspondences, if four examples arrived transcoding simultaneously and served this link task and carry out this link task this moment, priority according to four examples sorts respectively, be followed successively by example 1, example 3, example 2 and example 4, the transcoding service is according to the ranking results scheduling resource, be preferably example 1 resource is provided, taking second place provides resource for example 3, take second place again for example 2 provides resource, provide resource for example 4 at last.Certainly, if four examples are not to arrive this link task simultaneously, according to sorting time of arrival, for example, example 1 and example 4 arrive simultaneously, at this moment, be preferably example 1 resource is provided, taking second place provides resource for example 4, if example 2 arrival this moment, for example 2 provides resource, at this moment, this link task will provide resource for example 4 before example 2 again.The sortord of the corresponding embodiment of each flow process is also identical in other link tasks.
In TV station's activity, download flow process and expressed a kind of demand for content, often more urgent than uploading flow process, frequency is mutually higher, and the essence of downloading flow process is: the mode that a programme content object is moved after by Direct Transfer mode or form machining deformation from a content library copies to the another one object content storehouse.In the specific implementation, download flow process and also may have certain external constraint, for example, time restriction, that is, and internal trigger at the appointed time or finish the download flow process.In addition, after downloading end, the association attributes of downloading the content of obtaining also needs change, for example, downloads the log-on message of content in the object content storehouse that obtains, and the life cycle that keeps at least, etc.Common download flow process comprises that the matchmaker supports to make downloading flow process, matchmaker's money and downloads flow process, matchmaker's money and support the finished product program and replenish flow process to sowing current-carrying journey and matchmaker fully to broadcasting.
Usually, the matchmaker supports platform and comprises that central matchmaker supports plate, make the web plate piece, the editor-in-chief broadcasts plate fully and broadcasts plate, there is downloading service between each plate, for example, making web plate piece and central matchmaker support and exist the matchmaker to support to making the download flow process between plate, the matchmaker of central authorities supports plate and broadcasts and exists the matchmaker to support to broadcasting the urgent flow process of downloading between plate, the matchmaker of central authorities supports plate self and exists the matchmaker to support the additional flow process of finished product program, the matchmaker of central authorities supports plate and editor-in-chief and broadcasts fully and exist the matchmaker to support to sowing the current-carrying journey fully between plate, the editor-in-chief broadcasts plate fully and broadcasts to exist between plate and broadcast fully to broadcasting the migration flow process, etc., specifically as shown in Figure 2, wherein, the flow process that the dotted line representative may be carried out according to actual needs, and nonessential execution.
Each downloads flow process when implementing, and may cause the repetition and waste of resource, specifically the reasons are as follows:
1, for the review of a film by the censor of the program of TV station, distinguishing replays tries and punishes to broadcasting fully normally to need first program downloading content, when the review of a film by the censor is passed through, program can enroll programme, and then prepared by program before broadcasting server fully and broadcasting, the review of a film by the censor and broadcast before program prepare all to need to use the matchmaker to support to sowing the current-carrying journey fully, because it is limited respectively broadcasting the program retention time in district, if the review of a film by the censor is early finished, when program is prepared before broadcasting, the program that the review of a film by the censor is downloaded is deleted, at this moment just needs to download again, repeatedly downloads the repetition and waste that causes resource;
2, TV station may exist a plurality of channels to play the situation of same program in the short time, the review of a film by the censor of different channel and broadcast before program prepare all can carry out programme content and download flow process, repeatedly download the repetition and waste that causes resource;
3, TV station need support the program downloading content to the making net from the matchmaker when director's editing is movable, and during the major event report, important news material may be downloaded the repetition and waste that causes resource repeatedly by the different making nets that download to repeatedly separately of writing and directing;
4, because the programme content of having put in storage is careful without low code stream and high code stream skill in a large number, therefore, TV station supports the additional flow process of finished product program by the matchmaker each programme content of having put in storage is reprocessed, namely, download the dish battle array of each programme content correspondence from tape library, change low code stream and high code stream skill then and examine, cost great amount of cost and time;
5, may there be the content of the program of needs download in TV station in the object content storehouse when execution is respectively downloaded flow process, and repeated downloads causes the waste of resource, and the meeting delay time at stop;
6, TV station downloads in preceding or the downloading process when execution is respectively downloaded flow process, and the preparation time limit of the program of download arrives, continues to download the waste that also can cause resource.
Summary of the invention
The embodiment of the invention provides a kind of link task processing method, for reducing the consumption of resource, promotes the execution efficient of flow process, and this method comprises:
The matchmaker supports platform when the link task that the execution first download flow process is comprised, when determining in buffer zone, to have the duplicate node achievement of described link task, the duplicate node achievement of multiplexing described link task is carried out described first and is downloaded the next link task that flow process comprises;
Wherein, the duplicate node achievement of described link task is to support platform by described matchmaker to carry out the result that the described link task in the second download flow process that comprises described link task and requirement result unanimity obtains;
Described matchmaker supports platform determines to exist described link task in buffer zone duplicate node achievement, specifically comprises:
Described matchmaker supports platform in the mapping table of self storage, obtains the sign corresponding virtual link task identification of downloading flow process with described first successively according to described first order of downloading each link task that flow process comprises;
Described matchmaker supports platform and finds corresponding actual link task identification according to described virtual link task identification, obtains the task status of the actual link task corresponding with described actual link task identification;
When described task status when completing successfully, described matchmaker supports platform determines to exist described link task in buffer zone duplicate node achievement;
Wherein, store the corresponding relation of downloading flow process and virtual link task identification, virtual link task identification and actual link task identification in the described mapping table, and the task status of the actual link task corresponding with actual link task identification.
Preferable, also comprise: described matchmaker supports platform when determining not have the duplicate node achievement of described link task in buffer zone, distribute the resource of carrying out the described link required by task that comprises in the described first download flow process, and utilize the resource of distributing to carry out described link task.
Preferable, also comprise: described matchmaker supports the conditional policies instruction that platform receives user's input, obtains the conditional policies that comprises in the described conditional policies instruction;
When described matchmaker supports platform when determining that described first condition of downloading flow process does not satisfy described conditional policies, stop to carry out described first and download flow process, and discharge the resource that it takies.
Preferable, described conditional policies is that time of finishing of flow process is during bottom line, described matchmaker supports that platform determines that described first time of downloading flow performing surpassed that described flow process finishes time stops to carry out described first and downloads flow process, and discharge the resource that it takies during bottom line; Or
Described conditional policies is when stopping to carry out the flow process instruction, and described matchmaker supports platform and determines current described first when downloading flow process and still being in executing state, stops to carry out described first and downloads flow process, and discharge the resource that it takies.
Preferable, also comprise:
When the object content stock when downloading the identical content of content, described matchmaker supports platform and adopts and dodge strategy, stops to carry out described first and downloads flow process; Or
Described matchmaker supports platform and adopts overlay strategy, deletes original identical content in the described object content storehouse, with described download content registration in described object content storehouse; Or
Described matchmaker supports platform and adopts convergence strategy, merges original identical content in described download content and the described object content storehouse according to the ratio of setting.
Preferable, also comprise:
Described matchmaker supports the last retention time of the original identical content in the more described object content of platform storehouse and the last retention time of described download content, the retention time of content identical described in the object content storehouse is modified to both maximal values.
Preferable, described download flow process comprises:
Matchmaker's money is supported to broadcasting to making download flow process, matchmaker and is downloaded flow process, the matchmaker supports to sowing current-carrying journey and matchmaker fully and supports the additional flow process of finished product program.
The embodiment of the invention also provides a kind of link Task Processing Unit, is applied in the matchmaker and supports in the platform, for reducing the consumption of resource, promotes the execution efficient of flow process, comprises determining unit, Multiplexing Unit and performance element:
Described performance element is used for carrying out the link task that flow process comprises of respectively downloading;
Described determining unit is used for carrying out first when downloading the link task that flow process comprises at described performance element, determines to exist in buffer zone the duplicate node achievement of described link task; Wherein, the duplicate node achievement of described link task is to carry out the result that the described link task in the second download flow process that comprises described link task and requirement result unanimity obtains by described performance element;
Described Multiplexing Unit is used for the duplicate node achievement of multiplexing described link task, and triggers described performance element and carry out the next link task that the first download flow process comprises;
Described determining unit comprises:
Storing sub-units is used for memory map assignments, wherein, stores the corresponding relation of downloading flow process and virtual link task identification, virtual link task identification and actual link task identification in the described mapping table, and the task status of actual link task identification;
First obtains subelement, is used for the mapping table in described storing sub-units storage, obtains the sign corresponding virtual link task identification of downloading flow process with described first successively according to described first order of downloading each link task that flow process comprises;
Second obtains subelement, is used for the mapping table in described storing sub-units storage, finds corresponding actual link task identification according to described virtual link task identification, obtains the task status of the actual link task corresponding with described actual link task identification;
Determine subelement, be used for when described task status when completing successfully, determine in buffer zone, to exist the duplicate node achievement of described link task.
Preferable, described determining unit is further used for determining not exist the duplicate node achievement of described link task in buffer zone;
Described performance element, be further used for when described determining unit is determined not have the duplicate node achievement of described link task in buffer zone, distribute the resource of carrying out the described link required by task that comprises in the described first download flow process, and utilize the resource of distributing to carry out described link task.
Preferable, also comprise:
Receiving element is used for receiving the conditional policies instruction of user's input, obtains the conditional policies that comprises in the described conditional policies instruction;
Stop performance element, be used for when described first condition of downloading flow process does not satisfy described conditional policies, stopping to carry out described first and downloading flow process, and discharge the resource that it takies.
Preferable, described receiving element is further used for obtaining the conditional policies of the time bottom line that flow process finishes;
The described performance element that stops to be further used for determining described first time of downloading flow performing surpassed that described flow process finishes time during bottom line, stops to carry out described first and downloads flow process, and discharge the resource that it takies; Or
Described receiving element is further used for obtaining the conditional policies that stops to carry out flow process;
The described performance element that stops when being further used for determining that the current described first download flow process still is in executing state, stopping to carry out described first and downloads flow process, and discharge the resource that it takies.
Preferable, also comprise processing unit:
Described determining unit is further used for determining the object content stock in the content identical with downloading content;
Described processing unit is used for adopting and dodging strategy when described determining unit is determined the object content stock in the content identical with the download content, stops to carry out described first and downloads flow process; And
Adopt overlay strategy, delete original identical content in the described object content storehouse, with described download content registration in described object content storehouse; And
Adopt convergence strategy, merge original identical content in described download content and the described object content storehouse according to the ratio of setting.
Preferable, also comprise:
Comparing unit is used for the last retention time of the original identical content in more described object content storehouse and the last retention time of described download content;
Amending unit is used for retention time with content identical described in the object content storehouse and is modified to described comparing unit both maximal value relatively.
In embodiments of the present invention, the matchmaker supports platform when the link task that the execution first download flow process is comprised, when determining to have the duplicate node achievement of link task in buffer zone, the duplicate node achievement of multiplexing link task is carried out first and is downloaded the next link task that flow process comprises; Wherein, the duplicate node achievement of link task is to support platform by the matchmaker to comprise that in execution second of this link task and requirement result unanimity download the result that this link task in the flow process obtains.That is, in embodiments of the present invention, support in the platform the matchmaker, for the link task that has the duplicate node achievement, directly multiplexing its duplicate node achievement does not need to download again content, does not need to re-execute this link task that comprises in the flow process of downloading yet, reduced download time, the repetition and waste of resource can be saved, in addition, a large amount of time can also be saved down, improve efficiency of resource, can improve user's impression simultaneously and experience.
Further, the matchmaker supports the conditional policies instruction that platform can also receive user's output, subjective wishes according to the user is operated flow process, for the flow process that does not satisfy conditional policies, in time stop to carry out and discharging the resource that it takies, reduce the loss of resource, also can improve user's impression simultaneously and experience.
Description of drawings
Fig. 1 is the component relationship of each flow process and independent link in the background technology;
Fig. 2 is that the matchmaker supports the synoptic diagram that its a plurality of interplate download flow processs of a plurality of plates that platform comprises flow in the background technology;
Fig. 3 is the particular flow sheet of the link task processing method that provides of the embodiment of the invention;
Fig. 4 is the multiplexing synoptic diagram of link task that the embodiment of the invention provides;
Fig. 5, Fig. 6, Fig. 7, Fig. 8 and Fig. 9 are the structural representations of the link Task Processing Unit that provides of the embodiment of the invention.
Embodiment
For reducing the consumption of resource, promote the execution efficient of flow process, the embodiment of the invention provides a kind of link task processing method, be used for carrying out first when downloading the link task that flow process comprises, the link task is handled, and concrete treatment scheme comprises as shown in Figure 3:
Step 301, matchmaker support platform and determine whether buffer zone exists the duplicate node achievement of the link task of carrying out, if, execution in step 302 and step 303 successively, if not, execution in step 304 and step 305 successively;
The duplicate node achievement of step 302, multiplexing this link task;
Next link task that flow process comprises is downloaded in step 303, execution first;
Step 304, the resource of distributing this link required by task that comprises in the execution first download flow process;
The resource that step 305, utilization distribute is carried out this link task.
Flow process as shown in Figure 3, step 302 to step 305 when implementing, main body is the matchmaker and supports platform, identical in main body with step 301, certainly, support the function that platform is finished if exist other main bodys or equipment can finish the matchmaker, also can be carried out by other main bodys or equipment.Step 303 or step 305 are after implementing, and flow process finishes.
Flow process as shown in Figure 3, during enforcement, the duplicate node achievement of link task is to support platform by the matchmaker to carry out the result that this link task in the second download flow process that comprises this link task and requirement result unanimity obtains, the second download flow process herein is used for distinguishing with the first download flow process, be not limited to a fixing download flow process, can be comprise this link task of mentioning in the step 301 and with the first download stream range request result as for any one download flow process.
Flow process as shown in Figure 3, step 301 is when implementing, the matchmaker supports platform determines to exist the link task of carrying out in buffer zone duplicate node achievement, it is multiple to determine that mode can have, the embodiment of the invention provides a kind of preferred implementation, support the matchmaker virtual link task is set in the platform, the pointer of each virtual link task is set to point to the sign of a unique actual link task.Corresponding relation for easy-to-look-up virtual link task and actual link task, support the matchmaker in this example and stored a mapping table that comprises virtual link task identification in the platform, in this mapping table, store the corresponding relation of downloading flow process and virtual link task identification, the corresponding relation that also comprises virtual link task identification and actual link task identification, and the task status of the actual link task of actual link task identification correspondence, instantiation sees also table one:
Table one
Figure GDA00003040328200091
In Table 1, exist and be designated 1001, download flow process for two of 1002, be designated 1001 download flow process and comprise 19751 the virtual link task that is designated, be designated 19751 virtual link task correspondence and be designated 8675 actual link task identification, and state that should actual link task is 1, namely complete successfully, in like manner, 1002 comprise and are designated 19786, two virtual link task identifications of 19787, correspondence is designated 8675 respectively, 3786 actual link task identification, wherein, the state that is designated 8675 actual link task is 1, complete successfully, the state that is designated 3786 actual link task is 0, in handling.Also there is other option in Xxxx representative in the table one, and hereinafter the Xxxx implication is with identical herein.
When the matchmaker supports one first download flow process of the current needs execution of platform execution, according to first task of downloading each link task that flow process comprises, in mapping table, obtain the sign corresponding virtual link task identification with this first download flow process successively, further, support platform by the matchmaker and find corresponding actual link task identification according to virtual link task identification, obtain the task status of the actual link task corresponding with actual link task identification, when task status when completing successfully, the matchmaker supports platform and determine to exist this moment the duplicate node achievement of link task in buffer zone.
Certainly, in the specific implementation, except the corresponding relation that stores flow process and virtual link task identification, the corresponding relation that also comprises virtual link task identification and actual link task identification, and outside the task status of actual link task identification, also may store other elements, as, the task status code of flow process, the task grade of flow process, the flow process type code, flow process requires details, the editing objective address of virtual link task correspondence, etc.
In the specific implementation, for the attribute that will download flow process or virtual link task or actual link task expresses clearly, also can enable a plurality of forms and form mapping tables, for example, the specific object of downloading flow process can be as shown in Table 2:
Table two
Figure GDA00003040328200101
The specific object of virtual link task and virtual link task and the corresponding relation of downloading flow process and actual link task be as shown in Table 3:
Table three
Figure GDA00003040328200111
Also there is other option in Xxxx in the table three, Yyyy representative.
The specific object of actual link task is shown in table four and table five:
Table four
Skill is examined task
Xxxx
3786
Table five
The transcoding task
Xxxx
8675
In this embodiment, 19751,19786 the virtual link task of being designated is designated 8675 transcoding task by pointed, 19787 the virtual link task of being designated is designated 3786 skill by pointed and examines task, but the task status of examining task owing to the skill that is designated 3786 is 0, in namely handling, therefore, can not multiplexing identification be the duplicate node achievement that 3786 skill is examined task, but request distribute the resource of this link required by task, utilizes the resource of distributing to carry out this link task.
When implementing, the duplicate node achievement of the link task of direct multiplexing execution does not need program downloading content again, reduces the time of downloading, and can save the resource of downloading the required resource of content and occupying in the object content storehouse.Referring to Fig. 4, dotted line among the figure is represented the multiplexing of identical link task between different flow processs, the dotted line circle represent can be multiplexing in the inner different flow instances of same flow process the link task, among Fig. 4, carry out matchmaker's money and download flow process to making, matchmaker's money is to sowing the current-carrying journey fully, matchmaker's money is supported the additional flow process of finished product program to broadcasting urgent download flow process and matchmaker, matchmaker's money comprises the retrieval download to making the download flow process, approval system, tape recovers, fragment is downloaded, the transcoding service, skill is examined service and migration service several links task, matchmaker's money comprises that to sowing the current-carrying journey fully tape recovers, the transcoding service, skill is examined service, the several links task is broadcast in migration service and registration fully, matchmaker's money comprises that to broadcasting the urgent flow process of downloading tape recovers, the transcoding service, skill is examined service, the several links task is broadcasted in migration service and registration, and the matchmaker supports the additional flow process of finished product program and comprises that tape recovers, the transcoding service, skill is examined service, intercepting key frame and the service of additional registration several links.According to the content of Fig. 4 as can be seen, in four flow processs, tape recovery, transcoding service and skill are examined service and can be carried out multiplexing between different flow processs, and support in the different flow instances that broadcast urgent download flow process to sowing current-carrying journey and matchmaker fully to making download flow process, matchmaker's money in matchmaker's money, tape recovery, transcoding service, skill examine service and migration service can be multiplexing, support the finished product program the matchmaker and replenish in the different flow instances of flow process, tape recovers, the transcoding service is that the careful service of skill can be multiplexing.In addition, represented the link task of user's subjective desire as approval system etc., because instability is too high, do not supported multiplexing.
During enforcement, for considering user's wish, the matchmaker supports the conditional policies instruction that platform can also receive user's input, obtain the conditional policies that comprises in the conditional policies instruction, and then download flow process according to the conditional policies that the user selects to first and handle, when first condition of downloading flow process did not satisfy conditional policies, the matchmaker supported platform and stops to carry out the first download flow process, and discharges the resource that it takies.
The conditional policies that comprises in the conditional policies instruction can have multiple, and for example, the time bottom line that flow process finishes perhaps stops to carry out the flow process instruction, etc.Download flow process when implementing, the predetermined time bottom line may be arranged, also may be according to user's subjective value hope by the time bottom line manually is set, also the predetermined time bottom line may be combined with user's subjective value hope the time bottom line is set, several flow processs in the table six for example, the regulation of its time bottom line just has nothing in common with each other, and specifically sees also table six:
Table six
Figure GDA00003040328200131
Determined for first time of downloading flow performing above the time bottom line of flow process end when the matchmaker supports platform, this first value of downloading flow process has become 0, and the matchmaker supports platform and stops to carry out the first download flow process, and discharges the resource that it takies, to reduce the waste of resource.
In like manner, receive and stop to carry out flow process when instruction when the matchmaker supports platform, show that this flow process thought that by the user being worth is 0, stop to carry out, and discharge resource that it take, to reduce the waste of resource if first download flow process and still carrying out this moment.
First downloads flow process in implementation process, determines that when the matchmaker supports platform the object content stock is in the content identical with downloading content, when object content storehouse content conflicts namely takes place, should take corresponding strategy to handle, for example, the matchmaker supports platform and can adopt and dodge strategy, stops to carry out first and downloads flow process; The matchmaker supports platform can also adopt overlay strategy, and original identical content in the deletion object content storehouse will be downloaded content registration in the object content storehouse; Perhaps, the matchmaker supports platform can also adopt convergence strategy, merges according to the ratio of setting and downloads original identical content in content and the object content storehouse.In the specific implementation, above-mentioned strategy can preestablish before flow process begins, and also can select to set through the user in the flow performing process, specifically adopted which kind of embodiment to decide as the case may be.
Certainly, when adopting above-mentioned strategy to solve the problem of object content storehouse content conflicts, one very important problem be, how to judge the retention time of the identical content in object content storehouse, for guaranteeing that program can access smooth broadcast, for downloading flow process, need to take full advantage of the identical content in object content storehouse, the solution that provides in this example is:
The matchmaker supports the last retention time and the last retention time of downloading content of the original identical content of platform comparison object content library, the retention time of content identical in the object content storehouse is modified to both maximal values.
Also can be formulated, that is:
The last retention time of the original identical content in the retention time of the content that revised object content storehouse is identical=Max(object content storehouse is downloaded the last retention time of content).
For example, the object library program subject of a talk or essay " first collection of showing sword " by name, keeping final time is on June 10th, 2010, is on June 5th, 2010 if download the last retention time of content, and then the retention time of the identical content in revised object content storehouse is on June 10th, 2010; If downloading the last retention time of content is on June 12nd, 2010, then the retention time of the identical content in revised object content storehouse is on June 12nd, 2010.
Flow process as shown in Figure 3, the duplicate node achievement of multiplexing link task, the precondition that needs to satisfy be: the uniqueness determine mechanism of content.Because no matter be the multiplexing of the multiplexing or whole flow process of link, all be multiplexing for content.That is to say that it is identical requiring to guarantee to exist existing content and will handle the result that wants.So, guarantee that it correctly is multiplexing prerequisite that the content uniqueness is differentiated.
Because it is file-level that the download flow process is moved the content of generation, therefore, a kind of criterion of judging the content uniqueness is to differentiate the homogeny of file fully, the content that the content library of the different plates of TV station is preserved is unit with the program, a program is the set that some files are formed, so, utilize the characteristic of " file in the program " here, concrete differentiation uniqueness mechanism as shown in Table 7:
Table seven
Figure GDA00003040328200151
During enforcement, owing to system is constantly safeguarding flow process, for guaranteeing not removed automatically by system logic, the content of a program can repeatedly be locked, and when the content of this program was downloaded end, release once, drop lock subtracts 1, when the drop lock of program is 0, can be removed by system logic.
In the specific implementation, the matchmaker supports the download flow process that platform relates to and comprises following several at least: matchmaker's money is downloaded flow process, matchmaker's money and is downloaded flow process, matchmaker's money and support the finished product program and replenish flow process to sowing current-carrying journey and matchmaker fully to broadcasting to making.Certainly, also may exist other to download flow process, support the interior content download of platform as long as relate to the matchmaker, all belong to the matchmaker and support the download flow process that platform relates to.
The link task processing method that adopts the embodiment of the invention to provide can solve one by one for the problems of the prior art, for example:
1, for the review of a film by the censor of the program of TV station, can revise the program retention time, satisfy the time bottom line that program is prepared before broadcasting, like this, though the review of a film by the censor early finish, when program is prepared before broadcasting, the program that the review of a film by the censor is downloaded is not deleted, does not therefore just need to download again yet, can save resource;
When 2, TV station exists a plurality of channels to play the situation of same program in the short time, the review of a film by the censor of different channel and broadcast before program prepare not need all to carry out programme content and download flow process, duplicate node achievement that can multiplexing completed link task gets final product, avoided repeatedly downloading the repetition and waste that causes resource, can save resource;
3, TV station is when director's editing is movable, need support the program downloading content to making net from the matchmaker, during the major event report, when important news material is write and directed the making net that downloads to repeatedly separately by difference, the duplicate node achievement of multiplexing completed link task can avoid downloading repeatedly the repetition and waste that causes resource equally;
4, because the programme content of having put in storage is careful without low code stream and high code stream skill in a large number, the duplicate node achievement of multiplexing completed link task, TV station does not need to support the additional flow process of finished product program by the matchmaker each programme content of having put in storage is reprocessed, and saves great amount of cost and time;
5, TV station is carrying out when respectively downloading flow process, may have the content of the program that needs download in the object content storehouse, adopts to cover or merge or dodge strategy and handle, and avoids repeated downloads to cause the waste of resource, and the while can save time;
6, TV station downloads in preceding or the downloading process when execution is respectively downloaded flow process, and the preparation time limit of the program of download arrives, can stop to download, and saves resource.
Based on same inventive concept, the embodiment of the invention also provides a kind of link Task Processing Unit, is applied in the matchmaker and supports in the platform, and concrete structure comprises performance element 501, determining unit 502 and Multiplexing Unit 503 as shown in Figure 5:
Performance element 501 is used for carrying out the link task that flow process comprises of respectively downloading;
Determining unit 502 is used for carrying out first when downloading the link task that flow process comprises at performance element 501, determines to exist in buffer zone the duplicate node achievement of link task; Wherein, the duplicate node achievement of link task is to carry out the result that this link task in the second download flow process that comprises this link task and requirement result unanimity obtains by performance element 501;
Multiplexing Unit 503 is used for the duplicate node achievement of multiplexing this link task, and triggers performance element 501 and carry out the next link task that the first download flow process comprises.
In one embodiment, structure as shown in Figure 5, determining unit 502 can be further used for determining not exist the duplicate node achievement of link task in buffer zone;
Performance element 501, can be further used for when determining unit 502 is determined not have the duplicate node achievement of this link task in buffer zone, distribute the resource of carrying out this link required by task that comprises in the first download flow process, and utilize the resource of distributing to carry out this link task.
In one embodiment, install as shown in Figure 6, determining unit 502 can comprise:
Storing sub-units 601 is used for memory map assignments, wherein, stores the corresponding relation of downloading flow process and virtual link task identification, virtual link task identification and actual link task identification in the mapping table, and the task status of actual link task identification;
First obtains subelement 602, is used for the mapping table in storing sub-units 601 storages, obtains the sign corresponding virtual link task identification of downloading flow process with first successively according to first order of downloading each link task that flow process comprises;
Second obtains subelement 603, be used for the mapping table in storing sub-units 601 storages, obtain the virtual link task identification that subelement 602 obtains according to first and find corresponding actual link task identification, obtain the task status of the actual link task corresponding with actual link task identification;
Determine subelement 604, be used for when task status when completing successfully, determine in buffer zone, to exist the duplicate node achievement of link task.
In one embodiment, install as shown in Figure 7, the link Task Processing Unit can also comprise:
Receiving element 701 is used for receiving the conditional policies instruction of user's input, obtains the conditional policies that comprises in the conditional policies instruction;
Stop performance element 702, be used for when first condition of downloading flow process does not satisfy conditional policies, stopping to carry out first and downloading flow process, and discharge the resource that it takies.
In one embodiment, device as shown in Figure 7, receiving element 701 can be further used for obtaining the conditional policies of the time bottom line that flow process finishes;
Stop performance element 702, can be further used for determining first time of downloading flow performing surpassed that flow process finishes time during bottom line, stop to carry out first and download flow process, and discharge the resource that it takies.
In one embodiment, install as shown in Figure 7, receiving element 701 can be further used for obtaining the conditional policies that stops to carry out flow process;
Stop performance element 702, in the time of can being further used for determining that the current first download flow process still is in executing state, stopping to carry out first and download flow process, and discharge the resource that it takies.
In one embodiment, as shown in Figure 8, the link Task Processing Unit can also comprise processing unit 801:
Determining unit 502 is further used for determining the object content stock in the content identical with downloading content;
Processing unit 801 is used for adopting and dodging strategy when determining unit 502 is determined the object content stock in the content identical with the download content, stops to carry out first and downloads flow process; And
Adopt overlay strategy, delete original identical content in the described object content storehouse, will download content registration in the object content storehouse; And
Adopt convergence strategy, merge according to the ratio of setting and download original identical content in content and the object content storehouse.
In one embodiment, as shown in Figure 9, the link Task Processing Unit can also comprise:
Comparing unit 901 is used for the last retention time and the last retention time of downloading content of the original identical content of comparison object content library;
Amending unit 902, the retention time that is used for the content that the object content storehouse is identical are modified to the maximal value among relatively both of comparing unit 901.
In embodiments of the present invention, the matchmaker supports platform when the link task that the execution first download flow process is comprised, when determining to have the duplicate node achievement of link task in buffer zone, the duplicate node achievement of multiplexing link task is carried out first and is downloaded the next link task that flow process comprises; Wherein, the duplicate node achievement of link task is to support platform by the matchmaker to comprise that in execution second of this link task and requirement result unanimity download the result that this link task in the flow process obtains.That is, in embodiments of the present invention, support in the platform the matchmaker, for the link task that has the duplicate node achievement, directly multiplexing its duplicate node achievement does not need to download again content, does not need to re-execute this link task that comprises in the flow process of downloading yet, reduced download time, the repetition and waste of resource can be saved, in addition, a large amount of time can also be saved down, improve efficiency of resource, can improve user's impression simultaneously and experience.
Further, the matchmaker supports the conditional policies instruction that platform can also receive user's output, subjective wishes according to the user is operated flow process, for the flow process that does not satisfy conditional policies, in time stop to carry out and discharging the resource that it takies, reduce the loss of resource, also can improve user's impression simultaneously and experience.
Obviously, those skilled in the art can carry out various changes and distortion to the present invention and not break away from the spirit and scope of the present invention.Like this, if these modifications of the present invention and distortion belong within claim of the present invention and the equivalent technologies scope thereof, then the present invention also is intended to comprise these changes and is out of shape interior.

Claims (13)

1. a link task processing method is characterized in that, comprising:
The matchmaker supports platform when the link task that the execution first download flow process is comprised, when determining in buffer zone, to have the duplicate node achievement of described link task, the duplicate node achievement of multiplexing described link task is carried out described first and is downloaded the next link task that flow process comprises;
Wherein, the duplicate node achievement of described link task is to support platform by described matchmaker to carry out the result that the described link task in the second download flow process that comprises described link task and requirement result unanimity obtains;
Described matchmaker supports platform determines to exist described link task in buffer zone duplicate node achievement, specifically comprises:
Described matchmaker supports platform in the mapping table of self storage, obtains the sign corresponding virtual link task identification of downloading flow process with described first successively according to described first order of downloading each link task that flow process comprises;
Described matchmaker supports platform and finds corresponding actual link task identification according to described virtual link task identification, obtains the task status of the actual link task corresponding with described actual link task identification;
When described task status when completing successfully, described matchmaker supports platform determines to exist described link task in buffer zone duplicate node achievement;
Wherein, store the corresponding relation of downloading flow process and virtual link task identification, virtual link task identification and actual link task identification in the described mapping table, and the task status of the actual link task corresponding with actual link task identification.
2. the method for claim 1 is characterized in that, also comprises:
Described matchmaker supports platform when determining not have the duplicate node achievement of described link task in buffer zone, distributes to carry out described first and download the resource of the described link required by task that comprises in the flow process, and utilizes the resource of distributing to carry out described link task.
3. the method for claim 1 is characterized in that, also comprises:
Described matchmaker supports the conditional policies instruction that platform receives user's input, obtains the conditional policies that comprises in the described conditional policies instruction;
When described matchmaker supports platform when determining that described first condition of downloading flow process does not satisfy described conditional policies, stop to carry out described first and download flow process, and discharge the resource that it takies.
4. method as claimed in claim 3, it is characterized in that, described conditional policies is that time of finishing of flow process is during bottom line, described matchmaker supports that platform determines that described first time of downloading flow performing surpassed that described flow process finishes time is during bottom line, stop to carry out described first and download flow process, and discharge the resource that it takies; Or
Described conditional policies is when stopping to carry out the flow process instruction, and described matchmaker supports platform and determines current described first when downloading flow process and still being in executing state, stops to carry out described first and downloads flow process, and discharge the resource that it takies.
5. the method for claim 1 is characterized in that, also comprises:
When the object content stock when downloading the identical content of content, described matchmaker supports platform and adopts and dodge strategy, stops to carry out described first and downloads flow process; Or
Described matchmaker supports platform and adopts overlay strategy, deletes original identical content in the described object content storehouse, with described download content registration in described object content storehouse; Or
Described matchmaker supports platform and adopts convergence strategy, merges original identical content in described download content and the described object content storehouse according to the ratio of setting.
6. method as claimed in claim 5 is characterized in that, also comprises:
Described matchmaker supports the last retention time of the original identical content in the more described object content of platform storehouse and the last retention time of described download content, the retention time of content identical described in the object content storehouse is modified to both maximal values.
7. the method for claim 1 is characterized in that, described download flow process comprises:
Matchmaker's money is supported to broadcasting to making download flow process, matchmaker and is downloaded flow process, the matchmaker supports to sowing current-carrying journey and matchmaker fully and supports the additional flow process of finished product program.
8. a link Task Processing Unit is applied in the matchmaker and supports in the platform, it is characterized in that, comprises performance element, determining unit and Multiplexing Unit:
Described performance element is used for carrying out the link task that flow process comprises of respectively downloading;
Described determining unit is used for carrying out first when downloading the link task that flow process comprises at described performance element, determines to exist in buffer zone the duplicate node achievement of described link task; Wherein, the duplicate node achievement of described link task is to carry out the result that the described link task in the second download flow process that comprises described link task and requirement result unanimity obtains by described performance element;
Described Multiplexing Unit is used for the duplicate node achievement of multiplexing described link task, and triggers described performance element and carry out the next link task that the first download flow process comprises;
Described determining unit comprises:
Storing sub-units is used for memory map assignments, wherein, stores the corresponding relation of downloading flow process and virtual link task identification, virtual link task identification and actual link task identification in the described mapping table, and the task status of actual link task identification;
First obtains subelement, is used for the mapping table in described storing sub-units storage, obtains the sign corresponding virtual link task identification of downloading flow process with described first successively according to described first order of downloading each link task that flow process comprises;
Second obtains subelement, is used for the mapping table in described storing sub-units storage, finds corresponding actual link task identification according to described virtual link task identification, obtains the task status of the actual link task corresponding with described actual link task identification;
Determine subelement, be used for when described task status when completing successfully, determine in buffer zone, to exist the duplicate node achievement of described link task.
9. device as claimed in claim 8 is characterized in that,
Described determining unit is further used for determining not exist the duplicate node achievement of described link task in buffer zone;
Described performance element, be further used for when described determining unit is determined not have the duplicate node achievement of described link task in buffer zone, distribute the resource of carrying out the described link required by task that comprises in the described first download flow process, and utilize the resource of distributing to carry out described link task.
10. device as claimed in claim 8 is characterized in that, also comprises:
Receiving element is used for receiving the conditional policies instruction of user's input, obtains the conditional policies that comprises in the described conditional policies instruction;
Stop performance element, be used for when described first condition of downloading flow process does not satisfy described conditional policies, stopping to carry out described first and downloading flow process, and discharge the resource that it takies.
11. device as claimed in claim 10 is characterized in that,
Described receiving element is further used for obtaining the conditional policies of the time bottom line that flow process finishes;
The described performance element that stops, the time that is further used for that described first time of downloading flow performing of determining surpassed that described flow process finishes stops to carry out described first and downloads flow process, and discharge the resource that it takies during bottom line; Or
Described receiving element is further used for obtaining the conditional policies that stops to carry out flow process;
The described performance element that stops when being further used for determining that the current described first download flow process still is in executing state, stopping to carry out described first and downloads flow process, and discharge the resource that it takies.
12. device as claimed in claim 8 is characterized in that, also comprises processing unit;
Described determining unit is further used for determining the object content stock in the content identical with downloading content;
Described processing unit is used for adopting and dodging strategy when described determining unit is determined the object content stock in the content identical with the download content, stops to carry out described first and downloads flow process; Or
Adopt overlay strategy, delete original identical content in the described object content storehouse, with described download content registration in described object content storehouse; Or
Adopt convergence strategy, merge original identical content in described download content and the described object content storehouse according to the ratio of setting.
13. device as claimed in claim 12 is characterized in that, also comprises:
Comparing unit is used for the last retention time of the original identical content in more described object content storehouse and the last retention time of described download content;
Amending unit is used for retention time with content identical described in the object content storehouse and is modified to described comparing unit both maximal value relatively.
CN 201010113780 2010-02-24 2010-02-24 Link task processing method and device Expired - Fee Related CN102164229B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 201010113780 CN102164229B (en) 2010-02-24 2010-02-24 Link task processing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 201010113780 CN102164229B (en) 2010-02-24 2010-02-24 Link task processing method and device

Publications (2)

Publication Number Publication Date
CN102164229A CN102164229A (en) 2011-08-24
CN102164229B true CN102164229B (en) 2013-09-04

Family

ID=44465177

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 201010113780 Expired - Fee Related CN102164229B (en) 2010-02-24 2010-02-24 Link task processing method and device

Country Status (1)

Country Link
CN (1) CN102164229B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9933841B2 (en) * 2014-04-17 2018-04-03 Arm Limited Reuse of results of back-to-back micro-operations

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1760900A (en) * 2004-10-15 2006-04-19 中央电视台 Assets management system for broadcast television media, and method of adjust and control
CN101159818A (en) * 2007-10-29 2008-04-09 上海文广新闻传媒集团 Two-layered structure based media resource system

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7765235B2 (en) * 2005-12-29 2010-07-27 Rovi Guides, Inc. Systems and methods for resolving conflicts and managing system resources in multimedia delivery systems
CA2682941C (en) * 2007-04-12 2017-12-19 Thomson Licensing Operational management solution for media production and distribution

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1760900A (en) * 2004-10-15 2006-04-19 中央电视台 Assets management system for broadcast television media, and method of adjust and control
CN101159818A (en) * 2007-10-29 2008-04-09 上海文广新闻传媒集团 Two-layered structure based media resource system

Also Published As

Publication number Publication date
CN102164229A (en) 2011-08-24

Similar Documents

Publication Publication Date Title
CN109471705B (en) Task scheduling method, device and system, and computer device
CN102831120B (en) A kind of data processing method and system
US6826753B1 (en) Managing parallel execution of work granules according to their affinity
US7076553B2 (en) Method and apparatus for real-time parallel delivery of segments of a large payload file
CN108282514B (en) Distributed service establishing method and device
CN100518305C (en) Content distribution network system and its content and service scheduling method
CN102197395A (en) Storage-side storage request management
US8082307B2 (en) Redistributing messages in a clustered messaging environment
CN113806066A (en) Big data resource scheduling method, system and storage medium
WO2017097124A1 (en) Method, apparatus and system for transmitting tasks based on sub-libraries and sub-tables
WO2009145748A1 (en) Multi-head hierarchically clustered peer-to-peer live streaming system
US20020199200A1 (en) System and method for scheduling the distribution of assets from multiple asset providers to multiple receivers
CN113886034A (en) Task scheduling method, system, electronic device and storage medium
CN102316097A (en) Streaming media scheduling and distribution method capable of reducing wait time of user
CN111552664A (en) Method and storage medium for intelligently scheduling cold and hot of storage system
CN111913837A (en) System for realizing distributed middleware message recovery policy management in big data environment
CN102164229B (en) Link task processing method and device
CN106162781A (en) The changing method of routing node, device and wireless sensor network
CN101083604A (en) Method for selecting and switching stream media server in content distributed network
US20070038900A1 (en) System with executing nodes for executing schedules
JPH06274394A (en) Distributed data base control method
CN114328439A (en) Data storage method and device, electronic equipment and storage medium
CN102073539B (en) Queue request processing method and device
WO2017018978A1 (en) Scheduling jobs in a computing cluster
JP2004504737A (en) How to distribute elements of multimedia information

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
ASS Succession or assignment of patent right

Owner name: XIN'AOTE(BEIJING) VIDEO TECHNOLOGY CO., LTD.

Free format text: FORMER OWNER: BEIDA FANGZHENG GROUP CO. LTD.

Effective date: 20131024

Free format text: FORMER OWNER: BEIDA FANGZHENG ELECTRONICS CO., LTD., BEIJING

Effective date: 20131024

C41 Transfer of patent application or patent right or utility model
COR Change of bibliographic data

Free format text: CORRECT: ADDRESS; FROM: 100871 HAIDIAN, BEIJING TO: 100080 HAIDIAN, BEIJING

TR01 Transfer of patent right

Effective date of registration: 20131024

Address after: Newauto Technology Building No. 49 Beijing 100080 Haidian District Wukesong Road

Patentee after: China Digital Video (Beijing) Limited

Address before: 100871 Beijing, Haidian District into the house road, founder of the building on the 9 floor, No. 298

Patentee before: Peking Founder Group Co., Ltd.

Patentee before: Beida Fangzheng Electronics Co., Ltd., Beijing

CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20130904

Termination date: 20160224

CF01 Termination of patent right due to non-payment of annual fee