CN102972011A - Medium processing system and method for processing medium business - Google Patents

Medium processing system and method for processing medium business Download PDF

Info

Publication number
CN102972011A
CN102972011A CN2012800010939A CN201280001093A CN102972011A CN 102972011 A CN102972011 A CN 102972011A CN 2012800010939 A CN2012800010939 A CN 2012800010939A CN 201280001093 A CN201280001093 A CN 201280001093A CN 102972011 A CN102972011 A CN 102972011A
Authority
CN
China
Prior art keywords
media
module
media business
processing system
business
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
Application number
CN2012800010939A
Other languages
Chinese (zh)
Other versions
CN102972011B (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.)
Huawei Cloud Computing Technologies Co Ltd
Original Assignee
Huawei Technologies 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 Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Publication of CN102972011A publication Critical patent/CN102972011A/en
Application granted granted Critical
Publication of CN102972011B publication Critical patent/CN102972011B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications

Abstract

The invention discloses a medium processing system and a method for processing medium business. The medium processing system comprises a medium management module and a medium loading module, wherein the medium loading module is used for loading or unloading a medium business module for processing medium business; the medium management module comprises a first obtaining unit, a first determining unit and a first sending unit. According to the medium processing system and the method for processing medium business provided by the utility model, by determining the medium business module added to the medium processing system based on to-be-processed business information of the medium business, the medium business module has business processing ability without in the medium processing system. Different medium business modules can be dynamically loaded based on a requirement of processing medium business, thereby lifting the business processing ability of the medium processing system, raising universality, flexibility and resource utilization rate of the medium processing system, increasing user experience and reducing cost.

Description

