CN115174952A - Transcoding resource scheduling method and device, computing equipment and computer storage medium - Google Patents

Transcoding resource scheduling method and device, computing equipment and computer storage medium Download PDF

Info

Publication number
CN115174952A
CN115174952A CN202210789346.9A CN202210789346A CN115174952A CN 115174952 A CN115174952 A CN 115174952A CN 202210789346 A CN202210789346 A CN 202210789346A CN 115174952 A CN115174952 A CN 115174952A
Authority
CN
China
Prior art keywords
transcoding
application
transcoding task
resource
time
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202210789346.9A
Other languages
Chinese (zh)
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.)
Shanghai Bilibili Technology Co Ltd
Original Assignee
Shanghai Bilibili Technology 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 Shanghai Bilibili Technology Co Ltd filed Critical Shanghai Bilibili Technology Co Ltd
Priority to CN202210789346.9A priority Critical patent/CN115174952A/en
Publication of CN115174952A publication Critical patent/CN115174952A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/21Server components or server architectures
    • H04N21/218Source of audio or video content, e.g. local disk arrays
    • H04N21/2187Live feed
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/234Processing of video elementary streams, e.g. splicing of video streams or manipulating encoded video stream scene graphs
    • H04N21/2343Processing of video elementary streams, e.g. splicing of video streams or manipulating encoded video stream scene graphs involving reformatting operations of video signals for distribution or compliance with end-user requests or end-user device requirements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/239Interfacing the upstream path of the transmission network, e.g. prioritizing client content requests
    • H04N21/2393Interfacing the upstream path of the transmission network, e.g. prioritizing client content requests involving handling client requests

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Databases & Information Systems (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The embodiment of the invention discloses a method, a device, a computing device and a computer storage medium for scheduling transcoding resources. The method comprises the following steps: judging whether the number of the pre-application resources in the idle state is smaller than a preset threshold value or not; if so, creating the pre-application resources by adopting a pre-application mechanism, so that the number of the pre-application resources in an idle state after the pre-application resources are created is greater than or equal to a preset threshold value; identifying a type of a transcoding task in response to the received transcoding task; if the transcoding task is of a high priority type, selecting a pre-application resource from the pre-application resources in an idle state to process the transcoding task; and if the transcoding task is of a low priority type, creating a real-time application resource by adopting a real-time application mechanism, and processing the transcoding task by utilizing the real-time application resource. By adopting the scheme, the processing efficiency of the transcoding tasks of the high priority type can be improved, the overall transcoding efficiency is improved, and the maintenance cost of pre-applied resources can be saved.

Description

Transcoding resource scheduling method and device, computing equipment and computer storage medium
Technical Field
The embodiment of the invention relates to the technical field of data processing, in particular to a transcoding resource scheduling method, a transcoding resource scheduling device, computing equipment and a computer storage medium.
Background
With the continuous development of science and technology and society, the emergence of live broadcast services greatly enriches the work and life of people. In the live broadcast service, in order to meet different network environments, different terminal devices, and/or different user requirements, transcoding processing is generally performed on a live broadcast stream, so that the live broadcast stream is converted into a transcoding stream with different coding formats, different resolutions, and/or different code rates.
In the prior art, when transcoding is performed, after a transcoding task is received, transcoding resources such as POD are generally applied from a transcoding cluster, and after the transcoding resources are applied, the transcoding task is processed by using the transcoding resources. However, the transcoding processing efficiency is low due to the adoption of the method, and the transcoding task fails due to the overtime of the transcoding task in serious cases, so that the user experience is reduced.
Disclosure of Invention
Embodiments of the present invention are proposed in view of the technical problem in the prior art that transcoding efficiency is low, so as to provide a method, an apparatus, a computing device and a computer storage medium for scheduling transcoding resources, which overcome the above problems or at least partially solve the above problems.
According to a first aspect of the embodiments of the present invention, a method for scheduling transcoding resources is provided, including:
judging whether the number of the pre-application resources in the idle state is smaller than a preset threshold value or not;
if so, creating the pre-application resources by adopting a pre-application mechanism, so that the number of the pre-application resources in an idle state after the pre-application resources are created is greater than or equal to a preset threshold value;
identifying a type of the transcoding task in response to the received transcoding task; wherein the types comprise a high priority type and a low priority type;
if the transcoding task is of a high priority type, selecting a pre-application resource from pre-application resources in an idle state to process the transcoding task;
and if the transcoding task is of a low priority type, creating a real-time application resource by adopting a real-time application mechanism, and processing the transcoding task by utilizing the real-time application resource.
In an optional embodiment, the method further comprises:
acquiring the number of transcoding tasks received in at least one unit time in a historical time window;
and determining the preset threshold value according to the number of the transcoding tasks received in the unit time.
In an optional implementation manner, the determining the preset threshold according to the number of transcoding tasks received in the at least one unit time further includes:
identifying a maximum value of the number of transcoding tasks received per unit time;
and determining the preset threshold according to the maximum value.
In an optional implementation manner, the determining the preset threshold according to the number of transcoding tasks received in the at least one unit time further includes:
determining a plurality of time periods;
for any time interval, determining a preset threshold value of the time interval according to the number of transcoding tasks received in at least one unit time in the time interval;
the determining whether the number of the pre-application resources currently in the idle state is smaller than a preset threshold further includes: determining a current corresponding target time interval, and acquiring a preset threshold value of the target time interval; and judging whether the number of the pre-application resources in the idle state is smaller than a preset threshold value of the target time period or not.
In an optional embodiment, the identifying the type of the transcoding task further includes:
acquiring a heat parameter of a live broadcast room corresponding to the transcoding task;
and determining the type of the transcoding task according to the heat parameter.
In an optional embodiment, the selecting a pre-application resource from the pre-application resources in the idle state to process the transcoding task further includes:
determining the creation time of each pre-application resource in an idle state;
and selecting the pre-application resource with the earliest creation time from the pre-application resources in the idle state to process the transcoding task.
In an optional implementation manner, the creating a real-time application resource by using a real-time application mechanism further includes: responding to the received starting instruction of the transcoding task, and sending a resource application request to the transcoding cluster; and acquiring real-time application resources generated by the transcoding cluster in response to the resource application request.
In an alternative embodiment, the resource is a POD.
According to a second aspect of the present invention, there is provided a transcoding resource scheduling apparatus, comprising:
the judging module is used for judging whether the number of the pre-application resources in the idle state is smaller than a preset threshold value or not;
the pre-application module is used for creating pre-application resources by adopting a pre-application mechanism if the judgment result of the judgment module is positive, so that the number of the pre-application resources in an idle state after the pre-application resources are created is larger than or equal to a preset threshold value;
the identification module is used for responding to the received transcoding task and identifying the type of the transcoding task; wherein the types comprise a high priority type and a low priority type;
the first processing module is used for selecting pre-application resources from the pre-application resources in an idle state to process the transcoding task if the transcoding task is of a high priority type;
and the second processing module is used for creating a real-time application resource by adopting a real-time application mechanism if the transcoding task is of a low priority type, and processing the transcoding task by utilizing the real-time application resource.
In an alternative embodiment, the apparatus further comprises: the threshold value determining module is used for acquiring the number of transcoding tasks received in at least one unit time in a historical time window;
and determining the preset threshold value according to the number of the transcoding tasks received in the unit time.
In an optional embodiment, the threshold determination module is further configured to: identifying a maximum value of the number of transcoding tasks received per unit time;
and determining the preset threshold according to the maximum value.
In an optional embodiment, the threshold determination module is further configured to: determining a plurality of time periods;
for any time interval, determining a preset threshold value of the time interval according to the number of transcoding tasks received in at least one unit time in the time interval;
the determining module is further configured to: determining a current corresponding target time interval, and acquiring a preset threshold value of the target time interval; and judging whether the number of the pre-application resources in the idle state is smaller than a preset threshold value of the target time period or not.
In an optional embodiment, the identification module is further configured to: acquiring a heat parameter of a live broadcasting room corresponding to the transcoding task;
and determining the type of the transcoding task according to the heat parameter.
In an optional implementation manner, the first processing module is further configured to: determining the creation time of each pre-application resource in an idle state;
and selecting the pre-application resource with the earliest creation time from the pre-application resources in the idle state to process the transcoding task.
In an optional implementation, the second processing module is further configured to: responding to the received starting instruction of the transcoding task, and sending a resource application request to the transcoding cluster;
and acquiring real-time application resources generated by the transcoding cluster in response to the resource application request.
In an alternative embodiment, the resource is a POD.
According to a third aspect of embodiments of the present invention, there is provided a computing device comprising: the system comprises a processor, a memory, a communication interface and a communication bus, wherein the processor, the memory and the communication interface are communicated with each other through the communication bus;
the memory is used for storing at least one executable instruction, and the executable instruction enables the processor to execute the operation corresponding to the transcoding resource scheduling method.
According to a fourth aspect of the embodiments of the present invention, a computer storage medium is provided, where at least one executable instruction is stored in the storage medium, and the executable instruction causes a processor to perform an operation corresponding to the above transcoding resource scheduling method.
According to the embodiment of the invention, the corresponding number of pre-application resources are pre-created before the transcoding task is received, so that the resource application process of the transcoding task is not required when the transcoding task of a high priority type is received subsequently, and the pre-application resources are directly utilized to process the transcoding task of the high priority type; in addition, under the condition that the number of the pre-application resources in the idle state is judged to be smaller than the preset threshold value, the embodiment of the invention supplements new pre-application resources in time, thereby ensuring that the high-efficiency processing requirement of the transcoding task with a high priority type can be met at the peak period of the generation of the transcoding task, and improving the user experience; in addition, the embodiment of the invention applies for new real-time application resources in real time for processing aiming at the transcoding task with the low priority, thereby saving the maintenance cost of the pre-application resources and ensuring the high-efficiency transcoding requirement of the transcoding task with the high priority.
The method and the device for processing the transcoding tasks acquire the number of the transcoding tasks received in at least one unit time in a historical time window, and determine the preset threshold according to the number of the transcoding tasks received in at least one unit time, so that the number of the maintained pre-application resources is matched with the actual transcoding task requirement, the technical defects of resource waste and high maintenance cost caused by excessive created pre-application resources are avoided, and the technical defect of low processing efficiency of the transcoding tasks caused by too few created pre-application resources is avoided.
The embodiment of the invention identifies the maximum value of the number of the transcoding tasks received in unit time, and determines the preset threshold value according to the maximum value, so that the transcoding requirement of the transcoding tasks can be met in time even if the transcoding tasks are in the maximum concurrent number.
The method comprises the steps of determining a plurality of time intervals, and determining a preset threshold value of each time interval according to the number of transcoding tasks received in at least one unit time in each time interval; and determining a current corresponding target time interval, acquiring a preset threshold value of the target time interval, and judging whether the number of the pre-application resources in the idle state is smaller than the preset threshold value of the target time interval. By adopting the method, the preset threshold matched with each time interval can be determined, the adaptability between the preset threshold and the actual transcoding task requirement is further improved, and the reasonability of the number of the created pre-application resources is improved.
According to the embodiment of the invention, the heat parameter of the live broadcast room corresponding to the transcoding task is obtained, and the type of the transcoding task is determined according to the heat parameter, so that the experience of most users can be guaranteed, and the retention rate of the users is improved.
The embodiment of the invention determines the creation time of each pre-application resource in the idle state, and selects the pre-application resource with the earliest creation time from the pre-application resources in the idle state to process the transcoding task, thereby avoiding the pre-application resources from being recycled by the system due to overlong idle time.
When the real-time application resource is created, the resource application request is sent to the transcoding cluster in response to the received starting instruction of the transcoding task, and the real-time application resource generated by the transcoding cluster in response to the resource application request is obtained, so that the real-time application and consumption of the resource can be realized.
The number of resources in the embodiment of the invention is specifically the number of resource units, thereby facilitating the scheduling of the resources. Specifically, the resource unit may be a POD, so that the resource can be created and scheduled by the minimum micro service unit, and the creation efficiency of the resource is improved.
The foregoing description is only an overview of the technical solutions of the embodiments of the present invention, and in order that the technical solutions of the embodiments of the present invention can be clearly understood, the embodiments of the present invention can be implemented according to the content of the description, and the above and other objects, features, and advantages of the embodiments of the present invention can be more clearly understood, the following detailed description of the embodiments of the present invention is given.
Drawings
Various other advantages and benefits will become apparent to those of ordinary skill in the art upon reading the following detailed description of the preferred embodiments. The drawings are only for purposes of illustrating the preferred embodiments and are not to be construed as limiting the embodiments of the invention. Also, like reference numerals are used to refer to like parts throughout the drawings. In the drawings:
fig. 1 illustrates a flowchart of a method for scheduling transcoding resources according to an embodiment of the present invention;
fig. 2 is a schematic flowchart illustrating another transcoding resource scheduling method according to an embodiment of the present invention;
fig. 3 is a flowchart illustrating a transcoding resource scheduling method according to another embodiment of the present invention;
fig. 4 is a schematic structural diagram illustrating a transcoding resource scheduling apparatus according to an embodiment of the present invention;
fig. 5 is a schematic structural diagram of a computing device according to an embodiment of the present invention.
Detailed Description
Exemplary embodiments of the present invention will be described in more detail below with reference to the accompanying drawings. While exemplary embodiments of the present invention are shown in the drawings, it should be understood that the present invention may be embodied in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the embodiments to those skilled in the art.
The inventor of the present application finds, through intensive research on the prior art, that, in the prior art, when a transcoding task is processed, after a generated transcoding task is received each time, a transcoding resource for processing the transcoding task is applied to a transcoding cluster, and after the application is successful, the transcoding resource just applied is reused to process the current transcoding task. Therefore, in the prior art, "receiving a transcoding task → applying for a transcoding resource → processing the transcoding task by using the applied resource", that is, the transcoding resource applying for and the transcoding task processing by using the applied resource are sequentially executed, the processing efficiency of the transcoding task is low, and especially in the peak period of the generation of the transcoding task, the transcoding task cannot be obtained for a long time, so that the task is easily failed due to the overtime of the transcoding task.
In view of this, in the embodiment of the present invention, before the transcoding task is received, a corresponding number of resources is applied in advance, and the number of the resources applied in advance in the idle state is kept not lower than the preset threshold in real time. After receiving the transcoding task with the high priority type, the resource application is not needed, and the pre-applied resource is directly utilized for processing, so that the transcoding efficiency is improved in an asynchronous processing mode; and aiming at the transcoding task with the low priority, the task processing is still carried out after the resource is applied, so that the resource maintenance cost is further saved on the basis of improving the transcoding efficiency.
The transcoding resource scheduling scheme provided by the embodiment of the present invention is explained in detail by various specific examples below.
Fig. 1 shows a flowchart of a resource scheduling method according to an embodiment of the present invention. The scheduling method provided by the embodiment can be executed by a preset scheduling computing device and the like.
Specifically, as shown in fig. 1, the method includes the steps of:
step S110, judging whether the number of the pre-application resources in the idle state is smaller than a preset threshold value or not; if yes, go to step S120.
The embodiment of the invention respectively adopts a pre-application mechanism and a real-time application mechanism to create resources, the resources created by adopting the pre-application mechanism are called pre-application resources, and the resources created by adopting the real-time application mechanism are called real-time application resources. Specifically, the real-time application mechanism creates the resource in real time when the transcoding task is received, where the resource is used to serve the just received transcoding task, in other words, the receiving transcoding task and the creating resource in the real-time application mechanism are sequentially executed. Specifically, the real-time application mechanism is used for responding to a received transcoding task starting instruction, sending a resource application request to the transcoding cluster, and acquiring a real-time application resource generated by the transcoding cluster in response to the resource application request; the pre-application mechanism is not created after receiving the transcoding task, but is created when determining that the number of the pre-application resources in the idle state is insufficient, and the created resources are not directly served to the transcoding task, but are in the idle state first, and when the transcoding task with the high priority type exists, the resources are utilized to serve the transcoding task with the high priority type, in other words, the receiving of the transcoding task and the creation of the resources in the pre-application mechanism are executed asynchronously. In the live broadcast service, the transcoding task starting instruction may specifically be a playback callback.
In a specific implementation process, the number of the pre-application resources currently in an idle state can be detected according to a corresponding detection strategy. For example, the number of pre-application resources currently in an idle state may be detected according to a corresponding period; or, the number of the pre-application resources currently in the idle state can be detected in real time; or, the number of the pre-application resources currently in the idle state may be detected after a corresponding trigger event is monitored, where the trigger event may be a detection instruction of a user, or may be a peak warning generated by a transcoding task, or the like. Specifically, the pre-application resource in the idle state refers to a resource created by using a pre-application mechanism, and the resource is not used for any transcoding task, so that the pre-application resource in the idle state can be directly used for transcoding task processing.
And further comparing the detected number of the pre-application resources in the idle state with a preset threshold value. If the number of the pre-application resources currently in the idle state is smaller than the preset threshold value, indicating that the pre-application resources currently in the idle state cannot meet the task processing requirement of the transcoding task at the peak generation period, executing the subsequent step S120 to create new pre-application resources; if the number of the pre-application resources currently in the idle state is smaller than the preset threshold value, the pre-application resources currently in the idle state can meet the task processing requirement of the transcoding task in the peak period of generation, and no new pre-application resources are created at present, so that the maintenance cost of the pre-application resources is saved.
Step S120, a pre-application mechanism is adopted to create pre-application resources, so that the number of the pre-application resources in an idle state after the pre-application resources are created is larger than or equal to a preset threshold value;
and under the condition that the number of the pre-application resources in the idle state is smaller than a preset threshold value, triggering the creation of the pre-application resources. In a specific implementation process, in step S110, when it is detected that the number of the pre-application resources currently in the idle state is smaller than a preset threshold, a pre-application resource creation instruction is generated, and then creating the pre-application resources by using a pre-application mechanism specifically creates the resources based on the generated pre-application resource creation instruction.
Specifically, the number of the pre-application resources created in this step is determined according to a difference between the number of the pre-application resources currently in the idle state and a preset threshold, so that the number of the pre-application resources in the idle state after the pre-application resources are created is greater than or equal to the preset threshold. For example, if it is detected in step S110 that the number of the pre-application resources currently in the idle state is 5 and the preset threshold is 6, the number of the pre-application resources created in this step is 1.
Therefore, the number of the pre-application resources in the idle state is kept to be larger than or equal to the preset threshold value, so that the transcoding task with a high priority type can be processed in time in the receiving peak period of the transcoding task, and the overall execution efficiency of the transcoding task is improved.
Step S130, responding to the received transcoding task, and identifying the type of the transcoding task; if the transcoding task is of the high priority type, executing step S140; if the transcoding task is of the low priority type, step S150 is performed.
Step S130 is executed asynchronously with step S110 and step S120. This step S130 is triggered when a new transcoding task is generated. Specifically, after the transcoding task is generated, this step identifies its type based on the received transcoding task. The types comprise a high priority type and a low priority type, wherein the transcoding task of the high priority type has a higher priority than the transcoding task of the low priority type. Therefore, the corresponding type of the received transcoding task is determined according to the priority of the received transcoding task. The specific priority determination method is not limited in the embodiment of the present invention, and for example, the priority of the transcoding task may be determined according to a heat value of a live broadcast room to which the transcoding task belongs, a service attribute of the transcoding task (the service attribute may be an entertainment attribute, a temporal attribute, or the like), and the like.
By identifying the type of the transcoding task, a processing mode with high adaptability can be conveniently and subsequently allocated to different types of transcoding tasks. Specifically, if the transcoding task is of a high priority type, step S140 is performed, and if the transcoding task is of a low priority type, step S150 is performed.
And step S140, selecting a pre-application resource from the pre-application resources in the idle state to process the transcoding task.
If the transcoding task is of a high-priority type, the processing requirement of the transcoding task is met preferentially, and then the pre-application resources are selected from the pre-application resources in the idle state to process the transcoding task. Specifically, in response to a received start instruction of the transcoding task, a pre-application resource is directly selected to process the transcoding task without resource application.
The embodiment of the present invention does not limit the specific selection manner.
In an optional selection mode, the pre-application resources can be randomly selected to be used as the pre-application resources for processing the current high-priority type, and the selection efficiency of the pre-application resources can be improved by adopting the mode.
In another alternative selection manner, the selection may be performed according to the order of creation of the pre-application resources. Specifically, the creation time of each pre-application resource in the idle state is determined, and the pre-application resource with the earliest creation time is selected from the pre-application resources in the idle state to process the transcoding task. By adopting the mode, the situation that the pre-application resources are recycled by the system due to overlong idle time can be avoided.
Due to the fact that the pre-application resources are created in advance, the resource application process is not needed for the transcoding task of the high-priority type, the processing path of the transcoding resources is greatly shortened, and the processing efficiency of the transcoding task is improved.
And S150, creating a real-time application resource by adopting a real-time application mechanism, and processing the transcoding task by utilizing the real-time application resource.
In a specific implementation process, if the transcoding task is of a low-priority type, a resource application request is sent to the transcoding cluster in response to a received start instruction of the transcoding task, and a real-time application resource generated by the transcoding cluster in response to the resource application request is acquired. Namely, under the trigger of a starting instruction, resources are applied to the transcoding cluster in real time, and the applied resources are used for processing the transcoding task in time.
And creating a resource after receiving the transcoding task, wherein the resource is a real-time application resource. And processing the transcoding task by using the newly created real-time application resource.
It should be understood that the resource described in the embodiment of the present invention refers to a resource that is requested by a physical module (e.g., a work node in a transcoding cluster), and the resource includes but is not limited to: CPU resources, and/or memory resources, etc., and the number of resources is a parameter for measuring the number of resources, and the number may be a continuous value or a discrete value. In addition, in the embodiment of the present invention, it is not limited from which physical module the resource created each time originates, and thus in the embodiment of the present invention, the pre-application resource and the real-time application resource may be from different physical modules, or may be from the same physical module, that is, in the embodiment of the present invention, transcoding tasks of different priority types are not allocated to different physical modules for execution, in other words, in the embodiment of the present invention, processing processes of transcoding tasks of different types are not physically isolated, and thus the embodiment of the present invention can improve the resource utilization rate of the transcoding cluster.
In an optional implementation manner, to facilitate scheduling of the transcoding resources, the resources may be partitioned and encapsulated into resource units, and CPU parameters and/or memory parameters and the like corresponding to each resource unit are fixed. Therefore, in the resource scheduling process, the resource units are used as the granularity for scheduling, and the quantity of the resources described in the embodiment of the present invention specifically refers to the quantity of the resource units. For example, in the kubrenes cluster, the POD is the smallest scheduling resource unit, and the resource described in the embodiment of the present invention may specifically be the POD.
Therefore, according to the embodiment of the invention, the corresponding number of pre-application resources are pre-established before the transcoding task is received, so that the resource application process of the transcoding task is not required to be carried out when the transcoding task of a high priority type is received subsequently, the pre-application resources are directly utilized to process the transcoding task of the high priority type, and by adopting the asynchronous processing mode, the processing efficiency of the transcoding task of the high priority type can be improved, and the whole transcoding efficiency is improved; in addition, under the condition that the number of the pre-application resources in the idle state is judged to be smaller than the preset threshold value, the embodiment of the invention supplements new pre-application resources in time, thereby ensuring that the high-efficiency processing requirement of the transcoding task with a high priority type can be met at the peak period of the generation of the transcoding task, and improving the user experience; in addition, the embodiment of the invention applies for new real-time application resources in real time for processing aiming at the transcoding task with the low priority, thereby saving the maintenance cost of the pre-application resources and ensuring the high-efficiency transcoding requirement of the transcoding task with the high priority.
Fig. 2 is a flowchart illustrating a resource scheduling method according to another embodiment of the present invention. The scheduling method provided by this embodiment may be executed by a preset scheduling computing device or the like.
Specifically, as shown in fig. 2, the method includes the steps of:
step S210, obtaining the number of transcoding tasks received in at least one unit time in the historical time window, and determining a preset threshold according to the number of transcoding tasks received in the at least one unit time.
In the embodiment of the invention, the preset threshold is not set manually, but determined based on the requirements of historical transcoding tasks. Specifically, the number of transcoding tasks received in at least one unit time in a historical time window is obtained. The historical time window is specifically a historical time period, for example, the historical time window may be the last week, the last day, and the like. The historical time window is equally divided into a plurality of time intervals, each time interval has the same length, and the time interval is a unit time, for example, the unit time can be one minute, thirty seconds, and the like. And then respectively counting the number of the transcoding tasks received in each unit time.
Further, a preset threshold value is determined according to the acquired number of the transcoding tasks received in at least one unit time. The method for determining the preset threshold according to the number of the transcoding tasks received in at least one unit time includes, but is not limited to, at least one of the following methods:
the determination method is as follows: and identifying the maximum value of the number of the transcoding tasks received in unit time, and determining a preset threshold value according to the maximum value. The maximum value indicates the maximum concurrent number of the transcoding tasks in the historical unit time, and the maximum value can be used as a preset threshold value, so that the transcoding requirement of the transcoding task can be met in time when the transcoding task is in the maximum concurrent number. Or, a preset threshold may be determined according to the maximum value and the ratio of the transcoding task of the high priority type in the historical time window, for example, a product of the maximum value and the ratio may be used as the preset threshold, and by using this method, waste of the pre-application resource can be avoided, and system resources are saved.
A second determination method comprises the following steps: and identifying a mode or an average value of the number of the transcoding tasks received in unit time, and determining a preset threshold according to the mode or the average value. Wherein the mode or average indicates a prevailing number of transcoding tasks within a historical unit of time. The preset threshold value obtained based on the mode or the average value can balance the processing speed of the transcoding task and the resource maintenance cost.
In addition, the number of transcoding tasks of a high priority type received in at least one unit time in a historical time window can be obtained, and a preset threshold value is determined according to the number. For example, the preset threshold value and the like are determined according to the maximum value of the number of transcoding tasks of the high priority type received per unit time within the historical time window.
In an optional embodiment, since the number of received transcoding tasks may fluctuate over time, in this embodiment, a plurality of time periods are predetermined based on the characteristic, and for any time period, the preset threshold value of the time period is determined according to the number of received transcoding tasks in at least one unit time in the time period. For example, the determined period of time includes: at night 8:00-10, and if the historical time window is the last week, acquiring the time difference value of 8:00-10, and then determining the number of transcoding tasks received per unit time in the evening 8: 00-10. Thus, each time period has a matching preset threshold.
In another optional implementation manner, in order to avoid that the number of the created pre-application resources is too large and affects the overall service processing performance of the resource source, the maximum value of the preset threshold may be further determined according to the performance parameter of the resource source. For example, if the resource source is the transcoding cluster, the CPU and/or the memory configuration information of the transcoding cluster is obtained, and then the maximum value of the preset threshold is determined based on the CPU and/or the memory configuration information of the transcoding cluster and the preset ratio. For example, the maximum value may be a preset proportion of the number of resources that can be provided by the transcoding cluster.
Step S220, judging whether the number of the pre-application resources in the idle state is smaller than a preset threshold value or not; if yes, go to step S230.
In an optional implementation manner, if the preset threshold value of each time period is determined in step S210, the step first determines a current corresponding target time period, obtains the preset threshold value of the target time period, and then determines whether the number of the pre-application resources currently in the idle state is smaller than the preset threshold value of the target time period. Wherein, the time interval of the current time is the target time interval.
Step S230, a pre-application mechanism is used to create pre-application resources, so that the number of pre-application resources in an idle state after the pre-application resources are created is greater than or equal to a preset threshold.
Step S240, responding to the received transcoding task, and identifying the type of the transcoding task; if the transcoding task is of the high priority type, executing step S250; if the transcoding task is of the low priority type, step S260 is executed.
In the embodiment of the invention, the heat parameter of the live broadcasting room corresponding to the transcoding task is obtained, and the type of the transcoding task is determined according to the heat parameter. The heat parameter may be the number of viewers, the number of interactions, etc. For example, historical heat parameters of live webbings can be obtained in advance, the live webbings are sorted according to the historical heat parameters of the live webbings, then the top x% of the live webbings are selected as high-priority live webbings, and other live webbings are selected as low-priority live webbings. And then generating a corresponding mapping table, wherein each live broadcast room identifier and a corresponding priority type are recorded in the mapping table, and the priority type comprises a high priority type and a low priority type. Therefore, after the transcoding task is received, the live broadcasting room identification corresponding to the transcoding task is determined, then the priority type matched with the live broadcasting room identification corresponding to the transcoding task is determined by searching the mapping table, if the matched priority type is a high priority type, the transcoding task is determined to be the high priority type, and if the matched priority type is a low priority type, the transcoding task is determined to be the low priority type.
And step S250, selecting pre-application resources from the pre-application resources in the idle state to process the transcoding task.
And step S260, creating real-time application resources by adopting a real-time application mechanism, and processing the transcoding task by utilizing the real-time application resources.
Therefore, the embodiment of the invention processes the transcoding task with the high priority type by using the pre-established pre-application resources, thereby improving the processing efficiency of the transcoding task with the high priority type and the overall execution efficiency of the transcoding task; new pre-application resources are supplemented in time, the high-efficiency processing requirement of the transcoding task of a high priority type is met in the peak period of the generation of the transcoding task, and the user experience is improved; in addition, the embodiment of the invention applies for new real-time application resources in real time for processing aiming at the transcoding task with the low priority, thereby saving the maintenance cost of the pre-application resources and ensuring the high-efficiency transcoding requirement of the transcoding task with the high priority.
In addition, the preset threshold value in the embodiment of the invention is determined according to the number of the transcoding tasks received in the historical unit time, so that the number of the maintained pre-application resources is adapted to the actual transcoding task requirement, the technical defects of resource waste and high maintenance cost caused by excessive created pre-application resources are avoided, and the technical defect of low processing efficiency of the transcoding tasks caused by too few created pre-application resources is avoided.
Fig. 3 is a flowchart illustrating a resource scheduling method according to another embodiment of the present invention. The scheduling method provided by the embodiment can be executed by a preset scheduling computing device and the like.
Specifically, the embodiment of the present invention is applied to a kubrentes cluster, and the resource described in the embodiment of the present invention is specifically a POD. The POD is the smallest unit that runs a deployed application or service in the kubrentes cluster.
As shown in fig. 3, the method comprises the steps of:
step S310, inquiring the current POD in the idle state through the POD state inquiry instruction, and judging whether the current POD in the idle state is smaller than a preset threshold value; if yes, go to step S320.
In a specific implementation, each POD that survives has corresponding state information, where the state includes: idle state, processing state, suspend state, and the like. The idle state is that the POD is successfully created but the task is not deployed, the processing state is that the POD is successfully created and the task is deployed, and the suspension state is that the POD is not successfully created. PODs in an idle state can be quickly screened out by a POD state inquiry instruction. In addition, the real-time application resource created by the real-time application mechanism is directly used for processing the transcoding task after being created, so that the POD in the idle state obtained in the step is the pre-application resource in the idle state.
In step S320, PODs are created such that the number of PODs in the idle state after the PODs are created is greater than or equal to a preset threshold.
In an optional implementation manner, in a case that the current resources of the cluster are insufficient or there are other failures, there is a case that the POD cannot be created successfully, and in this case, the POD is created after waiting for a preset time period, and the POD in the suspended state is cleared in time.
Step S330, responding to the received transcoding task, and placing the transcoding task in a high-priority queue or a low-priority queue according to the type of the transcoding task.
Typically, after receiving a playback callback of a live broadcast room, a corresponding transcoding task is generated. This step receives the generated transcoding task. When a large number of generated transcoding tasks are available, the system cannot process each transcoding task in time, so that the received transcoding tasks can be stored in corresponding queues. Specifically, the type of a transcoding task is identified, and if the transcoding task is a high-priority type, the transcoding task is placed in a high-priority queue; and if the transcoding task is of a low-priority type, placing the transcoding task in a low-priority queue.
Step S340, acquiring a transcoding task from the high-priority queue, and selecting an idle POD to process the transcoding task.
And selecting the transcoding task with the earliest receiving time from the high-priority queue, and directly selecting the created POD in the idle state to process the transcoding task.
Step S350, acquiring a transcoding task from the low-priority queue, creating a POD for the transcoding task, and processing the transcoding task by using the created POD.
And selecting the transcoding task with the earliest receiving time from the low-priority queue, creating a POD (POD) for the transcoding task, and deploying the transcoding task in the newly created POD.
Therefore, the embodiment of the invention utilizes the pre-created POD to process the transcoding task with the high priority type, thereby improving the processing efficiency of the transcoding task with the high priority type and the overall execution efficiency of the transcoding task; a new POD is supplemented in time, the high-efficiency processing requirement of the transcoding task with a high priority type is met in the peak period of the generation of the transcoding task, and the user experience is improved; in addition, the embodiment of the invention applies for a new POD in real time for processing aiming at the transcoding task with the low priority, thereby saving the maintenance cost of the created POD and ensuring the high-efficiency transcoding requirement of the transcoding task with the high priority.
Fig. 4 is a schematic structural diagram illustrating a transcoding resource scheduling apparatus according to an embodiment of the present invention. As shown in fig. 4, the apparatus 400 for scheduling transcoding resources comprises a determining module 410, a pre-application module 420, an identifying module 430, a first processing module 440, and a second processing module 450.
A judging module 410, configured to judge whether the number of pre-application resources currently in an idle state is smaller than a preset threshold;
a pre-application module 420, configured to create a pre-application resource by using a pre-application mechanism if the determination result of the determination module is yes, so that the number of pre-application resources in an idle state after the pre-application resource is created is greater than or equal to a preset threshold;
an identifying module 430, configured to identify a type of the transcoding task in response to the received transcoding task;
the first processing module 440 is configured to select a pre-application resource from pre-application resources in an idle state to process the transcoding task if the transcoding task is of a high priority type;
and a second processing module 450, configured to create a real-time application resource by using a real-time application mechanism if the transcoding task is of a low priority type, and process the transcoding task by using the real-time application resource.
In an alternative embodiment, the apparatus further comprises: the threshold value determining module is used for acquiring the number of transcoding tasks received in at least one unit time in a historical time window;
and determining the preset threshold value according to the number of the transcoding tasks received in the unit time.
In an optional embodiment, the threshold determination module is further configured to: identifying a maximum value of the number of transcoding tasks received per unit time;
and determining the preset threshold according to the maximum value.
In an optional embodiment, the threshold determination module is further configured to: determining a plurality of time periods;
for any time interval, determining a preset threshold value of the time interval according to the number of transcoding tasks received in at least one unit time in the time interval;
the determining module is further configured to: determining a current corresponding target time interval, and acquiring a preset threshold value of the target time interval; and judging whether the number of the pre-application resources in the idle state is smaller than a preset threshold value of the target time interval or not.
In an optional embodiment, the identification module is further configured to: acquiring a heat parameter of a live broadcast room corresponding to the transcoding task;
and determining the type of the transcoding task according to the heat parameter.
In an optional implementation, the first processing module is further configured to: determining the creation time of each pre-application resource in an idle state;
and selecting the pre-application resource with the earliest creation time from the pre-application resources in the idle state to process the transcoding task.
In an optional implementation, the second processing module is further configured to: responding to the received starting instruction of the transcoding task, and sending a resource application request to the transcoding cluster;
and acquiring real-time application resources generated by the transcoding cluster in response to the resource application request.
In an alternative embodiment, the resource is a POD.
The specific implementation process of each module in the apparatus may refer to the description in the above method embodiment, and is not described herein again.
Therefore, the embodiment of the invention creates the pre-application resources with the corresponding quantity in advance before the transcoding task is received, so that the resource application process of the transcoding task is not required to be carried out when the transcoding task with the high priority type is received subsequently, the pre-application resources are directly utilized to process the transcoding task with the high priority type, and by adopting the asynchronous processing mode, the processing efficiency of the transcoding task with the high priority type can be improved, and the overall execution efficiency of the transcoding task can be improved; in addition, under the condition that the number of the pre-application resources in the idle state is judged to be smaller than the preset threshold value, the embodiment of the invention supplements new pre-application resources in time, thereby ensuring that the high-efficiency processing requirement of the transcoding task with a high priority type can be met at the peak period of the generation of the transcoding task, and improving the user experience; in addition, the embodiment of the invention applies for a new real-time application resource in real time for processing aiming at the transcoding task with the low priority type, thereby saving the maintenance cost of the pre-application resource and ensuring the high-efficiency transcoding requirement of the transcoding task with the high priority type.
Fig. 5 is a schematic structural diagram of a computing device according to an embodiment of the present invention. The specific embodiments of the present invention do not limit the specific implementation of the computing device.
As shown in fig. 5, the computing device may include: a processor (processor) 502, a Communications Interface 504, a memory 506, and a communication bus 508.
Wherein: the processor 502, communication interface 504, and memory 506 communicate with one another via a communication bus 508. A communication interface 504 for communicating with network elements of other devices, such as clients or other computing devices. The processor 502 is configured to execute the program 510, and may specifically execute relevant steps in the foregoing transcoding resource scheduling method embodiment.
In particular, program 510 may include program code that includes computer operating instructions.
The processor 502 may be a central processing unit CPU, or an Application Specific Integrated Circuit (ASIC), or one or more Integrated circuits configured to implement an embodiment of the invention. Scheduling one or more processors included in the computing device, which may be the same type of processor, such as one or more CPUs; or may be different types of processors such as one or more CPUs and one or more ASICs.
A memory 506 for storing a program 510. The memory 506 may comprise high-speed RAM memory, and may also include non-volatile memory (non-volatile memory), such as at least one disk memory. The program 510 may specifically be adapted to cause the processor 502 to perform the method in any of the above-described method embodiments.
The embodiment of the invention provides a nonvolatile computer storage medium, wherein at least one executable instruction is stored in the computer storage medium, and the computer executable instruction can execute the transcoding resource scheduling method in any method embodiment.
The algorithms or displays presented herein are not inherently related to any particular computer, virtual machine, or other apparatus. Various general purpose systems may also be used with the teachings herein. The required structure for constructing such a system will be apparent from the description above. In addition, embodiments of the present invention are not directed to any particular programming language. It is appreciated that a variety of programming languages may be used to implement the teachings of embodiments of the present invention as described herein, and any descriptions of specific languages are provided above to disclose the best mode of use of an embodiment of the present invention.
In the description provided herein, numerous specific details are set forth. However, it is understood that embodiments of the invention may be practiced without these specific details. In some instances, well-known methods, structures and techniques have not been shown in detail in order not to obscure an understanding of this description.
Similarly, it should be appreciated that in the foregoing description of exemplary embodiments of the invention, various features of the embodiments of the invention are sometimes grouped together in a single embodiment, figure, or description thereof for the purpose of streamlining the disclosure and aiding in the understanding of one or more of the various inventive aspects. However, the disclosed method should not be interpreted as reflecting an intention that: that is, the claimed embodiments of the invention require more features than are expressly recited in each claim. Rather, as the following claims reflect, inventive aspects lie in less than all features of a single foregoing disclosed embodiment. Thus, the claims following the detailed description are hereby expressly incorporated into this detailed description, with each claim standing on its own as a separate embodiment of an embodiment of this invention.
Those skilled in the art will appreciate that the modules in the devices in an embodiment may be adaptively changed and arranged in one or more devices different from the embodiment. The modules or units or components of the embodiments may be combined into one module or unit or component, and furthermore they may be divided into a plurality of sub-modules or sub-units or sub-components. All of the features disclosed in this specification (including any accompanying claims, abstract and drawings), and all of the processes or elements of any method or apparatus so disclosed, may be combined in any combination, except combinations where at least some of such features and/or processes or elements are mutually exclusive. Each feature disclosed in this specification (including any accompanying claims, abstract and drawings) may be replaced by alternative features serving the same, equivalent or similar purpose, unless expressly stated otherwise.
Moreover, those of skill in the art will appreciate that while some embodiments herein include some features included in other embodiments, not others, combinations of features of different embodiments are meant to be within the scope of embodiments of the invention and form different embodiments. For example, in the following claims, any of the claimed embodiments may be used in any combination.
The various component embodiments of the invention may be implemented in hardware, or in software modules running on one or more processors, or in a combination thereof. Those skilled in the art will appreciate that a microprocessor or Digital Signal Processor (DSP) may be used in practice to implement some or all of the functionality of some or all of the components according to embodiments of the present invention. Embodiments of the invention may also be implemented as apparatus or device programs (e.g., computer programs and computer program products) for performing a portion or all of the methods described herein. Such programs implementing embodiments of the present invention may be stored on computer-readable media or may be in the form of one or more signals. Such a signal may be downloaded from an internet website or provided on a carrier signal or in any other form.
It should be noted that the above-mentioned embodiments illustrate rather than limit embodiments of the invention, and that those skilled in the art will be able to design alternative embodiments without departing from the scope of the appended claims. In the claims, any reference signs placed between parentheses shall not be construed as limiting the claim. The word "comprising" does not exclude the presence of elements or steps not listed in a claim. The word "a" or "an" preceding an element does not exclude the presence of a plurality of such elements. Embodiments of the invention may be implemented by means of hardware comprising several distinct elements, and by means of a suitably programmed computer. In the unit claims enumerating several means, several of these means can be embodied by one and the same item of hardware. The usage of the words first, second and third, etcetera do not indicate any ordering. These words may be interpreted as names. The steps in the above embodiments should not be construed as limiting the order of execution unless specified otherwise.

Claims (11)

1. A method for scheduling transcoding resources, comprising:
judging whether the number of the pre-application resources in the idle state is smaller than a preset threshold value or not;
if so, creating the pre-application resources by adopting a pre-application mechanism so that the number of the pre-application resources in an idle state after the pre-application resources are created is larger than or equal to a preset threshold value;
identifying a type of the transcoding task in response to the received transcoding task; wherein the types comprise a high priority type and a low priority type;
if the transcoding task is of a high priority type, selecting a pre-application resource from the pre-application resources in an idle state to process the transcoding task;
and if the transcoding task is of a low priority type, creating a real-time application resource by adopting a real-time application mechanism, and processing the transcoding task by utilizing the real-time application resource.
2. The method of claim 1, further comprising:
acquiring the number of transcoding tasks received in at least one unit time in a historical time window;
and determining the preset threshold value according to the number of the transcoding tasks received in the unit time.
3. The method of claim 2, wherein the determining the preset threshold according to the number of transcoding tasks received per unit time further comprises:
identifying a maximum value of the number of transcoding tasks received per unit time;
and determining the preset threshold according to the maximum value.
4. The method according to claim 2 or 3, wherein the determining the preset threshold value according to the number of transcoding tasks received per unit time further comprises:
determining a plurality of time periods;
for any time interval, determining a preset threshold value of the time interval according to the number of transcoding tasks received in at least one unit time in the time interval;
the determining whether the number of the pre-application resources currently in the idle state is smaller than a preset threshold further includes: determining a current corresponding target time interval, and acquiring a preset threshold value of the target time interval; and judging whether the number of the pre-application resources in the idle state is smaller than a preset threshold value of the target time period or not.
5. The method according to any one of claims 1-4, wherein the identifying the type of the transcoding task further comprises:
acquiring a heat parameter of a live broadcasting room corresponding to the transcoding task;
and determining the type of the transcoding task according to the heat parameter.
6. The method according to any one of claims 1-5, wherein the selecting a pre-application resource from the pre-application resources in an idle state to process the transcoding task further comprises:
determining the creation time of each pre-application resource in an idle state;
and selecting the pre-application resource with the earliest creation time from the pre-application resources in the idle state to process the transcoding task.
7. The method according to any one of claims 1-6, wherein the creating a real-time application resource using a real-time application mechanism further comprises:
responding to the received starting instruction of the transcoding task, and sending a resource application request to the transcoding cluster;
and acquiring real-time application resources generated by the transcoding cluster in response to the resource application request.
8. The method according to any of claims 1-7, wherein the resource is a POD.
9. A transcoding resource scheduling apparatus, comprising:
the judging module is used for judging whether the number of the pre-application resources in the idle state is smaller than a preset threshold value or not;
the pre-application module is used for creating pre-application resources by adopting a pre-application mechanism if the judgment result of the judgment module is yes, so that the number of the pre-application resources in an idle state after the pre-application resources are created is larger than or equal to a preset threshold value;
the identification module is used for responding to the received transcoding task and identifying the type of the transcoding task; wherein the type comprises a high priority type or a low priority type;
the first processing module is used for selecting pre-application resources from the pre-application resources in an idle state to process the transcoding task if the transcoding task is of a high priority type;
and the second processing module is used for creating a real-time application resource by adopting a real-time application mechanism if the transcoding task is of a low priority type, and processing the transcoding task by utilizing the real-time application resource.
10. A computing device, comprising: the system comprises a processor, a memory, a communication interface and a communication bus, wherein the processor, the memory and the communication interface are communicated with each other through the communication bus;
the memory is used for storing at least one executable instruction, and the executable instruction causes the processor to execute the operation corresponding to the transcoding resource scheduling method in any one of claims 1-8.
11. A computer storage medium, wherein at least one executable instruction is stored in the storage medium, and the executable instruction causes a processor to perform an operation corresponding to the transcoding resource scheduling method according to any one of claims 1 to 8.
CN202210789346.9A 2022-07-06 2022-07-06 Transcoding resource scheduling method and device, computing equipment and computer storage medium Pending CN115174952A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210789346.9A CN115174952A (en) 2022-07-06 2022-07-06 Transcoding resource scheduling method and device, computing equipment and computer storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210789346.9A CN115174952A (en) 2022-07-06 2022-07-06 Transcoding resource scheduling method and device, computing equipment and computer storage medium

Publications (1)

Publication Number Publication Date
CN115174952A true CN115174952A (en) 2022-10-11

Family

ID=83490845

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210789346.9A Pending CN115174952A (en) 2022-07-06 2022-07-06 Transcoding resource scheduling method and device, computing equipment and computer storage medium

Country Status (1)

Country Link
CN (1) CN115174952A (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1930893A (en) * 2004-03-08 2007-03-14 北方电讯网络有限公司 Pre-allocating resources of a wireless network for packet-switched real-time, interactive communications
US20090183218A1 (en) * 2008-01-10 2009-07-16 At&T Knowledge Ventures, Lp Predictive Allocation of Multimedia Server Resources
CN105721901A (en) * 2014-12-31 2016-06-29 乐视云计算有限公司 Video transcoder adaption method, device and system
US9742684B1 (en) * 2012-11-01 2017-08-22 Amazon Technologies, Inc. Adaptive service scaling
US10191954B1 (en) * 2012-05-07 2019-01-29 Amazon Technologies, Inc. Prioritized transcoding of media content
US20210112116A1 (en) * 2019-10-14 2021-04-15 Qatar University Forecasting and reservation of transcoding resources for live streaming
CN114489978A (en) * 2022-01-13 2022-05-13 北京达佳互联信息技术有限公司 Resource scheduling method, device, equipment and storage medium

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1930893A (en) * 2004-03-08 2007-03-14 北方电讯网络有限公司 Pre-allocating resources of a wireless network for packet-switched real-time, interactive communications
US20090183218A1 (en) * 2008-01-10 2009-07-16 At&T Knowledge Ventures, Lp Predictive Allocation of Multimedia Server Resources
US10191954B1 (en) * 2012-05-07 2019-01-29 Amazon Technologies, Inc. Prioritized transcoding of media content
US9742684B1 (en) * 2012-11-01 2017-08-22 Amazon Technologies, Inc. Adaptive service scaling
CN105721901A (en) * 2014-12-31 2016-06-29 乐视云计算有限公司 Video transcoder adaption method, device and system
US20210112116A1 (en) * 2019-10-14 2021-04-15 Qatar University Forecasting and reservation of transcoding resources for live streaming
CN114489978A (en) * 2022-01-13 2022-05-13 北京达佳互联信息技术有限公司 Resource scheduling method, device, equipment and storage medium

Similar Documents

Publication Publication Date Title
CN111399989B (en) Container cloud-oriented task preemption and scheduling method and system
CN110659123B (en) Distributed task distribution scheduling method and device based on message
CN111949386A (en) Task scheduling method, system, computing device and readable storage medium
CN111030945B (en) Disaster recovery method, disaster recovery gateway, storage medium, device and system
CN109800204B (en) Data distribution method and related product
CN107818012B (en) Data processing method and device and electronic equipment
CN111427694A (en) Task execution method, device, system and server
WO2017008477A1 (en) Cluster video analysis method and system
CN109491775B (en) Task processing and scheduling method used in edge computing environment
CN105022668B (en) Job scheduling method and system
CN114679592A (en) Edge cluster scheduling method and device
CN109117244B (en) Method for implementing virtual machine resource application queuing mechanism
CN114489867A (en) Algorithm module scheduling method, algorithm module scheduling device and readable storage medium
US20240202024A1 (en) Thread processing methods, scheduling component, monitoring component, server, and storage medium
CN114661449B (en) Task scheduling method, embedded system and computer readable storage medium
CN112363834A (en) Task processing method, device, terminal and storage medium
CN109117263B (en) Method and device for releasing memory of user terminal
CN111831408A (en) Asynchronous task processing method and device, electronic equipment and medium
CN113472893B (en) Data processing method, device, computing equipment and computer storage medium
CN115174952A (en) Transcoding resource scheduling method and device, computing equipment and computer storage medium
CN110175078B (en) Service processing method and device
CN110941597B (en) Method and device for cleaning decompressed file, computing equipment and computer storage medium
CN115617532B (en) Target tracking processing method, system and related device
CN112073327A (en) Anti-congestion software distribution method, device and storage medium
CN110795239A (en) Application memory leakage detection method and device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination