WO2013149374A1 - Système de traitement de contenu multimédia et procédé de traitement de service de contenu multimédia - Google Patents

Système de traitement de contenu multimédia et procédé de traitement de service de contenu multimédia Download PDF

Info

Publication number
WO2013149374A1
WO2013149374A1 PCT/CN2012/073472 CN2012073472W WO2013149374A1 WO 2013149374 A1 WO2013149374 A1 WO 2013149374A1 CN 2012073472 W CN2012073472 W CN 2012073472W WO 2013149374 A1 WO2013149374 A1 WO 2013149374A1
Authority
WO
WIPO (PCT)
Prior art keywords
media
module
service
processing system
media service
Prior art date
Application number
PCT/CN2012/073472
Other languages
English (en)
Chinese (zh)
Inventor
李勇
施有铸
Original Assignee
华为技术有限公司
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 华为技术有限公司 filed Critical 华为技术有限公司
Priority to CN201280001093.9A priority Critical patent/CN102972011B/zh
Priority to PCT/CN2012/073472 priority patent/WO2013149374A1/fr
Publication of WO2013149374A1 publication Critical patent/WO2013149374A1/fr

Links

Classifications

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

Definitions

  • the present invention relates to the field of information technology, and in particular, to a media processing system and a method for processing a media service in the field of information technology. Background technique
  • the media processing system only has a fixed one or several media service processing capabilities, and thus can only complete one or several fixed media services, or can only complete a partial media sub-service of a media service, and the media processing system.
  • the business processing capabilities are single and limited. For example, some media processing systems can only perform transcoding operations on media files, or can only perform rendering operations on media files; for example, some media processing systems can only perform media file fragmentation and merging operations.
  • a media processing system can meet the processing needs of the media service; but for a slightly complex media service, multiple media processing systems may be required to meet the processing requirements of the media service.
  • One possible solution is to concentrate as much of the media service processing power as possible on a media processing system so that for a complex media service, only one of the above media processing systems is required for processing.
  • the business processing capabilities of the media processing system are relatively fixed and limited. When the requirements of the media service change, multiple media processing systems may be required to perform the processing together, and the user experience is poor. Moreover, for the media service of the single ticket, the resources of the above media processing system are wasted seriously, and the resource utilization rate is low.
  • the embodiments of the present invention provide a media processing system and a method for processing a media service, which can improve service processing capability and flexibility of the media processing system.
  • the embodiment of the present invention provides a media processing system, where the media processing system includes a media management module and a media loading module, where the media loading module is configured to load or uninstall a media service module for processing a media service;
  • the media management module includes: a first acquiring unit, configured to acquire first service information of the first media service to be processed by the media processing system; a first media service module that is required to be added by the media processing system according to the first service information that is obtained by the first acquiring unit, where the first media service module has a service processing capability that the media processing system does not have; a first sending unit, configured to send a first loading notification to the media loading module, where the first loading notification is used to indicate loading the first media service module determined by the first determining unit, so that the media loading module is loaded for Processing the first media service module of the first media service.
  • an embodiment of the present invention provides a method for processing a media service, where the method includes: acquiring first service information of a first media service to be processed by a media processing system; determining, according to the first service information, the media processing The system needs to add the first media service module, where the first media service module has the service processing capability that the media processing system does not have; acquiring the first media service module; loading the first media service module into the media processing system, In order for the media processing system to process the first media service.
  • the media processing system and the method for processing the media service determine, by the service information of the media service to be processed, a media service module that needs to be added by the media processing system, where the media service module has the media processing
  • FIG. 1 is a schematic block diagram of a media processing system in accordance with an embodiment of the present invention.
  • FIG. 2 is a schematic block diagram of a media loading module in accordance with an embodiment of the present invention.
  • FIG. 3A is another schematic block diagram of a media management module according to an embodiment of the present invention.
  • FIG. 3B is another schematic block diagram of a media loading module according to an embodiment of the present invention.
  • FIG. 4 is still another schematic block diagram of a media management module according to an embodiment of the present invention.
  • FIG. 5 is another schematic block diagram of a media processing system in accordance with an embodiment of the present invention.
  • FIG. 6 is still another schematic block diagram of a media processing system in accordance with an embodiment of the present invention.
  • FIG. 7 is still another schematic block diagram of a media loading module according to an embodiment of the present invention.
  • FIG. 8 is still another schematic block diagram of a media processing system in accordance with an embodiment of the present invention.
  • FIG. 9 is a schematic flowchart of a method for processing a media service according to an embodiment of the present invention.
  • FIG. 10 is another schematic flowchart of a method for processing a media service according to an embodiment of the present invention.
  • FIG. 11 is still another schematic flowchart of a method for processing a media service according to an embodiment of the present invention.
  • FIG. 12 is still another schematic flowchart of a method for processing a media service according to an embodiment of the present invention.
  • FIG. 13 is still another schematic flowchart of a method for processing media services according to an embodiment of the present invention.
  • the media processing system 100 includes a media management module 200 and a media loading module 300.
  • the media loading module 300 is configured to load or unload a media service module for processing media services.
  • the media management module 200 includes:
  • the first obtaining unit 210 is configured to acquire first service information of the first media service to be processed by the media processing system 100.
  • the first determining unit 220 is configured to determine, according to the first service information that is obtained by the first acquiring unit 210, the first media service module 410 that the media processing system 100 needs to add, where the first media service module 410 has the media processing The business processing capability that the system 100 does not have;
  • the first sending unit 230 is configured to send a first loading notification to the media loading module 300, where the first loading notification is used to indicate loading the first media service module determined by the first determining unit 220, to facilitate the media loading module. 300 loads the first media service module 410 for processing the first media service.
  • the media processing system 100 includes a media management module 200 and a media loading module 300 for managing the media processing system 100, such as allocating or releasing resources of a computer system.
  • a media management module 200 for managing the media processing system 100, such as allocating or releasing resources of a computer system.
  • the media service module or the like that is loaded or unloaded is determined; the media loading module 300 is configured to load or uninstall a media service module that has service processing capability and is used to process media services.
  • the media management module 200 The first media service module that needs to be added by the media processing system 100 to process the first media service is determined according to the first service information of the first media service to be processed by the media processing system 100, that is, the media processing system 100 is determined to process the first The first media service module 410 that is not available in the media service, and determines the first media service module 410 that has the service processing capability.
  • the media management module 200 can notify the media loading module 300 to dynamically load the first media service module 410.
  • the service processing capabilities of the media processing system 100 are increased such that the media processing system 100 can process the first media service.
  • the media processing system of the embodiment of the present invention determines, according to the service information of the media service to be processed, a media service module that needs to be added by the media processing system, where the media service module has a service processing capability that the media processing system does not have, This can dynamically load different media service modules according to the needs of processing the media service, thereby improving the service processing capability of the media processing system, improving the versatility, flexibility, and resource utilization of the media processing system, and increasing the user experience and reducing cost.
  • the first obtaining unit 210 may obtain the first service information of the first media service to be processed by the media processing system 100 according to the received media service request.
  • the media processing system 100 can provide a media service request interface to receive an external device or a media service request submitted by the user, and the media service request is used to the media processing system.
  • the media service request interface needs to carry some parameters in the received media service request to indicate the service information of the media service requested to be processed.
  • the external device or user submits the media service request to the media processing system 100 by using the media service request interface
  • the content of the media service request interface needs to be met, and relevant parameters are carried to indicate the service information of the media service. Therefore, the media processing system 100 can obtain the service information of the media service requested for processing according to the received media service request.
  • the external device or user sends a media service request to the media processing system 100 to process a transcoding or rendering service, and the media processing system 100 can obtain service information such as the service type of the media service to be processed according to the media service request.
  • the first obtaining unit 210 may obtain the first service information of the first media service according to the media service request for requesting processing of the first media service.
  • the first service information of the first media service may include information such as an identifier or a service type of the first media service, and the first service information may further include any information related to the first media service.
  • the first service information may include a priority of the first media service. Level, type and number of media service modules required for processing the first media service, and the like.
  • the first determining unit 220 may determine, according to the first service information, a first media service module 410 that needs to be added, where the first media service module 410 has a service processing capability that the media processing system 100 does not have. Specifically, for example, the first determining unit 220 may first determine that the media processing system 100 processes the service processing capability that the first media service does not have, and then determine the first media service module 410 that has the service processing capability.
  • the first obtaining unit 210 obtains the service information including the media service type or the identifier of the first media service according to the received media service request.
  • the first determining unit 220 may first determine the media processing system 100 according to the media service type or identifier. Whether there is a service processing capability corresponding to the media service type or identifier, that is, determining whether the media processing system 100 has the service processing capability for processing the first media service; determining that the media processing system 100 does not currently have the service for processing the first media service When the processing capability is available, the first determining unit 220 can thereby determine the first media service module that the media processing system 100 needs to add, and the first media service module 410 has a service processing capability corresponding to the media service type or identifier.
  • the first sending unit 230 may send a first loading notification to the media loading module 300 to instruct the media loading module 300 to load the first media service module 410. It should be understood that the first sending unit 230 may also indicate by other methods. Embodiments of the invention are not limited thereto.
  • the first loading notification includes, for example, an identifier of the first media service module, and a loading type, where the loading type includes loading or unloading; the first loading notification may also include a service type or identifier of the first media service, and includes a loading type. .
  • the media loading module can acquire and load the first media service module according to the first loading notification.
  • the media management module 200 may determine, when determining the first media service module that needs to be added, the address of the first media service module, for example, by searching or prompting the user to determine, The address of the first media service module, and the like. Therefore, the media loading module 300 directly acquires and loads the first media service module 410 according to the address information.
  • the address of the first media service module 410 may include, for example, a link address of the first media service module 410 on the third party server, and may also include a storage path of the first media service module 410 on the local server.
  • the first loading notification may also include the address of the first media service module.
  • the first loading notification may also include the first media service module.
  • the embodiment of the present invention is not limited thereto. It should be understood that, in the embodiment of the present invention, in order to process the first media service, the media processing system
  • 100 needs to load one or more media service modules that the media processing system 100 itself has or has loaded to process the first media together with the first service module. business.
  • the service processing capabilities of these one or more other media service modules include, but are not limited to, file input/output capabilities, file fragmentation/merge capabilities, media transcoding/rendering/watermarking capabilities, and the like.
  • the media business module is for example an application and can be loaded and run independently.
  • the media service module can be operated in a single process, and can also be operated in a multi-process manner.
  • the embodiment of the present invention is not limited thereto. For example, for different media service modules with transcoding processing capability, it can be operated in a single process or in the form of one main process and one or more secondary processes.
  • the uninstalling the media service module means that the media service module is in a non-operation state, instead of completely deleting the media loading module from the media processing system 100, that is, the media loading module is used for processing.
  • the media processing system 100 After the media service module of the media service is uninstalled, the media processing system 100 still has the unloaded media service module and has the service processing capability of the media service module. In the subsequent media service processing, the media processing system 100 can The media service module of the media processing system 100 is loaded again to process the media service.
  • uninstalling the media service module may also refer to completely removing the media loading module from the media processing system 100.
  • the loading when the media service module that the media processing system 100 does not have is loaded, the loading not only means adding the media service module to the media processing system 100, but also means that the media processing module is in operation. State; When loading the media service module that the media processing system 100 has, loading means that the media processing module is in an operational state.
  • the media loading module 300 loads the first media service module 410 according to the received first loading notification, for example, to increase The media processing system's business processing capabilities enable the processing of the first media service.
  • the media loading module 300 includes: a first receiving unit 310 , configured to receive a first loading notification sent by the media management module, and a second acquiring unit 320, configured to receive, according to the first receiving The first loading notification received by the unit 310, acquiring the first media service module;
  • the first loading unit 330 is configured to load the first media service module acquired by the second obtaining unit 320 into the media processing system 100, so that the first media service module 410 processes the first A media business.
  • the first receiving unit 310 may receive the first loading notification, where the first loading notification includes, for example, an identifier of the first media service module, and a loading type, where the loading type includes loading or uninstalling; the first loading notification
  • the first media service module may be directly included in the first media service module, and the embodiment of the present invention is not limited thereto.
  • the second obtaining unit 320 may obtain the first media service module in multiple manners according to the first loading notification received by the first receiving unit 310. For example, when the first loading notification includes the identifier of the first media service module, the second obtaining unit 320 acquires the address of the first media service module by searching or prompting the user, for example, according to the identifier, thereby acquiring the first Media business module. For another example, when the first loading notification includes the link address or the local storage path of the first media service module, the second obtaining unit 320 may use the link address included in the first loading notification, from the third-party server indicated by the link address. The first media service module is downloaded to the local device to obtain the first media service module.
  • the second obtaining unit 320 may also download or copy the first media service module locally according to the local storage path included in the first loading notification. For example, when the first loading notification includes the first media service module, the second obtaining unit 320 may directly obtain the first media service module by using the first loading notification.
  • the second obtaining unit 320 may also acquire the first media service module 410 by other methods, and the embodiment of the present invention is not limited thereto. It should also be understood that the second obtaining unit 320 obtains the first media service module, which means that the first media service module is saved in the media processing system 100, but the embodiment of the present invention is not limited thereto.
  • the first loading unit 330 can load the first media service module acquired by the second obtaining unit 320 to the media processing system 100.
  • the first loading unit 330 invokes an interface of a computer system or server in which the media processing system 100 is located, such as by invoking a command line interface, to run the first media service module 410 in the media processing system 100.
  • the media loading module may load other media service modules of the media processing system 100 as needed, in addition to loading the first media service module.
  • the media loading module may also have the following number of media service modules configured by default, for example, the installation default configuration loading has the following Media processing module for business processing capability: media file input capability, media file output capability, media file fragmentation capability, Media file merging capabilities, etc.
  • one piece of media service may require one or more media service modules to process, and the service processing capability of the one or more media service modules may be completely different or partially the same. It may also be identical, that is, a piece of media service may be processed by one or more media service modules with the same business processing capabilities. For example, for a rendering service, it can be processed by two or more media service modules for processing rendering services to improve the processing efficiency of the rendering service and improve resource utilization.
  • the media management module 200 further includes:
  • the third obtaining unit 240 is configured to obtain media service module information of the media processing system 100 and/or second service information of the second media service currently processed by the media processing system 100;
  • the second determining unit 250 is configured to determine, according to the media service module information and/or the second service information acquired by the third acquiring unit 240, a module of the second media service module of the media processing system 100 that needs to be loaded or uninstalled. Type and number of modules;
  • the second sending unit 260 is configured to send a second loading notification to the media loading module 300, where the second loading notification is used to indicate the module type, the number of modules, and the loading type determined by the second determining unit 250, the loading type. Including loading or unloading;
  • the media loading module 300 further includes:
  • the second receiving unit 340 is configured to receive the second loading notification sent by the media management module 200.
  • the second loading unit 350 is configured to load or unload the second media service module according to the module type, the number of modules, and the loading type indicated by the second loading notification received by the second receiving unit 340.
  • the first media service refers to the media service to be processed by the media processing system 100
  • the second media service refers to the media service currently processed by the media processing system 100.
  • the rendering service is in a pending state, so the rendering service belongs to the first media service; and when the media processing system 100 starts processing the rendering service, the rendering The business belongs to the second media business.
  • the first media service module 410 refers to one or more modules that process the first media service, and the first media service module 410 has the service processing capability that the media processing system 100 does not have. Requires media processing system 100 to load modules; and second media industry The service module refers to one or more modules that process the second media service.
  • the media processing system 100 has the service processing capability of the second media service module, and is a module that needs to be loaded or unloaded by the media processing system 100.
  • the media service module information may include various information related to various types of media service modules currently running in the media processing system 100.
  • the media service module information includes the media processing system. At least one of a load of the currently running media service module, a number of online operations, a number of tasks to be processed, and a number of processed tasks; the second service information may include various media services currently processed by the media processing system 100
  • the second service information includes: a priority of the second media service currently processed by the media processing system 100, and a type and quantity of media service modules required to process the second media service. At least one of them.
  • the second determining unit 250 may determine, according to the media service module information, the second service information, or the media service module information and the second service information, to determine whether loading or uninstalling is required.
  • the module type and number of modules of the second media service module of the media processing system 100 The following description will be respectively made in conjunction with specific examples. It should be understood that the second media service module can include one or more media service modules having different or the same module type.
  • the second media service module that needs to be loaded or uninstalled may be determined.
  • the media management module may determine to load a second media service module corresponding to the priority according to the priority of the media service processed by the media processing system 100 to process the media service. Generally, the higher the priority of the media service, the greater the number of second media service modules loaded.
  • the media management module may determine the type and quantity of the required media service modules as the module type and the number of modules of the second media service module, respectively, according to the type and quantity of the media service modules required for processing the media service.
  • the second media service module that needs to be loaded or uninstalled may be determined.
  • the media management module can determine a second media service module that needs to be loaded or unloaded according to the load of the media service module running in the media processing system 100. For example, when the load of a certain type of media service module running online exceeds or Below the preset threshold, the preset number can be determined as the number of modules that need to be loaded or unloaded. For example, when the load of the transcoded media service module exceeds the threshold, a media service module of one transcoding type may be added. When the load of the transcoded media service module is lower than the threshold, the media service module of one transcoding type may be reduced.
  • the load of the media service module may be represented by parameters such as the occupancy rate of a central processing unit ("CPU").
  • the media management module can determine the second media service module that needs to be loaded or unloaded according to the number of tasks to be processed or the number of processed tasks of the media service module. For example, if the media management module determines that the number of pending tasks of a certain type of media service module increases or decreases and reaches a preset condition, respectively, it may determine that the number of media service modules of the type is loaded or unloaded, for example, loading or unloading pre- Set the number of second media service modules.
  • the preset condition is, for example, a rate at which the number of tasks is increased or decreased, and the rate of the rate of increase or decrease may be the number of tasks per second.
  • the media management module determines that the number of processed tasks of a certain type of media service module is reduced or increased and reaches a preset condition, respectively, it may be determined to uninstall or load the number of media service modules of the type.
  • the second media service module that needs to be loaded or uninstalled may be determined.
  • the media management module determines the second media that needs to be loaded or uninstalled according to the number of certain types of media service modules running online and the number of media service modules of the type required for processing the media service.
  • Business module Specifically, for example, when the number of media service modules running online is less than required, the difference between the number of required media service modules and the number of media service modules running online is determined as the second media that needs to be loaded.
  • the number of modules of the service module similarly, when the number of media service modules running online is greater than required, the difference between the number of media service modules running online and the number of required media service modules is determined to be uninstalled.
  • the number of modules of the second media service module is determined to be uninstalled.
  • the media management module may also determine, according to the indication of the third-party system, the second media service module that needs to be loaded or uninstalled, which is not limited thereto.
  • the media processing system of the embodiment of the present invention can dynamically determine to load or unload different types of media service modules according to the second service information and/or the media service module information, thereby improving the processing efficiency of the media service and improving the efficiency of the media service.
  • Resource utilization increasing user experience.
  • the second determining unit 250 is further configured to: according to the third acquiring unit
  • the media service module information and/or the second service information obtained by the media service module The program is granular or the granularity of the media service module determines the number of modules.
  • the number of modules of the second media service module may be calculated by using the media service module itself, that is, whether the media service module runs in a single process or in a multi-process format; The number can also be calculated according to the process of the media service module. That is, in the case that the media service module runs in a multi-process format, the number of processes can be converted into the number of media service modules.
  • the number of modules of the second media service module is the number of processes of the media service module of the transcode type that is finally run; for having one main process and several secondary processes
  • the number of modules of the second media service module may be determined according to the M main process or the N sub-processes corresponding to one media service module, where M and N are natural numbers.
  • the term “particle size” may mean the meaning of "unit”, for example, “particle size with A”, that is, “in unit of A”, and for example, in the embodiment of the present invention,
  • the second determining unit 250 determines the number of modules in units of processes of the media service module or in units of media service modules.
  • the media management module 200 further includes: a fourth obtaining unit 270, configured to acquire media service module information, resource information, and the media processing system 100 At least one of the second service information of the second media service currently processed by the media processing system 100;
  • the third determining unit 280 is configured to: according to the at least one of the media service module information, the second service information, and the resource information acquired by the fourth acquiring unit 270, and the quantity between the media service module and the system resource a proportional relationship that determines the resource type and number of resources of the first system resource that needs to be allocated or released;
  • the allocating unit 290 is configured to allocate or release the first system resource according to the resource type determined by the third determining unit 280 and the resource quantity.
  • the resource information may include various information related to resources of the media processing system.
  • the resource information includes information about a second system resource that has been currently allocated in the media processing system, information about a third system resource currently available in the media processing system, and total system resources of the media processing system. At least one of the information.
  • the total system resource of the media processing system 100 is the sum of the currently allocated second system resource and the currently available third system resource.
  • the first system resource refers to the media management module 200 determining system resources that need to be allocated or released, when the first When the system resource refers to the system resource that needs to be allocated, the first system resource belongs to the second system resource; when the first system resource refers to the system resource that needs to be released, the first system resource belongs to the third system resource.
  • system resources of the media processing system include, but are not limited to, computing resources (such as CPU), storage resources (such as memory, hard disk space), network resources (such as IP address, bandwidth), and the like.
  • the resource type includes a computing resource, a storage resource, or a network resource.
  • the media management module may also determine the number of modules of the second media service module that need to be increased or decreased according to the resource information and the quantitative relationship between the media service module and the system resources.
  • the media management module may determine the number of system resources that need to be increased or decreased, such as increasing or decreasing the preset number of systems. Resources; and may further determine the number of modules of the second media service module that need to be increased or decreased according to the quantity proportional relationship.
  • the quantitative relationship may be empirical data or a pre-configured value, and the media management module may also dynamically adjust the quantitative relationship.
  • the media management module can further calculate the number of media service modules that need to be increased or decreased according to preset policies.
  • the number calculated by the above is calculated according to a preset ratio to calculate the number of media service modules that need to be increased or decreased, or randomly calculated to calculate the number of media service modules that need to be increased or decreased, or only for a certain type or Certain types of media service modules determine the number that needs to be increased or decreased, but embodiments of the present invention are not limited thereto.
  • the third determining unit 280 may be based on at least one of the media service module information, the second service information, and the resource information acquired by the fourth obtaining unit 270, and according to a quantity ratio between the media service module and the system resource. Relationship, determining the resource type and number of resources of the first system resource that needs to be allocated or released.
  • the resource management module may first determine the number of media service modules that need to be increased or decreased, and then determine the corresponding first system resources that need to be allocated or released according to the quantitative relationship. For example, the resource management module may first determine that four media service modules need to be added. Assuming that the quantitative relationship between the media service module and the system resources is 2, the resource management module may determine that the number of system resources to be allocated is 2. The media management module can then determine the resources that need to be allocated or released according to the total number of resources required by the media processing system and the number of currently allocated resources.
  • the resource management module can also be based on current resource information (eg, information of the second system resource, The change of the information of the three system resources and the information of the total system resources automatically allocates and releases the resources. For example, if the number of second system resources that can be allocated is greater than 0, or the total number of allowed resources is greater than the number of allocated resources, it is always allocated according to the number of resources that can be allocated; if the total number of resources allowed is less than The number of allocated resources, the corresponding resources are released.
  • current resource information eg, information of the second system resource, The change of the information of the three system resources and the information of the total system resources automatically allocates and releases the resources. For example, if the number of second system resources that can be allocated is greater than 0, or the total number of allowed resources is greater than the number of allocated resources, it is always allocated according to the number of resources that can be allocated; if the total number of resources allowed is less than The number of allocated resources, the corresponding resources are released.
  • the media management module may also perform resource allocation and release according to the indication of the third-party system, and the embodiment of the present invention is not limited thereto.
  • the third determining unit 280 is further configured to: at least one of the media service module information, the second service information, and the resource information acquired by the fourth acquiring unit 270
  • the information, and the quantity proportional relationship between the media service module and the system resource is determined by using at least one of the computing resource, the storage resource, and the network resource as a granularity or a virtual machine as a granularity.
  • the media management module may determine the quantity of resources according to the granularity of the virtual machine, where the virtual machine may be a group of resources including computing resources, storage resources, and network resources; the media management module may also according to the resource requirements of the media service module. Degree, calculated according to the granularity of a certain type of resource, for example, the number of resources is determined by the computing resource as the granularity.
  • the media processing system of the embodiment of the present invention can dynamically load different media service modules according to the needs of processing the media service, thereby improving the service processing capability of the media processing system and improving the versatility and flexibility of the media processing system.
  • resource utilization and can increase user experience and reduce cost; on the other hand, dynamically allocate or release system resources according to at least one of media service module information, second service information, and resource information, thereby enabling Improve resource utilization, improve the processing efficiency of media services, and further increase the user experience.
  • the media processing system 100 further includes a parallel computing module 500, where the parallel computing module 500 includes:
  • the splitting unit 510 is configured to split the third media service into at least two media sub-services according to the scheduling processing logic corresponding to the third media service processed by the media processing system;
  • the first invoking unit 520 is configured to invoke the third media service module 430 of the media processing system, and the third media service module 430 and each of the at least two media sub-services split by the splitting unit 510
  • the business corresponds to each of the respective media sub-services.
  • the splitting unit 510 can split the third media service into media sub-services such as media file input, media file output, media file allocation, media file merge, media file transcoding, and the like. Then the first calling unit 520 is called to process each medium separately.
  • the third media service module 430 of the body service separately processes each media sub-service.
  • the third media service module 430 may be a plurality of media service modules of the same class for processing each media sub-service.
  • the third media service module 430 may include at least two identical service modules, each The service module can process the media sub-services.
  • the third media service module 430 can also be used to process multiple media service modules of different types of media sub-services.
  • the third media service module 430 can include at least two. Different types of business modules, each type of business module can be used to process one of the media sub-services.
  • the third media service module 430 includes at least two media service sub-modules; it should also be understood that the third media service module 430 corresponds to each of the at least two media sub-services, and refers to the third The at least two media service sub-modules included in the media service module 430 can be used to process each media sub-service, or can be used to separately process each media sub-service.
  • the third media service may represent any media service currently processed by the media processing system, for example, the third media service may also be the second media service.
  • the third media service module can include one or more media service modules for processing each media sub-service.
  • the terms "first”, “second”, and “third” are merely used to distinguish contents in different situations, and should not be construed as limiting the embodiments of the present invention.
  • B corresponding to A means that B is associated with A, and B can be determined based on A.
  • determining B according to A does not mean that B is determined only on the basis of A, and that B can also be determined based on A and/or other information.
  • the "media service module corresponding to the media service” indicates that the media service module is used to process the media service; "the scheduling processing logic corresponding to the media service” indicates a schedule for processing the media service. Processing logic.
  • each media sub-service can be completed by a plurality of corresponding media service modules, and each media service module is independent of each other in service processing. It should also be understood that each media sub-service may be represented by a number of parameters including, but not limited to, sub-service identification, sub-service type (eg, fragmentation, transcoding, etc.), input and output parameters of sub-services, processing parameters of sub-services, The assigned task identifier, etc.
  • the scheduling processing logic corresponding to the media service may be pre-configured.
  • different media services may have different scheduling processing logic. Therefore, the parallel computing module may use corresponding scheduling processing logic according to different media services.
  • the scheduling processing logic of the media service may be: first scheduling a media file to input a sub-service to complete uploading of the source media file to be transcoded; and then scheduling the media file
  • the slice service is used to complete the fragmentation of the source media file, and the source file is split into several fragment files; after each fragment sub-service is completed, the media transcoding sub-service can be scheduled to transcode the generated fragment file.
  • the media merge sub-service can be scheduled to merge all the transcoded fragment files into one file; finally, the media file is output to the sub-service to merge the media files.
  • the media processing system 100 further includes a parallel computing module 500, where the parallel computing module 500 includes:
  • the second invoking unit 530 is configured to: when receiving the at least two fourth media services to be processed, scheduling, according to the preset scheduling policy, the fourth media service module 440 corresponding to the at least two fourth media services, to The at least two fourth media services are processed separately.
  • the scheduling policy can be pre-configured, and the scheduling policy includes, but is not limited to, the priority of the media service. For example, high-priority tasks can be prioritized for processing, and even when resources are insufficient, preemptive resources can be prioritized.
  • the system can process multiple media transcoding services and other application type services, such as media services such as rendering and watermarking, according to a preset scheduling policy.
  • the media processing system of the embodiment of the present invention can dynamically load different media service modules according to the needs of processing the media service, thereby improving the service processing capability of the media processing system and improving the versatility and flexibility of the media processing system. And resource utilization, and can increase the user experience and reduce costs; on the other hand, it can improve the parallel computing power of the media processing system, improve the efficiency of business processing, and increase the user experience.
  • the fourth media service module refers to a module for processing at least two fourth media services in parallel; and the fourth media service refers to a media service to be processed simultaneously in the media processing system.
  • the media loading module 300 further includes: a third receiving unit 360, configured to receive loading information sent by the user to indicate loading the fifth media service module, where The fifth media service module has a service processing capability that the media processing system does not have;
  • the fifth obtaining unit 370 is configured to acquire the fifth media service module according to the loading information received by the third receiving unit 360.
  • the third loading unit 380 is configured to load the fifth media service module acquired by the fifth obtaining unit 370 into the media processing system.
  • the media loading module may receive the loading information sent by the user through a human-machine interface such as a web portal, and acquire a fifth media service module according to the loading information, and load the media processing system into the media processing system to increase media processing.
  • a human-machine interface such as a web portal
  • FIG. 8 shows an application scenario of a media processing system according to an embodiment of the present invention.
  • the computer system includes a media processing system and a power supply module according to an embodiment of the present invention, wherein the power supply module is configured to supply power to a computer system and a media processing system, for example, 220V AC power or 24V DC power supply; the media management module 200 included in the media processing system can obtain resource information from a system resource, such as a computing resource or a storage resource provided by a computer system, and a parallel computing module.
  • a system resource such as a computing resource or a storage resource provided by a computer system, and a parallel computing module.
  • the second service information is obtained at 500 , and the media service module information is obtained from the media service module 400, so that the loading notification can be sent to the media loading module 300 according to the foregoing information, and the system resource can also be allocated or released; the media loading module can be from the media.
  • the service loading interface receives the media service module provided by the user or the third-party system, and loads the media service module to increase the service processing capability of the media service processing system; the parallel computing module can obtain the media service, and can obtain the media provided by the media management module.
  • industry Module information, and calls the media service module, the media service module may receive media data, and outputs the processed media data, it should be appreciated that the media data includes media files, but not limited to, a video stream, audio stream.
  • the computer system may be a personal computer, a server, a virtual machine, or the like, and the embodiment of the present invention is not limited thereto.
  • the media processing system of the embodiment of the present invention determines, according to the service information of the media service to be processed, a media service module that the media processing system needs to add, and the media service module has a service processing capability that the media processing system does not have, thereby Dynamically loading different media service modules according to the needs of processing media services, thereby improving the service processing capability of the media processing system, improving the versatility, flexibility, and resource utilization of the media processing system, and increasing the user experience and reducing costs.
  • FIG. 9 shows a schematic flow diagram of a method 800 of processing media traffic in accordance with an embodiment of the present invention. As shown in Figure 9, the method 800 includes:
  • S820 Determine, according to the first service information, a first media that needs to be added by the media processing system.
  • a service module the first media service module has a service processing capability that the media processing system does not have;
  • the media processing system may obtain the first service information of the processed first media service, and determine, according to the first service information, the first media service module that the media processing system needs to add, and the service processing capability of the first media service module
  • the media processing system processes the service processing capability that the first media service does not have, so that the first media service module can be acquired and loaded to process the first media service.
  • the method for processing a media service determines, by the service information of the media service to be processed, a media service module that the media processing system needs to add, and the media service module has a service processing capability that the media processing system does not have. Therefore, different media service modules can be dynamically loaded according to the needs of processing the media service, thereby improving the service processing capability of the media processing system, improving the versatility, flexibility, and resource utilization of the media processing system, and increasing the user experience. , cut costs.
  • the media processing system may obtain the first media service module according to the identifier of the first media service module, and the media processing system may obtain the first media service module according to the storage address of the first media service module. Wait.
  • the media processing system may download the first media service module from the third-party server to the local device according to the link address of the first media service module on the third-party server to obtain the first media service module; the media processing system also The first media service module may be obtained according to a storage path of the first media service module on the local server.
  • Embodiments of the invention are not limited thereto.
  • the method 800 further includes: S850, acquiring media service module information of the media processing system, and/or a second media service currently processed by the media processing system. Second business information;
  • the media service module information may include various information related to various types of media service modules currently running in the media processing system, and optionally, the media service mode.
  • the block information includes at least one of a load of a media service module currently running in the media processing system, a number of online runs, a number of tasks to be processed, and a number of processed tasks.
  • the second service information may include various information related to various media services processed by the media processing system.
  • the second service information includes: a priority of the media service processed by the media processing system, and processing the media. At least one of the type and number of media service modules required for the service.
  • the media processing system may determine the number of modules according to the media service module information, with the granularity of the process of the media service module or the granularity of the media service module.
  • the media processing system may also determine, according to the media service module information and/or the second service information, a module type of the second media service module that needs to be loaded or uninstalled. The number of modules, for the sake of cleanliness, will not be repeated here.
  • the method for processing a media service can dynamically determine to load or unload different types of media service modules according to the second service information and/or the media service module information, thereby improving the processing efficiency of the media service, and Improve resource utilization and increase user experience.
  • the method 800 further includes: S880, acquiring media service module information, resource information, and a second media service currently processed by the media processing system. At least one of the second business information;
  • the resource information may include various information related to resources of the media processing system.
  • the resource information includes information about a second system resource that has been currently allocated in the media processing system, information about a third system resource currently available in the media processing system, and total system resources of the media processing system. At least one of the information.
  • resources of the media processing system include but are not limited to computing resources (for example,
  • the resource type includes a computing resource, a storage resource, or a network resource.
  • the media service module information may include various information related to various types of media service modules currently running in the media processing system.
  • the media service module information includes at least one of a load of the media service module running in the media processing system, a number of online operations, a number of tasks to be processed, and a number of processed tasks.
  • the second service information may include any information related to the second media service, and optionally, the second service information includes a priority of the second media service, and is used to process the second At least one of the type and number of media service modules required for the media service.
  • the media processing system may also determine the number of modules of the second media service module that need to be increased or decreased according to the resource information and the quantitative relationship between the media service module and the system resources. It should be understood that, in the embodiment of the present invention, the media processing system may also perform resource allocation and release according to the indication of the third party system, and the embodiment of the present invention is not limited thereto.
  • the media processing system may be based on at least one of the media service module information, the second service information, and the resource information, and the media service module and the system resource.
  • the quantity proportional relationship between the computing resources, the storage resources, and the network resources is determined by the granularity or the virtual machine as the granularity, and the number of the resources is determined.
  • the method for processing a media service can dynamically determine the allocated or released system resources according to at least one of the media service module information, the second service information, and the resource information, thereby improving resource utilization. Improve the processing efficiency of media services and increase the user experience.
  • the method 800 further includes:
  • S920 Call a third media service module corresponding to each of the at least two media sub-services to process each media sub-service separately.
  • the method 800 further includes:
  • each media sub-service can be completed by a plurality of corresponding media service modules, and each media service module is independent of each other in service processing. It should also be understood that each media sub-service may be represented by a number of parameters including, but not limited to, sub-service identification, sub-service type (eg, fragmentation, transcoding, etc.), input and output parameters of sub-services, processing parameters of sub-services, The assigned task identifier, etc.
  • the scheduling processing logic corresponding to the media service may be pre-configured.
  • different media services can have different scheduling processing logic, therefore, parallel computing modules
  • the corresponding scheduling processing logic can be used.
  • the method for processing media services in the embodiments of the present invention can improve parallel computing capabilities of the media processing system, improve service processing efficiency, and increase user experience.
  • the method 800 further includes: S940, receiving, by the user, loading information, configured to load a fifth media service module, where the fifth media service module has the Service processing capabilities not available in the media processing system;
  • the media loading module may receive the loading information sent by the user through a human-machine interface such as a web portal, and acquire a fifth media service module according to the loading information, and load the media processing system into the media processing system to increase media processing.
  • a human-machine interface such as a web portal
  • the size of the sequence numbers of the above processes does not mean the order of execution, and the order of execution of each process should be determined by its function and internal logic, and should not be taken to the embodiments of the present invention.
  • the implementation process constitutes any limitation.
  • B corresponding to A means that B is associated with A, and B can be determined based on A.
  • determining B according to A does not mean that B is determined only on the basis of A, but also based on A and/or other information.
  • the method for processing a media service determines, by the service information of the media service to be processed, a media service module that the media processing system needs to add, and the media service module has a service processing capability that the media processing system does not have. Therefore, different media service modules can be dynamically loaded according to the needs of processing the media service, thereby improving the service processing capability of the media processing system, improving the versatility, flexibility, and resource utilization of the media processing system, and increasing the user experience. , cut costs.
  • the disclosed systems, devices, and methods may be implemented in other ways.
  • the device embodiments described above are merely illustrative.
  • the division of the unit is only a logical function division.
  • there may be another division manner for example, multiple units or components may be combined or Can be integrated into another system, or some features can be ignored, or not executed.
  • the mutual coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection through some interface, device or unit, or an electrical, mechanical or other form of connection.
  • the components displayed for the unit may or may not be physical units, ie may be located in one place, or may be distributed over multiple network units. Some or all of the units may be selected according to actual needs to achieve the objectives of the embodiments of the present invention.
  • each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
  • the above integrated unit can be implemented in the form of hardware or in the form of a software functional unit.
  • the integrated unit if implemented in the form of a software functional unit and sold or used as a standalone product, may be stored in a computer readable storage medium.
  • the technical solution of the present invention contributes in essence or to the prior art, or all or part of the technical solution may be embodied in the form of a software product stored in a storage medium.
  • a number of instructions are included to cause a computer device (which may be a personal computer, server, or network device, etc.) to perform all or part of the steps of the methods described in various embodiments of the present invention.
  • the foregoing storage medium includes: a U disk, a removable hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, and the like, which can store program codes. .

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

L'invention porte sur un système de traitement de contenu multimédia et un procédé de traitement d'un service de contenu multimédia. Le système de traitement de contenu multimédia comprend un module de gestion de contenu multimédia et un module de chargement de contenu multimédia. Le module de chargement de contenu multimédia est utilisé pour charger ou décharger un module de service de contenu multimédia pour traiter un service de contenu multimédia; le module de gestion de contenu multimédia comprend une première unité d'obtention, une première unité de détermination et une première unité d'envoi. Selon le système de traitement de contenu multimédia et le procédé de traitement d'un service de contenu multimédia des modes de réalisation de la présente invention, par détermination du module de service de contenu multimédia devant être ajouté au système de traitement de contenu multimédia sur la base d'informations de service du service de contenu multimédia devant être traité, le module de service de contenu multimédia a une capacité de traitement de service que le système de traitement de contenu multimédia n'a pas, de sorte que différents modules de service de contenu multimédia peuvent être dynamiquement chargés sur la base d'une exigence de traitement d'un service de contenu multimédia, ce qui permet de rehausser la capacité de traitement de service du système de traitement de contenu multimédia, d'améliorer l'universalité, la flexibilité et le taux d'utilisation de ressources du système de traitement de contenu multimédia, d'améliorer l'expérience utilisateur et de réduire le coût.
PCT/CN2012/073472 2012-04-01 2012-04-01 Système de traitement de contenu multimédia et procédé de traitement de service de contenu multimédia WO2013149374A1 (fr)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201280001093.9A CN102972011B (zh) 2012-04-01 2012-04-01 媒体处理系统和处理媒体业务的方法
PCT/CN2012/073472 WO2013149374A1 (fr) 2012-04-01 2012-04-01 Système de traitement de contenu multimédia et procédé de traitement de service de contenu multimédia

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2012/073472 WO2013149374A1 (fr) 2012-04-01 2012-04-01 Système de traitement de contenu multimédia et procédé de traitement de service de contenu multimédia

Publications (1)

Publication Number Publication Date
WO2013149374A1 true WO2013149374A1 (fr) 2013-10-10

Family

ID=47800633

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2012/073472 WO2013149374A1 (fr) 2012-04-01 2012-04-01 Système de traitement de contenu multimédia et procédé de traitement de service de contenu multimédia

Country Status (2)

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

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104317586B (zh) * 2014-10-22 2018-04-10 福建星网视易信息系统有限公司 多屏幕渲染处理方法、处理器、设备及系统
CN109982132A (zh) * 2019-04-23 2019-07-05 姚耀 一种音视频远程双录系统
CN114422735B (zh) * 2022-01-28 2023-12-01 杭州海康威视数字技术股份有限公司 一种录像机、视频数据处理方法、装置及电子设备

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1767446A (zh) * 2004-10-28 2006-05-03 华为技术有限公司 一种增值业务请求的处理方法
WO2008014695A1 (fr) * 2006-07-29 2008-02-07 Huawei Technologies Co., Ltd. Dispositif, procédé et système pour allouer des ressources de média
CN101834851A (zh) * 2010-03-30 2010-09-15 中兴通讯股份有限公司 一种多媒体消息中心及调节其处理能力的方法

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7730456B2 (en) * 2004-05-19 2010-06-01 Sony Computer Entertainment Inc. Methods and apparatus for handling processing errors in a multi-processing system
CN1828665B (zh) * 2005-02-12 2011-11-30 美国博通公司 在通信设备中处理信息的方法和系统
US7685409B2 (en) * 2007-02-21 2010-03-23 Qualcomm Incorporated On-demand multi-thread multimedia processor
CN201993811U (zh) * 2010-11-15 2011-09-28 张军 云融合商业智能终端

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1767446A (zh) * 2004-10-28 2006-05-03 华为技术有限公司 一种增值业务请求的处理方法
WO2008014695A1 (fr) * 2006-07-29 2008-02-07 Huawei Technologies Co., Ltd. Dispositif, procédé et système pour allouer des ressources de média
CN101834851A (zh) * 2010-03-30 2010-09-15 中兴通讯股份有限公司 一种多媒体消息中心及调节其处理能力的方法

Also Published As

Publication number Publication date
CN102972011A (zh) 2013-03-13
CN102972011B (zh) 2015-07-08

Similar Documents

Publication Publication Date Title
US10572284B2 (en) Virtualization Congestion Control Framework for Modifying Execution of Applications on Virtual Machine Based on Mass Congestion Indicator in Host Computing System
US9983897B2 (en) Maintaining virtual machines for cloud-based operators in a streaming application in a ready state
US9823947B2 (en) Method and system for allocating FPGA resources
US8954982B2 (en) Resource management using reliable and efficient delivery of application performance information in a cloud computing system
US10326708B2 (en) Cloud computing services framework
WO2018006676A1 (fr) Procédé et appareil de traitement de ressources d'accélération et système de virtualisation de fonction de réseau
JP2009258982A (ja) ノード装置及びプログラム並び資源割当方法
CN105052074A (zh) 用于提供虚拟化直径网络架构以及用于将业务量路由至动态实例化的直径资源实例的方法、系统和计算机可读介质
US9323591B2 (en) Listening for externally initiated requests
US20120324111A1 (en) Task allocation in a computer network
KR20110083084A (ko) 가상화를 이용한 서버 운영 장치 및 방법
US10812606B2 (en) Supporting communications in a stream processing platform
CN112749002A (zh) 一种集群资源动态管理的方法和装置
WO2013149374A1 (fr) Système de traitement de contenu multimédia et procédé de traitement de service de contenu multimédia
CN115904761A (zh) 片上系统、车辆及视频处理单元虚拟化方法
CN113298387B (zh) 货物装卸分配方法、分配系统、电子设备及可读存储介质
US20170269968A1 (en) Operating system support for game mode
WO2014203728A1 (fr) Système, dispositif et procédé de commande de message et programme
WO2014115282A1 (fr) Système informatique et procédé d'attribution de ressources informatiques
JP2015064746A (ja) 情報処理システム、情報処理システムの制御方法及び制御プログラム
CN108540557A (zh) 一种基于动态限速的云应用负载调度方法
CN116800748A (zh) 消息处理系统、方法、计算设备及存储介质
CN114077504A (zh) 一种消息管理的方法、装置及去服务器化系统
JP2010039861A (ja) コンポーネント処理装置及びコンポーネント処理プログラム
JP2009123053A (ja) 資源割り当て装置

Legal Events

Date Code Title Description
WWE Wipo information: entry into national phase

Ref document number: 201280001093.9

Country of ref document: CN

121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 12873517

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 12873517

Country of ref document: EP

Kind code of ref document: A1