The method of medium processing system and processing media business
Technical field
The present invention relates to areas of information technology, relate in particular to medium processing system and the method for processing media business in the areas of information technology.
Background technology
At present, medium processing system only has one or more fixing media business disposal abilities, thereby can only finish one or more fixing media business, and maybe can only finish a kind of part of media subservice of media business, the traffic handing capacity of medium processing system is simple and limited.For example, some medium processing system can only carry out the transcoding operation of media file, maybe can only carry out the operation of playing up of media file; Again for example, some medium processing system can only carry out the burst of media file and union operation etc.
Therefore, for simple media business, a medium processing system just can satisfy the processing demands of media business; But the media business for complicated a little may need a plurality of medium processing systems could satisfy the processing demands of this media business.
A kind of possible solution is that media business disposal ability as much as possible is concentrated on a medium processing system, thereby for the media business of complexity, only needs an above-mentioned medium processing system just can process.But the traffic handing capacity of this medium processing system or relatively-stationary and limited.When the requirement of media business changes, may need again a plurality of medium processing systems jointly to process, the user experiences relatively poor.And, for simple media business, the serious waste of resources of above-mentioned medium processing system, resource utilization is lower.
Therefore, the traffic handing capacity of present medium processing system is fixed and is limited, and it is relatively poor to cause thus the user to experience.
Summary of the invention
The embodiment of the invention provides a kind of medium processing system and has processed the method for media business, can promote traffic handing capacity and the flexibility of medium processing system.
On the one hand, the embodiment of the invention provides a kind of medium processing system, and this medium processing system comprises media management module and media load-on module; Wherein, this media load-on module is used for load or unload for the treatment of the media business module of media business; This media management module comprises: the first acquiring unit, for the first business information of obtaining the first pending media business of this medium processing system; The first determining unit for this first business information of obtaining according to this first acquiring unit, is determined the first media business module that this medium processing system need to increase, and this first media business module has the traffic handing capacity that this medium processing system does not have; The first transmitting element, be used for sending first to this media load-on module and load notice, this the first loading notice is used to indicate and loads this first media business module that this first determining unit is determined, so that this media load-on module loads this first media business module for the treatment of this first media business.
On the other hand, the embodiment of the invention provides a kind of method of processing media business, and the method comprises: the first business information of obtaining the first pending media business of medium processing system; According to this first business information, determine the first media business module that this medium processing system need to increase, this first media business module has the traffic handing capacity that this medium processing system does not have; Obtain this first media business module; This first media business module loading is arrived this medium processing system, so that this medium processing system is processed this first media business.
Based on technique scheme, the method of the medium processing system of the embodiment of the invention and processing media business, by the business information according to pending media business, determine the media business module that medium processing system need to increase, this media business module has the traffic handing capacity that this medium processing system does not have, thus can be according to the needs of processing media business and the different media business module of dynamic load, thereby can promote the traffic handing capacity of medium processing system, improve the versatility of medium processing system, flexibility and resource utilization, and can increase user's experience, reduce cost.
Description of drawings
In order to be illustrated more clearly in the technical scheme of the embodiment of the invention, the below will do to introduce simply to the accompanying drawing of required use in the embodiment of the invention, apparently, below described accompanying drawing only be some embodiments of the present invention, for those of ordinary skills, under the prerequisite of not paying creative work, can also obtain according to these accompanying drawings other accompanying drawing.
Fig. 1 is the schematic block diagram according to the medium processing system of the embodiment of the invention.
Fig. 2 is the schematic block diagram according to the media load-on module of the embodiment of the invention.
Fig. 3 A is another schematic block diagram according to the media management module of the embodiment of the invention.
Fig. 3 B is another schematic block diagram according to the media load-on module of the embodiment of the invention.
Fig. 4 is the again schematic block diagram according to the media management module of the embodiment of the invention.
Fig. 5 is another schematic block diagram according to the medium processing system of the embodiment of the invention.
Fig. 6 is the again schematic block diagram according to the medium processing system of the embodiment of the invention.
Fig. 7 is the again schematic block diagram according to the media load-on module of the embodiment of the invention.
Fig. 8 is the again schematic block diagram according to the medium processing system of the embodiment of the invention.
Fig. 9 is the indicative flowchart according to the method for the processing media business of the embodiment of the invention.
Figure 10 is another indicative flowchart according to the method for the processing media business of the embodiment of the invention.
Figure 11 is the again indicative flowchart according to the method for the processing media business of the embodiment of the invention.
Figure 12 is the again indicative flowchart according to the method for the processing media business of the embodiment of the invention.
Figure 13 is the again indicative flowchart according to the method for the processing media business of the embodiment of the invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the invention, the technical scheme in the embodiment of the invention is clearly and completely described, obviously, described embodiment is a part of embodiment of the present invention, rather than whole embodiment.Based on the embodiment among the present invention, the every other embodiment that those of ordinary skills obtain under the prerequisite of not making creative work should belong to the scope of protection of the invention.
Fig. 1 is the schematic block diagram according to the medium processing system 100 of the embodiment of the invention.As shown in Figure 1, this medium processing system 100 comprises media management module 200 and media load-on module 300; This media load-on module 300 is used for load or unload for the treatment of the media business module of media business; This media management module 200 comprises:
The first acquiring unit 210 is used for obtaining the first business information of the first pending media business of this medium processing system 100;
The first determining unit 220, for this first business information of obtaining according to this first acquiring unit 210, determine that this medium processing system 100 needs the first media business module 410 that increases, this first media business module 410 has the traffic handing capacity that this medium processing system 100 does not have;
The first transmitting element 230, be used for sending first to this media load-on module 300 and load notice, this the first loading notice is used to indicate and loads this first media business module that this first determining unit 220 is determined, so that this first media business module 410 that this media load-on module 300 loads for the treatment of this first media business.
In the medium processing system 100 of the embodiment of the invention, medium processing system 100 comprises media management module 200 and media load-on module 300, this media management module 200 is used for this medium processing system 100 of management, for example distribute or discharge the resource of computer system, again such as the media business module of determining load or unload etc.; This media load-on module 300 is used for that load or unload has traffic handing capacity and for the treatment of the media business module of media business.In embodiments of the present invention, this media management module 200 can be according to the first business information of the first pending media business of medium processing system 100, determine the first media business module of the required increase of medium processing system 100 these the first media business of processing, namely determine the not available traffic handing capacity of medium processing system 100 these the first media business of processing, and determine to have the first media business module 410 of this traffic handing capacity; Thus, this media management module 200 can notify media load-on module 300 dynamic load this first media business module 410, and with the traffic handing capacity of increase medium processing system 100, thereby so that medium processing system 100 can be processed this first media business.
Therefore, the medium processing system of the embodiment of the invention, by the business information according to pending media business, determine the media business module that medium processing system need to increase, this media business module has the traffic handing capacity that this medium processing system does not have, thus can be according to the needs of processing media business and the different media business module of dynamic load, thereby can promote the traffic handing capacity of medium processing system, improve versatility, flexibility and the resource utilization of medium processing system, and can increase user's experience, reduce cost.
Particularly, the first acquiring unit 210 can be according to the media business request that receives, and obtains the first business information of the first pending media business of this medium processing system 100.
For example, medium processing system 100 can externally provide the media business request interface, and the media business request of submitting to receive external equipment or user, this media business request are used for processing media business to 100 requests of this medium processing system.Need to carry some parameters in the media business request that this media business request interface requires to receive, to indicate the business information of the media business of asking processing.External equipment or user just need to satisfy the requirement of this media business request interface when using this media business request interface to submit the media business request to this medium processing system 100, carry relevant parameter to indicate the business information of media business.Therefore, medium processing system 100 just can obtain the business information of the media business of request processing according to the media business request that receives.
For example, external equipment or user are to transcoding of medium processing system 100 transmission processings or play up professional media business request, medium processing system 100 just can be known the business information such as type of service that need media business to be processed according to this media business request.
Therefore, the first acquiring unit 210 can according to the media business request that is used for this first media business of request processing, obtain the first business information of this first media business.
In embodiments of the present invention, the first business information of the first media business can comprise the information such as the sign of this first media business or type of service; This first business information can also comprise any information relevant with this first media business, such as this first business information can comprise the priority of this first media business, for the treatment of the type of the required media business module of this first media business and quantity etc.
The first determining unit 220 can need determine the first media business module 410 of increase according to this first business information, and this first media business module 410 has the traffic handing capacity that this medium processing system 100 does not have.Particularly, for example, the first determining unit 220 can at first be determined the not available traffic handing capacity of medium processing system 100 these the first media business of processing, determines to have the first media business module 410 of this traffic handing capacity again.
For example, the first acquiring unit 210 obtains the business information that comprises media service type or sign of the first media business according to the media business request that receives; The first determining unit 220 is according to this media service type or sign, can determine at first whether medium processing system 100 has with this media service type or identify corresponding traffic handing capacity, determine namely whether medium processing system 100 has the traffic handing capacity of processing this first media business; When determining that medium processing system 100 is current and not having the traffic handing capacity of processing the first media business, the first determining unit 220 can determine that thus medium processing system 100 needs the first media business module that increases, and this first media business module 410 has with this media service type or identifies corresponding traffic handing capacity.
The first transmitting element 230 can send first to this media load-on module 300 and load notice, load this first media business module 410 with indication media load-on module 300, should be understood that the first transmitting element 230 also can indicate by other method, the embodiment of the invention is not limited to this.
This first loading notice for example comprises the sign of this first media business module, and loading type, and this loading type comprises load or unload; This first loading notice also can comprise type of service or the sign of the first media business, and comprises loading type.Thereby notify so that the media load-on module can load according to first, obtain and load the first media business module.
Should understand, in embodiments of the present invention, media management module 200 also can determine to store the address of this first media business module when determining the first media business module that needs to increase, for example by search or prompting user indication, determine the address of this first media business module etc.Thereby so that media load-on module 300 directly according to this address information, obtains and loads the first media business module 410.The address of the first media business module 410 for example can comprise the first chained address of media business module 410 on third-party server, also can comprise the store path of the first media business module 410 on home server.
At this moment, this first loading notice also can comprise the address of this first media business module; Certainly, this first loading notice also can directly comprise this first media business module, and the embodiment of the invention is not limited to this.
Should understand, in embodiments of the present invention, in order to process this first media business, medium processing system 100 is except this first media business module that need to have new loading, the one or more media business modules that also need loading medium treatment system 100 itself to have or loaded are to process this first media business with the first business module.
The traffic handing capacity that these one or more other media business modules have includes but not limited to file input/output capabilities, file fragmentation/merging ability, media transcoding/play up/watermark ability etc.The media business module for example is application program, and can independent loads and operation.The media business module can also can be moved with the multi-process form with the operation of one process form, and the embodiment of the invention is not as limit.For example, for the different media business modules with transcoding disposal ability, can with the operation of one process form, also can move with the form of a host process and one or more secondary processes.
Will also be understood that, in embodiments of the present invention, unloading media business module refers to so that the media business module is in non-operating state, rather than refer to from medium processing system 100 thoroughly this media load-on module of deletion, be after the media load-on module will unload for the treatment of the media business module of media business, this medium processing system 100 still has unloaded media business module, and the traffic handing capacity with this media business module; In follow-up media business was processed, this medium processing system 100 can load the media business module that this medium processing system 100 has again as required, to process media business.Certainly, unloading media business module also can refer to thoroughly delete this media load-on module from medium processing system 100,
In embodiments of the present invention, when media business module that loading medium treatment system 100 does not have, this loading not only means to be added this media business module in this medium processing system 100 to, also means so that this medium process module is in running status; When media business module that loading medium treatment system 100 has, load and mean so that medium process module is in running status.
In embodiments of the present invention, media management module 200 notice media load-on modules 300 load after this first media business module 410, media load-on module 300 is for example according to the first loading notice that receives, load this first media business module 410, with the traffic handing capacity of increase medium processing system, thereby can process this first media business.Alternatively, as shown in Figure 2, this media load-on module 300 comprises:
The first receiving element 310 is used for receiving the first loading notice that this media management module sends;
Second acquisition unit 320, this first loading notice that is used for receiving according to this first receiving element 310 is obtained this first media business module;
The first loading unit 330, this first media business module loading that is used for this second acquisition unit 320 is obtained are to this medium processing system 100, so that this first media business module 410 is processed this first media business.
Particularly, the first receiving element 310 can receive this first loading notice, and this first loading notice for example comprises the sign of this first media business module, and loading type, and this loading type comprises load or unload; This first loading notice also can comprise the address that obtains this first media business module; Certainly, this first loading notice also can directly comprise this first media business module, and the embodiment of the invention is not limited to this.
Second acquisition unit 320 can adopt various ways to obtain this first media business module according to this first loading notice that the first receiving element 310 receives.For example, when the first loading notice comprised the sign of the first media business module, second acquisition unit 320 was for example according to this sign, by search or prompting user indication, obtaining the address of this first media business module, thereby obtain this first media business module.Again for example, when first loads notice and comprises the chained address of the first media business module or local store path, second acquisition unit 320 can load the chained address that notice comprises according to first, on the third-party server that represents from this chained address this first media business module is downloaded to this locality, to obtain this first media business module; Second acquisition unit 320 also can load according to first and notify the local store path that comprises, downloads or copy this first media business module from this locality.Again for example, when the first loading notice comprised the first media business module, second acquisition unit 320 can directly by this first loading notice, obtain this first media business module.
Should be understood that second acquisition unit 320 also can obtain this first media business module 410 by other method, the embodiment of the invention is not limited to this.Should also be understood that second acquisition unit 320 obtains this first media business module and also means this first media business module is kept in the medium processing system 100, but the embodiment of the invention is not as limit.
This first media business module loading that the first loading unit 330 can obtain second acquisition unit 320 is to this medium processing system 100.For example, the first loading unit 330 calls the computer system at these medium processing system 100 places or the interface of server, and for example by the call instruction line interface, operation is kept at this first media business module 410 in the medium processing system 100.
Should be understood that in embodiments of the present invention, in order to process this first media business, the media load-on module except loading this first media business module, other media business module of having of loading medium treatment system 100 as required.Transcoding take media business as media file is applied as example, except the first media business module with transcoding disposal ability, the media load-on module also may according to the media business module number of default configuration, have the media business module of following traffic handing capacity such as the default configuration loading is installed: media file input capability, media file fan-out capability, media file burst ability, media file merging ability etc.
Will also be understood that, in embodiments of the present invention, a media business may need one or more media business modules to process, and the traffic handing capacity that these one or more media business modules have may be fully not identical, also the possibility part is identical, also may be identical, namely a media business may be processed by one or more media business modules with identical services disposal ability.For example, for playing up business, can be processed for the treatment of playing up professional media business module by two or more, play up professional treatment effeciency with raising, and can improve the utilance of resource.
In embodiments of the present invention, alternatively, shown in Fig. 3 A and 3B, this media management module 200 also comprises:
The 3rd acquiring unit 240 is worked as the second business information of the second media business of pre-treatment for the media business module information that obtains this medium processing system 100 and/or this medium processing system 100;
The second determining unit 250, be used for this media business module information and/or this second business information obtained according to the 3rd acquiring unit 240, need determine module type and the module number of the second media business module of this medium processing system 100 of load or unload;
The second transmitting element 260, be used for sending second to this media load-on module 300 and load notice, this the second loading notice is used to indicate this module type, this module number and the loading type that this second determining unit 250 is determined, this loading type comprises load or unload;
This media load-on module 300 also comprises:
The second receiving element 340 is used for receiving this second loading notice that this media management module 200 sends;
The second loading unit 350, this module type, this module number and this loading type of this second loading notice indication that is used for receiving according to this second receiving element 340, this second media business module of load or unload.
Should be understood that in embodiments of the present invention the first media business refers to the pending media business of medium processing system 100; The second media business refers to the media business when pre-treatment of medium processing system 100.For example, when external equipment or user asked medium processing system 100 to be processed to play up business, this was played up business and is in armed state, so this is played up business and belongs to the first media business; And when medium processing system 100 began to process this and plays up business, this was played up business and belongs to the second media business.
Will also be understood that, in embodiments of the present invention, the first media business module 410 fingers are processed one or more modules of the first media business, and this first media business module 410 has the traffic handing capacity that medium processing system 100 does not have, and are the modules that needs medium processing system 100 to load; And the second media business module refers to process one or more modules of the second media business, and medium processing system 100 has the traffic handing capacity that this second media business module has, and is the module that needs medium processing system 100 load or unloads.
Should be understood that herein term " and/or ", only be a kind of incidence relation of describing affiliated partner, can there be three kinds of relations in expression, for example, A and/or B can represent: individualism A exists A and B, these three kinds of situations of individualism B simultaneously.In addition, character "/" represents that generally forward-backward correlation is to liking a kind of relation of "or" herein.
In embodiments of the present invention, this media business module information can comprise the various information relevant with all kinds media business module of current operation in this medium processing system 100, alternatively, this media business module information comprises the load, on-line operation quantity, waiting task quantity of the media business module of these medium processing system 100 interior current operations and at least a in the Processing tasks quantity; This second business information can comprise with this medium processing system 100 when the relevant various information of the various media business of pre-treatment, alternatively, this second business information comprises: at least a in priority, the type of processing the required media business module of this second media business and the quantity of the second media business of pre-treatment of this medium processing system 100.
In embodiments of the present invention, the second determining unit 250 can be according to this media business module information, also can be according to this second business information, also can be according to this media business module information and this second business information, need to determine module type and the module number of the second media business module of this medium processing system 100 of load or unload.Be described respectively below in conjunction with object lesson.Should be understood that this second media business module can comprise the one or more media business modules with similar and different module type.
In embodiments of the present invention, according to the second business information, need can determine the second media business module of load or unload.For example, the priority of the media business that the media management module is processed according to medium processing system 100 can determine to load the second media business module with this priority respective numbers, to process this media business.Normally, the priority of media business is higher, and the quantity of the second media business module of loading is more.Again for example, the media management module can be according to type and the quantity of processing the required media business module of media business, module type and module number that type and the quantity of required media business module is defined as respectively the second media business module.
In embodiments of the present invention, according to the media business module information, need can determine the second media business module of load or unload.For example, for every class media business module, the media management module can according to the load of the media business module of medium processing system 100 interior operations, need determine the second media business module of load or unload.For example, when the load of certain type of media business module of on-line operation surpasses or is lower than the threshold value that presets, then preset quantity needing can be defined as the module number of load or unload.For example, when the media business module of transcoding load surpasses threshold value, can increase the media business module of 1 transcoding type; When the media business module load of transcoding is lower than threshold value, can reduce the media business module of 1 transcoding type.Should be understood that the load of the occupancy isoparametric formulations media business module that can use central processing unit (Central Processing Unit is referred to as " CPU ").
For example, for every class media business module, the media management module can according to the waiting task quantity of media business module or Processing tasks quantity, need determine the second media business module of load or unload.For example, if the media management module is determined the waiting task quantity of the media business module of certain type increase or reduce, and reach the condition that presets, then can determine respectively the quantity of the media business module of load or unload the type, for example the second media business module of load or unload preset quantity.This condition that presets such as the speed that increases or reduce for number of tasks etc., the unit of the speed of this increase or minimizing can be the per second number of tasks.Similarly, reduce or increase if the media management module is determined the Processing tasks quantity of the media business module of certain type, and reach the condition that presets, then can determine respectively to unload or load the quantity of the media business module of the type.
In embodiments of the present invention, according to the second business information and media business module information, need can determine the second media business module of load or unload.For example, for every class media business module, the media management module is according to the quantity of the media business module of certain type of on-line operation, and the quantity of processing the media business module of the required the type of media business, need to determine the second media business module of load or unload.Particularly, for example, when the quantity of the media business module of on-line operation less than take, then with the difference of the quantity of the media business module of the quantity of required media business module and on-line operation, needing to be defined as the module number of the second media business module of loading; Similarly, when the quantity of the media business module of on-line operation greater than take, then with the difference of the quantity of the quantity of the media business module of on-line operation and required media business module, needing to be defined as the module number of the second media business module of unloading.
Should be understood that in embodiments of the present invention the media management module also can need determine the second media business module of load or unload according to the indication of third party system, the embodiment of the invention is not as limit.
Therefore, the medium processing system of the embodiment of the invention, can be according to the second business information and/or media business module information, dynamically determine the dissimilar media business module of load or unload, thereby can improve the treatment effeciency of media business, and can improve the utilance of resource, increase the user and experience.
In embodiments of the present invention, this second determining unit 250 also is used for: this media business module information and/or this second business information obtained according to the 3rd acquiring unit 240, as granularity or take the media business module as granularity, determine this module number take the process of media business module.Particularly, in embodiments of the present invention, the module number of the second media business module can be with the media business module originally as Granular Computing, namely no matter this media business module is to move with the one process form or with the multi-process form; This module number also can take the process of media business module as Granular Computing, namely in the situation of this media business module with the operation of multi-process form, can be converted to number of processes the quantity of media business module.
For example, for the media business module of the transcoding type of one process, the module number of the second media business module is exactly the number of processes of media business module of the transcoding type of final operation; For the media business module of the transcoding type with a host process and several secondary processes, can be according to M host process or N secondary process corresponding to a media business module, determine the module number of the second media business module, wherein M and N are natural number.
Should understand, in embodiments of the present invention, term " granularity " can represent the implication of " unit ", " take A as granularity " i.e. implication of " take A as unit " for example, again for example in embodiments of the present invention, the second determining unit 250 is take the process of media business module as unit or take the media business module as unit, determination module quantity.
In embodiments of the present invention, alternatively, as shown in Figure 4, this media management module 200 also comprises:
The 4th acquiring unit 270, for media business module information, the resource information of obtaining this medium processing system 100, and at least a information of this medium processing system 100 in the second business information of the second media business of pre-treatment;
The 3rd determining unit 280, at least a information for this media business module information, this second business information and this resource information obtained according to the 4th acquiring unit 270, and the relation of the quantitative proportion between media business module and the system resource, resource type and the resource quantity of definite the first system resource that needs distribution or discharge;
Allocation units 290 are used for this resource type and this resource quantity of determining according to the 3rd determining unit 280, distribute or discharge this first system resource.
In embodiments of the present invention, this resource information can comprise the various information with the resource dependency of medium processing system.Alternatively, this resource information comprises at least a in the information of total system resource of the information of current operational the 3rd system resource in the information, this medium processing system of current second system resource of having distributed in this medium processing system and this medium processing system.
Should be understood that in embodiments of the present invention the total system resource of medium processing system 100 is current second system resource of having distributed and current operational the 3rd system resource sum.Should also be understood that this first system resource refers to the system resource that media management module 200 definite needs distribute or discharge, when this first system resource referred to the system resource of needs distribution, this first system resource belonged to the second system resource; When this first system resource referred to the system resource of needs release, this first system resource then belonged to the 3rd system resource.
In embodiments of the present invention, the system resource of medium processing system includes but not limited to computational resource (such as CPU), storage resources (such as internal memory, hard drive space), Internet resources (such as IP address, bandwidth) etc.Alternatively, resource type comprises computational resource, storage resources or Internet resources.
In embodiments of the present invention, the media management module also can be according to the relation of the quantitative proportion between resource information and media business module and the system resource, the module number of definite the second media business module that needs increase or reduce.
For example, increase or reduce if the media management module is determined the quantity of current assignable the 3rd system resource, and reach the condition that presets, need then can to determine the quantity of the system resource that increases or reduce, for example increase or reduce the system resource of preset quantity; And can be further according to this quantitative proportion relation, the module number of definite the second media business module that needs increase or reduce.Should be understood that this quantitative proportion relation can be empirical data, also can be pre-configured numerical value, and the media management module also can dynamically be adjusted this quantitative proportion relation.The media management module can further according to the strategy that presets, be calculated and obtain the quantity that all types of media business modules need to increase or reduce.For example calculate the quantity that all types of media business modules need to increase or reduce with the above-mentioned number that calculates by the pro rata distribution of presetting, or Computation for apportionment goes out the number that all types of media business modules need to increase or reduce at random, or only for certain type or a few type of media business module, need to determine the quantity of increase or minimizing, but the embodiment of the invention is not limited to this.
At least a information in this media business module information, this second business information and this resource information that the 3rd determining unit 280 can be obtained according to the 4th acquiring unit 270, and according to the relation of the quantitative proportion between media business module and the system resource, resource type and the resource quantity of definite the first system resource that needs distribution or discharge.
Resource management module can be determined first the quantity of the media business module that need to increase or reduce, determines the first system resource that corresponding needs distribute or discharge according to the quantitative proportion relation again.For example, resource management module can determine first need to increase by four media business modules, suppose that it is 2 that quantitative proportion between media business module and the system resource closes, and then need can to determine the quantity of the system resource of distribution be 2 to resource management module.The media management module can again according to the total resources number of medium processing system needs, with current number of resources of having distributed, be determined the resource that needs distribution or discharge.
Resource management module also can according to the variation of current resource information (for example information of the information of the information of second system resource, the 3rd system resource, total system resource), carry out distribution and the release of resource automatically.For example, if the quantity of assignable second system resource greater than 0, or the total resources quantity of allow using is then always distributed by assignable resource quantity greater than the quantity of the resource of having distributed; If allow the total resources quantity of use less than the quantity of the resource of having distributed, then discharge corresponding resource.
Should be understood that in embodiments of the present invention the media management module also can be carried out distribution and the release of resource according to the indication of third party system, the embodiment of the invention is not limited to this.
In embodiments of the present invention, alternatively, the 3rd determining unit 280 also is used for: at least a information of this media business module information, this second business information and this resource information of obtaining according to the 4th acquiring unit 270, and the relation of the quantitative proportion between media business module and the system resource, at least a resource in computational resource, storage resources and the Internet resources is determined this resource quantity as granularity or take virtual machine as granularity.
Particularly, the media management module can be determined resource quantity by the granularity of virtual machine, and virtual machine can be the one group of resource that comprises computational resource, storage resources, Internet resources; The media management module can be that granularity is calculated by certain class resource according to the degree of media business module to resource requirement also, is that granularity is determined resource quantity for computational resource for example.
Therefore, the medium processing system of the embodiment of the invention, on the one hand can be according to the needs of processing media business and the different media business module of dynamic load, thereby can promote the traffic handing capacity of medium processing system, improve versatility, flexibility and the resource utilization of medium processing system, and can increase user's experience, reduce cost; On the other hand can be according at least a information in media business module information, the second business information and the resource information, dynamically determine distribution or the system resource that discharges, thereby can improve resource utilization, improve the treatment effeciency of media business, and further increase user's experience.
In embodiments of the present invention, as shown in Figure 5, alternatively, this medium processing system 100 also comprises parallel computation module 500, and this parallel computation module 500 comprises:
Split cells 510, the corresponding dispatch deal logic of the 3rd media business for basis and medium processing system are processed splits at least two media subservices with the 3rd media business;
The first call unit 520, be used for calling the 3rd media business module 430 of this medium processing system, each media subservice in these at least two media subservices that the 3rd media business module 430 and this split cells 510 split is corresponding, to process respectively this each media subservice.
For example, for the 3rd media business that needs transcoding, split cells 510 can split into the 3rd media business the media subservices such as media file input, media file output, media file distribution, media file merging, media file transcoding; Then the first call unit 520 calls the 3rd media business module 430 that is respectively applied to process each media subservice, to process respectively each media subservice.
Should understand, the 3rd media business module 430 can be the of a sort a plurality of media business modules for the treatment of each media subservice, for example, the 3rd media business module 430 can comprise at least two identical business modules, and each business module can be processed each media subservice; The 3rd media business module 430 also can be respectively applied to process inhomogeneous a plurality of media business modules of each media subservice, for example, the 3rd media business module 430 can comprise the business module that at least two classes are different, and every class business module can be for the treatment of one of them media subservice.Should be understood that the 3rd media business module 430 comprises at least two media business submodules; Will also be understood that, the 3rd media business module 430 is corresponding with each media subservice at least two media subservices, referring to that at least two media business submodules that the 3rd media business module 430 comprises can be used in processes each media subservice, or can be used in and process respectively each media subservice.
Should be understood that in embodiments of the present invention, the 3rd media business can the presentation medium treatment system when arbitrary media business of pre-treatment, for example the 3rd media business also can be the second media business.The 3rd media business module can comprise the one or more media business modules that are respectively applied to process each media subservice.In embodiments of the present invention, term " first ", " second " and " the 3rd " only are in order to distinguish the content under the different situations, should not consist of any restriction to the embodiment of the invention.
Should be understood that in embodiments of the present invention " with the corresponding B of A " expression B is associated with A, can determine B according to A.But should also be understood that according to A and determine B and only do not mean that to determine B according to A, can also determine B according to A and/or out of Memory.For example, in embodiments of the present invention, " with the corresponding media business module of media business " represents that this media business module is for the treatment of this media business; " with the corresponding dispatch deal logic of media business " expression is for the treatment of the dispatch deal logic of this media business.
Should be understood that each media subservice all can be finished by a plurality of corresponding media business modules, each media business module is separate on Business Processing.Will also be understood that, each media subservice can be by some parameter representatives, and these parameters include but not limited to subservice sign, subservice type (such as burst, transcoding etc.), the input and output parameter of subservice, the processing parameter of subservice, the task identification of ownership etc.
In embodiments of the present invention, with the corresponding dispatch deal logic of media business, can be pre-configured.Usually, different media business can have different dispatch deal logics, and therefore, the parallel computation module can be used corresponding dispatch deal logic according to the difference of media business.
Take the media transcoding business as example, the dispatch deal logic of this media business can be: dispatch first media file input subservice, to finish uploading of the source media file for the treatment of transcoding; Then dispatch media file burst subservice, to finish the burst to the source media file, be about to source file and split into some slicing files; After each burst subservice is finished, can dispatch the media transcoding subservice, so that the slicing files that generates is carried out transcoding; After the equal transcoding of all slicing files is finished, can dispatch media and merge subservice, the slicing files behind all transcodings is merged into a file; Dispatch at last media file output subservice, output to the named place of destination location with the media file after will merging, thereby finish the processing of media transcoding business.Can process flexibly each media business thus, the raising system processes the efficient of media business.
In embodiments of the present invention, alternatively, as shown in Figure 6, this medium processing system 100 also comprises parallel computation module 500, and this parallel computation module 500 comprises:
The second call unit 530, be used for when receiving at least two pending fourth medias business, according to the scheduling strategy that presets, the professional corresponding fourth media business module 440 of at least two fourth medias of scheduling and this is to process respectively this at least two fourth media business.
This scheduling strategy can be pre-configured, and this scheduling strategy includes but not limited to the priority of media business etc.For example the task of high priority can preferentially obtain to process, even when inadequate resource, but preempting resources obtains priority treatment.For example, system can be according to the scheduling strategy that presets, and it is professional to process simultaneously a plurality of media transcodings, and the business of other application type, such as play up, the media business such as watermark.
Therefore, the medium processing system of the embodiment of the invention, on the one hand can be according to the needs of processing media business and the different media business module of dynamic load, thereby can promote the traffic handing capacity of medium processing system, improve versatility, flexibility and the resource utilization of medium processing system, and can increase user's experience, reduce cost; Can improve on the other hand the computation capability of medium processing system, improve Business Processing efficient, and can increase user's experience.
Should be understood that in embodiments of the present invention fourth media business module refers to the module at least two fourth media business of parallel processing; Fourth media business refers to media business simultaneously pending in the medium processing system.
In embodiments of the present invention, alternatively, as shown in Figure 7, this media load-on module 300 also comprises:
The 3rd receiving element 360 is used for receiving the load information that is used to indicate loading the 5th media business module that the user sends, and the 5th media business module has the traffic handing capacity that this medium processing system does not have;
The 5th acquiring unit 370 is used for this load information according to 360 receptions of the 3rd receiving element, obtains the 5th media business module;
The 3rd loading unit 380, the 5th media business module loading that is used for the 5th acquiring unit 370 is obtained is to this medium processing system.
For example, the media load-on module can receive the load information that the user sends by the man-machine interface such as portal website (Web Portal), and obtains the 5th media business module according to this load information, and be loaded into this medium processing system, to increase the traffic handing capacity of medium processing system.
Fig. 8 shows a kind of application scenarios according to the medium processing system of the embodiment of the invention.In embodiments of the present invention, as shown in Figure 8, computer system comprises according to the medium processing system of the embodiment of the invention and supply module, wherein, this supply module is for the medium processing system power supply of unifying to department of computer science, and this supply module is such as being the AC power of 220V or the DC power supply of 24V etc.; The media management module 200 that this medium processing system comprises can be from system resource Gains resources information, this system resource is such as being the computational resource that provides of computer system or storage resources etc., obtain the second business information from parallel computation module 500, and obtain the media business module information from media business module 400, thereby can send to media load-on module 300 according to above-mentioned information and load notice, also can distribute or free system resources; This media load-on module can receive the media business module that user or third party system provide from the media business loading interface, and the loading medium business module, to increase the traffic handing capacity of media business treatment system; This parallel computation module can be obtained media business, and can obtain the media business module information that the media management module provides, and call the media business module, the media business module can be inputted by receiving media data, and export treated media data, should be understood that this media data comprises but is not limited to media file, video flowing, audio stream etc.Should also be understood that this computer system can be personal computer, also can be server, can also be virtual machine etc., and the embodiment of the invention is not limited to this.
Therefore, the medium processing system of the embodiment of the invention, business information according to pending media business, determine the media business module that medium processing system need to increase, this media business module has the traffic handing capacity that this medium processing system does not have, thus can be according to the needs of processing media business and the different media business module of dynamic load, thereby can promote the traffic handing capacity of medium processing system, improve versatility, flexibility and the resource utilization of medium processing system, and can increase user's experience, reduce cost.
Above in conjunction with Fig. 1 to Fig. 8, describe the medium processing system according to the embodiment of the invention in detail, below in conjunction with Fig. 9 to Figure 13, describe the method according to the processing media business of the embodiment of the invention in detail.
Fig. 9 shows the indicative flowchart according to the method 800 of the processing media business of the embodiment of the invention.As shown in Figure 9, the method 800 comprises:
S810 obtains the first business information of the first pending media business of medium processing system;
S820 according to this first business information, determines the first media business module that this medium processing system need to increase, and this first media business module has the traffic handing capacity that this medium processing system does not have;
S830 obtains this first media business module;
S840 arrives this medium processing system with this first media business module loading, so that this medium processing system is processed this first media business.
Medium processing system can obtain the first business information of the first media business of processing, and according to this first business information, determine the first media business module that this medium processing system need to increase, the traffic handing capacity that this first media business module has just this medium processing system is processed the traffic handing capacity that this first media business is not had, thereby can obtain and load this first media business module, to process this first media business.
Therefore, the method of the processing media business of the embodiment of the invention, by the business information according to pending media business, determine the media business module that medium processing system need to increase, this media business module has the traffic handing capacity that this medium processing system does not have, thus can be according to the needs of processing media business and the different media business module of dynamic load, thereby can promote the traffic handing capacity of medium processing system, improve versatility, flexibility and the resource utilization of medium processing system, and can increase user's experience, reduce cost.
In embodiments of the present invention, medium processing system can according to the sign of the first media business module, obtain this first media business module; Medium processing system also can according to the memory address of the first media business module, obtain this first media business module etc.For example, medium processing system can download to this locality with this first media business module according to the first chained address of media business module on third-party server from third-party server, to obtain this first media business module; Medium processing system also can according to the store path of the first media business module on home server, obtain this first media business module.The embodiment of the invention is not limited to this.
In embodiments of the present invention, as shown in figure 10, alternatively, the method 800 also comprises:
S850 obtains the media business module information of this medium processing system, and/or this medium processing system is when the second business information of the second media business of pre-treatment;
S860 according to this media business module information and/or this second business information, need to determine module type and the module number of the second media business module of load or unload;
S870 is according to this module type and this module number, this second media business module of load or unload.
In embodiments of the present invention, this media business module information can comprise the various information relevant with all kinds media business module of current operation in this medium processing system, alternatively, this media business module information comprises the load, on-line operation quantity, waiting task quantity of the media business module of current operation in this medium processing system and at least a in the Processing tasks quantity.This second business information can comprise the relevant various information of various media business of processing with this medium processing system, alternatively, this second business information comprises: at least a in priority, the type of processing the required media business module of this media business and the quantity of the media business that this medium processing system is processed.
In embodiments of the present invention, medium processing system can be according to this media business module information, as granularity or take the media business module as granularity, determines this module number take the process of media business module.
In embodiments of the present invention, corresponding to the second determining unit 250, medium processing system also can be according to this media business module information and/or this second business information, need to determine module type and the module number of the second media business module of load or unload, for simplicity, do not repeat them here.
Therefore, the method of the processing media business of the embodiment of the invention, can be according to the second business information and/or media business module information, dynamically determine the dissimilar media business module of load or unload, thereby can improve the treatment effeciency of media business, and can improve the utilance of resource, increase the user and experience.
In embodiments of the present invention, alternatively, as shown in figure 11, the method 800 also comprises:
S880, at least a information of media business module information, resource information and this medium processing system that obtains this medium processing system in the second business information of the second media business of pre-treatment;
S890, according at least a information in this media business module information, this second business information and this resource information, and the relation of the quantitative proportion between media business module and the system resource, resource type and the resource quantity of definite the first system resource that needs distribution or discharge;
S900 according to this resource type and this resource quantity, distributes or discharges this first system resource.
In embodiments of the present invention, this resource information can comprise the various information with the resource dependency of medium processing system.Alternatively, this resource information comprises at least a in the information of total system resource of the information of current operational the 3rd system resource in the information, this medium processing system of current second system resource of having distributed in this medium processing system and this medium processing system.
In embodiments of the present invention, the resource of medium processing system includes but not limited to computational resource (such as CPU), storage resources (such as internal memory, hard drive space), Internet resources (such as IP address, bandwidth) etc.Alternatively, resource type comprises computational resource, storage resources or Internet resources.
In embodiments of the present invention, this media business module information can comprise the various information relevant with all kinds media business module of current operation in this medium processing system.Alternatively, this media business module information comprises the load, on-line operation quantity, waiting task quantity of the media business module of operation in this medium processing system and at least a in the Processing tasks quantity.
In embodiments of the present invention, this second business information can comprise any information relevant with this second media business, alternatively, this second business information comprises the priority of this second media business, at least a for the treatment of in the type of the required media business module of this second media business and the quantity.
In embodiments of the present invention, medium processing system also can be according to the relation of the quantitative proportion between resource information and media business module and the system resource, the module number of definite the second media business module that needs increase or reduce.Should be understood that in embodiments of the present invention medium processing system also can carry out distribution and the release of resource according to the indication of third party system, the embodiment of the invention is not limited to this.
In embodiments of the present invention, corresponding to the 3rd determining unit 280, medium processing system can be according at least a information in this media business module information, this second business information and this resource information, and the relation of the quantitative proportion between media business module and the system resource, at least a resource in computational resource, storage resources and the Internet resources is as granularity or take virtual machine as granularity, determine this resource quantity, for simplicity, repeat no more.
Therefore, the method of the processing media business of the embodiment of the invention, can be according at least a information in media business module information, the second business information and the resource information, dynamically determine distribution or the system resource that discharges, thereby can improve resource utilization, improve the treatment effeciency of media business, and increase user's experience.
Alternatively, as shown in figure 12, the method 800 also comprises:
S910, the corresponding dispatch deal logic of the 3rd media business according to processing with this medium processing system splits at least two media subservices with the 3rd media business;
S920, call with these at least two media subservices in corresponding the 3rd media business module of each media subservice, to process respectively this each media subservice.
Alternatively, as shown in figure 12, the method 800 also comprises:
S930, when receiving at least two pending fourth medias business, according to the scheduling strategy that presets, the professional corresponding fourth media business modules of at least two fourth medias of scheduling and this are to process respectively this at least two fourth media business.
Should be understood that each media subservice all can be finished by a plurality of corresponding media business modules, each media business module is separate on Business Processing.Will also be understood that, each media subservice can be by some parameter representatives, and these parameters include but not limited to subservice sign, subservice type (such as burst, transcoding etc.), the input and output parameter of subservice, the processing parameter of subservice, the task identification of ownership etc.
In embodiments of the present invention, with the corresponding dispatch deal logic of media business, can be pre-configured.Usually, different media business can have different dispatch deal logics, and therefore, the parallel computation module can be used corresponding dispatch deal logic according to the difference of media business.
Therefore, the method for the processing media business of the embodiment of the invention can improve the computation capability of medium processing system, improves Business Processing efficient, and can increase the user and experience.
In embodiments of the present invention, alternatively, as shown in figure 13, the method 800 also comprises:
S940 receives the load information that is used to indicate loading the 5th media business module that the user sends, and the 5th media business module has the traffic handing capacity that this medium processing system does not have;
S950 according to this load information, obtains the 5th media business module;
S960 arrives this medium processing system with the 5th media business module loading.
For example, the media load-on module can receive the load information that the user sends by the man-machine interface such as portal website (Web Portal), and obtains the 5th media business module according to this load information, and be loaded into this medium processing system, to increase the traffic handing capacity of medium processing system.
Should understand, in various embodiment of the present invention, the size of the sequence number of above-mentioned each process does not also mean that the priority of execution sequence, and the execution sequence of each process should determine with its function and internal logic, and should not consist of to the implementation process of the embodiment of the invention any restriction.
Should be understood that in embodiments of the present invention " with the corresponding B of A " expression B is associated with A, can determine B according to A.But should also be understood that according to A and determine B and only do not mean that to determine B according to A, can also determine B according to A and/or out of Memory.
Will also be understood that, executive agent according to the method 800 of the embodiment of the invention, can be corresponding to the medium processing system 100 in the embodiment of the invention, and above-mentioned and other operation of the modules in the medium processing system 100 and/or function are respectively in order to realize the corresponding flow process of each method among Fig. 9 to Figure 13, for simplicity, do not repeat them here.
Therefore, the method of the processing media business of the embodiment of the invention, by the business information according to pending media business, determine the media business module that medium processing system need to increase, this media business module has the traffic handing capacity that this medium processing system does not have, thus can be according to the needs of processing media business and the different media business module of dynamic load, thereby can promote the traffic handing capacity of medium processing system, improve versatility, flexibility and the resource utilization of medium processing system, and can increase user's experience, reduce cost.
Those of ordinary skills can recognize, unit and the algorithm steps of each example of describing in conjunction with embodiment disclosed herein, can realize with electronic hardware, computer software or the combination of the two, for the interchangeability of hardware and software clearly is described, composition and the step of each example described in general manner according to function in the above description.These functions are carried out with hardware or software mode actually, depend on application-specific and the design constraint of technical scheme.The professional and technical personnel can specifically should be used for realizing described function with distinct methods to each, but this realization should not thought and exceeds scope of the present invention.
The those skilled in the art can be well understood to, and for the convenience described and succinct, the specific works process of the system of foregoing description, device and unit can with reference to the corresponding process among the preceding method embodiment, not repeat them here.
In several embodiment that the application provides, should be understood that disclosed system, apparatus and method can realize by another way.For example, device embodiment described above only is schematic, for example, the division of described unit, only be that a kind of logic function is divided, during actual the realization other dividing mode can be arranged, for example a plurality of unit or assembly can in conjunction with or can be integrated into another system, or some features can ignore, or do not carry out.In addition, the shown or coupling each other discussed or direct-coupling or communication connection can be indirect coupling or the communication connections by some interfaces, device or unit, also can be electric, machinery or other form connect.
Described unit as separating component explanation can or can not be physically to separate also, and the parts that show as the unit can be or can not be physical locations also, namely can be positioned at a place, perhaps also can be distributed on a plurality of network element.Can select according to the actual needs wherein some or all of unit to realize the purpose of embodiment of the invention scheme.
In addition, each functional unit in each embodiment of the present invention can be integrated in the processing unit, also can be that the independent physics of unit exists, and also can be that two or more unit are integrated in the unit.Above-mentioned integrated unit both can adopt the form of hardware to realize, also can adopt the form of SFU software functional unit to realize.
If described integrated unit is realized with the form of SFU software functional unit and during as independently production marketing or use, can be stored in the computer read/write memory medium.Based on such understanding, the part that technical scheme of the present invention contributes to prior art in essence in other words, perhaps all or part of of this technical scheme can embody with the form of software product, this computer software product is stored in the storage medium, comprise that some instructions are with so that a computer equipment (can be personal computer, server, the perhaps network equipment etc.) carry out all or part of step of the described method of each embodiment of the present invention.And aforesaid storage medium comprises: the various media that can be program code stored such as USB flash disk, portable hard drive, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic disc or CD.
The above; it only is the specific embodiment of the present invention; but protection scope of the present invention is not limited to this; anyly be familiar with those skilled in the art in the technical scope that the present invention discloses; can expect easily modification or the replacement of various equivalences, these modifications or replacement all should be encompassed within protection scope of the present invention.Therefore, protection scope of the present invention should be as the criterion with the protection range of claim.

