TWI328749B - Embedded hardware controller and method thereof - Google Patents

Embedded hardware controller and method thereof Download PDF

Info

Publication number
TWI328749B
TWI328749B TW95146385A TW95146385A TWI328749B TW I328749 B TWI328749 B TW I328749B TW 95146385 A TW95146385 A TW 95146385A TW 95146385 A TW95146385 A TW 95146385A TW I328749 B TWI328749 B TW I328749B
Authority
TW
Taiwan
Prior art keywords
embedded
processing system
hardware
module
data processing
Prior art date
Application number
TW95146385A
Other languages
Chinese (zh)
Other versions
TW200825761A (en
Inventor
Ching Cheng Yang
Fei Hsu Chen
Yu Jen Lai
Chih Yuan Hsu
Original Assignee
Ind Tech Res Inst
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 Ind Tech Res Inst filed Critical Ind Tech Res Inst
Priority to TW95146385A priority Critical patent/TWI328749B/en
Publication of TW200825761A publication Critical patent/TW200825761A/en
Application granted granted Critical
Publication of TWI328749B publication Critical patent/TWI328749B/en

Links

Landscapes

  • Stored Programmes (AREA)
  • Storage Device Security (AREA)

Description

1328749 * * 九、發明說明: 【發明所屬之技術領域】 • 本發明係有關於一種控制技術,更詳而言之,係有關 •於一種用以嵌入式控制硬體之模組化方法。 【先前技術】 • 隨著電腦控制技術的日新月異,以往必須利用人為操 作的工作母機或生產設備,多半能透過自動控制應用程式 搭配如電腦或其他具有資料處理功能之系統控制該工作 f母機或生產設備。透過電腦控制的優點在於可程式化且能 較人為操作更精密準確。 然而,目前用以控制工作母機或生產設備的控制系統 在設計之初’均預先將包括用以驅動控制該工作母機或生 產設備之驅動程式在内的系統程式或其他用以控制該工 作母機或生產設備的應用程式儲存於該控制系統之儲存 單元中,用以提供該控制系統内之資料處理系統依據該些 0程式控制該工作母機工作母機或生產設備。 前述之控制系統若遇到該工作母機或生產設備所搭 接的周邊裝置有所變更,亦或該控制系統中之資料處理系 統變更系統規格或硬體升級時,預先儲存的該些程式便無 法應用於變更後的周邊裝置或資料處理系統,即便能夠應 用,但也可能因為無法將該變更後的周邊褒置或資料處理 系統的效能發揮到極致,而造成資源利用效率的低下。 為解決此一問題,習知技術有利用外接式儲存單元儲 存更新的程式,並將該外接式儲存單元與該控制系統相互 5 19974 ζ S ) 1328749 資料處理系_取該外接式_單 ^式’絲代該控制系統儲存單Μ所儲存之舊的程 式。此種技術的缺點在於該控制系統必須 設定外接埠之傳輸介面的 八 接阜及 # ^ . w . 此再者,使用者於裝置該外 接式儲存早兀於該控制系統時 ,驅叙於斗、—壯^ 町设々對於該控制系統進行 ,動耘式文裝…對於程式的更新頗為不便。1328749 * * IX. Description of the invention: [Technical field to which the invention pertains] • The present invention relates to a control technique, and more particularly to a modular method for embedded control hardware. [Prior Art] • With the rapid development of computer control technology, it has been necessary to use human-made work machines or production equipment in the past, and most of them can control the work or the production through an automatic control application with a system such as a computer or other data processing function. device. The advantage of computer control is that it can be programmed and more precise and accurate than human operation. However, at present, the control system for controlling the working machine or the production equipment will be pre-designed to include a system program for driving the driver of the working machine or the production equipment or other means for controlling the working machine or The application device of the production device is stored in the storage unit of the control system for providing a data processing system in the control system to control the working machine or the production device of the working machine according to the 0 programs. If the above-mentioned control system encounters a change in the peripheral device connected to the working machine or the production equipment, or when the data processing system in the control system changes the system specification or hardware upgrade, the pre-stored programs cannot be Even if it can be applied to a peripheral device or a data processing system after the change, the efficiency of the resource utilization efficiency may be lowered because the performance of the changed peripheral device or the data processing system cannot be maximized. In order to solve this problem, the prior art has a program for storing and updating an external storage unit, and the external storage unit and the control system are mutually connected to each other. 5 19974 ζ S ) 1328749 data processing system _ taking the external type _ single type 'Sis generation's control system stores the old programs stored in the unit. The disadvantage of this technology is that the control system must set the eight ports of the transmission interface of the external port and #^. w. Moreover, when the user stores the external storage as early as the control system, , - Zhuang ^ Town set up for the control system, dynamic text... It is quite inconvenient for the program update.

式,=提供控制系統利用網路下载更新程式的方 ^惟該控制系統必須具有網路連結功能,若不 連結功能則無法予以適用。 ’、' 相關㈣“中之儲存單摘儲存之程式 均不具有加密保護之功能,因此,於該工作母機 取:備出廠後’其中之程式資料會有被未授權者竊 取、重製或破壞等問題。 綜上所述,如何能夠提供—, = provide the control system to use the network to download updates to the program, but the control system must have a network connection function, if you do not link the function can not be applied. ', 'Related (4) "The program that stores the single-storage storage does not have the function of encryption protection. Therefore, in the working machine: after the factory is shipped, the program data will be stolen, remade or destroyed by unauthorized persons. And so on. In summary, how can we provide -

