TWI610559B - Method and device for optimizing video transcoding - Google Patents
Method and device for optimizing video transcoding Download PDFInfo
- Publication number
- TWI610559B TWI610559B TW105134747A TW105134747A TWI610559B TW I610559 B TWI610559 B TW I610559B TW 105134747 A TW105134747 A TW 105134747A TW 105134747 A TW105134747 A TW 105134747A TW I610559 B TWI610559 B TW I610559B
- Authority
- TW
- Taiwan
- Prior art keywords
- transcoder
- information
- load
- transcoding
- performance function
- Prior art date
Links
Landscapes
- Compression Or Coding Systems Of Tv Signals (AREA)
- Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
Description
本發明係關於一種最佳化視訊轉碼的方法與裝置,特別是指一種同時利用轉碼格式與轉碼器的特性,估算轉碼所需運算資源、轉碼器負載資訊,進而分配轉碼任務到最適合的轉碼器,達成最佳化轉碼效能的方法與裝置。 The invention relates to a method and a device for optimizing video transcoding, in particular to a method for simultaneously utilizing a transcoding format and a transcoder, estimating a computing resource required for transcoding, a transcoder load information, and further assigning a transcoding. The task is to the most suitable transcoder to achieve a method and apparatus for optimizing transcoding performance.
視訊轉碼技術隨著視訊壓縮標準不斷發展亦不斷地進步,當轉檔影片數量較少時,一般可採用單台轉碼器執行轉碼任務,當影片數量較大時,則採用多台轉碼器併行,或使用雲端設備進行擴充,無論哪種方式,當轉碼伺服器同時執行多個轉碼任務時,因轉碼任務太多太複雜,會造成伺服器過載、效能下降、伺服器無法回應等問題,進而導致轉碼時間無法控制、與其它設備(如資料庫、操作介面、NAS網路儲存設備等)無法正常溝通與運作。反之,若使用過多的轉碼伺服器則造成伺服器運作閒置、浪費資源成本。 Video transcoding technology continues to improve with the continuous development of video compression standards. When the number of converted videos is small, a single transcoder can generally be used to perform transcoding tasks. When the number of video files is large, multiple conversions are used. The code is parallel, or is extended by using a cloud device. In either case, when the transcoding server executes multiple transcoding tasks at the same time, the transcoding task is too complicated and too complicated, which may cause server overload, performance degradation, and server. Unable to respond to other issues, resulting in uncontrollable transcoding time and communication and operation with other devices (such as database, operation interface, NAS network storage device, etc.). Conversely, if too many transcoding servers are used, the server will be idle and waste resources.
現有技術中,將影片轉碼工作分配給不同轉碼節點的方法,其特徵在於引入一個節點管理器,節點管理器會判斷轉碼影片的格式如影片大小等再分配給轉碼節點,然而,此方法僅僅考慮影片本身的特性,卻沒有考慮轉碼節點本身所能轉碼的能力及當時的負載,因此無法正 確的分配轉碼工作,亦無法達成轉碼節點的最大效率。 In the prior art, a method for assigning a video transcoding work to different transcoding nodes is characterized in that a node manager is introduced, and the node manager determines that the format of the transcoded movie, such as the size of the movie, is redistributed to the transcoding node, however, This method only considers the characteristics of the film itself, but does not consider the ability of the transcoding node itself to transcode and the load at that time, so it cannot be positive. The correct allocation of transcoding work can not achieve the maximum efficiency of the transcoding node.
現有技術中,在同一台轉碼伺服器中平衡不同轉碼工作間轉碼速率的方法,其特徵在於觀察轉碼工作輸出影片的速率,當第一個轉碼工作輸出高於第二個轉碼工作,則降低第一個轉碼工作速率,提高第二個轉碼工作速率。然而,此方法僅僅是讓轉碼工作速率達到平衡,並無提高轉碼工作效率的功效,也沒有考慮影片本身的特性無法有效利用轉碼伺服器效能。 In the prior art, a method for balancing transcoding rates of different transcoding jobs in the same transcoding server is characterized by observing the rate at which the transcoding work outputs a movie, when the first transcoding work output is higher than the second transcoding. When the code works, the first transcoding work rate is lowered, and the second transcoding work rate is increased. However, this method only balances the transcoding work rate, does not improve the efficiency of transcoding work, and does not consider the characteristics of the film itself to effectively utilize the transcoding server performance.
本案發明人鑑於上述習用方式所衍生的缺點,乃亟思加以改良創新,並經多年苦心孤詣潛心研究後,終於成功研發完成一種最佳化視訊轉碼的方法。 In view of the shortcomings derived from the above-mentioned conventional methods, the inventor of the present invention has improved and innovated, and after years of painstaking research, he finally succeeded in researching and developing a method for optimizing video transcoding.
本發明提供一種最佳化視訊轉碼的方法與裝置,可解決轉碼伺服器過載、效能下降、伺服器無法回應、轉碼時間無法控制、與其它設備(如資料庫、操作介面、NAS網路儲存設備等)無法正常溝通與運作等問題,同時,亦可解決使用過多的台轉碼伺服器造成伺服器運作閒置、浪費資源成本等問題。 The invention provides a method and a device for optimizing video transcoding, which can solve the overload of the transcoding server, the performance degradation, the server can not respond, the transcoding time cannot be controlled, and other devices (such as the database, the operation interface, the NAS network) Road storage devices, etc.) can not properly communicate and operate problems, but also can solve the problem of using too many transcoding servers to cause the server to idle, waste resource costs and so on.
本發明提供一種最佳化視訊轉碼的方法與裝置,同時使用轉碼格式與轉碼器的特性,預估加入轉碼任務所需運算資源、轉碼器負載資訊,有效分配轉碼任務到最適合的轉碼器上,讓運算資源達到最有效的使用。 The invention provides a method and a device for optimizing video transcoding. At the same time, using the transcoding format and the characteristics of the transcoder, estimating the computing resources, transcoder load information required for adding the transcoding task, and effectively allocating the transcoding task to The most suitable transcoder allows the most efficient use of computing resources.
本發明之最佳化視訊轉碼的方法,步驟包含:a.決定轉 碼器效能函式,其中該函式可利用解碼資訊、編碼資訊、濾波資訊,預估與計算出轉碼器負載資訊,決定該函式的方式為將已知轉碼任務中解碼資訊、編碼資訊、濾波資訊視為輸入,與其對應的轉碼器負載資訊視為輸出,計算出轉碼器效能函式係數;步驟b.以該轉碼器效能函式預估加入新的轉碼任務後轉碼器負載資訊,並以該轉碼器負載資訊判斷是否為有效狀態;以及步驟c.正規化(normalize)被判斷為有效狀態的轉碼器負載資訊,依該正規化的轉碼器負載資訊分配轉碼任務。透過本方法可達成最佳化分配轉碼任務的功效。 The method for optimizing video transcoding of the present invention comprises the steps of: a. The code function function, wherein the function can use the decoding information, the coding information, the filtering information, and predict and calculate the transcoder load information, and the method of determining the function is to decode the information and code in the known transcoding task. The information and filtering information are regarded as inputs, and the corresponding transcoder load information is regarded as an output, and the transcoder performance function coefficient is calculated; step b. after the new transcoding task is added by the transcoder performance function estimation The transcoder load information, and judges whether it is a valid state by using the transcoder load information; and step c. normalizes the transcoder load information that is determined to be in an effective state, according to the normalized transcoder load Information distribution transcoding task. Through this method, the effect of optimizing the allocation transcoding task can be achieved.
本發明提供一種最佳化視訊轉碼的方法與裝置,解決視訊轉碼因為編碼標準、影片大小、品質等格式的不同,使用的轉碼伺服器效能亦不同等狀況,產生無法事先估算轉碼任務所需運算資源的問題。本發明先透過已知的轉碼狀態決定轉碼器效能函式,再將新的轉碼任務代入轉碼器效能函式達成事先估算轉碼器負載的功效,進而最佳化視訊轉碼效能。 The invention provides a method and a device for optimizing video transcoding, which solves the problem that the transcoding server uses different performances due to different encoding standards, film size, quality and other formats, and the transcoding server cannot be estimated in advance. The problem with the computing resources required for the task. The invention first determines the transcoder performance function through the known transcoding state, and then substitutes the new transcoding task into the transcoder performance function to achieve the effect of estimating the transcoder load in advance, thereby optimizing the video transcoding efficiency. .
本發明建立的轉碼器效能函式提供一種轉碼伺服器效能的自動評估方式,可用於評估設備的擴充,解決多餘的擴充成本,伺服器運作閒置、浪費資源成本等問題。 The transcoder performance function established by the invention provides an automatic evaluation method for the performance of the transcoding server, which can be used for evaluating the expansion of the device, solving the redundant expansion cost, idle operation of the server, and wasting resource costs.
本發明提供預估轉檔時間的方法,可讓使用者控制與管理轉檔時間,解決因轉碼器過載造成轉檔時間延遲的問題。 The invention provides a method for estimating the shift time, which allows the user to control and manage the shift time and solve the problem of delay of the shift time caused by the transcoder overload.
其中步驟b.以該轉碼器效能函式預估加入新的轉碼任務後轉碼器負載資訊,並以該轉碼器負載資訊判斷是否為有效狀態,可直接判斷加入新的轉碼任務後轉碼器是否能過載狀態,解決轉碼伺服器過 載、效能下降、伺服器無法回應、轉碼時間無法控制、與其它設備無法正常溝通與運作等問題。 Step b. Using the transcoder performance function to estimate the transcoder load information after adding a new transcoding task, and determining whether the transcoder load information is valid, directly determining to join the new transcoding task Whether the post transcoder can be overloaded and solve the transcoding server The load, performance is degraded, the server cannot respond, the transcoding time cannot be controlled, and other devices cannot communicate and operate normally.
其中步驟c.正規化(normalize)被判斷為有效狀態的轉碼器負載資訊,依該正規化的轉碼器負載資訊分配轉碼任務,提供一種在不同轉檔能力、不同轉碼條件的使用狀態下的多台轉碼器間,直接比較轉碼器負載的方法,解決實際上多種轉碼器同時使用時無法評估負載的問題。 Step c. normalizes the transcoder load information that is determined to be in an active state, and distributes the transcoding task according to the normalized transcoder load information, and provides a use of different transcoding capabilities and different transcoding conditions. The method of directly comparing the transcoder load between multiple transcoders in the state solves the problem that the load cannot be evaluated when a plurality of transcoders are used at the same time.
本發明提供一種最佳化視訊轉碼的方法與裝置,相較於現有技術而言,本發明能夠同時使用轉碼格式與轉碼器的特性,預估加入轉碼任務所需運算資源、轉碼器負載資訊,有效分配轉碼任務到最適合的轉碼器上,讓運算資源達到最有效的使用。 The present invention provides a method and apparatus for optimizing video transcoding. Compared with the prior art, the present invention can simultaneously use the transcoding format and the characteristics of the transcoder, and estimate the computing resources required for the transcoding task. The code load information effectively allocates the transcoding task to the most suitable transcoder, so that the computing resources can be used most effectively.
上列詳細說明係針對本發明之一可行實施例之具體說明,惟該實施例並非用以限制本發明之專利範圍,凡未脫離本發明技藝精神所為之等效實施或變更,均應包含於本案之專利範圍中。 The detailed description of the preferred embodiments of the present invention is intended to be limited to the scope of the invention, and is not intended to limit the scope of the invention. The patent scope of this case.
綜上所述,本案不但在空間型態上確屬創新,並能較習用物品增進上述多項功效,應已充分符合新穎性及進步性之法定發明專利要件,爰依法提出申請,懇請 貴局核准本件發明專利申請案,以勵發明,至感德便。 In summary, this case is not only innovative in terms of space type, but also can enhance the above-mentioned multiple functions compared with the customary items. It should fully meet the statutory invention patent requirements of novelty and progressiveness, and apply for it according to law. This invention patent application, in order to invent invention, to the sense of virtue.
500‧‧‧前端操作頁面模組 500‧‧‧ front-end operation page module
501‧‧‧轉碼器效能函式決定模組 501‧‧‧ Transcoder efficiency function decision module
502‧‧‧轉碼器負載資訊判斷模組 502‧‧‧ Transcoder Load Information Judgment Module
503‧‧‧轉碼任務分配模組 503‧‧‧Transcoding Task Assignment Module
504‧‧‧轉碼伺服器 504‧‧‧ Transcoding server
S100~S102‧‧‧步驟流程 S100~S102‧‧‧Step process
S1001~S1005‧‧‧步驟流程 S1001~S1005‧‧‧Step procedure
S1011~S1015‧‧‧步驟流程 S1011~S1015‧‧‧Step process
S1021~S1022‧‧‧步驟流程 S1021~S1022‧‧‧Step process
圖1為本發明之最佳化視訊轉碼的方法之流程示意圖。 FIG. 1 is a schematic flow chart of a method for optimizing video transcoding according to the present invention.
圖2為本發明之最佳化視訊轉碼的方法之流程示意圖。 2 is a schematic flow chart of a method for optimizing video transcoding according to the present invention.
圖3為本發明之最佳化視訊轉碼的方法之流程示意圖。 3 is a schematic flow chart of a method for optimizing video transcoding according to the present invention.
圖4為本發明之最佳化視訊轉碼的方法之流程示意圖。 4 is a schematic flow chart of a method for optimizing video transcoding according to the present invention.
圖5為本發明之最佳化視訊轉碼的裝置之實施示意圖。 FIG. 5 is a schematic diagram of an implementation of an apparatus for optimizing video transcoding according to the present invention.
為利 貴審查委員了解本發明之技術特徵、內容與優點及其所能達到之功效,茲將本發明配合附圖,並以實施例之表達形式詳細說明如下,而其中所使用之圖式,其主旨僅為示意及輔助說明書之用,未必為本發明實施後之真實比例與精準配置,故不應就所附之圖式的比例與配置關係解讀、侷限本發明於實際實施上的權利範圍,合先敘明。 The technical features, contents, and advantages of the present invention, as well as the advantages thereof, can be understood by the reviewing committee, and the present invention will be described in detail with reference to the accompanying drawings. The subject matter is only for the purpose of illustration and description. It is not intended to be a true proportion and precise configuration after the implementation of the present invention. Therefore, the scope and configuration relationship of the attached drawings should not be interpreted or limited. First described.
請參閱圖1,其中本發明最佳化視訊轉碼的方法,其中步驟a.決定轉碼器效能函式,對應圖中步驟S100,將已知轉碼任務中解碼資訊、編碼資訊、濾波資訊視為輸入,與其對應的轉碼器負載資訊視為輸出,計算出轉碼器效能函式係數,其中該轉碼器效能函式之功能在於可將解碼資訊、編碼資訊、濾波資訊與轉碼器負載資訊之間取得關聯性並進行轉換。當已知解碼資訊、編碼資訊、濾波資訊時,將這些資訊代入轉碼器效能函式便可計算出轉碼器負載資訊。為能預估與計算出轉碼器負載資訊,需先決定轉碼器效能函式,決定轉碼器效能函式的方式相當於求出轉碼器效能函式係數,計算方式如步驟a所述。步驟b.以該轉碼器效能函式 預估加入新的轉碼任務後轉碼器負載資訊,並以該轉碼器負載資訊判斷是否為有效狀態,對應圖1中S101,於決定轉碼器效能函式係數後,將新的轉碼任務資訊代入該轉碼器效能函式,可計算出轉碼器負載資訊,並判斷該轉碼器負載資訊為有效狀態或過載狀態。步驟c.正規化(normalize)被判斷為有效狀態的轉碼器負載資訊,依該正規化的轉碼器負載資訊分配轉碼任務,對應圖中S102,達成最佳化視訊轉碼的功效。 Please refer to FIG. 1 , wherein the method for optimizing video transcoding in the present invention, wherein step a. determines a transcoder performance function, corresponding to step S100 in the figure, decoding information, encoding information, filtering information in a known transcoding task. As input, the corresponding transcoder load information is regarded as output, and the transcoder performance function coefficient is calculated. The function of the transcoder performance function is to decode information, coding information, filtering information and transcoding. Correlate and convert between load information. When decoding information, encoding information, and filtering information are known, the information can be calculated by translating the information into the transcoder function. In order to estimate and calculate the transcoder load information, the transcoder efficiency function must be determined first. The method of determining the transcoder performance function is equivalent to finding the transcoder performance function coefficient. The calculation method is as shown in step a. Said. Step b. using the transcoder performance function It is estimated that the transcoder load information is added after the new transcoding task, and the transcoder load information is used to judge whether it is valid. Corresponding to S101 in Fig. 1, after determining the transcoder performance function coefficient, a new transfer is performed. The code task information is substituted into the transcoder performance function, and the transcoder load information can be calculated, and the transcoder load information is determined to be a valid state or an overload state. Step c. normalize the transcoder payload information that is determined to be in an active state, and assign a transcoding task according to the normalized transcoder load information, corresponding to S102 in the figure, to achieve the effect of optimizing video transcoding.
步驟a所述轉碼器負載資訊包含運算器(CPU)負載(cpuLd)、輸出入(IO)等待率(ioWa)、硬體中斷要求(IRQ)率(hwInt)、軟體中斷要求(IRQ)率(swInt)、快取記憶體剩餘量(mem),解碼資訊(dec)包含來源影片解析度(srcRes)、來源影片碼率(srcBitr)、來源影片編碼格式(srcCod),編碼資訊(enc)包含目的影片解析度(tarRes)、目的影片碼率(tarBitr)、目的影片編碼格式(tarCod),濾波資訊(filt)包含來源影片解析度(srcRes)、目的影片解析度(tarRes)、濾波格式(filtType)。 The transcoder load information in step a includes an arithmetic unit (CPU) load (cpuLd), an input/output (IO) wait rate (ioWa), a hardware interrupt request (IRQ) rate (hwInt), and a software interrupt request (IRQ) rate. (swInt), cache memory remaining amount (mem), decoding information (dec) includes source movie resolution (srcRes), source video bit rate (srcBitr), source video encoding format (srcCod), encoding information (enc) contains Target video resolution (tarRes), destination video bit rate (tarBitr), destination video encoding format (tarCod), filtering information (filt) including source movie resolution (srcRes), destination movie resolution (tarRes), filtering format (filtType) ).
步驟a所述轉碼器效能函式trans(),包含轉碼器效能函式係數:d ir 、d ib 、d io 、e ir 、e ib 、e io 、f is 、f it 、f io ,可在解碼資訊、編碼資訊、濾波資訊與轉碼器負載資訊間進行運算,求得所需資訊。可以多變數線性方程表示與計算如下:
其中n 0=-1,k=n i-1+1至k=n i 間使用第i種來源影片編碼格式、目的影片編碼格式或濾波格式,md為來源影片編碼格式總數,me為目的影片編碼格式總數,mf為濾波格式總數,d ir 、d ib 、d io 、e ir 、e ib 、e io 、f is 、f it 、f io 為該轉碼器效能函式之係數,其中該轉碼器效能函式之係數係為實數。 Where n 0 =-1, k = n i -1 +1 to k = n i use the i-th source video encoding format, the destination video encoding format or the filtering format, md is the total number of source video encoding formats, me is the destination video The total number of encoding formats, mf is the total number of filtering formats, d ir , d ib , d io , e ir , e ib , e io , f is , f it , f io are the coefficients of the transcoder performance function, where the The coefficient of the coder function is a real number.
步驟a所述之轉碼器負載資訊,當該轉碼器負載資訊中的輸出入等待率、硬體中斷要求率、軟體中斷要求率小於相對應的門檻值,快取記憶體剩餘量大於相對應的門檻值時,該轉碼器負載資訊視為運算器負載(cpuLd),該運算器負載(cpuLd)以多變數線性方程表示與計算如下:
步驟a所述之轉碼器效能函式係數(x),可以矩陣運算或由數值分析的方法(如Gauss-Jordan)解出,其中矩陣型式表示如下:Ax=b
請參閱圖2,本發明最佳化視訊轉碼的方法之步驟a.決定轉碼器效能函式之中,更包含步驟a1,對應圖中步驟S1001,記錄執行轉碼時轉碼器負載資訊、轉碼器中複數個解碼資訊、複數個編碼資訊、複數個濾波資訊,其中當輸出入等待率、硬體中斷要求率、軟體中斷要求率有任一個大於相對應的門檻值,或快取記憶體剩餘量小於相對應的門檻值時記錄為過載狀態,否則為有效狀態,步驟a2,對應圖中步驟S1002,比較具相同來源影片編碼格式、目的影片編碼格式、濾波格式但不同影片解析度或影片碼率的轉碼器負載資訊,將過載狀態中最小的運算器負載設定為該來源影片編碼格式、目的影片編碼格式、濾波格式的轉碼器運算器負載上限,步驟a3,對應圖中步驟S1003,累計具相同來源影片編碼格式、目的影片編碼格式、濾波格式但不同影片解析度或影片碼率的轉碼器有效狀態次數,步驟a4,對應圖中步驟S1004,比較累計的轉碼器有效狀態次數與該轉碼器效能函式係數個數,當該累計的轉碼器有效狀態次數等於該轉碼器效能函式係數個數時,計算該轉碼器效能函式係數S1005,反之,回步驟S1001。 Referring to FIG. 2, step (a) of the method for optimizing video transcoding in the present invention a. determining the transcoder performance function further includes step a1, corresponding to step S1001 in the figure, recording the transcoder load information when performing transcoding. And a plurality of decoding information, a plurality of coding information, and a plurality of filtering information in the transcoder, wherein any one of the input and output waiting rate, the hardware interrupt request rate, and the software interrupt request rate is greater than a corresponding threshold value, or a cache When the remaining amount of the memory is less than the corresponding threshold value, it is recorded as an overload state, otherwise it is an active state, step a2, corresponding to the step S1002 in the figure, comparing the same source video encoding format, the target video encoding format, the filtering format but different movie resolutions. Or the code rate of the transcoder load information, the minimum operator load in the overload state is set to the source video encoding format, the destination video encoding format, the filter format of the transcoder operator load upper limit, step a3, corresponding map Step S1003, accumulating the same source video encoding format, the destination video encoding format, the filtering format but different movie resolution or video bit rate The number of valid states of the encoder, step a4, corresponding to step S1004 in the figure, comparing the cumulative number of valid states of the transcoder with the number of coefficients of the transcoder function, when the cumulative number of valid states of the transcoder is equal to the transcoding When the number of coefficients of the function function is calculated, the transcoder performance coefficient S1005 is calculated, otherwise, the process returns to step S1001.
請參閱圖3,本發明最佳化視訊轉碼的方法之步驟b.以該轉碼器效能函式預估加入新的轉碼任務後之轉碼器負載資訊,並以該轉碼器負載資訊判斷是否為有效狀態,其中更包含:步驟b1,對應圖中步驟S1011,將新轉碼任務的解碼資訊、編碼資訊、濾波資訊代入該轉碼器效 能函式,求解轉碼器負載資訊,將該轉碼器負載資訊視為運算器負載,並加上當時轉碼器運算器負載,求出預估運算器負載,步驟b2,對應圖中步驟S1012,比較該預估運算器負載與具相同來源影片編碼格式、目的影片編碼格式、濾波格式的轉碼器運算器負載上限,若該預估運算器負載小於該上限S1013,則判定為有效狀態S1014,反之,判定為過載狀態S1015。 Referring to FIG. 3, step b of the method for optimizing video transcoding of the present invention b. predicting the transcoder load information after adding a new transcoding task by using the transcoder performance function, and loading the transcoder with the transcoder Whether the information is judged to be in a valid state, and further comprising: step b1, corresponding to step S1011 in the figure, substituting decoding information, coding information, and filtering information of the new transcoding task into the transcoder The function function, solve the transcoder load information, treat the transcoder load information as the operator load, and add the transcoder operator load at that time to obtain the estimated operator load, step b2, corresponding steps in the figure S1012, comparing the estimated operator load with a transcoder operator load upper limit having the same source video encoding format, a destination video encoding format, and a filtering format, and determining that the estimated computing device load is less than the upper limit S1013 S1014, on the other hand, is determined to be the overload state S1015.
步驟S1011中預估運算器負載的計算方法,亦可為將新轉碼任務及轉碼器原轉碼任務的解碼資訊、編碼資訊、濾波資訊,一起代入該轉碼器效能函式求解轉碼器負載資訊,並將該轉碼器負載資訊視為該預估運算器負載。 The calculation method of estimating the operator load in step S1011 may also be performed by substituting the decoding information, coding information, and filtering information of the new transcoding task and the original transcoding task of the transcoder into the transcoder performance function to solve the transcoding. Load information and treat the transcoder load information as the estimated operator load.
請參閱圖4,本發明最佳化視訊轉碼的方法之步驟c.正規化(normalize)被判斷為有效狀態的轉碼器負載資訊,依該正規化的轉碼器負載資訊分配轉碼任務,其中更包含:步驟c1,對應圖中步驟S1021,將該判定為有效狀態的預估運算器負載(cpuLdeffective)除以對應的該轉碼器運算器負載上限(cpuLdmax),求得正規化預估運算器負載(cpuLdnormalized),計算方法表示如下:cpuLd normalized =cpuLd effective /cpuLd max 步驟c2,對應圖中步驟S1022,比較所有轉碼器的該正規化預估運算器負載,將轉碼任務分配給該正規化預估運算器負載最低的轉碼器。 Referring to FIG. 4, step c of the method for optimizing video transcoding according to the present invention c normalizes the transcoder load information determined to be in an active state, and distributes the transcoding task according to the normalized transcoder load information. And further comprising: step c1, corresponding to step S1021 in the figure, dividing the estimated operator load (cpuLd effective ) determined to be in the valid state by the corresponding upper limit of the transcoder operator load (cpuLd max ), and obtaining the regular The estimated operator load (cpuLd normalized ) is calculated as follows: cpuLd normalized = cpuLd effective / cpuLd max step c2, corresponding to step S1022 in the figure, comparing the normalized predictor load of all transcoders, will be transferred The code task is assigned to the transcoder with the lowest load on the normalized predictor.
圖5為本發明最佳化視訊轉碼的裝置之實施方式,前端操作頁面模組500,提供使用者設定與監看轉檔任務、輸入來源檔案與取出目的檔案;轉碼器效能函式決定模組501,執行步驟a所述內容,決定轉碼器效能函式,輸入已知的轉碼任務中的解碼資訊、編碼資訊、濾波 資訊、對應的轉碼器負載資訊,計算並輸出該轉碼器效能函式之係數,其中該轉碼器效能函式可利用解碼資訊、編碼資訊、濾波資訊預估與計算出轉碼器負載資訊;轉碼器負載資訊判斷模組502,執行步驟b所述內容,輸入新的轉碼任務資訊,以該轉碼器效能函式預估加入新的轉碼任務後之一轉碼器負載資訊,再以該轉碼器負載資訊判斷是否為有效狀態,並輸出該轉碼器負載資訊;轉碼任務分配模組503,執行步驟c所述內容,輸入該轉碼器負載資訊,正規化(normalize)被判斷為有效狀態的該轉碼器負載資訊,並依該轉碼器負載資訊分配轉碼任務;以及轉碼伺服器504,接受轉碼任務執行轉碼,達成最佳化視訊轉碼的功效。 FIG. 5 is a schematic diagram of an apparatus for optimizing video transcoding according to the present invention. The front-end operation page module 500 provides user setting and monitoring conversion tasks, input source files and retrieval destination files; and the transcoder performance function is determined. The module 501 performs the content of step a, determines a transcoder performance function, and inputs decoding information, coding information, and filtering in a known transcoding task. Information, corresponding transcoder load information, calculate and output the coefficient of the transcoder performance function, wherein the transcoder performance function can use the decoding information, the encoding information, the filtering information to estimate and calculate the transcoder load The transcoder load information judging module 502 executes the content of step b, inputs new transcoding task information, and adds one transcoder load after the new transcoding task is estimated by the transcoder performance function. The information is further determined by the transcoder load information, and the transcoder load information is output; the transcoding task assignment module 503 executes the content of step c, inputs the transcoder load information, and normalizes Normally determining the transcoder load information that is determined to be in an active state, and assigning a transcoding task according to the transcoder payload information; and transcoding the server 504, accepting the transcoding task to perform transcoding, and achieving optimized video conversion The efficacy of the code.
綜上所述,本案不僅於技術思想上確屬創新,並具備習用之傳統方法所不及之上述多項功效,已充分符合新穎性及進步性之法定發明專利要件,爰依法提出申請,懇請 貴局核准本件發明專利申請案,以勵發明,至感德便。 To sum up, this case is not only innovative in terms of technical thinking, but also has many of the above-mentioned functions that are not in the traditional methods of the past. It has fully complied with the statutory invention patent requirements of novelty and progressiveness, and applied for it according to law. Approved this invention patent application, in order to invent invention, to the sense of virtue.
S100~S102‧‧‧步驟流程 S100~S102‧‧‧Step process
Claims (10)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
TW105134747A TWI610559B (en) | 2016-10-27 | 2016-10-27 | Method and device for optimizing video transcoding |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
TW105134747A TWI610559B (en) | 2016-10-27 | 2016-10-27 | Method and device for optimizing video transcoding |
Publications (2)
Publication Number | Publication Date |
---|---|
TWI610559B true TWI610559B (en) | 2018-01-01 |
TW201817234A TW201817234A (en) | 2018-05-01 |
Family
ID=61728344
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
TW105134747A TWI610559B (en) | 2016-10-27 | 2016-10-27 | Method and device for optimizing video transcoding |
Country Status (1)
Country | Link |
---|---|
TW (1) | TWI610559B (en) |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6138156A (en) * | 1998-10-05 | 2000-10-24 | International Business Machines Corporation | Selecting and applying content-reducing filters based on dynamic environmental factors |
US20060139491A1 (en) * | 2004-12-29 | 2006-06-29 | Baylon David M | Method for detecting interlaced material and field order |
US20090089549A1 (en) * | 2007-09-27 | 2009-04-02 | Qualcomm Incorporated | H.264 Video Decoder CABAC Core Optimization Techniques |
US20100027615A1 (en) * | 2006-10-24 | 2010-02-04 | Purvin Bibhas Pandit | Picture identification for multi-view video coding |
US20100309987A1 (en) * | 2009-06-05 | 2010-12-09 | Apple Inc. | Image acquisition and encoding system |
US20130114738A1 (en) * | 2011-11-08 | 2013-05-09 | Qualcomm Incorporated | Progressive coding of position of last significant coefficient |
-
2016
- 2016-10-27 TW TW105134747A patent/TWI610559B/en active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6138156A (en) * | 1998-10-05 | 2000-10-24 | International Business Machines Corporation | Selecting and applying content-reducing filters based on dynamic environmental factors |
US20060139491A1 (en) * | 2004-12-29 | 2006-06-29 | Baylon David M | Method for detecting interlaced material and field order |
US20100027615A1 (en) * | 2006-10-24 | 2010-02-04 | Purvin Bibhas Pandit | Picture identification for multi-view video coding |
US20090089549A1 (en) * | 2007-09-27 | 2009-04-02 | Qualcomm Incorporated | H.264 Video Decoder CABAC Core Optimization Techniques |
US20100309987A1 (en) * | 2009-06-05 | 2010-12-09 | Apple Inc. | Image acquisition and encoding system |
US20130114738A1 (en) * | 2011-11-08 | 2013-05-09 | Qualcomm Incorporated | Progressive coding of position of last significant coefficient |
Non-Patent Citations (1)
Title |
---|
Jiani Guo, and Laxmi Narayan Bhuyan," Load Balancing in a Cluster-Based Web Server for Multimedia Applications", The IEEE TRANSACTIONS ON PARALLEL AND DISTRIBUTED SYSTEMS, VOL. 17, NO. 11, NOVEMBER 31, Year of 2006 * |
Also Published As
Publication number | Publication date |
---|---|
TW201817234A (en) | 2018-05-01 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108089921B (en) | Server for cloud big data operation architecture and operation resource optimization method thereof | |
JP5218390B2 (en) | Autonomous control server, virtual server control method and program | |
Ali et al. | Optimizing inference serving on serverless platforms | |
US10127086B2 (en) | Dynamic management of data stream processing | |
US9766818B2 (en) | Electronic system with learning mechanism and method of operation thereof | |
US7793308B2 (en) | Setting operation based resource utilization thresholds for resource use by a process | |
CN105045607B (en) | A method of realizing a variety of big data Computational frame unified interfaces | |
US20120284239A1 (en) | Method and apparatus for optimizing data storage | |
CN108595250B (en) | A resource scheduling efficiency optimization method and system for IaaS cloud platform | |
US9928215B1 (en) | Iterative simple linear regression coefficient calculation for streamed data using components | |
US11429456B2 (en) | System for migrating tasks between edge devices of an IoT system | |
US20130049998A1 (en) | Distributed video transcode system with adaptive file processing | |
JP5616523B2 (en) | Information processing system | |
CN110167031B (en) | A resource allocation method, device and storage medium for centralized base station | |
KR101569502B1 (en) | Apparatus, method and computer readable recording medium for assigning trnscording works | |
CN106021544B (en) | Database distributed connection pool management method and system | |
TWI610559B (en) | Method and device for optimizing video transcoding | |
US9906466B2 (en) | Framework for QoS in embedded computer infrastructure | |
US20150088931A1 (en) | Job Dispatcher of Transcoding Jobs for Media Programs | |
CN110673954B (en) | Utilization rate prediction method, utilization rate prediction device, computing equipment, storage medium and program product | |
CN118152114B (en) | A coal mine geological big data processing system and method | |
CN109150792B (en) | Method and device for improving data storage security | |
US11620167B2 (en) | System for allocating task processing between an IoT device and an edge device | |
Lee et al. | Towards quality aware collaborative video analytic cloud | |
JP7544274B2 (en) | Accumulation calculation device, accumulation calculation method, and program |