1292090 九、發明說明: 【發明所屬之技術領域】 本發明是關於一種偵測模組化硬體設備的方法,护, 是相-種可因應消費性電子產品之硬體模组的組態變= 進行硬體模組_之㈣消費性電子產品之硬體模: 法。 J ^ [先前技術】 :前:般的消費性電子產品或家電產品,例如數位鋅 製造時,係將所有硬體整合㈣& _在廠 ,贫* 丁 A 4 」剛八木構進行銷隹 …不允讀用者自行拆除或增設内部硬體。 ° 用去然有鑑於附風潮及個性化商品的流行,具有可供使 用者自行組裝之模組化硬體 、使 為一種市場趨勢,為此 旧“子產-逐漸成 子產品中置入一可因雇不^體模組之消費電 程式。 “问硬體模組組態進行谓測之敕體 而綜觀目前之非消費性電子產品,例如個人 …腦,其中雖已具有谓測其周 - 由於與其連接之各種周邊裝置的製造來源不=制:但 有其特定的一偵測協定 。 通吊具 不同周邊f置貞測方式P因此,必須針對 或筆記測流程。此外,一^ 系統程式通常較-般:::::或… 於消費性電子產品之運管'子產品來得魔大,但是,限 W功能及儲存空間有限,並無法將1292090 IX. Description of the Invention: [Technical Field] The present invention relates to a method for detecting a modular hardware device, which is a phase change of a hardware module that can be adapted to a consumer electronic product. = Hardware module _ (4) Hardware model of consumer electronics: Method. J ^ [Prior Art]: Former: consumer electronics or home appliances, such as digital zinc manufacturing, the integration of all hardware (four) & _ in the factory, poor * Ding A 4 "gang eight wood structure sales ... Do not allow the user to remove or add internal hardware. ° In view of the popularity of the trend and personalized products, there is a modular hardware that can be assembled by users, which makes it a market trend. For this reason, the old "children - gradually become a sub-product Because of the consumer electronics program that does not use the body module. "Ask the hardware module configuration to perform the measurement of the body and look at the current non-consumer electronic products, such as the individual... brain, which has been measured for weeks. Since the manufacturing sources of the various peripheral devices connected thereto are not: there is a specific detection agreement. The spreader is different from the surrounding area. Therefore, it must be targeted or recorded. In addition, a system program is usually more general::::: or ... in the consumer electronics management of the 'sub-products to get the big, but the limited W function and storage space is limited, and can not be
1292090 二 :亡電腦或筆記型電腦對於週邊硬體之摘測流程及作 業綠式直接移植到一般消費性電子產品上使用。 *加 Η在’肖費性電子產品有限的運算能力及記憶 ic«間朱構下,讲斗_ 、 °又° 一 V通用於不同硬體模組的泛型偵測 孕人體朱構,以田_ 丁 η 二不同硬體組態進行硬體模組偵測,並縮 紐/肖費性電子產品 開機蚪間,逐成為具有模組化硬體設 什之消費性電子產品的一種需求。 【發明内容]1292090 II: The computer or notebook computer is used for the peripheral hardware extraction process and the green operation directly to the general consumer electronics. *Twisted in the limited computing power and memory of the Xiao Fei electronic products, the talk _, ° ° ° ° V pass for the detection of the human body of different hardware modules, to Tian _ Ding η Two different hardware configurations for hardware module detection, and the expansion of the new electronic products, which has become a demand for consumer electronics with modular hardware. [Content of the Invention]
At ^ 本^月之目的’主要提供-種可因應硬體模組 、’’且悲變更進行_,以提升開機執行效能之谓測消費性電 子產品之硬體模組的方法。 於是,本發明谓測消費性電子產品之硬體模組的方法 ’該:肖費性電子產品可供複數硬體模組可插拔地組設及置 換。亥方法包括:⑷提供一硬體參數設定播,其中記錄該 等硬體模組及其設定參數資訊;(B)根據該硬體泉數設定幹 偵測=硬體模組其中之一是否組設在該消費性電子產: 上右疋,在一硬體組態設定播中設定成支援該硬體模組 ⑽讀取該硬體模組之一内部資訊,以根據該内部資訊於 :亥硬體减設定播中找尋對應之—設定參數資訊並記錄在 遠硬體組態設定播中;及(D)重覆步驟⑻及(c)直到完成所 有硬體模組的偵測。 、此外,本發明另1測消f性電子產品之硬體模組的 方法,該消費性電子產品可供複數硬體模組可插拔地組設 及置換以.交更組悲,該方法包括:(A)提供一記錄該等硬體 1292090At ^ The purpose of this month is to provide a method for measuring the hardware module of a consumer electronic product in response to a hardware module, ''and sorrowful change'. Thus, the present invention is directed to a method of measuring a hardware module of a consumer electronic product. The short-range electronic product is configurable and replaceable for a plurality of hardware modules. The method includes: (4) providing a hardware parameter setting broadcast, wherein the hardware modules and their setting parameters are recorded; (B) setting the dry detection = one of the hardware modules according to the number of the hardware springs; The consumer electronics product is disposed on the top right side, and is configured to support the hardware module (10) to read internal information of the hardware module in a hardware configuration setting, according to the internal information: In the hardware reduction setting, the corresponding information is set up - the parameter information is set and recorded in the far hardware configuration setting broadcast; and (D) the repeated steps (8) and (c) are repeated until all the hardware modules are detected. In addition, the present invention further relates to a method for measuring a hardware module of a f-electronic product, wherein the consumer electronic product is configurable and replaceable by a plurality of hardware modules, and the method is Includes: (A) providing a record of the hardware 1292090
模組及其設定參數資訊之硬體參數設定檔,及一用以記錄 組設在消費性電子產品上之硬體模組及其設定參數資訊之 硬體組態設定檔;(B)當該消費性電子產品上之硬體模組變 更組態時,至少進行步驟(C)〜(F),否則至少進行步驟(F); (C)根據該硬體參數設定檔偵測該等硬體模組其中之一是否 組設在該消費性電子產品上,若是,在該硬體組態設定檔 中設定成支援該硬體模組;(D)讀取該硬體模組之一内部資 訊,以根據該内部資訊由該硬體參數設定檔中找尋一對應 之設定參數資訊並記錄在該硬體組態設定檔中;(E)重覆上 述步驟(C)及(D)直到偵測完所有硬體模組;及(F)讀取該硬 體組態設定稽並根據其中之設定蒼數資訊設定對應之各該 硬體模組。 【實施方式】 有關本發明之前述及其他技術内容、特點與功效,在 以下配合參考圖式之一較佳實施例的詳細說明中,將可清 楚的呈現。 參閱圖1所示,是本發明偵測消費性電子產品之硬體 模組的方法的一較佳實施例之流程圖,且該消費性電子產 品可供複數硬體模組可插拔地組設及置換以變更其硬體組 態。 在本實施例中,消費性電子產品中係已預先載置有一 電腦可讀取之記錄媒體(例如一可存取之記憶體單元,圖未 不)’該記錄媒體中記錄有一電腦程式及一如圖2所不之貢 料庫2,該資料庫2中主要儲存有一泛型偵測模組(軟體程 1292090 式)21、一硬體參數設定檔22、—硬體組態設定檔23及一 圖形用戶介面與顯示器顯示操控設定檔24。泛型(generics) 偵測模組21是一適用於偵測本實施例所有硬體模組的硬體 模组偵測程式,其詳細偵測流程容後說明。硬體參數設定 檔22中記錄有所有可組設在該消費性電子產品中之硬體模 組及其執行時所需之設定參數資訊。硬體組態設定檔23是 用以§己錄組設在消費性電子產品上之硬體模組及其設定參 數育訊。圖形用戶介面與顯示器顯示操控設定檔Μ是用以 對應不同硬體模組設定其專屬之一圖形用戶介面(如咖 User Interface,簡稱Gm)及一顯示器顯示操控介面⑴〇 keen DiSplay,簡稱0SD)。且該電腦程式可被載入該消費 性電子產品中,並執行下列步驟: 如圖1所示,當消費性電子產品被啟動後,如步驟U ’電腦程式會先對消費性電子產品之内部硬體(例如 =c(Application Specific Integrated Chcuh,特殊應用積體 4)、IDE(Integrated Drive E】ectr〇nics,整合電子式驅動介 面)、基本I/O等)進行一初始化設定,以便於進行後續痛測 周邊的動作。接著,如步驟12,電腦程式判斷消費性電子 f品之硬體組態是否有變更,其判斷方式有兩種:⑴是否 二-次開機’或者⑺是否收到一重新谓測指令(該指令通常 是在使用者重新組設硬體模組或有變更硬體模組後下達), 田仃σ上述兩種情況其中之一,即表示硬體組態變更,則 進入步驟13,執行資料庫2中之泛型偵測模組2〗。' 如圖3所示,泛型偵測模組21主要根據硬體參數設定a hardware parameter setting file for the module and its setting parameter information, and a hardware configuration setting file for recording the hardware module and its setting parameter information set on the consumer electronic product; (B) when the When changing the configuration of the hardware module on the consumer electronics, at least steps (C) to (F) are performed, otherwise at least step (F) is performed; (C) detecting the hardware according to the hardware parameter profile Whether one of the modules is set on the consumer electronic product, and if so, is set to support the hardware module in the hardware configuration profile; (D) reading internal information of the hardware module And searching for a corresponding setting parameter information from the hardware parameter setting file according to the internal information and recording in the hardware configuration setting file; (E) repeating the above steps (C) and (D) until detecting Finishing all the hardware modules; and (F) reading the hardware configuration settings and setting the corresponding hardware modules according to the set number information. The above and other technical contents, features and effects of the present invention will be apparent from the following detailed description of the preferred embodiments. 1 is a flow chart of a preferred embodiment of a method for detecting a hardware module of a consumer electronic product, and the consumer electronic product is available for a pluggable group of a plurality of hardware modules. Set and replace to change its hardware configuration. In this embodiment, a computer-readable recording medium (for example, an accessible memory unit, not shown) is pre-loaded in the consumer electronic product, and a computer program and a computer are recorded in the recording medium. As shown in Fig. 2, the library 2 mainly stores a generic detection module (software type 1292090) 21, a hardware parameter setting file 22, a hardware configuration profile 23 and A graphical user interface and display display control profile 24. The generics detection module 21 is a hardware module detection program suitable for detecting all the hardware modules of the embodiment, and the detailed detection process is described later. The hardware parameter setting file 22 records all the hardware modules that can be assembled in the consumer electronic product and the setting parameter information required for execution. The hardware configuration profile 23 is used to record the hardware modules and their setting parameters for consumer electronics. The graphical user interface and the display display control profile are used to set one of the exclusive graphical user interfaces (such as the User Interface, Gm for short) and a display display control interface (1) 〇keen DiSplay (0SD) for different hardware modules. . And the computer program can be loaded into the consumer electronic product, and the following steps are performed: As shown in FIG. 1, when the consumer electronic product is activated, as in step U', the computer program will first be internal to the consumer electronic product. Hardware (for example, =c (Application Specific Integrated Chcuh), IDE (Integrated Drive E), ectr〇nics, integrated I/O, etc.), an initial setting is made to facilitate Subsequent pain tests around the action. Then, as shown in step 12, the computer program determines whether the hardware configuration of the consumer electronic product has changed. There are two ways to determine whether: (1) whether the second-time power-on or (7) whether a re-measurement command is received (the instruction) Usually after the user reassembles the hardware module or has the hardware module changed, Tian Yi σ one of the above two situations, that is, the hardware configuration change, then proceeds to step 13, the execution database 2 of the generic detection module 2〗. As shown in Figure 3, the generic detection module 21 is mainly set according to hardware parameters.
1292090 叔22中記錄之硬體模組進行偵測,其流程如下. 驟3。"測第_硬體模組是否組設在 庫2之=一若有_,則進行步驟如… '、、'俊進订步驟302’讀取第則固硬體模 该内部資訊包括硬體模組之廠牌繼,接著,:貝:1292090 The hardware module recorded in Uncle 22 is detected. The flow is as follows. Step 3. "Measure the first _ hardware module is set in the library 2 = if there is _, then the steps such as... ',, 'Jun to order step 302' read the first solid hard phantom, the internal information including hardware The label of the module continues, and then: Bay:
号Ά 6又疋茶數資訊,若有找到,則進行步驟3〇4, 將該設定參數資訊記錄在該硬體組態設^ U中I ^個蝴…賴M,純糊應㈣定 二貝$,則進行步驟3〇5,將帛n個硬體模組之一預設 ==訊(執行基本功能之參數資訊)記錄在硬體組 回到y b 300,當摘測不到第N個硬體模組時,則進 入步驟规,將該硬體組態設以# 23設^成不支援該第n 個硬體模組’並結束伯測第N個硬體模組的動作。 …、後’回到圖1之步驟14,電腦程式判斷是否已谓測 完所有硬體模組’若否’則重覆步驟13’再次執行泛型偵 測模組m+1個硬體模組(下—個硬體模組)進行谓測, 直到偵測完所有硬體模組。 以一可供組設一光碟機、一硬碟、一讀卡機、一數位 电視板組及-卡拉Gk模組等硬體模組之數位錄放影機(消費 性電子產品)為例,於已確定硬體組態變更的情況下,該等 硬體模組之一完整偵測流程可參見圖4〜8。 1292090 以圖4來說,圖4之步 式一 η私八a 釦401,如同圖】之步驟〗1,程 飞開始會先對數位錄放影德由 牙 缺德,、隹λ本 、中之硬體進行初始化設定, …、 I入y驟402,執行泛型偵測γ 。^ , 參數設定槽22令硬體模則挺組21,使依照硬體 存在*一 之§己錄順序,先谓測光碟機是否 能< ~ ^ 貞測不到,如步驟403,在硬 恶设定槽23 t設定成不支 长更版組 硬磾機^ ώ 渠祛,並進行下一硬體模組( 定檔23中$定出古乂‘ 4〇4,在硬體組態設 ^ 麦“碟機’並進行步驟405,讀取弁石结 幾的内部資訊(包括廠牌及 、 ^ 姑斗; 丄現寻),然後,如步驟406,妒 據该内部資訊至資料庫2 根 4. λα <硬月豆茶數設定檔22中找尋弁雄 機的設定參數資訊,若有 $ 設定夫H ㈣則如步驟彻’將光碟機的 ::…錄在硬體組態設定槽A巾, 如步驟侧,在硬體組態設定樓中 (default)參數資訊⑶耔其士丄 疋东枝的預e又 。孔(執仃基本功能的參數 模組(硬碟機)的偵測。 仃卜硬月立 円6因^’由圖4之步驟4()2〜4()8,圖5之步驟训., 乂驟601〜6〇7,圖7之步驟701〜及圖8之步驟 801〜807之偵測步驟可知,泛 & .sI J 偵冽杈組21被重覆執行以 :序續測光碟機、硬碟機、讀卡機、數位電視模組及卡拉 ok核組等硬體模組’並將偵測到之硬體模組及其設定來數 記錄在硬體組態設定檔23中。 ^ 再回到圖1之步驟】4,當完成所有硬體模组仙後, 即進入步.驟15,執行-系統啟動流程。同樣地,若硬體組 恐亚未㈣亦即並非第一次開機,亦沒有收到使用者下達 ]〇 1292090 之重新偵測指令時),則在步驟12之後可直接進入步驟η 執行该系統啟動流程,以加快消費性電子產品之開機速 度。 汗l 如圖9之步驟901所示,系統啟動流程首先讀取硬體 組態設定檔23中之設定參數資訊,以對各該被偵測到之硬 體模組進行相關設定,以啟動各該硬體模組,然後進行步 驟902,令圖形用戶介面及顯示器顯示操控設定檔根據 硬體組態設定檔23中所記錄之硬體模組,針對各該硬體模 組產生對應之一圖形用戶介面(Gm)及一顯示器顯示操控介 面(OSD)供使用者隨時開啟並操作使用。 由上述說明可知,本實施例藉由設計一可適用於消費 性電子產品之所有硬體模組之泛型偵測模組,不但適合功 能及記憶空間皆有限之消費性電子產品架構,而且配合記 錄有所有硬體模組參數資訊之硬體參數設定檔,更可於硬 體組態變更時,予以偵測變更之硬體模組,以正確偵測出 硬體模組之廠牌、型號等内部資訊並記錄其參數資訊在硬 體組態設定檔中,以方便對組設在消費性電子產品中之硬 體模組進行相關設定。同時,藉由將偵測到之硬體模組及 其參數資訊記錄在硬體組態設定檔中,可方便下次開機時 ,能藉由直接讀取硬體組態設定檔中之設定參數資訊對硬 體模組進行設定,而提升開機速度。 惟以上所述者,僅為本發明之較佳實施例而已,當不 能以此限定本發明實施之範圍,即大凡依本發明申請專利 範圍及發明說明内容所作之簡單的等效變化與修飾,皆仍 1292090 屬本發明專利涵蓋之範圍内。 【圖式簡單說明】 圖!是本發明偵測消費性電子產品之硬體模組的方法 的—較佳實施例之流程圖; 圖2是本實施例之資料庫内部檔案示意圖; 圖3是本實施例之泛型偵測模組之偵測流程圖; .圖4是本實施例之泛型偵測模組偵測光碟機之流程圖 , •圖5是本實施例之泛型偵測模組偵測硬碟機之流程圖 5 圖6是本實施例之泛型偵測模組偵測讀卡機之流程圖 圖7是本貫施例之泛型偵測模組偵測數位電視模組之 流程圖; 圖8是本實施例之泛型偵測模組偵測卡拉〇κ模組之流 程圖;及 圖9是本實施例之系統啟動流程圖。 (S: 12 1292090 【主要元件符號說明】 2 資料庫 21泛型偵測模組 22硬體參數設定檔 23硬體組態設定檔 24圖形用戶介面與顯示器顯示操控設定檔 11〜15、300〜306流程步驟 401〜408、500〜507流程步驟 600〜607、700〜707流程步驟 800〜807、900〜902流程步驟No. 6 and 疋 tea number information, if found, proceed to step 3〇4, record the setting parameter information in the hardware configuration setting ^ ^ ^ butterfly... La M, pure paste should (four) fixed two Bay$, proceed to step 3〇5, record one of the n hardware modules preset == message (perform the basic function parameter information) in the hardware group back to yb 300, when the N is not measured In the case of a hardware module, the step is entered, and the hardware configuration is set to #23, and the nth hardware module is not supported, and the operation of the Nth hardware module is terminated. ..., after 'return to step 14 of Figure 1, the computer program determines whether all the hardware modules have been tested 'if no', then repeat step 13' to execute the generic detection module m+1 hardware modules again. (Next - a hardware module) performs the pre-test until all hardware modules are detected. Take a digital video recorder (consumer electronics) that can be used to set up a hard disk module such as a CD player, a hard disk, a card reader, a digital TV board, and a Kara Gk module. In the case where the hardware configuration change has been determined, the complete detection process of one of the hardware modules can be seen in Figures 4-8. 1292090 As shown in Figure 4, Figure 4 is a step-by-step η private eight a buckle 401, as shown in Figure 〖1, Cheng Fei will begin to record the number of dynasty by the dynasty, 隹λ本, 中中硬The body performs initial setting, ..., I enters y step 402, and performs generic detection γ. ^, parameter setting slot 22 so that the hardware module is quite group 21, so that according to the hardware existence * one of the § recorded order, first whether the optical disc player can be < ~ ^ 贞 not measured, as in step 403, in the hard The evil setting slot 23 t is set to not support the long version of the hard disk machine ^ ώ 祛 祛, and the next hardware module (Fixing 23 in the fixed file 乂 乂 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 ^ Mai "disc machine" and proceed to step 405, read the internal information of the meteorite knot (including the label and ^, the aunt; look now), and then, as in step 406, according to the internal information to the database 2 Root 4. λα < Hard Moon Bean Tea Number Setting File 22 to find the setting parameter information of the 弁雄机, if there is a setting of H (four), then follow the steps to 'record the CD player::... in the hardware configuration setting. Slot A towel, such as the step side, in the hardware configuration setting (default) parameter information (3) 耔 丄疋 丄疋 丄疋 枝 的 的 。 。 孔 孔 孔 孔 孔 孔 孔 孔 孔 孔 孔 孔 孔 孔 孔 孔 孔 孔 孔 孔 孔 孔 孔 孔 孔 孔 孔 孔Detecting. 仃布硬月立円6因^' From step 4 of Figure 4 () 2~4()8, step 5 of Figure 5, steps 601~6〇7, step 701~ of Figure 7 Steps 801 to 807 of Figure 8. The detection step can be seen that the pan & .sI J detection group 21 is repeatedly executed to: the sequential test optical disk drive, hard disk drive, card reader, digital television module and karaoke nuclear group and other hard models The group 'records the detected hardware module and its settings in the hardware configuration profile 23. ^ Go back to the step of Figure 1 4, when all the hardware modules are completed, ie Go to step 15. Step 1: Execute - system startup process. Similarly, if the hardware group is not the first (4), that is, it is not the first time to boot, and the user does not receive the re-detection command of 〇1292090, then After step 12, the system startup process can be directly performed in step η to speed up the startup speed of the consumer electronic product. Sweat l As shown in step 901 of FIG. 9, the system startup process first reads the hardware configuration profile 23 Setting parameter information to perform related settings on each of the detected hardware modules to activate each hardware module, and then performing step 902 to enable the graphical user interface and the display display control profile according to the hardware group The hardware module recorded in the mode profile 23, for each of the hard The body module generates a corresponding graphical user interface (Gm) and a display display control interface (OSD) for the user to open and operate at any time. As can be seen from the above description, the present embodiment can be applied to consumer electronic products by designing one. The universal detection module of all hardware modules is not only suitable for consumer electronic product architectures with limited functions and memory spaces, but also with hardware parameter profiles for recording all hardware module parameter information. When the hardware configuration is changed, the hardware module to be detected is changed to correctly detect the internal information of the hardware module, such as the brand and model, and record the parameter information in the hardware configuration file to facilitate The related settings are set for the hardware modules set in the consumer electronics. At the same time, by recording the detected hardware module and its parameter information in the hardware configuration profile, it is convenient to directly read the setting parameters in the hardware configuration profile when the power is turned on next time. The information is set on the hardware module to increase the boot speed. The above is only the preferred embodiment of the present invention, and the scope of the invention is not limited thereto, that is, the simple equivalent changes and modifications made by the scope of the invention and the description of the invention are Both are still 1292090 within the scope of the invention patent. [Simple diagram of the diagram] Figure! It is a flowchart of a preferred embodiment of the method for detecting a hardware module of a consumer electronic product; FIG. 2 is a schematic diagram of the internal file of the database of the embodiment; FIG. 3 is a generic detection of the embodiment. The detection flowchart of the module is shown in FIG. 4 is a flow chart of the detection module of the universal detection module of the embodiment, and FIG. 5 is the detection module of the universal detection module of the embodiment. FIG. 6 is a flowchart of detecting a card reader by the generic detection module of the embodiment. FIG. 7 is a flowchart of detecting a digital television module by the generic detection module of the present embodiment; It is a flowchart of detecting the Karaoke κ module by the generic detection module of the embodiment; and FIG. 9 is a system startup flowchart of the embodiment. (S: 12 1292090 [Key component symbol description] 2 Database 21 generic detection module 22 hardware parameter configuration file 23 hardware configuration profile 24 graphic user interface and display display control configuration file 11~15, 300~ 306 process steps 401~408, 500~507 process steps 600~607, 700~707 process steps 800~807, 900~902 process steps
]3]3