驅動私式在内的糸統程式及/或其他應用程式予以儲存與 保護,並搭配獨立的處理單& # '、 外王早兀執仃資料的邏輯運算,而主 動驅動控制搭接至控制裝置的 ㈣動換組’藉以減少對於程 所須之硬體設備與設定作業,遂成為目前$待解決 I眾題。 【發明内容】 種缺失,本發明之一目的在 以及方法,以減少對於程式 業。 為解決前述習知技術之種 於提供一種嵌入式控制器硬體 更新所須之硬體設備與設定作 本發明之另一 目的在於提供一種嵌入式控制器硬體 19974 6 j厶〇丨气y 以及方法,可獨立運算以提昇執行效率。 以及=ΓΓ在於提供一種嵌入式控制器硬體 去W進-步保護驅動核心模組之安全性。The system and/or other applications that drive the private system are stored and protected, and are combined with the independent processing of the single &# ', the external logic of the remote control data, and the active drive control to the control The (four) dynamic change group of the device is used to reduce the hardware equipment and setting operations required for the process, and becomes the current problem to be solved. SUMMARY OF THE INVENTION One object of the present invention is to minimize the need for a program. Another object of the present invention is to provide an embedded controller hardware for the purpose of providing a hardware device and setting for the embedded controller hardware update. And methods, independent operations to improve execution efficiency. And = ΓΓ is to provide an embedded controller hardware to W-step protection drive core module security.

制哭目的與其他目的,本發明提供'種嵌入式控 “置中,,=1於搭接有驅動模組與資料處理系統的控 般入至二該資料處理系統以透過該驅動模組控制 :少用=的後入式硬體’其包括:儲存單元,係 模==設定驅動碼以及驅動核心模組,該驅動核心 排介面動控制該驅動模組之系統程式;資料匯流 接,以盎”、至該儲存單S,用以與該資料匯流排連 及;^理二貝料處理系統及該驅動模組進行資料傳輸;以 用:舳::、:係耦合至該儲存單元與該資料匯流排介面, 丁貧料之邏輯運算’以於透過該資料匯流排介面與For the purpose of crying and other purposes, the present invention provides an "embedded control" centering, which is controlled by the drive module and the data processing system to control the data processing system through the drive module. : useless = rear-mounted hardware' includes: storage unit, modulo == set drive code and drive core module, the drive core interface controls the system program of the drive module; data sinking, An ang", to the storage list S, for converging with the data; and a processing system for the two-bead processing and the driving module for data transmission; for: 舳::,: coupled to the storage unit and The data bus interface, the logical operation of the dregs and the material 'through the data bus interface and

排連接時,依據”料處理线之要求提供該 疋-碼並儲存於該資料處理系統中,以令該資料處理 系,提取該儲存單元中的驅動核心模組,並依據該驅動核 Ά組驅動該驅動模組以控制該嵌入式硬體。 一於本發明之—種型態中,該驅動核心模組可預先透過 =密程序予以編碼’且該儲存單元中復可儲存有對應該加 錄序之解碼模組’而該處理單元復可用以於該資料處理 系統提取該儲存單元中的驅動核心模組前,執行該解碼模 組,以將該經過加密矛呈序編碼後之驅動核 心模組予以解 碼,俾供δ玄資料處理系統提取使用。 種敢入式硬體控制方法,係應用於搭接有驅動模組 7 19974 1328749 與資料處理系統的控制裝置中,俾結合該資料處理系統以 透過該驅動模組控制嵌入至該控制裝置的嵌入式硬體,該 貝料處理裝置至少包括記憶單元,該嵌入式硬體控制方法 .包括:首先,提供一儲存有設定驅動碼以及驅動核心模組 之肷入式硬體控制器輕合至該資料處理系統,該驅動核心 模組至少包括驅動控制該驅動模組之系統程式;其次,根 據該資料處理系統之要求提供該設定驅動碼並儲存於該 .資料處理系統之記憶單元中;以及令該資料處理系統提取 該儲存單元中的驅動核心模組,並依據該驅動核心模組驅 動該驅動模組以控制嵌入至該控制裝置的嵌入式硬體。 —於本發明之一種型態十,該驅動核心模組預先透過加 密程序予以編碼,且該儲存單元中復儲存有對應該加密程 序之解碼模組,而於該資料處理系統提取該儲存單元中的 驅動核心模組前,先執行該解碼模組,以將該經過加密程 序編碼後之驅動心模組予以解碼,俾供該資料處理^ 提取使用。 相較於習知的嵌入式控制硬體技術,本發明之嵌入式When the row is connected, the 疋-code is provided according to the requirements of the material processing line and stored in the data processing system, so that the data processing system extracts the driving core module in the storage unit, and according to the driving core group Driving the driving module to control the embedded hardware. In the present invention, the driving core module can be coded in advance through a password program, and the storage unit can be stored in a corresponding storage. The decoding module of the recording sequence can be used to execute the decoding module before the data processing system extracts the driving core module in the storage unit, so as to drive the encoded core after the encrypted spear is encoded. The module is decoded and used by the δ Xuan data processing system. The daring hardware control method is applied to the control device with the drive module 7 19974 1328749 and the data processing system, and the data processing is combined. The system controls an embedded hardware embedded in the control device through the driving module, the bedding processing device includes at least a memory unit, and the embedded hardware control method includes First, providing a data-input system that stores a set-up driver code and a driver core module, the driver core module includes at least a system program for driving and controlling the driver module; secondly, according to The data processing system provides the setting drive code and stores it in the memory unit of the data processing system; and causes the data processing system to extract the driving core module in the storage unit, and drives the driving core module according to the driving core module The driving module controls the embedded hardware embedded in the control device. In one form of the present invention, the driving core module is encoded in advance by an encryption program, and the storage unit stores a corresponding encryption program. a decoding module, wherein before the data processing system extracts the driving core module in the storage unit, the decoding module is executed to decode the encrypted driving module and obtain the data. Processing ^ extraction use. Compared with the conventional embedded control hardware technology, the embedded device of the present invention