Claims (18)

1. a medium processing system is characterized in that, described medium processing system comprises media management module and media load-on module; Wherein, described media load-on module is used for load or unload for the treatment of the media business module of media business; Described media management module comprises:
The first acquiring unit is for the first business information of obtaining the first pending media business of described medium processing system;
The first determining unit, for described the first business information of obtaining according to described the first acquiring unit, determine the first media business module that described medium processing system need to increase, described the first media business module has the traffic handing capacity that described medium processing system does not have;
The first transmitting element, be used for sending first to described media load-on module and load notice, described first loads notice is used to indicate described the first media business module that described the first determining unit of loading is determined, so that described media load-on module loads described the first media business module for the treatment of described the first media business.
2. medium processing system according to claim 1 is characterized in that, described media load-on module comprises:
The first receiving element is used for receiving described the first loading notice that described media management module sends;
Second acquisition unit is used for notifying according to described the first loading that described the first receiving element receives, and obtains described the first media business module;
The first loading unit, described the first media business module loading that is used for described second acquisition unit is obtained is to described medium processing system, so that described the first media business of described the first media business resume module.
3. medium processing system according to claim 1 and 2 is characterized in that, described media management module also comprises:
The 3rd acquiring unit is worked as the second business information of the second media business of pre-treatment for the media business module information that obtains described medium processing system and/or described medium processing system;
The second determining unit, be used for described media business module information and/or described the second business information obtained according to described the 3rd acquiring unit, need determine module type and the module number of the second media business module of the described medium processing system of load or unload;
The second transmitting element, be used for sending second to described media load-on module and load notice, described second loads notice is used to indicate described module type, described module number and the loading type that described the second determining unit is determined, described loading type comprises load or unload;
Described media load-on module also comprises:
The second receiving element is used for receiving described the second loading notice that described media management module sends;
The second loading unit is used for notifying described module type, described module number and the described loading type of indicating, described the second media business module of load or unload according to described the second loading that described the second receiving element receives.
4. each described medium processing system in 3 according to claim 1 is characterized in that described media management module also comprises:
The 4th acquiring unit is used for obtaining media business module information, resource information and the described medium processing system of described medium processing system when at least a information of the second business information of the second media business of pre-treatment;
The 3rd determining unit, at least a information for described media business module information, described the second business information and the described resource information obtained according to described the 4th acquiring unit, and the relation of the quantitative proportion between media business module and the system resource, resource type and the resource quantity of definite the first system resource that needs distribution or discharge;
Allocation units are used for described resource type and the described resource quantity determined according to described the 3rd determining unit, distribute or discharge described the first system resource.
5. each described medium processing system in 4 according to claim 1 is characterized in that described medium processing system also comprises the parallel computation module, and described parallel computation module comprises:
Split cells is used for basis and the corresponding dispatch deal logic of the 3rd media business, and described the 3rd media business is split at least two media subservices;
The first call unit, be used for calling the 3rd media business module of described medium processing system, each media subservice in described at least two media subservices that described the 3rd media business module and described split cells split is corresponding, to process respectively described each media subservice.
6. each described medium processing system in 5 according to claim 1 is characterized in that described medium processing system also comprises the parallel computation module, and described parallel computation module comprises:
The second call unit, be used for when receiving at least two pending fourth medias business, according to the scheduling strategy that presets, scheduling and the professional corresponding fourth media business module of described at least two fourth medias are to process respectively described at least two fourth media business.
7. each described medium processing system in 6 according to claim 1 is characterized in that described media load-on module also comprises:
The 3rd receiving element is used for receiving the load information that is used to indicate loading the 5th media business module that the user sends, and described the 5th media business module has the traffic handing capacity that described medium processing system does not have;
The 5th acquiring unit is used for the described load information according to described the 3rd receiving element reception, obtains described the 5th media business module;
The 3rd loading unit, described the 5th media business module loading that is used for described the 5th acquiring unit is obtained is to described medium processing system.
8. medium processing system according to claim 3, it is characterized in that, described the second determining unit also is used for: described media business module information and/or described the second business information obtained according to described the 3rd acquiring unit, as granularity or take the media business module as granularity, determine described module number take the process of media business module.
9. medium processing system according to claim 4, it is characterized in that, described the 3rd determining unit also is used for: at least a information of described media business module information, described the second business information and the described resource information of obtaining according to described the 4th acquiring unit, and the relation of the quantitative proportion between media business module and the system resource, at least a resource in computational resource, storage resources and the Internet resources is determined described resource quantity as granularity or take virtual machine as granularity.
10. a method of processing media business is characterized in that, comprising:
Obtain the first business information of the first pending media business of medium processing system;
According to described the first business information, determine the first media business module that described medium processing system need to increase, described the first media business module has the traffic handing capacity that described medium processing system does not have;
Obtain described the first media business module;
Described the first media business module loading is arrived described medium processing system, so that described medium processing system is processed described the first media business.
11. method according to claim 10 is characterized in that, described method also comprises:
Obtain the media business module information of described medium processing system, and/or described medium processing system is when the second business information of the second media business of pre-treatment;
According to described media business module information and/or described the second business information, need to determine module type and the module number of the second media business module of load or unload;
According to described module type and described module number, described the second media business module of load or unload.
12. according to claim 10 or 11 described methods, it is characterized in that described method also comprises:
Obtain media business module information, resource information and the described medium processing system at least a information in the second business information of the second media business of pre-treatment of described medium processing system;
According at least a information in described media business module information, described the second business information and the described resource information, and the relation of the quantitative proportion between media business module and the system resource, resource type and the resource quantity of definite the first system resource that needs distribution or discharge;
According to described resource type and described resource quantity, distribute or discharge described the first system resource.
13. each described method in 12 according to claim 10 is characterized in that described method also comprises:
The corresponding dispatch deal logic of the 3rd media business according to processing with described medium processing system splits at least two media subservices with described the 3rd media business;
Call with described at least two media subservices in corresponding the 3rd media business module of each media subservice, to process respectively described each media subservice.
14. each described method in 13 according to claim 10 is characterized in that described method also comprises:
When receiving at least two pending fourth medias business, according to the scheduling strategy that presets, scheduling and the professional corresponding fourth media business module of described at least two fourth medias are to process respectively described at least two fourth media business.
15. each described method in 14 according to claim 10 is characterized in that described method also comprises:
Receive the load information that is used to indicate loading the 5th media business module that the user sends, described the 5th media business module has the traffic handing capacity that described medium processing system does not have;
According to described load information, obtain described the 5th media business module;
Described the 5th media business module loading is arrived described medium processing system.
16. according to claim 11 or 12 described methods, it is characterized in that described media business module information comprises the load, on-line operation quantity, waiting task quantity of the media business module of operation in the described medium processing system and at least a in the Processing tasks quantity.
17. according to claim 11 or 12 described methods, it is characterized in that described the second business information comprises: at least a in the priority of described the second media business, the type of processing the required media business module of described the second media business and the quantity.
18. method according to claim 12, it is characterized in that described resource information comprises at least a in the information of total system resource of the information of current operational the 3rd system resource in the information of current second system resource of having distributed in the described medium processing system, the described medium processing system and described medium processing system.
CN201280001093.9A 2012-04-01 2012-04-01 Medium processing system and method for processing medium business Active CN102972011B (en)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2012/073472 WO2013149374A1 (en) 2012-04-01 2012-04-01 Medium processing system and method for processing medium service

