TW201214278A - Method for performing coding resource management, and associated processing circuit - Google Patents

Method for performing coding resource management, and associated processing circuit Download PDF

Info

Publication number
TW201214278A
TW201214278A TW100117203A TW100117203A TW201214278A TW 201214278 A TW201214278 A TW 201214278A TW 100117203 A TW100117203 A TW 100117203A TW 100117203 A TW100117203 A TW 100117203A TW 201214278 A TW201214278 A TW 201214278A
Authority
TW
Taiwan
Prior art keywords
module
codec
specific
processing circuit
program
Prior art date
Application number
TW100117203A
Other languages
Chinese (zh)
Other versions
TWI514264B (en
Inventor
Chuan Chen
Original Assignee
Mediatek Singapore Pte 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 Mediatek Singapore Pte Ltd filed Critical Mediatek Singapore Pte Ltd
Publication of TW201214278A publication Critical patent/TW201214278A/en
Application granted granted Critical
Publication of TWI514264B publication Critical patent/TWI514264B/en

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/70Protecting specific internal or peripheral components, in which the protection of a component leads to protection of the entire computer
    • G06F21/78Protecting specific internal or peripheral components, in which the protection of a component leads to protection of the entire computer to assure secure storage of data
    • G06F21/79Protecting specific internal or peripheral components, in which the protection of a component leads to protection of the entire computer to assure secure storage of data in semiconductor storage media, e.g. directly-addressable memories
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/08Error detection or correction by redundancy in data representation, e.g. by using checking codes
    • G06F11/10Adding special bits or symbols to the coded information, e.g. parity check, casting out 9's or 11's
    • G06F11/1008Adding special bits or symbols to the coded information, e.g. parity check, casting out 9's or 11's in individual solid state devices
    • G06F11/1012Adding special bits or symbols to the coded information, e.g. parity check, casting out 9's or 11's in individual solid state devices using codes or arrangements adapted for a specific type of error
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/28Databases characterised by their database models, e.g. relational or object models
    • G06F16/284Relational databases
    • G06F16/285Clustering or classification
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2221/00Indexing scheme relating to security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F2221/21Indexing scheme relating to G06F21/00 and subgroups addressing additional information or applications relating to security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F2221/2153Using hardware token as a secondary aspect

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Hardware Design (AREA)
  • Theoretical Computer Science (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Storage Device Security (AREA)
  • Compression Or Coding Systems Of Tv Signals (AREA)
  • Logic Circuits (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

A method for performing coding resource management is provided, where the method is applied to a processing circuit. The method includes: with regard to a specific coding operation, selecting a specific module from a hardware module and a program module; and performing the specific coding operation by utilizing the specific module. In particular, the step of selecting the specific module from the hardware module and the program module further includes: based upon at least one characteristic of the specific coding operation, default settings, and/or user settings, selecting the specific module from the hardware module and the program module. An associated processing circuit is also provided.

Description

201214278 六、發明說明: 【發明所屬之技術領域】 本發明有關於不同編解碼資源(coding _urce)之控制架構,且特 別有關於餘執行編解碼資源管理的方法以及侧處理電路。 【先前技術】 依據相關賊,當料,電子裝置執行隱鱗糊如,資料 編碼及/或資料解碼)時’典型地,習知電子裝置僅利用—種編解碼資源 獲取編解猶果(例如,編赌細雜碼結果)。舉例_,習知電 子裝置僅湘-種特定硬體資源(例如編躺解),而非處理程式 模組之處理器獲取編碼/解碼結果。於另—範例中,習知電子裝置僅利 用處理程规_如編補_碼_之處理^,而非狀 源,來獲取編碼/解碼結果。 ’典魏,f知電子裝置枝辆_硬蹄源或 式模組之處理n獲取編碼/_結祕在f知電子打的 _η Phase财的。細,用戶使㈣知電子裝置時可能發生一此 問題。舉例而言,利用硬體資源並不織— 处果,性_彳編碼/解碼 、,..果㈣吏砂不同之情况τ以不_性_彳編碼/解碼結果。作 爲結果’由於在設計陳已經決定了應t使用哪種編解 硬體資源,或執行程式模Μ之處理器)獲取編解碼 :編° ’ 解碼結果),並且純改㈣紗定,習知電找·_證^^^ 4 201214278 需要對實施不同編解碼資源的控制體系之方法 最佳整體性能。從而 進行改良。 【發明内容】 有鑑於此,特提供以下技術方案: 、本發明實施例提供-種方法,用於執行編解碼資源管理,其中方 法應用於處理電路。方純含:_ 〃 、 程式措㈣.1 Μ卿碼㈣,從賴模組及 更具體而▲ % 乂驗’讀糊特賴組執行特定編解碼操作。 基於特定編解碼操作之至少一特性、Λ 旯0 3 组紗心“〜郷預叹叹置及/或用戶設置從硬體模 組及私式模組中選擇特定模組。 1錢m提供—種處理電路,包含至少—硬體模組及資源 :。虽需要時,至少一硬體模組執行至少一編解碼操作。此外, Γ原管理器執行編解碼資源管理,其中關於特定編解碼操作,該資源 官理辦該硬體模組及程式模組中選擇特賴組。此外,處理電路利 用=特定模_1行該特定編解碼操作。更具體而言,資源管理器基於 特疋編解碼知作之至少—特性、預設設置及/或用戶設置從硬體模組及 辁式模組中選擇特定模組。 本發明的蝙解碼資源管理方法以及相關處理電路基於特定編解碼 操作的至少一個特性動態決定使用哪種編解碼資源獲取編解碼結果, 從而優化裝置的性能。 201214278 【實施方式】 在說明書及後續的申請專利範圍當中使用了某些詞彙來指稱特定 的元件。所屬領域中具有通常知識者應可理解,製造商可能會用不同 的名詞來稱呼同樣的元件。本說明書及後續的申請專利範圍並不以名 稱的差異來作為區分元件的方式,而是以元件在功能上的差異來作為 區分的基準。在通篇說明書及後續的請求項當中所提及的「包含」係 為一開放式的用語,故應解釋成「包含但不限定於」。另外,「耦接 一詞在此係包含任何直接及間接的電氣連接手段。因此,若文中描述 一第-裝置祕於-第二裝置’則代表第—裝置可直接電氣連接於第 二裝置,或透過其他裝置或連接手段間接地電氣連接至第二裝置。 請參考第ΙΑ ®,其展示依據本發明第—實施例之耦接於儲存裝 置(例如記憶體10)的處理電路1〇〇之示意圖,其中記憶體1〇儲存至少 一個程式模組15(例如至少-個編碼程式卜舉例而言,記憶體1〇可係 唯讀記髓(read only memGry,瞧爲RQM),例如冑可擦除可程式化 R〇M(electrically erasable programmable ROM * EEPR〇M) > 上述至少-個編解碼程式可包含編碼程式及/或解碼程式。處理電路 卿包合資源管理||(res()urce manager)(例如處理器_、至少一個硬 體模組(例如硬體模組12〇)以及緩衝器13〇,其中硬體模組12〇可包含 編竭器及/或解碼器’例如編碼器丨施及解碼器膽。在本實施例中, 上述資源管理器係處理器11〇,用於控制處理電路觸之操作。但其 僅用作朗之目的’麵是本發__。依據本實關之變形,I - 6 201214278 器,用來控制本實施例中的處 述資源管理器可係獨立元件,而非處理 理電路的操作。 管理在源管理_如處理器哪行編解碼資源 ^ —個硬軸峨如硬麵組12G)執行至 解骑中緩衝器130用於緩衝資料(例如一個或多個編 Γ此外,_定編_作,資源管理器(例如, =斷之處黯_可簡硬_ 12_賴組15中選擇特 3的且特=,處Γ路100利用特定模組,亦即,被資源管理器所 選取的特榻組’執行做贿賴作。 :注意’處理電路觸可以從處理電路100之外的上述儲存裝置 ㈦如’汜憶體10)獲取程式模組15。但其僅 、 ^發明糊。娜》綠_,如如00可《包含= =5的記憶體。舉例而言,本變形中存儲程式模組15的: 了係 ROM(例如 EEPROM)。 心 =1B _依據本發明實施例之第u圖中的處理電請中竿此 意圖。在本實施例中,上述至少—個程式模组15包含^ 、^解馬(酿姻mg)程式模組15〇及多個編解碼程式模組⑸、 2、·.··.·、等等,其中多個編解碼程式模組15卜152、 ^ 包含至少-個編碼程式及/或至少一個解碼程式 多^ m……、等中的至少-_如,編解:::: 、、,......、料之部分或全部)中之每—者可以包含編碼程式 7 201214278 及解碼程式。更具體而言,如第1B圖所示,編解碼程式模組⑸包 含編碼程式⑸E及解碼程式151D,而編解碼程式模組152包含' 程式152E及解碼程式152D,等等。於實踐中,處理器則可以 並執行非編解碼程式模組15〇,以控制處理電路卿的操作。各需要 時’處理器m可以絲並執行—個或多個編解碼程式模組田⑸、 152、......、等,以執行一個或多個編解碼操作。 基於上述架構,處理卿可以動態選擇程式模組以更罝體而 言,多個編解碼程式模組⑸、152、、等中之一者)或硬體模組 120,以便战佳性能執行編解碼操作。第2 _進—步綱實施細節。 第2圖是依據本發明一實施例用於執行編解碼資源管理的方法 910之流侧。第2圖巾所科方法⑽可用於第u圖中所示的處理 電路100。該方法詳述如下: 於步驟912巾,關於特定編解碼操作(例如上述的編解碼操 上述資源管理_如’本實施财之處理器⑽谈硬體模組及程 式模組15中選擇特定模組。更具體而言,基於特定編解碼操作的至少 y個特性,資鮮理器祕從硬雜組12Q及鋪驗Μ中選擇特定 模組。舉綱δ,敎鱗碼麟可魏舰解碼演算雄純⑺出吗 algorithm)^ ^ SHA)=貝。fi摘要演算法职挪啡询咖aIg〇rithm,簡稱爲 聰)、·.·.··、轉)之—或_演算法之操作。於另-範财,特定· 編解碼操作可__龍飾7_她_&_如 8 201214278 间級加畨標準(Advanced Encryption Standard,簡稱爲 標準(DataEncryption Standard,簡稱爲 DES)、. 1箅幻貝;:加被 演算法之操作。 ··寺之一或類似 914中,處理電路·利用特定模組(亦即於步驟 貝源官理辑選擇的特定模組)執行特定編解碼操 一處理電路1〇。_執= ;0(更具體而言,執行多個編解碼程式模組⑸、 ...·.·、权一之處理器轉執行狀編解碼操作。於另 f硬體馳12G被财模社情况下,歧魏⑽硬體模 組120執行特定編解碼操作。 更體模 依據本實施例,上述至少—特性可包含至少_個 =⑽利用硬趙模組120及程式模組15分別執行估;作: ,$繼f,€物嶋峨模組⑶ 杈肀實施,其中流程920詳述如下: J 100 120 - 作。舉例而言,估計操作可類似於特 於另一_中’在估計操作中僅利用部分步糊所涉及之資Γ 於步驟924中,上述資源管理器 決定是否將硬體模幻2〇(或程式模組15)選爲特定而= 201214278 上述資源管理器可比較分別對應於硬體模組12〇及程式模組ι5的估+ · 結果(例如,利用硬體模組120的估計時間及利用程式模組丨5的估^ 時間)’並據此從硬體模組120及程式模組15中選擇特定模組。當^ 定選擇硬體模組120作爲特定模組時,進入步驟926七否則,進入+ 驟 926-2。 ’’ 於步驟926-1中,處理電路100利用硬體模組12〇執行特定編解 碼操作。 於步驟926-2中,處理電路〗〇〇利用程式模組15執行特定編解碼 操作。 基於上述流程920,處理電路1〇〇可達到獲取(或計算)特定編解碼 操作的編碼/解碼結果的最佳性能。其僅用作說明的目的,並非是本發 明的限制。依據本實施例之變形,流程920並非必需的。更具體而言, 上述至少一個特性可包含特定編解碼操作的分類,其中處理電路100 可儲存表示特定編解碼操作分類的分類資訊。舉例而言,本變形中的 處理電路1〇〇可以將分類資訊儲存入緩衝器丨3〇或處理電路觸的某 些暫存器(未繪示)中,而上述資源管理器可以依此從硬體模組12〇及 程式模組15中選擇特定模組。依據本實施例的其他變形,基於預設設 置(default setting)及/或用戶設置,資源管理器能够從硬體模組120及 程式模組15中選擇特定模組。於實踐中’預設設置及/或用戶設置可 以負載代表上述特定編解碼操作的至少一個特性的資訊。 201214278 依據-實關(例如上㈣形之―),基洲於不同㈣編解碼操 作的預設設置及/朗戶設置,資源管理^可以決定是雜需要單命令 (singlecommand)完成特定編解碼操作。當決定僅需單命令完成特定編 解碼操作時,資源管理器選擇硬體模組12G作爲特定模組;否則,資 源管理器選擇程式模組15(更具體而言,編解碼程式模組⑸、 152 ' ......、等之一)作爲特定模組。 舉例而β ’在特定編解碼操作是上述散列編解碼演算法(例如 SHA、MD5、......、等)之似演算法之操作之情况下,當特定編 解碼操作觀於處理中的整個資料時,意即僅需單指令來完成特定編 解碼操作,由實驗結果可以推出’ _硬麵組⑽可以比利用程式 模組15獲得較佳的性能。相反地,在特定編解碼操作是上述散列轉 碼演算法(例如SHA、MD5、,·....、等)之-或類似演算法之操作之情 况下,當特定編解碼操作逐漸(piecebypiece)用於處理中的資料時,音 «要多個齡來完祕定編解碼操作,由實驗結果可以推出,_ 私式模組I5可比仙硬體模組12G獲得較佳的性能。 AES於D另εΓ㈣,在貌地刪加密標準(例如 、等)之—或_演算法之操作之情况下,當特定編 被辑理巾的卿物彳如,對⑽錢 BlockChaming,? ^ 而早指令祕完絲定轉顯作,讨驗結果可則㈣, 模組120可以比利用程式模組15獲 ' 付雜的性此。相反地,在特定編 201214278 解碼=是上述對稱型加密標準(例如aes、㈣、· ·.、等)之一或 輕主角算法之心作之情况下’當特定編解碼操作逐漸用於處理中的資 只㈠對應於電子代碼塊(Electronic Code Block,簡稱爲ECB) 模式㈣定編解碼操作),意««健令麟完成特定編解 石‘,、、呆作’由貫驗結果可以推出,利用程式模組15可以比利用硬體模組 120獲得較佳的性能。 —依據本實施例之變形,基於上述不同麵的編解碼操作的預 又又置及/或用戶⑵置’資源管理器能够決定用於完成特定編解碼操作 的命令的數量是否達咖設值(例如,大於i的自紐卜當決定用於 完成蚊崎碼操作的命令缝量朗預設值時,㈣管理器選擇程 式模組15(更具體而言,編解碼程式模組⑸、152、…·、等之一)作 爲特定模組;否則,資源管職選擇硬體模組12G作爲特定模組。爲 簡潔起見,此處不再詳述。 第4圖是依據本發明第二實施例耦接於儲存裝置(例如上述記憶體 10)的處理電路2GG的示意圖。第—實施例及第二實施例的區別如下。 如第4圖所示,上述處理器110被處理器21〇取代,而上述資源 管理器由獨立元件實施,亦即,資源管理器2〇〇R,而非處理器控 制處理電路200之操作。具體來說,資源管理器2〇〇R執行第2圖中 所示的步驟912。更具體而言,關於上述特定編解碼操作,資源管理 器200R從硬體模組120及程式模組15中選擇上述特定模組。從而, 處理電路200利用由資源管理器200R選擇的特定模組執行特定編解 12 201214278201214278 VI. Description of the Invention: [Technical Field] The present invention relates to a control architecture of different codec resources (coding _urce), and particularly relates to a method for performing codec resource management and a side processing circuit. [Prior Art] According to the relevant thief, when the electronic device performs cryptography, data encoding and/or data decoding, 'typically, the conventional electronic device only uses the encoding and decoding resources to obtain the compiled fruit (for example) , gambling fine code results). For example, the conventional electronic device only has a specific hardware resource (such as a lay-up solution), and the processor of the non-processing program module obtains the encoding/decoding result. In another example, the conventional electronic device uses only the processing metrics, such as the processing of the _code_, rather than the source, to obtain the encoding/decoding result. 'Dian Wei, f know the electronic device branch _ hard hoof source or module processing n to obtain the code / _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ Fine, the user may (4) know this problem when the electronic device is known. For example, the use of hardware resources is not woven - the result, the sex _ 彳 encoding / decoding, .. fruit (four) 不同 sand different cases τ to not _ sex _ 彳 encoding / decoding results. As a result, 'because the design Chen has decided which compiler hardware resources should be used, or the processor that executes the program module to get the codec: edit the 'decoding result', and purely change (four) yarn, the conventional Electric search _ certificate ^^^ 4 201214278 The best overall performance of the method of implementing the control system for different codec resources. Thereby improving. SUMMARY OF THE INVENTION In view of the above, the following technical solutions are provided: The embodiment of the present invention provides a method for performing codec resource management, where a method is applied to a processing circuit. Fang Chunhan: _ 〃, program measures (four).1 Μ 码 ( (4), from the Lai module and more specifically ▲ % ’ 读 reading the paste group to perform specific codec operations. Based on at least one characteristic of a specific codec operation, Λ 旯 0 3 sets of yarn hearts "~ 郷 pre-sigh and / or user settings to select a specific module from the hardware module and the private module. 1 money m provides - The processing circuit includes at least a hardware module and a resource: at least one hardware module performs at least one codec operation, if necessary. In addition, the recovery manager performs codec resource management, wherein the specific codec operation is performed. The resource manager selects the special module in the hardware module and the program module. In addition, the processing circuit utilizes the specific codec operation of the specific mode_1. More specifically, the resource manager is based on the special code. Decoding at least the characteristics, preset settings, and/or user settings select a particular module from the hardware module and the UI module. The bat decoding resource management method and related processing circuit of the present invention are based on a specific codec operation. At least one characteristic dynamically determines which codec resource is used to obtain the codec result, thereby optimizing the performance of the device. 201214278 [Embodiment] In the specification and the subsequent patent application scope, a certain These terms are used to refer to specific components. Those of ordinary skill in the art should understand that manufacturers may refer to the same components by different nouns. The scope of this specification and subsequent patent applications is not differentiated by name differences. The way of the component, but the difference in the function of the component as the basis for differentiation. The "include" mentioned in the entire specification and subsequent claims is an open term, so it should be interpreted as "including But not limited to." In addition, the term "coupled" is used herein to include any direct and indirect electrical connection means. Therefore, if a "device-disclosure-second device" is described herein, it means that the first device can be directly electrically connected to the second device. Or indirectly electrically connected to the second device through other devices or connection means. Please refer to the third page, which shows the processing circuit 1 coupled to the storage device (for example, the memory 10) according to the first embodiment of the present invention. A schematic diagram, wherein the memory 1 〇 stores at least one program module 15 (for example, at least one coding program, for example, the memory 1 〇 can be read only memGry, 瞧 is RQM), for example, 胄 erasable In addition to the programmable eramable programmable ROM * EEPR〇M > The above at least one codec program may include an encoding program and/or a decoding program. The processing circuit includes resource management||(res()urce Manager) (eg, processor_, at least one hardware module (eg, hardware module 12A), and buffer 13", wherein the hardware module 12A may include a buffer and/or a decoder, such as an encoder丨 解码 解码 解码 解码In this embodiment, the resource manager is used to control the operation of the processing circuit. However, it is only used for the purpose of Lang's purpose. The surface is the local __. According to the deformation of the real control, I - 6 201214278, used to control the description of the resource manager in this embodiment can be a separate component, rather than the operation of the processing circuit. Management in the source management _ such as processor line codec resources ^ a hard axis 峨For example, the hard surface group 12G) is executed until the unhooking buffer 130 is used to buffer data (for example, one or more compilations, in addition, the resource manager (for example, = broken place 黯 _ can be simple _ 12_Lai group 15 selects special 3 and special =, the road 100 uses a specific module, that is, the special group selected by the resource manager 'executes the bribe. The program module 15 is obtained from the above-mentioned storage device (7) other than the processing circuit 100, such as the 'memory body 10'. However, it is only invented. Na" green_, such as 00 can contain "===5 memory. For example, in the present variation, the program module 15 is: ROM (for example, EEPROM). Heart=1B _ according to the present invention In the embodiment, the at least one program module 15 includes a ^, a solution, a program module, and a plurality of programs. Decoding program modules (5), 2, . . . . . . . , etc., wherein a plurality of codec modules 15 152, ^ include at least one encoding program and/or at least one decoding program. At least -_ such as, for example, ::::, , , ..., part or all of the material) can include the encoding program 7 201214278 and the decoding program. More specifically, as shown in Fig. 1B, the codec module (5) includes an encoding program (5) E and a decoding program 151D, and the codec module 152 includes a program 152E and a decoding program 152D, and the like. In practice, the processor can execute the non-codec module 15 to control the operation of the processing circuit. The processor m can perform one or more codec module fields (5), 152, ..., etc., as needed, to perform one or more codec operations. Based on the above architecture, the processing module can dynamically select the program module to be more compact, one of the plurality of codec modules (5), 152, and the like) or the hardware module 120, so that the performance can be compiled. Decoding operation. The second _in-step implementation details. 2 is a flow side of a method 910 for performing codec resource management in accordance with an embodiment of the present invention. The method (10) of the second figure can be applied to the processing circuit 100 shown in Fig. u. The method is described in detail as follows: In step 912, regarding a specific codec operation (for example, the above-mentioned codec operation, the resource management method, such as the processor of the implementation processor (10), the specific module is selected in the hardware module and the program module 15. More specifically, based on at least y characteristics of a particular codec operation, the genius is selected from the hard group 12Q and the shop Μ 特定 。 。 。 。 δ δ δ δ δ δ δ δ 解码 解码 解码 解码The calculation is pure (7) out of the algorithm) ^ ^ SHA) = Bay. The fi-syntax algorithm is the operation of the aiG〇rithm, abbreviated as Cong), ······, and _ algorithm. In the other - Fancai, the specific · codec operation can be __ dragon decoration 7_ her _ & _ such as 8 201214278 inter-level standard (Advanced Encryption Standard, referred to as the standard (DataEncryption Standard, DES for short), .箅幻贝;: Adding the operation of the algorithm. ·· One of the temples or similar 914, the processing circuit · using a specific module (that is, the specific module selected in the step of the source) to perform a specific codec operation A processing circuit 1 _ _ _ = 0 (more specifically, the implementation of a plurality of codec module (5), ....., the right processor to the execution of the codec operation. In the case of the Chic 12G, the Wei Wei (10) hardware module 120 performs a specific codec operation. More modal According to the embodiment, the at least one characteristic may include at least _ = (10) using the hard camera module 120 and The program module 15 performs an evaluation separately; as follows: $f, and then the object module (3) is implemented, wherein the process 920 is detailed as follows: J 100 120 - For example, the estimation operation can be similar to Another _zhong's use of only a portion of the step involved in the estimation operation is referred to in step 924, The source manager determines whether to select the hardware model 2 (or the program module 15) as specific = 201214278 The above resource manager can compare the evaluations corresponding to the hardware module 12 and the program module ι5 respectively. (For example, using the estimated time of the hardware module 120 and the estimated time of the program module 丨5) and selecting a specific module from the hardware module 120 and the program module 15 accordingly. When the body module 120 is a specific module, the process proceeds to step 926. Otherwise, the process proceeds to +step 926-2. In step 926-1, the processing circuit 100 performs a specific codec operation by using the hardware module 12〇. In 926-2, the processing circuit executes a specific codec operation using the program module 15. Based on the above process 920, the processing circuit 1 can achieve the best acquisition (or calculation) of the encoding/decoding result of the specific codec operation. The present invention is for illustrative purposes only and is not a limitation of the present invention. According to a variation of this embodiment, the flow 920 is not required. More specifically, the at least one characteristic may include a classification of a specific codec operation, wherein the processing Circuit 100 can The classification information indicating the classification of the specific codec operation is stored. For example, the processing circuit 1 in the present variation may store the classification information into the buffer 丨3〇 or some temporary registers of the processing circuit (not shown). In the above, the resource manager can select a specific module from the hardware module 12 and the program module 15. According to other variants of the embodiment, based on a default setting and/or a user setting, The resource manager can select a specific module from the hardware module 120 and the program module 15. In practice, the preset settings and/or user settings may load information representative of at least one characteristic of the particular codec operation described above. 201214278 According to the actual - (such as the upper (four) shape -), Jizhou in the different (four) codec operation preset settings and / Lang household settings, resource management ^ can be determined to be a single command (singlecommand) to complete a specific codec operation . When it is decided that only a single command is required to complete a specific codec operation, the resource manager selects the hardware module 12G as a specific module; otherwise, the resource manager selects the program module 15 (more specifically, the codec module (5), 152 '..., etc.) as a specific module. For example, β 'in the case where a specific codec operation is an operation of a similar algorithm of the above-described hash codec algorithm (for example, SHA, MD5, ..., etc.), when a specific codec operation is processed In the whole data, it means that only a single instruction is needed to complete a specific codec operation. From the experimental results, the '_hard surface group (10) can obtain better performance than the program module 15. Conversely, where a particular codec operation is an operation of the above-described hash transcoding algorithm (eg, SHA, MD5, . . . , etc.) or a similar algorithm, when a particular codec operation is gradually ( Piecebypiece) When used for processing data, the sound «multiple ages to complete the codec operation, the experimental results can be introduced, _ private module I5 can achieve better performance than the fairy hardware module 12G. AES in D another ε Γ (four), in the case of the deletion of the encryption standard (for example, etc.) - or _ algorithm operation, when the specific editing of the quilt is like, for (10) money BlockChaming, ? ^ The early instruction is completed, and the result of the test can be (4), and the module 120 can be more complicated than the program module 15. Conversely, in the case of a specific edit 201214278 decoding = one of the above symmetric encryption standards (such as aes, (four), · ·, etc.) or the light protagonist algorithm, when a specific codec operation is gradually used in processing The capital only (1) corresponds to the electronic code block (Electronic Code Block (ECB) mode (4) fixed codec operation), meaning ««jian Linglin completes the specific compilation stone', and stays 'by the results of the test can be launched The program module 15 can achieve better performance than the hardware module 120. - According to a variant of the embodiment, the pre-and/or user-based (2) setting of the codec operation based on the different faces described above can determine whether the number of commands for completing a particular codec operation is up to the value of the coffee ( For example, when the self-ibu when greater than i decides to use the command margin for the mosquito code operation, (4) the manager selects the program module 15 (more specifically, the codec module (5), 152, (·, etc.) as a specific module; otherwise, the resource management selects the hardware module 12G as a specific module. For the sake of brevity, it will not be described in detail here. FIG. 4 is a second embodiment according to the present invention. A schematic diagram of a processing circuit 2GG coupled to a storage device (for example, the above-described memory 10). The difference between the first embodiment and the second embodiment is as follows. As shown in FIG. 4, the processor 110 is replaced by a processor 21 And the resource manager is implemented by a separate component, that is, the resource manager 2〇〇R, rather than the processor controls the operation of the processing circuit 200. Specifically, the resource manager 2〇〇R executes the image in FIG. Step 912 is shown. More specifically, off In the specific codec operation described above, the resource manager 200R selects the specific module from the hardware module 120 and the program module 15. Thus, the processing circuit 200 performs a specific composition 12 using a specific module selected by the resource manager 200R. 201214278

碼操作。舉例而古,A 。在程式模組15被選爲特 路利用執行程式模組15(更具特疋f、、且之隋况下’處理電 152、......、等$ 一、 . D,編解碼程式模組151、 中’在硬體模組120被選爲特定模解,操作。於另一範例 體模組12G_軸雜。輪心::利用硬 請注意⑥’處理電路獅可以從處理電路· (例如,記憶體10)獲取的上it儲存裝置 本發明的限制。其僅用作說明之目的,並非是 〜依^尿本實施例之變形,處 式模組15的記憶體。舉例而言,本變形 ^包含存儲程 可係ROM(例如EEPR〇M)。 ·耘式模,、且15的記憶體 本發明的-個優點爲,當電子裝置(例 (Pe麵a丨digital assi_,簡稱爲 ,*、個人數位助理 只 意 =付、等)需要執行資料編解碼(例如,‘編===存媒 ¥n’j 彳文哪了 , 口 m> 配置有以上所揭示的實施例/變形中的處理電路 ^ =:!!,定使用哪種編解碼資源(例如二= 〇.、· ·.、.的^能被優化。對比於先前技術,只要電子裝置 £·意Code operation. For example, ancient, A. The program module 15 is selected as the special use execution program module 15 (more special f, and under the condition of 'processing power 152, ..., etc. $ one, . D, codec The program module 151, the middle 'in the hardware module 120 is selected as a specific mode, operation. In another example body module 12G_ axis miscellaneous. Wheel center:: use hard note 6' processing circuit lion can be processed from Circuits (e.g., memory 10) The upper it storage device is limited by the present invention. It is for illustrative purposes only, and is not a memory of the module of the present embodiment. In other words, the present invention includes a memory-programmable ROM (for example, EEPR〇M). The memory of the modulo, and the memory of the present invention has an advantage of being an electronic device (for example, (Pe face a 丨 digital assi_) , abbreviated as *, personal digital assistant only means = pay, etc.) need to perform data encoding and decoding (for example, 'edit === storage media nn'j 彳文,口m>; configuration has the implementation disclosed above The processing circuit in the example/deformation ^ =:!!, which encoding and decoding resource is used (for example, the two = 〇., · ·., . can be optimized. Compared to the previous technique As long as the electronic devices £ · Italy

,a 硬I 子裝置之最佳整體性能的問題將不復存在 、、且之處理器)獲取編解碼結果(例如編碼/解碼結果),不能得到電 13 201214278 内。 【圖式簡單說明】, the problem of the best overall performance of a hard I sub-device will no longer exist, and the processor) obtains the codec result (such as the encoding/decoding result), and cannot get the power within 13 201214278. [Simple description of the map]

體的^ Γ依據本發·_物_存裝置,例如記憶 體的處理電路之示意圖。 U 第1B圖係依據本發明實施例的第iA圖中的處理電 模組之示意圖。 呆二程式 程圖 第2圖係依據本發明實施例用於執行編解碼資源管理的方法之流 第3圖係依據本發明實施例的第2圖所示方法實施細節之示音圖。 第4圖係依據本發明第二實施例的耦接於儲存裝置,如' 憶體的處理電路之示意圖。 上述5己 151D、152D .解石馬程式; 910 :方法; 【主要元件符號說明】 10 :記憶體; 100、200 :處理電路; 120 :硬體模組; 120D .解碼器; 150 :非編解碼程式模組; 151E、152E :編碼程式; 200R :資源管理器; 15 :程式模組; 110、210 :處理器; 120E :編碼器; 130 :緩衝器; 15卜152 :編解碼程式模組; 912〜914、922、924、926-1、926-2 :步驟; 920 :流程。The body of the body is based on a schematic diagram of the processing circuit of the memory, such as a memory. U Figure 1B is a schematic diagram of a processing electrical module in Figure iA of the embodiment of the present invention. FIG. 2 is a flow diagram of a method for performing codec resource management according to an embodiment of the present invention. FIG. 3 is a diagram showing details of a method implementation according to the second embodiment of the present invention. Figure 4 is a schematic diagram of a processing circuit coupled to a storage device, such as a memory cell, in accordance with a second embodiment of the present invention. The above 5 151D, 152D. calculus horse program; 910: method; [main component symbol description] 10: memory; 100, 200: processing circuit; 120: hardware module; 120D. decoder; 150: non-linear Decoding program module; 151E, 152E: encoding program; 200R: resource manager; 15: program module; 110, 210: processor; 120E: encoder; 130: buffer; 15 152: codec module 912~914, 922, 924, 926-1, 926-2: steps; 920: flow.

Claims (1)

201214278 七、申請專利範圍: 1. 一種編解碼資源營理大、、表田 理方法包含: 理^祕―處理電路,該編解竭資源管 選擇一特 定模::於:Γ編解编’從-硬體模組及—程式模組中亂 利用該特定模組執行該特定編解碼操作 _2.如申巧專利㈣第1項所述之編解碼資源管理方法,I中m 硬體模組及該程式模組中選擇該特賴_步驟更包含:、中料 作之至少-特性,從該硬體模組及該程式模 少:===之編解碼資源管理方法,其中該至 二 估汁結果,並且該方法更包含: 至少二=模組及該程式模組分別執行多個估計操作’以獲得該 少-2項所述之編解碼資源管理方法,其中該至 社一、 解碼操作之分類;並且該方法更包含: =77類貞其巾該分類資訊代表雜定編解碼操作之分類。 硬體_叙鱗碼魏f财法,其中從該 曰 、,、且中選擇該特定模組的步驟更包含: /、疋疋否僅需—單—指令完成該特定編解碼操作;以及 15 201214278 組作爲該特定待定編解碼_,選擇該硬體模 6.如申請專利翻幻項所述 … 硬體模組及雖式模财選 &方法,射從該 、、i — m 了心棋組的步驟更句合· ά用於完成該特定轉. '之一數量 是否達到一 預設值;叹 爾曰令· 當决定用於完成該特定編解碼操作的 預設值時,選擇該程式模組作爲該特定·。“之該數量達到該 /‘如申請專利範園第1項所述之編解碼資、、認、 體模組包含—編韻及/或-解碼ϋ。 理方法,其1Η亥硬 專利範圍第1項所述之編解碼資㈣if古 式·包含—編碼程式及/或—解碼程式。‘理方法,其中該程 =如巾請專利範圍第丨項所述之 =式横組被選爲畴定龜之纽下,利^ 理方法,其令在該 解呆作的步驟更包含: Λ寺痛組執行該特定編 又編解碼操作。 資源管理方法, 利用執行該程式模組之—處理器執行該特 其中該 述, 201214278 u· 一種處理電路,包含. 二 = ==_触—娜碼 4两路彻_賴_行鱗定編解碼操作。 解碼請第11項所述的處理電路,射基於該特定編 選擇該特师縣理11從魄體模減姉式模組中 包含至小月專利範圍第12項所述的處理電路,其中該至少一特性 分別細=====議程式模組 包含該特 專利範圍第12項所述的處理電路,其中該至少一特性 中該分頬呆作之分類;並且該處理電路儲存-分類資訊,其 4頁貝峨表該特定編解碼操作之分類。 決定是否僅專利㈣第11項所述的處理電路,其中該資源管理器 單單I指令完成該特定編解碼操作;以及當決定僅需該 爲讀特^組該特&編解碼操作時,卿源管理H選擇該硬體模組作 其中該資源管理器 16.如申請專利範圍第11項所述的處理電路, 17 201214278 決定用於完成該特定編解碼操作的多個指令之旦 值;以及當蚊胁完成鱗定編解碼操作的巧2否制一預設 到該預設辦,源管理轉_程式作齡=:數量達 17. 如申β月專利範圍第u項所述的處理電路 含一編碼器及/或一解碼器。 其中该硬體模組包 18. 如申請專利範圍第u項所述的處理電路, 含一編碼程式及/或—解碼程式。 ,、中雜式模組包 19. 如申請專利範圍第u 係用於控制該處理電路的多個操二路,其中該資源管理器 選爲該特定馳之情;兄下處 =,从在雜式模組被 器執行該咖解碼操作。處電仙執程式模组的該處理 2:如申請專利範圍第u項所述的處理電路,更包含· —處理器’控_處理電路❹個操作; 其中在雜式模組被選爲定模 執订該程域_騎"執行祕定編。電路利用 該處細㈣路心贿理電路從 诵存裝置中獲取該程式模組。 22·如申請專利範圍第 11項所述的處理電路,更包含·· 201214278 一記憶體,儲存該程式模組。 八、圖式: 19201214278 VII. The scope of application for patents: 1. A codec resource management system, and the method of table field management includes: the management of the secret - the processing circuit, the editing of the resource management to select a specific module:: Γ: Γ编解编' - The hardware module and the program module use the specific module to perform the specific codec operation _2. For example, the codec resource management method described in claim 1 of the patent (4), the m hardware module And selecting the special _ step in the program module further includes: at least the characteristic of the middle material, and the codec resource management method from the hardware module and the program mode: ===, wherein the second to the second Estimating the juice result, and the method further comprises: at least two=the module and the program module respectively performing a plurality of estimation operations to obtain the codec resource management method of the less-2 items, wherein the The classification of the operation; and the method further comprises: = 77 class 贞 巾 The classification information represents the classification of the miscellaneous codec operation. The hardware _ 〗 〖 鳞 魏 魏 魏 魏 魏 魏 魏 , , , , , , , , , , , 魏 魏 魏 魏 魏 魏 魏 魏 魏 选择 选择 选择 选择 选择 选择 选择 选择 选择 选择 选择 选择 选择 选择 选择 选择 选择201214278 group as the specific pending codec _, select the hardware phantom 6. As described in the patent phantom item... hardware module and although the model pledge & method, shot from the, i - m heart The steps of the chess group are more succinct. ά is used to complete the specific turn. 'Is the number of ones reaching a preset value; 叹 曰 · · When deciding to use the preset value for completing the specific codec operation, select the The program module is used as the specific one. "The number reaches the /" as claimed in the patent application, the codec, the recognition, the body module contains - the rhyme and / or - decoding ϋ. Method, its 1 Η 硬 hard patent range The encoding and decoding (1) if the ancient type includes the encoding program and/or the decoding program. The method is the same as the method described in the third paragraph of the patent scope. In the turtle's new method, the method of making the solution further includes: the Λ 痛 pain group executes the specific encoding and decoding operation. The resource management method, using the execution of the program module - processor execution The special description of this, 201214278 u· A processing circuit, including. Two = ==_Touch-Na code 4 two-way _ _ _ row scaling encoding and decoding operation. Decoding the processing circuit described in item 11, shoot Selecting, according to the specific code, the processing circuit included in the scorpion mode reducing module included in the scorpion stencil type reducing module, wherein the at least one characteristic is fine ===== agenda type The module includes the processing circuit described in item 12 of the special patent, wherein the The classification of the classification in the less-characteristic feature; and the processing circuit stores the classification information, and the four-page table lists the classification of the specific codec operation. Decide whether or not the processing circuit described in the eleventh item of the patent (4), wherein The resource manager completes the specific codec operation by the I command alone; and when it is decided that the read/write group is only required to perform the codec operation, the source management H selects the hardware module as the resource manager. 16. The processing circuit of claim 11, wherein the method of determining a plurality of instructions for performing the specific codec operation; and the method of performing a codec decoding operation when the mosquito threat is completed is as follows: Preset to the preset, source management _ program age =: the number reaches 17. The processing circuit described in item u of the patent scope includes a encoder and/or a decoder. Module package 18. The processing circuit according to the scope of claim 5, comprising an encoding program and/or a decoding program, and a miscellaneous module package 19. The scope of the patent application is for controlling the Handling multiple circuits of the circuit, The resource manager is selected as the specific situation; the brother is =, the coffee decoding operation is performed from the heterogeneous module. The processing of the power module is as follows: The processing circuit described in the item further includes: - a processor 'control _ processing circuit ❹ an operation; wherein the hetero-module is selected as a fixed-mode binding of the _ riding " execution secret programming. The circuit utilizes the The program module is obtained from the storage device. The processing circuit according to claim 11 of the patent application, further includes a memory for storing the program module. Eight, schema: 19
TW100117203A 2010-09-19 2011-05-17 Method for performing coding resource management, and associated processing circuit TWI514264B (en)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2010/077096 WO2012034292A1 (en) 2010-09-19 2010-09-19 Method for performing coding resource management, and associated processing circuit

Publications (2)

Publication Number Publication Date
TW201214278A true TW201214278A (en) 2012-04-01
TWI514264B TWI514264B (en) 2015-12-21

Family

ID=45817255

Family Applications (1)

Application Number Title Priority Date Filing Date
TW100117203A TWI514264B (en) 2010-09-19 2011-05-17 Method for performing coding resource management, and associated processing circuit

Country Status (4)

Country Link
US (1) US9330281B2 (en)
CN (1) CN102906690B (en)
TW (1) TWI514264B (en)
WO (1) WO2012034292A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109739510B (en) * 2018-12-29 2023-05-16 上海庆科信息技术有限公司 Instruction encoding and decoding and executing method and device thereof

Family Cites Families (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6469633B1 (en) * 1997-01-06 2002-10-22 Openglobe Inc. Remote control of electronic devices
JP3998307B2 (en) * 1997-12-25 2007-10-24 富士通株式会社 Magnetic disk device and error correction method for magnetic disk device
TWI255443B (en) * 1998-10-22 2006-05-21 Ibm A method to identify CD content
US7590973B1 (en) 2000-06-30 2009-09-15 Microsoft Corporation Systems and methods for gathering, organizing and executing test cases
US20020071559A1 (en) * 2000-07-20 2002-06-13 Christensen Jakob Hjorth Method and apparatus for providing electronic data
DE60041444D1 (en) * 2000-08-21 2009-03-12 Texas Instruments Inc microprocessor
US7120799B2 (en) * 2000-12-15 2006-10-10 International Business Machines Corporation Method and apparatus for dual hardware and software cryptography
KR100396547B1 (en) * 2000-12-27 2003-09-02 삼성전자주식회사 Method for generating and receiving/transmitting input code in universal input-device and apparatus thereof
US20030140337A1 (en) * 2001-12-21 2003-07-24 Celoxica Ltd. System, method, and article of manufacture for data transfer reporting for an application
US7301961B1 (en) * 2001-12-27 2007-11-27 Cypress Semiconductor Corportion Method and apparatus for configuring signal lines according to idle codes
US20070124618A1 (en) * 2005-11-29 2007-05-31 Aguilar Maximino Jr Optimizing power and performance using software and hardware thermal profiles
US8218211B2 (en) * 2007-05-16 2012-07-10 Seereal Technologies S.A. Holographic display with a variable beam deflection
US8042084B1 (en) * 2009-06-19 2011-10-18 Xilinx, Inc. Generating factorization permutations of natural numbers and performing circuit design exploration
CN101763265B (en) * 2010-01-19 2012-10-03 湖南大学 Procedure level software and hardware collaborative design automatized development method
US8612633B2 (en) * 2010-03-31 2013-12-17 Microsoft Corporation Virtual machine fast emulation assist

Also Published As

Publication number Publication date
US9330281B2 (en) 2016-05-03
TWI514264B (en) 2015-12-21
WO2012034292A1 (en) 2012-03-22
CN102906690B (en) 2015-08-19
US20120068873A1 (en) 2012-03-22
CN102906690A (en) 2013-01-30

Similar Documents

Publication Publication Date Title
TW202006620A (en) Training of risk control model, risk control method, device and equipment for identifying embezzlement of secondary release account
US8243983B2 (en) Graphically encoded data copy and paste
TW201911174A (en) Payment method and apparatus and device thereof
WO2017101376A1 (en) Method for self-adaptively setting default payment mode and device therefor
TWI326428B (en) Real-time control apparatus having a multi-thread processor
TW201923595A (en) Memory access management for low-power use cases of a system on chip via secure non-volatile random access memory
TW201600965A (en) Thermally adaptive quality-of-service levels
JP2010068509A5 (en)
KR20160042003A (en) Intelligent multicore control for optimal performance per watt
KR101408021B1 (en) Method and playing device for realizing fast response in multimedia file control process
CN104394145B (en) A kind of dynamic token and method of work thereof with journal function
US20140019322A1 (en) Mobile banking systems and related methods
TW201214112A (en) Method for performing block management, and associated memory device and controller thereof
CN104883498A (en) Shooting method based on rotary camera, and terminal
CN107680047A (en) A kind of virtual reality scenario rendering intent, image processor and wear display device
CN101984449A (en) Smart card COS operating system
CN107256369A (en) The method of coded data, the method for reading data
TW201214278A (en) Method for performing coding resource management, and associated processing circuit
US20240020658A1 (en) Methods and systems for performing secure transactions associated with instructions received in natural language form
CN109688462A (en) Reduce method, apparatus, electronic equipment and the storage medium of equipment power dissipation
WO2019033899A1 (en) Fingerprint identification method and electronic apparatus
US20200266992A1 (en) Electronic device and control method thereof
US20120311347A1 (en) Apparatus and method for performing encryption and decryption of data in portable terminal
TW201243614A (en) Method for performing host-directed operations, and associated memory device and controller thereof
US20120144206A1 (en) Information processing apparatus, removable storage device, information processing method, and information processing system

Legal Events

Date Code Title Description
MM4A Annulment or lapse of patent due to non-payment of fees