控制益硬體以及方法,能蔣神六五丨A 久々次此將儲存至少包括設定驅動碼以及 驅動核心模組的儲存單元、資料匯流排介面以及處理單元 予以模組化,並能予該資料處理系統相分離,其中,該驅 ,核心模組能依據控制裝置的不同喪入式硬體設定内 故於該肷人式硬體及/或該資料處理系統變更及/或 級時’無須重新對該控制裝置予以設定。此外,藉由獨立 於該資料處理系統的處理單元,能更有效率的執行驅動核 19974 1328749 心模組。再者,本發明之嵌人式控制器硬體以及方法復能 進-步結合加解密之程序,進而實現保護該驅動核心模 組’達成不會遭未授權者竊取、重製或破壞之目的。 【實施方式】 …以下係藉由特定的具體實施例說明本發明之實施方 式,熟悉此技藝之人士可由本說明書所揭示之内容輕易地 瞭解本發明之其他優點與功效。本發明亦可藉由其他不同The control hardware and method can be used to store at least the storage unit, the data bus interface and the processing unit of the drive core module, and the data can be given to the data. The processing system is separated, wherein the core module can be set according to different mortal hardware settings of the control device, so that the tamper-type hardware and/or the data processing system change and/or level does not need to be re- The control device is set. In addition, the driver core 19974 1328749 core module can be more efficiently executed by a processing unit independent of the data processing system. Furthermore, the embedded controller hardware and method of the present invention can further combine the steps of encryption and decryption, thereby implementing protection of the driver core module to achieve the purpose of not being stolen, recreated or destroyed by unauthorized persons. . [Embodiment] The following describes the embodiments of the present invention by way of specific embodiments, and those skilled in the art can readily understand other advantages and advantages of the present invention from the disclosure of the present disclosure. The invention may also be made up of other differences

的具體實施例加以施行或應用,本說明書中的各項細節亦 可基於不同觀點與應用’在不悖離本發明之精神下進 種修飾與變更。 請參閱第1圖,其係本發明之嵌入式控制器硬體的庫 用架構示意圖,如圖所示,本發明之嵌人式控制器硬以 係應用於搭接有驅動模組2卜22、23以及資料處理系統 24的控制裝置2中,俾結合該資料處理系统⑷乂透過該 驅動模組2卜22、23控制嵌人至該控制裝置2 Λ 硬體 25、26、27。 於本實施例中,該控制裝置2之嵌入式硬體託、^、 27可分另Π列如為輸出入單元、數位/類比轉換單元以及馬 達。該驅動模組2卜22與23則分別用以對應驅動控· 該嵌入式硬體25、26、27,亦即做為該輸出入單元、數 位/類比轉換單元以及馬達之驅動模組。資料處理系統Μ 可例如為與工業等級電腦系統㈣之具有資料處理功能 的系統。於本實施例中,該資料處理系統24具有資料^ 流排241 μ及記憶單& 242。須特別說明者,該資料處理 19974 1328749 系統24應包括其他執行資料處理時所必要之單元、模组 及/或週邊裝置,然為避免模糊太宏 ^ 迥兄犋糊本案之技術特徵所在,故 僅描述與本案之技術内容有關者。 _本發明之歲入式控制器硬體1包括:儲存單元u、 資料匯流排介面12以及處理單元13。 該儲存單元11係用以儲存至少包括設定驅動瑪 以及驅動核心模組112,該驅動核心模組⑴至少包括驅The specific embodiments of the present invention may be practiced or applied, and the details of the present invention may be modified and changed without departing from the spirit and scope of the invention. Please refer to FIG. 1 , which is a schematic diagram of the library structure of the embedded controller hardware of the present invention. As shown in the figure, the embedded controller of the present invention is applied to the lapped drive module 2 . And the control device 2 of the data processing system 24, in conjunction with the data processing system (4), controls the embedding to the control device 2 硬 hardware 25, 26, 27 through the drive module 2, 22, 23. In this embodiment, the embedded hardware support, ^, 27 of the control device 2 can be divided into another input unit, a digital/analog conversion unit, and a motor. The driving modules 2 and 22 are respectively used for corresponding driving control of the embedded hardware 25, 26, 27, that is, as the input and output unit, the digital/analog conversion unit and the driving module of the motor. The data processing system Μ can be, for example, a system having a data processing function with an industrial grade computer system (4). In the present embodiment, the data processing system 24 has a data stream 241 μ and a memory list & 242. In particular, the data processing 19974 1328749 system 24 should include other units, modules and/or peripherals necessary to perform data processing. However, in order to avoid obscuring the technical characteristics of the case, Only those related to the technical content of this case are described. The hardware controller 1 of the present invention includes a storage unit u, a data bus interface interface 12, and a processing unit 13. The storage unit 11 is configured to store at least a set drive driver and a drive core module 112. The drive core module (1) includes at least a drive