Publications (2)

Publication Number Publication Date
CN102972011A true CN102972011A (en) 2013-03-13
CN102972011B CN102972011B (en) 2015-07-08

Family

ID=47800633

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201280001093.9A Active CN102972011B (en) 2012-04-01 2012-04-01 Medium processing system and method for processing medium business

Country Status (2)

Country Link
CN (1) CN102972011B (en)
WO (1) WO2013149374A1 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104317586A (en) * 2014-10-22 2015-01-28 福建星网视易信息系统有限公司 Multi-screen rendering processing method, processor, equipment and system
CN109982132A (en) * 2019-04-23 2019-07-05 姚耀 A kind of double recording systems of audio and video remote
CN114422735A (en) * 2022-01-28 2022-04-29 杭州海康威视数字技术股份有限公司 Video recorder, video data processing method and device and electronic equipment

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1828665A (en) * 2005-02-12 2006-09-06 美国博通公司 Method and system for image editing in a communication apparatus
CN1906586A (en) * 2004-05-19 2007-01-31 索尼计算机娱乐公司 Methods and apparatus for handling processing errors in a multi-processor system
CN101627367A (en) * 2007-02-21 2010-01-13 高通股份有限公司 On-demand multi-thread multimedia processor
CN201993811U (en) * 2010-11-15 2011-09-28 张军 Cloud fusion business intelligence terminal

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1297095C (en) * 2004-10-28 2007-01-24 华为技术有限公司 Value added service request processing method
CN1905478A (en) * 2006-07-29 2007-01-31 华为技术有限公司 Method, apparatus and system for media resource allocating
CN101834851B (en) * 2010-03-30 2014-09-10 中兴通讯股份有限公司 Multimedia message center and regulating method of processing capacity thereof

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1906586A (en) * 2004-05-19 2007-01-31 索尼计算机娱乐公司 Methods and apparatus for handling processing errors in a multi-processor system
CN1828665A (en) * 2005-02-12 2006-09-06 美国博通公司 Method and system for image editing in a communication apparatus
CN101627367A (en) * 2007-02-21 2010-01-13 高通股份有限公司 On-demand multi-thread multimedia processor
CN201993811U (en) * 2010-11-15 2011-09-28 张军 Cloud fusion business intelligence terminal

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104317586A (en) * 2014-10-22 2015-01-28 福建星网视易信息系统有限公司 Multi-screen rendering processing method, processor, equipment and system
CN104317586B (en) * 2014-10-22 2018-04-10 福建星网视易信息系统有限公司 Multi-screen renders processing method, processor, equipment and system
CN109982132A (en) * 2019-04-23 2019-07-05 姚耀 A kind of double recording systems of audio and video remote
CN114422735A (en) * 2022-01-28 2022-04-29 杭州海康威视数字技术股份有限公司 Video recorder, video data processing method and device and electronic equipment
CN114422735B (en) * 2022-01-28 2023-12-01 杭州海康威视数字技术股份有限公司 Video recorder, video data processing method and device and electronic equipment

