TWI333146B - Method of avoiding command transmitting conflict and electronic apparatus using the same - Google Patents

Method of avoiding command transmitting conflict and electronic apparatus using the same Download PDF

Info

Publication number
TWI333146B
TWI333146B TW94135079A TW94135079A TWI333146B TW I333146 B TWI333146 B TW I333146B TW 94135079 A TW94135079 A TW 94135079A TW 94135079 A TW94135079 A TW 94135079A TW I333146 B TWI333146 B TW I333146B
Authority
TW
Taiwan
Prior art keywords
interface module
electronic device
extended interface
embedded controller
extended
Prior art date
Application number
TW94135079A
Other languages
Chinese (zh)
Other versions
TW200715123A (en
Inventor
Kuang Yung Kung
Original Assignee
Hon Hai Prec Ind Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hon Hai Prec Ind Co Ltd filed Critical Hon Hai Prec Ind Co Ltd
Priority to TW94135079A priority Critical patent/TWI333146B/en
Publication of TW200715123A publication Critical patent/TW200715123A/en
Application granted granted Critical
Publication of TWI333146B publication Critical patent/TWI333146B/en

Links

Landscapes

  • Information Transfer Systems (AREA)
  • Bus Control (AREA)

Description

1333146 099年08i 25日修正替換頁 六、發明說明: 【發明所屬之技術領域】 [0001] 本發明涉及一種避免指令傳輸衝突的方法及其電子裝置 〇 【先前技術】 [0002] 請參閱第一圖所示,一電子裝置1,如筆記型電腦,其包 括主系統10、嵌入式控制器12、輸入終端14(如觸摸板、 鍵盤、滑鼠等)。其中輸入終端14和嵌入式控制器12相連 ,以將使用者的操作指令傳輸給嵌入式控制器12。主系 統10與嵌入式控制器12相連,主系統10調用嵌入式控制 器12執行指令。 [0003] 請參閱第二圖所示,習知技術之嵌入式控制器12包含有 :鍵盤控制介面模組122和嵌入式控制介面模組124。其 中鍵盤控制介面模組122透過鍵盤控制器輸入/輸出埠102 與主系統10相連,用於傳輸入終端14的指令。嵌入式控 制介面模組124透過嵌入式控制器輸入/輸出埠104與主系 統10相連,用於傳輸支援高級電源配置介面(ACPI,1333146 099 08i 25th revised replacement page 6. Description of the invention: [Technical field of invention] [0001] The present invention relates to a method for avoiding command transmission conflict and an electronic device thereof [Prior Art] [0002] Please refer to As shown, an electronic device 1, such as a notebook computer, includes a main system 10, an embedded controller 12, and an input terminal 14 (such as a touch pad, keyboard, mouse, etc.). The input terminal 14 is connected to the embedded controller 12 to transmit the user's operation instructions to the embedded controller 12. The main system 10 is coupled to an embedded controller 12, which calls the embedded controller 12 to execute instructions. [0003] Referring to the second figure, the embedded controller 12 of the prior art includes: a keyboard control interface module 122 and an embedded control interface module 124. The keyboard control interface module 122 is connected to the main system 10 through the keyboard controller input/output port 102 for transmitting instructions to the terminal 14. The embedded control interface module 124 is coupled to the host system 10 via an embedded controller input/output port 104 for transmission supporting an advanced power configuration interface (ACPI,

Advance Configuration And Power Interface) 的嵌入式控制器標準指令。 [0004] 根據不同的系統設計,系統設計廠商會自行定義開發各 種指令。該等指令稱為嵌入式控制器延伸指令,其用於 執行各廠商設計之對應功能,例如顯示主系統10的工作 溫度,控制螢幕翻轉等。惟,支援ACPI的電子裝置1,可 能會因為嵌入式控制器標準指令和嵌入式控制器延伸指 令同時透過嵌入式控制器輸入/輸出埠104進行傳輸,而 094135079 表單編號A0101 第4頁/共18頁 0993302438-0 ΡΓ333146 099年08月25日修正替換頁 造成指令衝突。習知技術中有採用全局鎖定(Global lock)或者臨界區間(Critical section)方式來進 行資源分享,以避免嵌入式控制器標準指令和嵌入式控 制器延伸指令同時傳輸而產生的衝突。然全局鎖定和臨 界區間都會出現指令忙碌等待,導致系統效率下降。 【發明内容】 [0005] 鑒於此,有必要提供一種避免電子裝置中指令傳輸衝突 的方法。 [0006] 還有必要提供一種避免指令傳輸衝突的電子裝置。 [0007] 一種避免電子裝置中指令傳輸衝突的方法,所述電子裝 置包括一主系統,所述方法包括如下步驟: [0008] 提供包括一擴展介面模組的嵌入式控制器和一專用輸入/ 輸出埠,所述專用輸入/輸出埠用於所述擴展介面模組與 所述主系統之間的通訊; [0009] 開啟所述專用輸入/輸出埠; [0010] 主系統透過所述專用輸入/輸出埠將指令傳送給所述擴展 介面模組; [0011] 嵌入式控制器分析並執行所述擴展介面模組接收之指令 [0012] 嵌入式控制器將執行結果反饋給所述主系統。 [0013] 一種避免指令傳輸衝突的電子裝置,該電子裝置包括一 主系統、一嵌入式控制器。所述嵌入式控制器包括一鍵 盤控制介面模組、一嵌入式控制介面模組和一擴展介面 094135079 表單編號A0101 第5頁/共18頁 0993302438-0 1333146 [0014] [⑻ 15] 094135079 模組。所如缝㈣介&年哪25日 ^ 馬、、且和嵌入式控制介面模組分 別通過其對應之輸入/輪 入政端反與入夬以 隼一所述主系統通訊,進行輸 入、··;知及嵌入式控制器標 私々的傳輸。所述擴展介面 模組透過一專用輸入/輸 ,+ 早與主系統相連,所述專用輸 入/輸出埠用於所述擴展介 _ 面核,、且與所述主系統之間的通 §fl 〇 與習知技術相比,所述避 .^^ 免礼7傳輪衝突的方法及其電 子裝置,藉由一擴展介面權 ,t/w_ 杈、、且和—專用輸入/輸出埠分擔 指令傳輸,避免指令傳輪衝 衝犬问時也減少了指令忙碌 專待情況的出現,提高Μ統工作效率。 【實施方式】 請參閱第三圖,其揭示本發 赞月夺乂佳實施例之電子裝置3 中主系統20純人式控制器22的連接框圖。電子裝以可 為筆記型電腦、平板電腦和_板電腦等。為了便於描 述’以下以筆記型電腦為例進行說明。所述嵌入式控制 器22包括鍵盤控制介面模組m、嵌入式控制介面模組 224和擴展介面模組226。鍵盤控制介面模組似透過鍵 盤控制器輸入/輸出瑋202和主系統20進行通訊,鍵盤控 制器輸入/輸出埠2p2採用60h/64h埠,用於傳輸輸入終 端14之操作指令》嵌入式控制介面模組224透過嵌入式控 制器輸入/輸出埠204和主系統20進行通訊,嵌入式控制 器輪入/輸出埠204採用62h/66h埠,用於傳輸支援ACPI 標準的嵌入式控制器標準指令。擴展介面模組226透過一 專用輸入/輸出蟑206和主系統20進行通訊。所述擴展介 面模組226可為硬體介面模組也可為程式虛擬介面模組, 表單編號A0101 第6頁/共18頁 0993302438-0 p33146 . 099年08月25日核正替換頁 所述擴展介面模組226與主系統20進行後入式控制器延伸 指令的傳輸。 [0016] 主系統20透過專用輸入/輸出物6傳輸敌入式控制器延 伸指令給嵌入式控制器22。鼓人式控制器22接收並執行 該喪入式控制器延伸指令。指令執行結束後,喪入式控 制器22透過擴展介面模組226和專用輸入/輸出琿206將 指令執行結果反饋給主系統2 0。 [0017] 因所述主系统20可透過專用輸入/輸出槔2〇6直接存取嵌 入式控制器22 ’為了女全’當擴展介面模組226不工作時 ’專用輸入/輸出埠206處於關閉狀態。主系統2〇有嵌入 式延伸指令需要傳輸時,通過中斷方式開啟所述專用輸 入/輸出物6。所述嵌入式控制器22利用輪詢或中斷的 方式得知擴展介面模組226是否接收到指令。輪詢方式係 當截入式控制器22定時偵測擴展介面模組226是否接收到 指令。中斷方式係當擴展介面模組226已經接收到指令後 ,擴展介面模組226發出一中斷訊號告知嵌入式控制器22 指令已接收。敌入式控制器22得知擴展介面模組m已經 接收到指令後,執行該指令。 [0018] 094135079 清參閱第四圖’為第三圖所示之電子裝置3之擴展介面模 組226工作流程圖。當專用輪入/輸出物㈣開啟且擴 展介面模組226初始化後開始運行,包括如下步驟:首先 ,擴展介面模組226接收主系統20透過專用輸入/輸出埠 2〇6傳輪的指令(步驟30)。指令接收完畢後,設置擴展 介面模組226狀態旗標,該狀態旗標表徵擴展介面模組 226處於“忙”狀態(步驟31)。設置完成後嵌入式控 表單編號A0101 第7頁/共18頁 0993302438-0 I 099年08月25日一修正雜頁丨 制器22對擴展介面模組226接收之指令進行分析,並根據 指令要求載入對應之應用程式(步驟32)。載入之應用 程式開始運行,實現主系統20傳輪之指令對應功能(步 驟33)。所述應用程式執行結束後,嵌入式控制器22將 執行結果反饋給主系硃20 (步驟34)。最後清除擴展介 面模組226狀態旗標(步驟35),流程結束。 [0019] 其中,設置擴展介面楔組226狀態旗標目的為,當擴展介 面模組226尚未處理完目前工作任務時,主系統20可透過 檢測擴展介面模組2 2 6狀態旗標得知擴展介面模組2 2 6正 在忙碌,此時主系統20需等待此旗標被清除後才能傳輸 下一個指令。 [0020] 請參閱第五圖,為第三圖所示之之電子裝置3之主系統20 調用嵌入式控制器22中擴展介面模組226的工作流程圖’ 包括如下步鱗:當主系統2 〇有喪入式控制器延伸指令需 要傳輸時,主系統20產生一中斷訊號,開啟專用輸入/輸 出埠206 (步驟42)。嵌入式控制器22首先檢測擴展介面 模組226是否有效(步驟43) °如果擴展介面模組226無 效,嵌入式控制器22將擴展介面模組226無效狀態反饋給 主系統2 0 (步驟4 4 )。主系統2 0接收該反饋資訊,得知 擴展介面模組226暫時無法接收指令,關閉專用輸入/輸 出埠206 (步驟49),流程結束。如果擴展介面模組226 有效,主系統20將指令傳輸給擴展介面模組226 (步驟45 )。嵌入式控制器2 2分析擴展介面模組2 2 6收到之指令, 載入指令對應的應用程式並運行(步驟46)。在所述應 用程式運行過程中’嵌入式控制器22檢測該應用程式是 094135079 表單編號A0101 第8頁/共18頁 0993302438-0 ^333146 [0021] [0022] [0023] [0024] [0025] [0026] 094135079 0S3年08月25日修正替換頁 否執行完成(步驟47) ^如果未完成,則繼續執行。如 果已完成,嵌入式控制器2 2將執行結果反饋給主系統2 〇 (步驟48)。反饋完成後,主系統2〇關閉專用輸入/輸出 埠206,使擴展介面模組226無效(步驟49),流程結束 〇 上述之避免指令傳輸衝突的方法及其電子裝置3,藉由一 擴展介面模組226和一專用輸入/輸出埠2〇6,將嵌入式控 制器延伸指令與支援ACPI的嵌入式控制器標準指令分別 利用不同的通道進行傳輸,從而避免指令傳輸衝突。同 時也減少了指令忙綠等待情況的出現,提高主系統2〇工 作效率。此外,主系統20在沒有調用擴展介面模組226的 時候,所述專用輸入/輸出埠206處於關閉狀態,以保證 嵌·入式控制器22通訊安全。 綜上所述,本發明符合發明專利要件,爰依法提出專利 申請。惟,以上所述者僅為本發明之較佳實施例,舉凡 熟悉本案技藝之人士,在援依本案創作精神所作之等效 修飾或變化,皆應包含於以下之申請專利範圍内。 【圖式簡單說明】 第一圖係習知電子裝置系統框圖》 第二圖係習知電子裝置中主系統與嵌入式控制器連接框 圖。 第三圖係本發明一較佳實施例之電子裝置中主系統與傲 入式控制益連接框圖。 第四圖係第三圖所示之電子裝置之擴展介面模組工作流 表單編號A0101 第9頁/共18頁 0993302438-0 1333146 099年08月25日梭正替換頁 程圖。 [〇〇27] 第五圖係第三圖所示之電子裝置中主系統調用擴展介面 模組的工作流程圖。 【主要元件符號說明】 [0028] 電子裝置:1 [0029] 嵌入式控制介面模組:124 [0030] 電子裝置:3 [0031] 鍵盤控制器輸入/輸出埠:202 [0032] 主系統:1 0 [0033] 嵌入式控制器輸入/輸出埠:204 [0034] 嵌入式控制器:12 [0035] 專用輸入/輸出埠:206 [0036] 輸入終端:14 [0037] 鍵盤控制器介面模組:222 [0038] 主系統:20 [0039] 嵌入式控制介面模組:224 [0040] 嵌入式控制器:22 [0041] 擴展介面模組:226 [0042] 鍵盤控制器輸入/輸出埠:102 [0043] 擴展介面模組工作流程:30〜35 表單编號A0101 第10頁/共18頁 094135079 0993302438-0 ^333146 099年08月25日楱正替換頁 [0044] 嵌入式控制器輸入/輸出埠:104 [0045] 主系統調用擴展介面模組工作流程:42~49 [0046] 鍵盤控制器介面模組:122 094135079 表單编號A0101 第11頁/共18頁 0993302438-0Advance Configuration And Power Interface) Embedded Controller Standard Instructions. [0004] Depending on the system design, the system design vendor will define various instructions for development. These instructions are referred to as embedded controller extension instructions, which are used to perform corresponding functions designed by various vendors, such as displaying the operating temperature of the main system 10, controlling the screen flip, and the like. However, the electronic device 1 supporting ACPI may be transmitted through the embedded controller input/output port 104 simultaneously by the embedded controller standard command and the embedded controller extension command, and 094135079 Form No. A0101 Page 4 of 18 Page 0993302438-0 ΡΓ333146 Fixed the replacement page on August 25, 099, causing an instruction conflict. In the prior art, a global lock or a critical section is used for resource sharing to avoid conflicts between the embedded controller standard instructions and the embedded controller extension instructions. However, global locks and critical intervals will appear to be busy waiting for instructions, resulting in system efficiency degradation. SUMMARY OF THE INVENTION [0005] In view of the above, it is necessary to provide a method of avoiding instruction transmission conflicts in an electronic device. It is also necessary to provide an electronic device that avoids command transmission collisions. [0007] A method for avoiding command transmission conflicts in an electronic device, the electronic device comprising a main system, the method comprising the following steps: [0008] providing an embedded controller including an extended interface module and a dedicated input / Outputting, the dedicated input/output port is used for communication between the extended interface module and the host system; [0009] turning on the dedicated input/output port; [0010] the main system transmits the dedicated input And outputting an instruction to the extended interface module; [0011] the embedded controller analyzing and executing the instruction received by the extended interface module [0012] The embedded controller feeds back an execution result to the host system. [0013] An electronic device for avoiding an instruction transmission conflict, the electronic device comprising a main system and an embedded controller. The embedded controller includes a keyboard control interface module, an embedded control interface module and an extended interface 094135079. Form number A0101 Page 5 / 18 pages 0993302438-0 1333146 [0014] [(8) 15] 094135079 module . For example, the sewing machine (4) and the 25th year of the horse ^, and the embedded control interface module respectively through the corresponding input / round-in politics and the entrance and exit of the main system communication, input, ··; know the transmission of embedded controllers. The extended interface module is connected to the main system through a dedicated input/output, and the dedicated input/output port is used for the extended interface core, and is connected to the main system.方法Compared with the prior art, the method and the electronic device for avoiding the collision of the ^^^ 7 , 藉 藉 藉 藉 藉 藉 藉 藉 藉 藉 t t t t t t t t t t t t t t t t t t t t t t t t t 专用 专用Transmission, to avoid the instruction of the rushing dog, also reduces the appearance of the instruction busy special situation, and improves the efficiency of the system. [Embodiment] Please refer to the third figure, which discloses a connection block diagram of the pure controller 22 of the main system 20 in the electronic device 3 of the present embodiment. The electronics can be used as notebooks, tablets, and computers. For convenience of description, the following description will be made by taking a notebook computer as an example. The embedded controller 22 includes a keyboard control interface module m, an embedded control interface module 224, and an extended interface module 226. The keyboard control interface module communicates with the main system 20 through the keyboard controller input/output port 202, and the keyboard controller input/output port 2p2 adopts 60h/64h埠 for transmitting the operation command of the input terminal 14” embedded control interface. The module 224 communicates with the host system 20 via the embedded controller input/output port 204. The embedded controller wheel input/output port 204 is 62h/66h埠 for transmitting embedded controller standard commands supporting the ACPI standard. The extended interface module 226 communicates with the host system 20 via a dedicated input/output port 206. The extended interface module 226 can be a hardware interface module or a program virtual interface module, and the form number A0101 is 6 pages/18 pages 0993302438-0 p33146. The verification page is described on the August 25, 099 The extended interface module 226 and the host system 20 perform the transfer of the back-in controller extension instructions. [0016] The main system 20 transmits the enemy controller extension command to the embedded controller 22 via the dedicated input/output object 6. The drum controller 22 receives and executes the lost controller extension command. After the execution of the instruction is completed, the add-on controller 22 feeds back the instruction execution result to the main system 20 through the extended interface module 226 and the dedicated input/output port 206. [0017] Since the main system 20 can directly access the embedded controller 22 through the dedicated input/output port 2〇6, the dedicated input/output port 206 is turned off when the extended interface module 226 is not working. status. When the main system 2 has an embedded extension instruction that needs to be transmitted, the dedicated input/output object 6 is turned on by the interrupt mode. The embedded controller 22 uses polling or interrupting to know whether the extended interface module 226 has received an instruction. The polling mode is when the intercept controller 22 periodically detects whether the extended interface module 226 receives the command. The interrupt mode is that after the extended interface module 226 has received the command, the extended interface module 226 sends an interrupt signal to inform the embedded controller 22 that the command has been received. The enemy controller 22 knows that the extended interface module m has received the command and executes the command. [0018] 094135079 Refer to the fourth figure' for the operation diagram of the extended interface module 226 of the electronic device 3 shown in the third figure. When the dedicated wheel/input (4) is turned on and the extended interface module 226 is initialized, the following steps are performed: First, the extended interface module 226 receives the command of the host system 20 through the dedicated input/output port 2〇6 (steps) 30). After the instruction is received, the extended interface module 226 status flag is set, which indicates that the extended interface module 226 is in a "busy" state (step 31). After the setting is completed, the embedded control form number A0101 page 7/18 pages 0993302438-0 I. On August 25, 099, a modified page controller 22 analyzes the instructions received by the extended interface module 226, and according to the instruction requirements. Load the corresponding application (step 32). The loaded application program starts running and implements the command corresponding function of the main system 20 (step 33). After the execution of the application is completed, the embedded controller 22 feeds back the execution result to the main system 20 (step 34). Finally, the extended interface module 226 status flag is cleared (step 35), and the flow ends. [0019] The purpose of setting the extended interface wedge group 226 status flag is that when the extended interface module 226 has not processed the current work task, the main system 20 can learn to expand by detecting the extended interface module 2 2 6 status flag. The interface module 2 2 6 is busy, at which time the main system 20 has to wait for the flag to be cleared before transmitting the next instruction. [0020] Referring to FIG. 5, the working flow chart of the extended interface module 226 of the embedded controller 22 is called for the main system 20 of the electronic device 3 shown in the third figure. The following steps are included: when the main system 2 When the lost controller extension command needs to be transmitted, the main system 20 generates an interrupt signal and turns on the dedicated input/output port 206 (step 42). The embedded controller 22 first detects whether the extended interface module 226 is valid (step 43). If the extended interface module 226 is invalid, the embedded controller 22 feeds back the invalid state of the extended interface module 226 to the primary system 20 (step 4 4). ). The main system 20 receives the feedback information, and knows that the extended interface module 226 is temporarily unable to receive the command, and closes the dedicated input/output port 206 (step 49), and the flow ends. If the extended interface module 226 is active, the host system 20 transmits the instructions to the extended interface module 226 (step 45). The embedded controller 2 2 analyzes the instructions received by the extended interface module 2 2 6 , loads the corresponding application of the instruction and runs (step 46). During the running of the application, the embedded controller 22 detects that the application is 094135079. Form No. A0101 Page 8 / 18 pages 0993302438-0 ^ 333146 [0022] [0023] [0025] [0025] [0026] 094135079 0S3Aug. 25, Amendment Replacement Page No Execution Completed (Step 47) ^ If not completed, continue execution. If so, the embedded controller 22 feeds back the execution result to the main system 2 (step 48). After the feedback is completed, the main system 2 turns off the dedicated input/output port 206 to invalidate the extended interface module 226 (step 49), and the process ends, the method for avoiding the command transmission conflict and the electronic device 3 thereof, through an extended interface. The module 226 and a dedicated input/output port 2〇6 respectively transmit the embedded controller extension instruction and the embedded controller standard instruction supporting the ACPI by different channels, thereby avoiding instruction transmission conflicts. At the same time, it also reduces the appearance of the command busy green waiting situation and improves the efficiency of the main system. In addition, when the main system 20 does not call the extended interface module 226, the dedicated input/output port 206 is in a closed state to ensure the communication security of the embedded controller 22. In summary, the present invention complies with the requirements of the invention patent and submits a patent application according to law. However, the above description is only the preferred embodiment of the present invention, and those skilled in the art will be able to include the equivalent modifications or variations in the spirit of the present invention. [Simple diagram of the diagram] The first diagram is a block diagram of the conventional electronic device system. The second diagram is the connection diagram between the main system and the embedded controller in the conventional electronic device. The third figure is a block diagram of a main system and an arbitrarily controlled control connection in an electronic device according to a preferred embodiment of the present invention. The fourth figure is the extended interface module workflow of the electronic device shown in the third figure. Form No. A0101 Page 9 of 18 0993302438-0 1333146 On August 25, 099, the shuttle is replacing the page. [〇〇27] The fifth figure is the working flow chart of the main system call extension interface module in the electronic device shown in the third figure. [Main component symbol description] [0028] Electronic device: 1 [0029] Embedded control interface module: 124 [0030] Electronic device: 3 [0031] Keyboard controller input/output port: 202 [0032] Main system: 1 0 [0033] Embedded Controller Input/Output 埠: 204 [0034] Embedded Controller: 12 [0035] Dedicated Input/Output 埠: 206 [0036] Input Terminal: 14 [0037] Keyboard Controller Interface Module: 222 [0038] Main System: 20 [0039] Embedded Control Interface Module: 224 [0040] Embedded Controller: 22 [0041] Extended Interface Module: 226 [0042] Keyboard Controller Input/Output 埠: 102 [ 0043] Extended interface module workflow: 30~35 Form number A0101 Page 10/18 pages 094135079 0993302438-0 ^333146 099 Aug. 25 楱正正换页[0044] Embedded controller input/output埠:104 [0045] Main System Call Extension Interface Module Workflow: 42~49 [0046] Keyboard Controller Interface Module: 122 094135079 Form Number A0101 Page 11 / Total 18 Page 0993302438-0