動控制該驅動模組21、22、t t 之系統耘式。該設定驅動 π係提供6亥貝料處理系统24識別嵌入式控制器硬體 之用以使》玄:貝料處理系統24與嵌入式控制器硬體1 之間進行資料傳輸。該驅動模組21、22、23係分別用以 9驅動控制該嵌人式硬體25、26、27 ,故該驅動模組21、 2。23之系統私式至少包括對應該驅動模組21、22、23 之驅動私式。於本實施例中,該驅動核心模組丄i 2復包括 有用以控制該嵌入式硬體25、26、27的應用程式,其可 例如但不限定為針對該嵌入式硬體25、26、27之程式化 控制應用程式等。 ▲該貝料匯流排介面丨2係耦合至該儲存單元丨丨,用以 ^為貝料處理系統24之資料匯流排241連接,以透過該 ^料匯机排241而與該資料處理系統24及各該驅動模組 21八22、23進行資料傳輸。於本實施例中,該資料匯流 1 ”面12在與該資料處理系統24之資料匯流排241連接 時’依據該貢料處理系統24之要求提供該設定驅動石馬 1U並透過遠貢料處理系統24將該設定驅動碼111儲存 10 19974 1328749 於該資料處理系統24之記憶單元242中,以令該資料處 理系統24提取該儲存單元u争的驅動核心模組ιΐ2,並 •依據該驅動核心模組112驅動各該驅動模組2卜22、23, -藉以控制嵌入至該控制裝置2的嵌入式硬體25、26、27。 該處理單元13係耦合至該儲存單元u及資料匯流排 介面12,提供該儲存單元u與該資料匯流排介面^執 行資料之邏輯運算。於本實施例中,該資料處理系統Μ 透過該資料匯流排介面12以餘賴存單元u中所儲存 #之該設定驅動石馬111 α及驅動核心模址112時,該處理單 元13用以提供該儲存單元u與該資料匯流排介面12執 行資料之邏輯運算。據此,該儲存單元u與該資料匯流 排介面12間資料之邏輯運算,即無需與該資料處理系統 24之單元、模組及/或週邊裝置共用該資料處理系統24 之系統資源,故能提升嵌入式控制器硬體丨本身以及該控 制裝置2之效率。 # 於本實施例中’該驅動核心模組112預先透過加密程 序予以編碼,且該儲存單元u中復儲存有對應該加密程 序之解碼模組113,而該處理單元13復用以於該資料處 理系統24提取該儲存單元u中的驅動核心模組前, 執行該解碼模組113,藉以將該經過加密程序編碼後之驅 動核心模組112予以解碼,俾供該資料處理系統以提取 解碼後之驅動核心模組112予以使用。據此,能實現保護 該驅動核心模組112,達成不會遭未授權者竊取重製或 破壞之目的。 19974 11 1328749 另一方面,於本實施例中所示之嵌入式控制器硬 之儲存單it 1卜資料匯流排介面12以及處理單元 整合為—介面卡型式。更具體言之,該整合為介面卡型式 的故入式控制器硬體i係對應於該#料處理系統2二 料匯流排241的規格,該資料匯流排241的規格可例如1 PCI PCI-E、ISA、EISA、PCMCIA、MCA、AGP 等資料 Μ 流排規格。 、ΜThe system of the drive modules 21, 22, t t is dynamically controlled. The set drive π system provides 6 haibei material processing system 24 to identify the embedded controller hardware for data transmission between the ft. beetle processing system 24 and the embedded controller hardware 1. The driving modules 21, 22, and 23 are respectively used to drive and control the embedded hardware 25, 26, and 27, so that the system of the driving modules 21, 2. 23 at least includes the corresponding driving module 21 , 22, 23 drive private. In this embodiment, the driver core module 丄i 2 includes an application program for controlling the embedded hardware 25, 26, 27, which may be, for example but not limited to, the embedded hardware 25, 26, 27 stylized control applications, etc. ▲ The billiard bus interface 丨 2 is coupled to the storage unit 丨丨 for connecting the data bus 241 of the bedding processing system 24 to communicate with the data processing system 24 through the hopper 241 And each of the driving modules 21, 82, 23 performs data transmission. In this embodiment, when the data sink 1" face 12 is connected to the data bus 241 of the data processing system 24, the set drive rocker 1U is provided according to the requirements of the tribute processing system 24 and processed through the remote tribute. The system 24 stores the set drive code 111 in the memory unit 242 of the data processing system 24 to enable the data processing system 24 to extract the drive core module ι 2 of the storage unit, and according to the drive core The module 112 drives each of the drive modules 2, 22, 23, to control embedded hardware 25, 26, 27 embedded in the control device 2. The processing unit 13 is coupled to the storage unit u and the data bus The interface 12 provides a logical operation of the storage unit u and the data bus interface interface. In the embodiment, the data processing system uses the data bus interface 12 to store the remaining information in the storage unit u. When the setting drives the rocker 111α and the driving core module 112, the processing unit 13 is configured to provide a logical operation of the storage unit u and the data bus interface interface 12 to execute data. Accordingly, the storage unit u and the The logical operation of the data between the bus interface interfaces 12, that is, the system resources of the data processing system 24 need not be shared with the units, modules and/or peripheral devices of the data processing system 24, so that the embedded controller hardware itself can be improved. And the efficiency of the control device 2. In the embodiment, the driver core module 112 is encoded in advance by an encryption program, and the storage unit u stores a decoding module 113 corresponding to the encryption program, and the processing is performed. The unit 13 is multiplexed to execute the decoding module 113 before the data processing system 24 extracts the driver core module in the storage unit u, so that the driver module 112 encoded by the encryption program is decoded. The data processing system is used to extract the decoded driving core module 112. According to this, the driving core module 112 can be protected to achieve the purpose of not being unauthorized to steal or destroy. 19974 11 1328749 In one aspect, the embedded controller hard storage unit shown in the embodiment is integrated into the interface bus interface 12 and the processing unit is integrated into an interface card type. In other words, the hardware controller i integrated into the interface card type corresponds to the specification of the two material processing system 2, and the specification of the data bus 241 can be, for example, 1 PCI PCI-E. , ISA, EISA, PCMCIA, MCA, AGP, etc. Μ flow chart specifications.

