,1303026 * . • 九、發明說明: 、【發明所屬之技術領域】 本發明 >歩及-種保留桌面管理介面動態資訊的系统及方法,特別是涉 及一種在基本輸入輸出系統更新時保留桌面管理介面動態資訊的系統及方 法。 【先前技術】 隨著企業的成長、資訊技術的進步與網際網路的蓬勃發展,電腦的使 用愈來愈普遍。電腦作業和網路的普及雖帶來作業電腦化的績效,但相對 地也對企業的資金、人力、物力造成很大的負擔。辦公室與日倶增的個人 電腦及各式的終端設備對企業帶來很多管理上的、問題,因此DMtf小組 — (DesktopManagementTaskForce)共同制定了 桌面管理介面 DMI(Desktop • Management Interface)標準,用來管理網路上的每個事件及元件。DMI如 同是管理工具及系統元件之間的介面,它建立一個標準且可管理的電腦系 統,透過DMI,使用者可以獲得序號、電腦製造商、序列埠資訊及其它主 要的系統元件動悲資訊❶但是,在更新Bi〇s(Basic inpUt/〇utpUt System)版 本或貢訊的時候,爲防止可能發生的意外錯誤,必須使用特殊的應用工具 將DMI動態資訊,例如,TYPE01.UUID和TYPE02.SN加以保存,待更新 完畢,再將其寫回。一般來講,在進行BIOS更新時,需先將DMI動態資 訊保存到硬碟,再使用BIOS刷新工具刷新BIOS並加清除DMI參數,所 有DMI資訊連同TYPE01UUID和TYpE〇2 SN都被清除掉,再次重啓時再 •運行專用工具將硬碟上保存的TYPE01.UUID和TYPE02.SN等資料寫回。 這種保留DMI動態資訊的方法步驟較多,因而會增加出錯的機會。 【發明内容】 曰 鑒於以上内容,有必要提供一種保留〇乂1動態資訊的系統及方法,其 可解決Bios更新時在清除DMI資訊時自動保留正確的DMI動態資訊,無 需應用程式做保存及寫入的動作。 本發明較佳實施方式提供了一種保留DMI動態資訊的系統,其包括一 龟源和一電腦,其中該電腦包括一中央處理器、一北橋晶片、一南橋晶片、 一記憶體及一基本輸入輸出系統唯讀記憶體(Basic Input/〇utput System 6 1303026 * , - - Reld-°nly Me_y,_BI〇s ROM)。中央處理器是用於處理電腦所有的 運异和控制;北橋晶片負責射央處理器通信並控制記憶體;南橋晶片負 責I/O匯流排之間的通信,其與BI〇s R〇M相連;記憶體的主要作用是存 放各種輸人、輸出資料和中間計算結果,以及與外部記憶體交換資訊時作 緩衝用,其巾的資料可由中央處理器直接處理。記憶體中分配有一影存, 影存=功缺絲存放各種BI0S的内容,其設有—專門區域用於在每次電 腦開機上電自檢(pQwer-Qn SelfTest,資訊;Bi〇s ROM中有-唯讀暫存區(簡稱爲R〇M暫存區)和—dmi資料區, 暫存區用於在刷新BI0S、清除DMI資料區中動態資訊後備份影存中保存 的DMI動態資訊。 ,本發明健實施方极供了_觀留圓動:㈣訊的方法,該方法包 括:⑻首,,開機上電自檢;_呆存DMI動態資訊至影存;⑹判斷r〇m暫 存,=的魏是否爲^ ;仲若觸^爲空,則翻暫存區中的麵 動怨貧訊與影存中的是否相同;⑷若判斷不相同,則將⑽以暫存區中保存 的DMI動態資訊恢復到DMI資料區;⑴執行刷新工具調用刷新模組進行 BIOS,新及DMI資tK清除;(g)判斷影存中的DMI動態資訊是否有意義;⑻ 右判斷有意義,則將影存中的DMI動態資訊寫入到R〇M暫存區;①刷新結 束,重新開機。 —在步驟(c)中,若判斷R0M暫存區中的資訊爲空,則直接轉至步驟⑺執 仃刷新工具調用刷新模組進行]31〇8刷新&DMI資訊清除;在步驟(幻中,若 ^ 判斷影存中的DMI動態資訊無意義,也轉至步驟⑴。 本發明避免了常規更新BIOS與清除DMI動態資訊時,必須使用特殊 應用工具將資訊保存至硬碟,再次啓動時再使用特殊應用工具寫 回DMI動態資訊的較多繁瑣的人爲步驟,因而也避免了在此過程中出現人 爲操作錯誤的機會。 【實施方式】 •參閱第-圖所示,係本發明保留DMI動態資訊系統較佳實施方式的硬 體架構圖。該系統包括-電源1和一電腦2 ,其中該電腦2包括一中央處理器 3、一北橋晶片4、一南橋晶片7、一記憶體5及一BI0SR0M8。中央處理哭 7 1303026 ' I ' 着 3是用於處理電腦所有的運算和控制;北橋晶片4負責與中央處理器3通信並 、控制记憶體5,南橋晶片7負責I/O匯流排之間的通信,其與Bi〇s R〇M 8相 連;記憶體5的主要作用是存放各種輸入、輸出資料和中間計算結果,以及 ' 與外部記憶體交換資訊時作緩衝用,其中的資料可由中央處理器3直接處 • 理。記憶體5中分配有一影存6,影存6的功能是用來存放各種BIOS的内容, 其設有一專門區域用於在每次電腦自檢時保存DMI動態資訊;m〇s R〇M 8中有一ROM暫存區9和一DMI資料區10 , ROM暫存區9用於在刷新BI0S、 清除DMI動態資訊後備份影存6中保存動態資訊,DMI資料區1〇中存 儲有DMI動態資訊,它建立一個標準且可管理的電腦系統。 參閱第二圖所示,係本發明保留DMI動態資訊方法較佳實施方式的具 φ 體實施流程圖。首先,開機上電自檢(步驟S10〇t保存DMI資料區1〇中的 DMI動態資訊至影存6中(步驟si〇i);判斷R〇M暫存區9中的資訊是否爲 空,所述資Λ爲上次關機前在刷新bios、清除DMI資料區1〇中的動態資訊 後所備份的影存6中保存的DMI動態資訊(步驟S102);若判斷不爲空,則 判斷ROM暫存區9中的DMI動態資訊與影存6中的是否相同(步驟sl〇3);若 判斷不相同,則將ROM暫存區9中保存的DMI動態資訊恢復到DMI資料區10 中(步驟S104);執行刷新工具調用刷新模組進行m〇s刷新&DMp^訊清除 (步驟S105);判斷影存6中的DMI動態資訊是否有意義,即判斷〇1^動態 資訊是否為非空,例如,若DMI動態資訊為一序列號,且該序列號全為〇, 則說明該序舰是無意義的(步驟S1G6);若躺有意義,縣影存6中的 • DMI動態資訊寫入到R0M暫存區9中(步驟sl〇7);刷新結束,重新開機 驟 S108)。 y 在步驟S102中,若判斷R0M暫存區9中的資訊爲空,則轉至步驟 S105 ;在步驟S106 +,若判斷影存6中的DMI動態資訊無意義, 至步驟S108。 ^ ,本發明雖以較佳實施例揭露如上,然其並非用以限定本發明。任何熟 悉此項技藝者,在不脫離本發明之精神和範圍内,當可做更動與潤飾,因 此本發明之保護範圍當視後附之申請專利範圍所界定者為準。 【圖式簡單說明】 8 1303026 1 ϊ - , 第一圖係本發明保留DMI動態資訊系統較佳實施方式的硬體架構圖。 • 第二圖係本發明保留DMI動態資訊方法較佳實施方式的具體實施流程 圖。 【主要元件符號說明】,1303026 * . • IX. Invention Description: [Technical Field] The present invention relates to a system and method for retaining dynamic information of a desktop management interface, and more particularly to a desktop that is retained when a basic input/output system is updated. A system and method for managing interface dynamic information. [Prior Art] With the growth of enterprises, the advancement of information technology and the rapid development of the Internet, the use of computers has become more and more common. Although the popularity of computer operations and the Internet has brought about the performance of computerized work, it has also placed a heavy burden on the capital, manpower and material resources of enterprises. The office and the growing number of personal computers and various terminal devices have brought many management problems to the enterprise. Therefore, the DMtf team (DesktopManagementTaskForce) jointly developed the DMI (Desktop • Management Interface) standard for management. Every event and component on the network. DMI is like an interface between management tools and system components. It builds a standard and manageable computer system. Through DMI, users can get serial numbers, computer manufacturers, serials, information and other major system components. However, when updating the Bi〇s (Basic inpUt/〇utpUt System) version or Gongxun, in order to prevent possible unexpected errors, special application tools must be used to send DMI dynamic information, for example, TYPE01.UUID and TYPE02.SN Save it, wait until the update is complete, then write it back. Generally speaking, when performing BIOS update, you need to save the DMI dynamic information to the hard disk first, then use the BIOS refresh tool to refresh the BIOS and clear the DMI parameters. All DMI information along with TYPE01UUID and TYpE〇2 SN are cleared again. When restarting, run the special tool to write back the data such as TYPE01.UUID and TYPE02.SN saved on the hard disk. This method of retaining DMI dynamic information has many steps, which increases the chance of error. SUMMARY OF THE INVENTION In view of the above, it is necessary to provide a system and method for retaining 〇乂1 dynamic information, which can automatically save correct DMI dynamic information when clearing DMI information during Bios update, without requiring an application to save and write. Into the action. A preferred embodiment of the present invention provides a system for retaining DMI dynamic information, including a turtle source and a computer, wherein the computer includes a central processing unit, a north bridge chip, a south bridge chip, a memory, and a basic input and output. System read-only memory (Basic Input/〇utput System 6 1303026 * , - - Reld-°nly Me_y, _BI〇s ROM). The central processor is used to handle all the computer's transport and control; the north bridge chip is responsible for the central processor communication and control the memory; the south bridge chip is responsible for the communication between the I/O bus, which is connected to the BI〇s R〇M The main function of the memory is to store various input, output data and intermediate calculation results, as well as buffering when exchanging information with external memory, and the data of the towel can be directly processed by the central processing unit. There is a memory in the memory, and the memory is stored in the memory of various BI0S. It has a dedicated area for self-testing on each computer (pQwer-Qn SelfTest, information; Bi〇s ROM). There is a read-only temporary storage area (referred to as R〇M temporary storage area) and a -dmi data area. The temporary storage area is used to back up the DMI dynamic information saved in the image storage after refreshing the BI0S and clearing the dynamic information in the DMI data area. The implementation of the present invention is extremely useful for the observation of the round: (4) the method of the method, the method includes: (8) first, power on self-test; _ DMI dynamic information to the shadow storage; (6) judgment r〇m temporarily Save, if Wei is ^; if Zhong Ruo touches ^ is empty, then the face in the temporary storage area is the same as the memory in the shadow storage; (4) If the judgment is not the same, then (10) will be in the temporary storage area. The saved DMI dynamic information is restored to the DMI data area; (1) the refresh tool is called to refresh the module for BIOS, the new and DMI tK is cleared; (g) whether the DMI dynamic information in the image storage is meaningful; (8) the right judgment is meaningful, then The DMI dynamic information in the video storage is written to the R〇M temporary storage area; 1 refresh is completed, and the power is turned back on. In step (c), if it is judged that the information in the R0M temporary storage area is empty, then directly go to step (7) to execute the refresh tool to call the refresh module to perform] 31〇8 refresh & DMI information clearing; in the step (magic, If it is judged that the DMI dynamic information in the image storage is meaningless, the process also goes to step (1). The invention avoids the need to use the special application tool to save the information to the hard disk when the BIOS is updated and the DMI dynamic information is cleared, and then used again when starting up. The special application tool writes back more complicated human steps of DMI dynamic information, thus avoiding the chance of human error in the process. [Embodiment] • Referring to the figure, the present invention retains DMI. A hardware architecture diagram of a preferred embodiment of the dynamic information system. The system includes a power source 1 and a computer 2, wherein the computer 2 includes a central processing unit 3, a north bridge chip 4, a south bridge chip 7, a memory 5, and A BI0SR0M8. Central processing cry 7 1303026 ' I ' 3 is used to handle all computer computing and control; North Bridge chip 4 is responsible for communicating with the central processing unit 3 and controlling the memory 5, the south bridge wafer 7 is responsible for I / O convergence row The communication between the two is connected to Bi〇s R〇M 8; the main function of the memory 5 is to store various input and output data and intermediate calculation results, and to buffer the information when exchanging information with external memory. It can be directly processed by the central processing unit 3. A memory 6 is allocated in the memory 5, and the function of the memory 6 is to store various BIOS contents, and a special area is provided for saving the DMI every time the computer self-test is performed. Dynamic information; m〇s R〇M 8 has a ROM temporary storage area 9 and a DMI data area 10, and the ROM temporary storage area 9 is used to save dynamic information in the backup memory 6 after refreshing the BI0S and clearing the DMI dynamic information, DMI DMI dynamic information is stored in the data area, which establishes a standard and manageable computer system. Referring to the second figure, a flowchart of a preferred embodiment of the DMI dynamic information method of the present invention is shown. First, the power-on self-test is started (step S10〇t saves the DMI dynamic information in the DMI data area 1 to the shadow storage 6 (step si〇i); and judges whether the information in the R〇M temporary storage area 9 is empty, The resource is the DMI dynamic information saved in the image storage 6 backed up after the bios are refreshed and the dynamic information in the DMI data area is cleared before the last shutdown (step S102); if the determination is not empty, the ROM is determined. Whether the DMI dynamic information in the temporary storage area 9 is the same as that in the image storage 6 (step s1〇3); if the determination is not the same, the DMI dynamic information saved in the ROM temporary storage area 9 is restored to the DMI data area 10 ( Step S104): executing the refresh tool to call the refresh module to perform m〇s refresh & DMp message clearing (step S105); determining whether the DMI dynamic information in the shadow storage 6 is meaningful, that is, determining whether the dynamic information is non-empty For example, if the DMI dynamic information is a serial number, and the serial number is all 〇, then the sequence ship is meaningless (step S1G6); if the lie is meaningful, the DMI dynamic information is written in the county shadow storage 6 Go to the R0M temporary storage area 9 (step sl7); refresh is completed, restarting step S108). y In step S102, if it is determined that the information in the ROM temporary storage area 9 is empty, the process goes to step S105; in step S106+, if it is determined that the DMI dynamic information in the image storage 6 is meaningless, the process goes to step S108. The present invention has been described above by way of a preferred embodiment, and is not intended to limit the invention. Any modifications and adaptations may be made without departing from the spirit and scope of the invention, and the scope of the invention is defined by the scope of the appended claims. [Simple Description of the Drawings] 8 1303026 1 ϊ - , The first figure is a hardware architecture diagram of a preferred embodiment of the DMI dynamic information system of the present invention. • The second figure is a detailed implementation flow diagram of a preferred embodiment of the method for retaining DMI dynamic information of the present invention. [Main component symbol description]
電源 1 電腦 2 中央處理器 3 北橋晶片 4 記憶體 5 影存 6 南橋晶片 7 BIOS ROM 8 ROM暫存區 9 DMI資料區 10Power supply 1 Computer 2 Central processing unit 3 North bridge chip 4 Memory 5 Memory 6 South bridge chip 7 BIOS ROM 8 ROM temporary storage area 9 DMI data area 10