Claims (1)

1333146 099年08月25日按正替换頁 七、申請專利範圍: 1 . 一種避免電子裝置中指令傳輸衝突的方法,所述電子裝置 包括一主系統,其改良在於:所述方法包括如下步驟: 提供包括一擴展介面模組的嵌入式控制器和一專用輸入/ 輸出埠,所述專用輸入/輸出埠用於所述擴展介面模組與 所述主系統之間的通訊; 開啟所述專用輸入/輸出埠; 主系統透過所述專用輸入/輸出埠將指令傳送給所述擴展 介面模組; 嵌入式控制器分析並執行所述擴展介面模組接收之指令; 嵌入式控制器將執行結果反饋給所述主系統。 2 .如申請專利範圍第1項所述之避免電子裝置中指令傳輸衝 突的方法,其中:所述指令為嵌入式控制器延伸指令。 3 .如申請專利範圍第1項所述之避免電子裝置中指令傳輸衝 突的方法,其中:所述擴展介面模組為一程式虛擬擴展介 面模組。 4 .如申請專利範圍第1項所述之避免電子裝置中指令傳輸衝 突的方法,其中:所述嵌入式控制器進一步包括一鍵盤控 制介面模組和一嵌入式控制介面模組,所述鍵盤控制介面 模組、嵌入式控制介面模組和所述擴展介面模組相互獨立 〇 5 .如申請專利範圍第1項所述之避免電子裝置中指令傳輸衝 突的方法,其中:進一步包括如下步驟: 執行結果反饋完成後,關閉所述專用輸入/輸出埠。 6 .如申請專利範圍第1項所述之避免電子裝置中指令傳輸衝 094135079 表單编號A0101 第12頁/共18頁 0993302438-0 ΓΙ333146 099年08月25日修正替换頁 突的方法,其中:進一步包括如下步驟: 擴展介面模組接收到指令後,設置所述擴展介面模組狀態 旗標; 執行結果反饋完成後,清除所述擴展介面模組狀態旗標。 7 .如申請專利範圍第1項所述之避免電子裝置中指令傳輸衝 突的方法,其中:所述電子裝置為一筆記型電腦。 8 .如申請專利範圍第1項所述之避免電子裝置中指令傳輸衝 突的方法,其中:所述主系統支援高級電源配置介面標準 〇 9 . 一種避免指令傳輸衝突的電子裝置,該電子裝置包括一主 系統和一嵌入式控制器,所述嵌入式控制器包括一鍵盤控 制介面模組和一嵌入式控制介面模組,所述鍵盤控制介面 模組和嵌入式控制介面模組分別與所述主系統通訊,進行 輸入終端及嵌入式控制器標準指令的傳輸,其改良在於: 所述嵌入式控制器進一步包括一擴展介面模組,所述擴展 介面模組透過一專用輸入/輸出埠與主系統相連,所述專 用輸入/輸出埠用於所述擴展介面模組與所述主系統之間 的通訊。 10 .如申請專利範圍第9項所述之電子裝置,其中:所述擴展 介面模組為一程式虛擬擴展介面模組。 11 .如申請專利範圍第9項所述之電子裝置,其中:所述擴展 介面模組、鍵盤控制介面模組和所述嵌入式控制介面模組 之間相互獨立。 12.如申請專利範圍第9項所述之電子裝置,其中:所述專用 輸入/輸出埠用於傳輸嵌入式控制器之延伸指令。 13 .如申請專利範圍第9項所述之電子裝置,其中:當所述主 094135079 表單編號Α0101 第13頁/共18頁 0993302438-0 1333146 099年08月25日梭正替换頁 系統與所述擴展介面模組需要通訊時,所述專用輸入/輸 出埠開啟,當所述主系統與所述擴展介面模組通訊結束後 ,所述專用輸入/輸出埠關閉。 14 .如申請專利範圍第9項所述之電子裝置,其中:所述嵌入 式控制器採用輪詢或中斷方式獲知所述擴展介面模組是否 收到指令。 15.如申請專利範圍第9項所述之電子裝置,其中:所述電子 裝置為一筆記型電腦。 16 .如申請專利範圍第9項所述之電子裝置,其中:所述主系 統支援高級電源配置介面標準。 094135079 表單編號A0101 第14頁/共18頁 0993302438-01333146 According to the positive replacement page on August 25, 099, the patent application scope: 1. A method for avoiding the conflict of command transmission in an electronic device, the electronic device comprising a main system, the improvement comprising the following steps: Providing an embedded controller including an extended interface module and a dedicated input/output port for communication between the extended interface module and the host system; turning on the dedicated input /output埠; the main system transmits the instruction to the extended interface module through the dedicated input/output port; the embedded controller analyzes and executes the instruction received by the extended interface module; the embedded controller performs the result feedback Give the main system. 2. The method of avoiding an instruction transmission conflict in an electronic device according to claim 1, wherein the instruction is an embedded controller extension instruction. 3. The method for avoiding command transmission conflict in an electronic device according to claim 1, wherein the extended interface module is a program virtual extended interface module. 4. The method for avoiding command transmission conflicts in an electronic device according to claim 1, wherein the embedded controller further comprises a keyboard control interface module and an embedded control interface module, the keyboard The control interface module, the embedded control interface module, and the extended interface module are independent of each other. The method for avoiding command transmission conflicts in an electronic device according to claim 1, wherein the method further comprises the following steps: After the execution result feedback is completed, the dedicated input/output port is turned off. 6. The method for avoiding the transmission of instructions in the electronic device as described in the first paragraph of the patent application 094 135 079 Form No. A0101 Page 12 / Total 18 pages 0993302438-0 ΓΙ 333146 The method of correcting the page protrusion is amended on August 25, 1999, wherein: The method further includes the following steps: after receiving the instruction, the extended interface module sets the extended interface module status flag; after the execution result feedback is completed, the extended interface module status flag is cleared. 7. The method of claim 1, wherein the electronic device is a notebook computer. 8. The method for avoiding command transmission conflicts in an electronic device according to claim 1, wherein: the main system supports an advanced power configuration interface standard 〇9. An electronic device that avoids command transmission conflicts, the electronic device includes a main system and an embedded controller, the embedded controller includes a keyboard control interface module and an embedded control interface module, and the keyboard control interface module and the embedded control interface module respectively The main system communicates the transmission of the standard commands of the input terminal and the embedded controller. The improvement is that the embedded controller further includes an extended interface module, and the extended interface module transmits the user through a dedicated input/output port. The system is connected, and the dedicated input/output port is used for communication between the extended interface module and the host system. 10. The electronic device of claim 9, wherein: the extended interface module is a program virtual extended interface module. 11. The electronic device of claim 9, wherein: the extended interface module, the keyboard control interface module, and the embedded control interface module are independent of each other. 12. The electronic device of claim 9, wherein: the dedicated input/output port is used to transmit an extended instruction of the embedded controller. 13. The electronic device of claim 9, wherein: when the main 094135079 form number Α 0101 page 13 / 18 pages 0993302438-0 1333146 099 August 25th shuttle replacement page system and said When the extended interface module needs to communicate, the dedicated input/output port is turned on, and when the communication between the main system and the extended interface module ends, the dedicated input/output port is turned off. The electronic device of claim 9, wherein: the embedded controller uses a polling or interrupting manner to know whether the extended interface module receives an instruction. 15. The electronic device of claim 9, wherein: the electronic device is a notebook computer. 16. The electronic device of claim 9, wherein: the primary system supports an advanced power configuration interface standard. 094135079 Form No. A0101 Page 14 of 18 0993302438-0
TW94135079A 2005-10-07 2005-10-07 Method of avoiding command transmitting conflict and electronic apparatus using the same TWI333146B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW94135079A TWI333146B (en) 2005-10-07 2005-10-07 Method of avoiding command transmitting conflict and electronic apparatus using the same

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW94135079A TWI333146B (en) 2005-10-07 2005-10-07 Method of avoiding command transmitting conflict and electronic apparatus using the same