第2圖係透過前述本發明之嵌入式控制器硬體執行 本發明之嵌入式硬體控制方法之流程圖。如圖所示,於步 驟S201巾’提供一儲存有設定驅動碼以及驅動核心模組 之嵌入式硬體控制器耦合至該資料處理系統,該驅動核心 模組至少包括驅動控制該驅動模組之系統程式 步驟S202。 延主 —於步驟S2G2中,根據該資料處理系統之要求提供該 設定驅動碼並儲存於該資料處理系統之記憶單元中。: |進至步驟S203。 者 於步驟S203中,令該資料處理系統提取該儲存單元 中的驅動核心模組,並依據該驅動核心模組驅動該驅動模 組以控制嵌入至該控制裝置的嵌入式硬體。 睛參閱第3圖,其係透過前述本發明之嵌入式栌制器 硬體i執行本發明之嵌入式硬體控制方法之流程圖二如圖 所示,於步驟S301中,令該資料匯流排介面12與該資料 處理系統24之資料匯流排241連接,接著進至步驟、 幻〇2。於本實施例中,設本發明之嵌入式控制器硬體工 19974 12 1328749 的儲存單元11、資料匯流 整合為—ΡΓί入“饼”面12以及處理單元13係 j PU卡型式。相對的,該 之資料匯流排24〗的規格亦為pr丨招玫^匆糸,、无Ζ4 於步驟挪2中,令該=為ΡΠ插槽。 理系絲?4其貝科匯流排介面U與該資料處 介面12心欠 接著進至步驟S3°3。該資料匯流排 產生ill料處理系統24係依據PCi之訊息交換規則 料匯二人 發明之嵌入式控制器硬體1能透過該資Fig. 2 is a flow chart showing the embedded hardware control method of the present invention by the embedded controller hardware of the present invention. As shown in the figure, in step S201, an embedded hardware controller storing a set drive code and a drive core module is coupled to the data processing system, and the drive core module includes at least a drive control of the drive module. System program step S202. Extending the master - In step S2G2, the set drive code is provided in accordance with the requirements of the data processing system and stored in the memory unit of the data processing system. : |Go to step S203. In step S203, the data processing system extracts the driving core module in the storage unit, and drives the driving module according to the driving core module to control the embedded hardware embedded in the control device. Referring to FIG. 3, a flow chart 2 of the embedded hardware control method of the present invention is performed by the embedded controller hardware i of the present invention as shown in the figure. In step S301, the data bus is arranged. Interface 12 is coupled to data bus 241 of data processing system 24, and proceeds to step, phantom 2. In this embodiment, the storage unit 11 of the embedded controller hardware of the present invention, 19974 12 1328749, and the data sink are integrated into a "cake" surface 12 and a processing unit 13 is a PU card type. In contrast, the specification of the data bus 24 is also pr丨 玫 ^ ^ 糸 , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , What is the silk? 4 The Beca bus interface interface U and the data interface interface 12 are owed to step S3°3. The data bus is generated by the ill material processing system 24 according to the PCi message exchange rule. The two-invented embedded controller hardware 1 can pass the capital.

科匯-排介面12與該資料處理系統24進行資料傳輸。 ,=S3G3中’依據該資料處理系統24之要求提供 二:驅動碼⑴並儲存於該資料處理系统24之記憶單 Γ兮次接著進至步驟S304。於該資料匯流排介面12 與該-貝料處理系統24係依據ΡΠ之訊息交換規則產生交 握後’該資料處理系統24隨即要求本發明之嵌入式控制 器硬體1提供該設定驅動碼ηι,俾削本發明之嵌入式 控制器硬體1’藉以取得針對本發明之礙入式控制器硬體 1的貧料存取權限。當該資料處理系統24取得該設定驅 後’隨即將該設定驅動媽lu儲存於該記憶單元 七於步驟S304中,令該資料處理系統24判斷該資料匯 ,排介面11與該資料匯流排241是否處於連接狀態,若 是,則進至步驟S305 ;若否’則進至步驟s3〇6。 一於步驟S305中,於該資料處理系統24提取該儲存單 元11中的驅動核心模組112前,執行該解碼模組1丨3, 以將該經過加密程序編碼後之驅動核心模組U2予以解 19974 13 1328749 碼,俾供該資料處理系統24提取後,依據該驅動核心模 組112驅動各該驅動模組21、22、23,藉以對應控制嵌 入至該控制裝置2的嵌入式硬體25、26、27。 於步驟S306中,令該資料處理系統24移除所儲存之 該設定驅動碼U1。該資料處理系統24判斷出該資料匯 流排介面11與該資料匯流排241未處於連接狀態時,可 認為本發明之嵌入式控制器硬體 24的資料匯流排241予以移除、 1已自該資料處理系統 本發明之嵌入式控制器The Science-Siemen interface 12 communicates with the data processing system 24 for data transfer. , = S3G3 'provided according to the requirements of the data processing system 24 2: the drive code (1) and stored in the memory of the data processing system 24, and then proceeds to step S304. After the data bus interface 12 and the beryllion processing system 24 are handed over according to the message exchange rules, the data processing system 24 then requests the embedded controller hardware 1 of the present invention to provide the set drive code ηι. The embedded controller hardware 1' of the present invention is used to obtain the poor access authority for the hardware controller 1 of the present invention. After the data processing system 24 obtains the setting drive, the data is transmitted to the memory unit 7 in step S304, and the data processing system 24 determines the data sink, the interface 11 and the data bus 241. Whether it is in the connected state, if yes, go to step S305; if no, go to step s3〇6. In step S305, before the data processing system 24 extracts the driving core module 112 in the storage unit 11, the decoding module 1丨3 is executed to encode the encrypted core module U2. After the data processing system 24 is extracted, the driving module 21, 22, 23 is driven according to the driving core module 112, so as to correspondingly control the embedded hardware 25 embedded in the control device 2. 26, 27. In step S306, the data processing system 24 is caused to remove the stored set drive code U1. When the data processing system 24 determines that the data bus interface interface 11 and the data bus 214 are not in a connected state, the data bus 241 of the embedded controller hardware 24 of the present invention can be considered to be removed. Data processing system embedded controller of the present invention