Also Published As

Publication number Publication date
WO2013149374A1 (en) 2013-10-10
CN102972011B (en) 2015-07-08

Similar Documents

Publication Publication Date Title
US8726290B2 (en) System and/or method for balancing allocation of data among reduce processes by reallocation
CN100527119C (en) Information processing apparatus and information processing method
CN103473142B (en) Virtual machine migration method under a kind of cloud computing operating system and device
CN113032152B (en) Scheduling method, scheduling apparatus, electronic device, storage medium, and program product for deep learning framework
CN104252390A (en) Resource scheduling method, device and system
CN111078396A (en) Distributed data access method and system based on multitask instances
CN105657449A (en) Video transcode allocation method and device and video transcode system
CN102972011B (en) Medium processing system and method for processing medium business
US20120233313A1 (en) Shared scaling server system
CN105516267B (en) Cloud platform efficient operation method
CN112650575A (en) Resource scheduling method and device and cloud service system
US20170075713A1 (en) Dispatching the Processing of a Computer Process Amongst a Plurality of Virtual Machines
CN115904761A (en) System on chip, vehicle and video processing unit virtualization method
CN109788325B (en) Video task allocation method and server
CN104598304B (en) Method and apparatus for the scheduling in Job execution
CN107342929B (en) Method, device and system for sending new message notification
CN114116173A (en) Method, device and system for dynamically adjusting task allocation
CN110569124A (en) Task allocation method and device
CN111475230A (en) Application function configuration method and device and electronic equipment
US10934100B2 (en) Material handling method and system
CN114217977B (en) Resource allocation method, device, equipment and storage medium
CN112291326B (en) Load balancing method, load balancing device, storage medium and electronic equipment
CN111858020A (en) User resource limiting method, device and computer storage medium
CN112905338B (en) Automatic computing resource allocation method and device
CN113064620A (en) Method and device for processing system data

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
TR01 Transfer of patent right

Effective date of registration: 20220307

Address after: 550025 Huawei cloud data center, jiaoxinggong Road, Qianzhong Avenue, Gui'an New District, Guiyang City, Guizhou Province

Patentee after: Huawei Cloud Computing Technology Co.,Ltd.

Address before: 518129 Bantian HUAWEI headquarters office building, Longgang District, Guangdong, Shenzhen

Patentee before: HUAWEI TECHNOLOGIES Co.,Ltd.

TR01 Transfer of patent right