Publications (2)

Publication Number Publication Date
TW200715123A TW200715123A (en) 2007-04-16
TWI333146B true TWI333146B (en) 2010-11-11

Family

ID=47222432

Family Applications (1)

Application Number Title Priority Date Filing Date
TW94135079A TWI333146B (en) 2005-10-07 2005-10-07 Method of avoiding command transmitting conflict and electronic apparatus using the same

Country Status (1)

Country Link
TW (1) TWI333146B (en)

Also Published As

Publication number Publication date
TW200715123A (en) 2007-04-16

Similar Documents

Publication Publication Date Title
TWI394048B (en) System arrangement, processor and method for accessing memory unit
US8589954B2 (en) Method and program for selective suspension of USB network device
US9087031B2 (en) Method and program for selective suspension of USB device
US7516260B2 (en) Method of communicating with embedded controller
TWI333146B (en) Method of avoiding command transmitting conflict and electronic apparatus using the same
CN100361104C (en) User-defined interrupt signal response processing method and system under interrupt share mechanism
CN102662739B (en) Method and device for realizing function calling
CN105988945A (en) Heterogeneous multiprocessor system and driving control method thereof
JP4585249B2 (en) Information processing device
CN109582633B (en) Communication method of double CPUs in POS machine
CN102385557B (en) Drive processing method and processing device
JP2004199187A (en) Cpu built-in lsi
US20070079031A1 (en) Computer system with enhanced communication interface and communication method thereof
CN103246618A (en) Method and device for achieving universal serial bus (USB) functions on basis of embedded system
CN112631975B (en) SPI transmission method based on Linux
JP2003140985A (en) Bluetooth unit
JP3394834B2 (en) Debugging method for devices that make up a multiprocessor system
JPS59177631A (en) Dma control system
JPH03108021A (en) Input/output controller for printing
TWI510926B (en) System supporting dual host apparatuses to access interface apparatus and power management method thereof
JPS62208155A (en) Multiprocessor system
JPS61223968A (en) Data controller for multi-microprocessor
CN109101445A (en) A kind of system bus conversion method
JP2003186666A (en) Microcomputer and dma control circuit
JPH01145751A (en) Input/output control system

Legal Events

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