硬體1與該資料處理系統24的資料匯流排241接觸不 良、或可認為本發明之嵌入式控制器硬體丨中的至少一個 元件發生故障等。 —須補充說明者’若該驅動核心模組112預先未經過加 岔程序予以編碼,則可省略步驟S305之解碼流程,或無 需於該儲存單元11中儲存該解碼模組113。 I综上所述,本發明之嵌入式控制器硬體,能將儲存至 包括設定驅動碼以及驅動核心模組的儲存單元、資料匯 排面以及處理單元予以模組化,並能與該資料處理系 f相分離’其中,該驅動核心模組能依據控制裝置的不同 /式硬體η又疋内谷,故於該礙入式硬體及/或該資料處 =系統變更及/或升級時,無須重新對該控制裝置予以設 定。此外,藉由獨立於該資料處理系統的處理單元,能更 f效率的執行驅動核心模組。再者,本發明之嵌入式控制 -硬體^進-步結合加解密之程序,進而實現保護該驅 動核心模組不會遭未授權者竊取、重製或破壞之目的。 19974 14 j. 上述實施例僅為例示性說明本發明之原理及其功 :’二非用於限制本發明。任何熟習此項技藝之人士均可 IS背本發明之精神及範,下,對上述實施例進行修飾 :’^化。因此,本發明之權利保護範圍,應如後述 專利範圍所列。 【圖式簡單說明】 圖係本發明之肷人式控制II硬體的應用架構示The hardware 1 is not in good contact with the data bus 241 of the data processing system 24, or it may be considered that at least one of the components of the embedded controller hardware of the present invention has failed. - It should be added that if the driver core module 112 has not been previously encoded by the addition procedure, the decoding process of step S305 may be omitted, or the decoding module 113 may not be stored in the storage unit 11. In summary, the embedded controller hardware of the present invention can modularize and store the storage unit, the data exchange surface, and the processing unit including the set drive code and the drive core module, and the data. The processing system f phase separation 'where the driving core module can be in accordance with the different type of control device η and the inner valley, so in the blocking hardware and / or the data = system changes and / or upgrades It is not necessary to re-set the control unit. In addition, the drive core module can be executed more efficiently by a processing unit independent of the data processing system. Furthermore, the embedded control-hardware-step-adding and decrypting program of the present invention further protects the driving core module from being stolen, recreated or destroyed by unauthorized persons. 19974 14 j. The above-described embodiments are merely illustrative of the principles of the invention and its function: Anyone skilled in the art can modify the above embodiments by the spirit and scope of the present invention. Therefore, the scope of protection of the present invention should be as set forth in the following patent scope. [Simple description of the diagram] The diagram shows the application architecture of the human control II hardware of the present invention.

第2圖係透過前述本發明之嵌入式控制器硬體執行 本發明之嵌入式硬體控制方法之流程圖;以及 第3圖係透過前述本發明之嵌入式控制器硬體執行 本發明之嵌入式硬體控制方法之較具體的流程圖。 【主要元件符號說明】 1 嵌入式控制器硬體 11 儲存單元 111 設定驅動碼 112 驅動核心模組 113 解碼模組 12 資料匯流排介面 13 處理單元 2 控制裝置 2卜 22 、 23 驅動模組 24 資料處理系統 241 資料匯流排2 is a flow chart of the embedded hardware control method of the present invention performed by the embedded controller hardware of the present invention; and FIG. 3 is an embodiment of the embedded controller hardware of the present invention to perform the embedding of the present invention. A more specific flow chart of the hardware control method. [Main component symbol description] 1 Embedded controller hardware 11 Storage unit 111 Setting drive code 112 Driving core module 113 Decoding module 12 Data bus interface 13 Processing unit 2 Control device 2 Bu 22, 23 Drive module 24 Data Processing System 241 Data Bus

19974 15 1328749 242 25、 S201 S301 記憶單元 26、27 嵌入式硬體 〜S203 步驟 -S306 步驟19974 15 1328749 242 25, S201 S301 Memory Unit 26, 27 Embedded Hardware ~S203 Step -S306 Step

Claims (1)

十、申請專利範圍·· ~~-----J 丨.=入式控制器硬體’係應用於搭接有驅動模組盘 二IS統的控制裝置中,俾結合該資料處理系統 硬體,動模組控制嵌入至該控制裝置的嵌入式 體該嵌入式控制器硬體包括: 校心:f早7° ’係至少用以儲存設定驅動碼以及驅動 = 動核心模組至少包括驅動控制該驅動 ::匯流排介面,係耦合至該儲存單元,用以盥 該貝料處理系統所具備之資 料處理系,及該驅動模組進行資料傳輸;以,該貝 介 單70軸合至該儲存單元與該資料匯流排 流:介二執行資料之邏輯運算,以於透過該資料匯 統之要求接:資:f流排連接時,依據該資料處理系 絲φ \ ’、該設定驅動碼並儲存於該資料處理系 枝心γΓ令該資料處理系統提取該儲存單元中的驅動 2. 並依據該驅動核心模組驅動該驅動模組以 役制該嵌入式硬體。 Hr利範圍第1項之嵌入式控制器硬體,其中, 存…,心換組預先透過加密程序予以編碼,且該儲 處::中:儲存有對應該加密程序之解碼模組,而該 〜复用以於該資料處理系統提取該儲存單元 加宋鞋^核。拉組别’執行該解碼模組,以將該經過 程序編碼後之驅動核心模組予以解碼,俾供該資[s】 17 1328749 第95146385號專利申請案 (99年5月4曰) 料處理系統提取使用。 3. t申請專利範圍第1或2項之嵌入式控制器硬體,- 透過該資料匯流排介面而;統識別’以 行資料傳輸。 4貝科處理系統之間進 4. ❿5. 如申請專利範圍第1項之嵌入式控制器硬體,立中 該驅動模組之系統程式至少包括對應該驅動模组之 驅動程式。 入式控制器硬體,其中 以控制該嵌入式硬體的 如申請專利範圍第1項之嵌 該驅動核心模組復包括有用 應用程式。 -6.如申請專利範圍第1項之嵌入式控制器硬體,其中, 該儲存單元、㈣匯流排介面以及處理單元係整合為 一對應於該資料匯流排的規格之介面卡型式。 7.如申請專利範圍第6項之嵌入式控制器硬體,其中, φ 該資料匯流排的規格係為選自PCI、PCI_E、IM、 EISA、PCMCIA、MCA、及AGp之其中一種資料匯 規格。 8. -種嵌入式硬體控制方法,係應用於搭接有驅動模組 與資料處理系統的控制裝置中,俾結合該資料處理系 統以透過該驅動模組控制嵌入至該控制裝置的嵌入 式硬體,該資料處理裝置至少包括記憶單元,該嵌入 式硬體控制方法包括: 提供一具有儲存單元之嵌入式控制器硬體耦合1 19974修正版 18 1 第95146385號專利申請案 (99年5月4日) 至該貧料處理季轉,> 制該驅動模J'L 動核心模組至少包括驅動控 動m 料,㈣料單元具有設定驅 動碼以及驅動核心模組; 、,妙*康^冑料處理纟統之要求提供該設定驅動碼 亚儲存於該資料處理系統之記憶單元H及 4六二該資料處理系統提取該嵌人式控制器硬體之 Y單元中的驅動核心模組,並依據該驅動核心模組 驅動該驅動模組以控制嵌入至該控制裝置的喪入式 9.如申請專利範圍第8項之嵌入式硬體控制方法,其 中該,動核心模組預先透過加密程序予以編碼,且 該儲存單元中復儲存有對應該加密程序之解碼模 、且而於該資料處理系統提取該喪入式控制器硬體之 儲存早兀中的驅動核心模組前,先執行該解碼模組, 以將該經過加密程序編碼後之驅動核心模組予以解 碼,俾供該資料處理系統提取使用。 10·如申請專利範圍第8項之嵌入式硬體控制方法,其 中,該設定驅動碼係用以供該資料處理系統識別該嵌 入式控制器硬體,以透過該嵌入式控制器硬體之資料 匯流排介面而與該資料處理系統之間進行資料傳輸。 11.如申請專利範圍第8項之嵌入式硬體控制方法,其 中,該驅動模組之系統程式至少包括對應該驅動模組 之驅動程式。 12·如申請專利範圍第8項之嵌入式硬體控制方法,其L 19974修正版 19 W8749 \ 中’該驅動核心模組復包括有用 的應用程式。 第95146385號專利申請案 (99年5月4日^ 以控制該嵌入式硬體 13.如申請專利範圍第8項之喪入式硬體控制方法,其 中,該嵌人式㈣_體復包含―心執行資狀邏 輯運算的處理單元,而該嚴入式控制器硬體之儲存單 元、資料匯流排介面以及處理單元係整合為一對應於 該資料處理系統之資料匯流排的規格之介面卡型式。 U.如申請專利範圍第13項之嵌入式硬體控制方法/其 中,該資料處理系統之資料匯流排的規格係為選自 PCI、PCI-E、ISA、EISA、PCMCIA、MCA、及 AGP 之其 中一種資料匯流排規格。Ten, the scope of application for patents··~~-----J 丨.=Incoming controller hardware' is applied to the control device with the drive module disk II IS system, combined with the data processing system The body and the dynamic module control are embedded in the embedded body of the control device. The embedded controller hardware includes: a center: f is 7° earlier than at least for storing the set drive code and the drive = the dynamic core module includes at least the driver Controlling the drive: the bus interface is coupled to the storage unit for the data processing system of the bedding processing system and the data transmission of the drive module; The storage unit and the data are merged and drained: the second logical operation of the data is performed, so as to be connected through the data collection: when the flow is connected, the processing wire φ \ ' according to the data processing is driven. The code is stored in the data processing system, and the data processing system extracts the driver in the storage unit. 2. The driving module is driven according to the driving core module to serve the embedded hardware. The embedded controller hardware of the first item of the Hr range, wherein the heart-switching group is encoded in advance by an encryption program, and the storage::: stores a decoding module corresponding to the encryption program, and the ~ Reuse for the data processing system to extract the storage unit plus Song shoes. Pulling the group 'execution of the decoding module to decode the program-encoded driver core module, for the funding [s] 17 1328749 Patent Application No. 95146385 (May 4, 1999) System extraction is used. 3. t Apply for embedded controller hardware in item 1 or 2 of the patent scope, - through the data bus interface; and identify the data transmission. 4Beca processing system between 4. ❿5. If you apply for the embedded controller hardware in the first item of patent scope, the system program of the driver module at least includes the driver corresponding to the driver module. The input controller hardware includes a useful application for controlling the embedded hardware, such as the embedded core module of the patent application scope. -6. The embedded controller hardware of claim 1, wherein the storage unit, the (four) bus interface, and the processing unit are integrated into an interface card type corresponding to the specification of the data bus. 7. The embedded controller hardware according to item 6 of the patent application scope, wherein: φ the data bus bar specification is one of data specifications selected from the group consisting of PCI, PCI_E, IM, EISA, PCMCIA, MCA, and AGp. . 8. An embedded hardware control method, which is applied to a control device that overlaps a drive module and a data processing system, and combines the data processing system to control embedded embedded in the control device through the drive module Hardware, the data processing device includes at least a memory unit, and the embedded hardware control method includes: providing an embedded controller with a storage unit, hardware coupling 1 19974 revision 18 1 Patent No. 95146385 (99 years 5) 4th) to the poor material processing season, > The drive module J'L dynamic core module includes at least a drive control m material, (4) the material unit has a set drive code and a drive core module; The request of the processing system provides the setting drive code sub-memory stored in the data processing system of the data processing system H and 4 26. The data processing system extracts the driving core module in the Y unit of the embedded controller hardware. And driving the driving module according to the driving core module to control the embedding type embedded in the control device. 9. The embedded hardware control method according to claim 8 of the patent application scope, wherein The dynamic core module is encoded in advance by an encryption program, and the storage unit stores a decoding module corresponding to the encryption program, and the storage processing system extracts the storage device of the lost controller hardware. Before driving the core module, the decoding module is executed to decode the encrypted core module that is encoded by the encryption program for use by the data processing system. 10. The embedded hardware control method of claim 8, wherein the set drive code is used by the data processing system to identify the embedded controller hardware to pass through the embedded controller hardware Data transfer between the data bus interface and the data processing system. 11. The embedded hardware control method of claim 8, wherein the system module of the driver module includes at least a driver corresponding to the driver module. 12. The embedded hardware control method of claim 8 of the patent scope, the L 19974 revision 19 W8749 \ middle 'the driver core module includes useful applications. Patent Application No. 95146385 (May 4, 1999), in order to control the embedded hardware 13. The method of controlling the mortal hardware according to Item 8 of the patent application, wherein the embedded (4) _ body complex includes The processing unit that performs the logic logic operation, and the storage unit, the data bus interface and the processing unit of the strict controller hardware are integrated into a specification card corresponding to the data bus of the data processing system. U. The embedded hardware control method of claim 13 / wherein the data processing system data bus is selected from the group consisting of PCI, PCI-E, ISA, EISA, PCMCIA, MCA, and One of AGP's data bus specifications. 19974修正版 2019974 Revised 20
TW95146385A 2006-12-12 2006-12-12 Embedded hardware controller and method thereof TWI328749B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW95146385A TWI328749B (en) 2006-12-12 2006-12-12 Embedded hardware controller and method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW95146385A TWI328749B (en) 2006-12-12 2006-12-12 Embedded hardware controller and method thereof

Publications (2)

Publication Number Publication Date
TW200825761A TW200825761A (en) 2008-06-16
TWI328749B true TWI328749B (en) 2010-08-11

Family

ID=44772094

Family Applications (1)

Application Number Title Priority Date Filing Date
TW95146385A TWI328749B (en) 2006-12-12 2006-12-12 Embedded hardware controller and method thereof

Country Status (1)

Country Link
TW (1) TWI328749B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8701183B2 (en) * 2010-09-30 2014-04-15 Intel Corporation Hardware-based human presence detection

Also Published As

Publication number Publication date
TW200825761A (en) 2008-06-16

Similar Documents

Publication Publication Date Title
US10387333B2 (en) Non-volatile random access memory with gated security access
US20080098239A1 (en) Storage medium control method
WO2002033880A1 (en) Data reproducing/recording apparatus / method and list updating method
TW200837602A (en) Cryptographic key containers on a USB token
EP1766492A1 (en) Method, system and securing means for data archiving with automatic encryption and decryption by fragmentation of keys
US20060130129A1 (en) Authentication method based on private space of the usb flash memory media
TWI460591B (en) Data encryption and decryption methods, systems and storage equipment
JP4717398B2 (en) Method for controlling data processing apparatus
CN102262721A (en) Data encryption conversion for independent agents
CN101334827A (en) Magnetic disc encryption method and magnetic disc encryption system for implementing the method
CN101021793B (en) Method and system for realizing Pre-OS Application utilizing extended BIOS technique
TWI328749B (en) Embedded hardware controller and method thereof
JP2004199688A (en) Secure driver
CN1588328A (en) Data encrypting/de-encrypling method and its device
JP2021527894A (en) Protected communication from inside non-volatile memory device
US9043611B2 (en) Disk array device and data management method for disk array device
CN218068848U (en) Embedded software encryption protection system based on CPLD
JP2010176490A (en) Usb storage device, host computer, usb storage system and program
CN102012874A (en) USB (universal serial bus) storage device provided with resource manager
US20100332724A1 (en) Accessing a Serial Number of a Removable Non-Volatile Memory Device
JP4561213B2 (en) Hard disk security management system and method thereof
CN102184370B (en) Document security system based on microfiltration drive model
CN1971473A (en) Method and system for keeping security of computer data and computer using the same
CN107025388A (en) It is a kind of that the method that system disk is bound with machine is realized based on TPM chips
JPH10301856A (en) File access system and recording medium

Legal Events

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