TW201337541A - Port abnormality detecting device, computer, network system and program - Google Patents

Port abnormality detecting device, computer, network system and program Download PDF

Info

Publication number
TW201337541A
TW201337541A TW101142123A TW101142123A TW201337541A TW 201337541 A TW201337541 A TW 201337541A TW 101142123 A TW101142123 A TW 101142123A TW 101142123 A TW101142123 A TW 101142123A TW 201337541 A TW201337541 A TW 201337541A
Authority
TW
Taiwan
Prior art keywords
error
physical
management table
devices
computer
Prior art date
Application number
TW101142123A
Other languages
Chinese (zh)
Inventor
Yasuyuki Kurihara
Original Assignee
Omron Tateisi Electronics Co
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 Omron Tateisi Electronics Co filed Critical Omron Tateisi Electronics Co
Publication of TW201337541A publication Critical patent/TW201337541A/en

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/0703Error or fault processing not based on redundancy, i.e. by taking additional measures to deal with the error or fault not making use of redundancy in operation, in hardware, or in data representation
    • G06F11/0706Error or fault processing not based on redundancy, i.e. by taking additional measures to deal with the error or fault not making use of redundancy in operation, in hardware, or in data representation the processing taking place on a specific hardware platform or in a specific software environment
    • G06F11/0727Error or fault processing not based on redundancy, i.e. by taking additional measures to deal with the error or fault not making use of redundancy in operation, in hardware, or in data representation the processing taking place on a specific hardware platform or in a specific software environment in a storage system, e.g. in a DASD or network based storage system
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/0703Error or fault processing not based on redundancy, i.e. by taking additional measures to deal with the error or fault not making use of redundancy in operation, in hardware, or in data representation
    • G06F11/0751Error or fault detection not based on redundancy
    • G06F11/0754Error or fault detection not based on redundancy by exceeding limits
    • G06F11/076Error or fault detection not based on redundancy by exceeding limits by exceeding a count or rate limit, e.g. word- or bit count limit

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Debugging And Monitoring (AREA)

Abstract

A port abnormality detecting device is provided, to determine whether an error is caused due to a failure in a device itself or due to a failure in a physical port in the case that the error occurs when the device is connected with the physical port. When a certain device is connected to a certain physical port, the fact whether the device is in normal work or an error is generated through the port is detected. Based on the collected detection results, a management table 53 showing whether the device is in normal work or error is generated is made by the combinations of a plurality of physical ports 51 with a plurality of devices 52. As per the contents of the management table 53, the error of the combination of a physical port and a device is determined based on whether it is caused due to a failure in the device or is the physical port.

Description

埠異常檢測裝置、電腦、網路系統及程式 埠 Anomaly detection device, computer, network system and program

本發明係關於一種埠異常檢測裝置,更詳細的說係關於一種檢測連接裝置的埠異常的埠異常檢測裝置。 The present invention relates to a sputum anomaly detecting device, and more particularly to a sputum anomaly detecting device for detecting a sputum abnormality of a connecting device.

此外,本發明係關於一種具備該種埠異常檢測裝置之電腦及網路系統。 Further, the present invention relates to a computer and a network system having such a defect detecting device.

此外,本發明係關於一種用以使電腦執行檢測連接裝置的埠異常的埠異常檢測方法之程式。 Further, the present invention relates to a program for causing a computer to execute a flaw detection method for detecting an abnormality of a connection device.

在電腦領域方面,習知如例如專利文獻1(特開2009-187483號公報)所揭示,具備分別連接裝置(儲存裝置)的複數個埠,製作並保持顯示該等埠分別在有效狀態或在無效狀態的地圖之系統(參閱同公報之圖6)。此外,同公報中也顯示了將該等埠所產生的錯誤碼與錯誤計數值保持於暫存器(參閱同公報之圖5)。 In the field of the computer, as disclosed in, for example, JP-A-2009-187483, a plurality of cymbals respectively connected to a device (storage device) are provided, and the 埠 is created and held, respectively, in an active state or in A system of maps in an invalid state (see Figure 6 of the same bulletin). In addition, it is also shown in the same publication that the error code and the error count value generated by the 埠 are held in the register (see Fig. 5 of the same publication).

先前技術文獻 Prior technical literature 專利文獻 Patent literature

專利文獻1 特開2009-187483號公報 Patent Document 1 Special Publication No. 2009-187483

然而,在上述習知的系統方面,上述地圖係合併某埠與連接於該埠的裝置而顯示在有效狀態或在無效狀態(或者錯誤狀態)。因此,會有例如以下之問題:即使顯示對於某埠為錯誤狀態,也無法判斷該錯誤是因為裝置本身的故障、或者是因為埠(物理埠)的連接異常。因此, 使用者有時會將正常的裝置誤解為故障了,或者繼續使用已產生連接異常(故障)的埠等,無法適當地避免錯誤。 However, in the above-mentioned conventional system aspect, the map is combined with a device connected to the device to display an active state or an invalid state (or an error state). Therefore, there is a problem that, for example, even if the display is in an error state, it is impossible to judge whether the error is due to a failure of the device itself or because the connection of the physical device is abnormal. therefore, The user sometimes misunderstands the normal device as a malfunction, or continues to use the flaw that has caused the connection abnormality (fault), and cannot properly avoid the error.

於是,本發明之課題在於提供一種在對於連接裝置的物理埠產生了錯誤時,可判斷該錯誤是因為裝置本身的故障或者是因為物理埠的故障之埠異常檢測裝置。 Accordingly, an object of the present invention is to provide an abnormality detecting device that can determine whether the error is due to a malfunction of the device itself or a malfunction due to physical defects when an error occurs in the physical device of the connection device.

此外,本發明之課題在於提供一種具備該種埠異常檢測裝置之電腦及網路系統。 Further, an object of the present invention is to provide a computer and a network system including the cockroach abnormality detecting device.

此外,本發明之課題在於提供一種用以使電腦執行檢測連接裝置的埠異常的埠異常檢測方法之程式。 Further, an object of the present invention is to provide a program for causing a computer to execute a flaw detection method for detecting an abnormality of a connection device.

為了解決上述課題,本發明之埠異常檢測裝置係檢測分別連接裝置的複數個物理埠異常之埠異常檢測裝置,其特徵在於具備:連接錯誤檢測部,其係某裝置連接於某物理埠時,檢測上述裝置通過上述物理埠是否正常動作或產生錯誤;管理表格製作部,其係匯集上述連接錯誤檢測部的檢測結果,對於上述複數個物理埠的各物理埠與複數個裝置的各裝置之組合,分別製作顯示是否正常動作或產生錯誤的管理表格;及錯誤類型判斷部,其係根據上述管理表格的內容,對於產生了上述錯誤的物理埠與裝置之組合,判斷該錯誤是因為上述裝置的故障或者是因為上述物理埠的故障。 In order to solve the above problems, the 埠 abnormality detecting device of the present invention detects a plurality of physical abnormalities detecting devices that are connected to the device, and is characterized in that: a connection error detecting unit is provided, and when a device is connected to a physical ,, Detecting whether the above-mentioned device passes the physical operation or whether an error occurs; the management table creating unit collects the detection result of the connection error detecting unit, and combines the physical devices of the plurality of physical devices with the devices of the plurality of devices. a management table for displaying whether the operation is normal or an error is generated, and an error type determination unit that determines the error for the combination of the physical device and the device that generated the error according to the content of the management table. The fault is either due to the above physical failure.

在本說明書中,所謂「物理埠」,意味著實際上以配線連接裝置的連接口。 In the present specification, the term "physical" means that the connection port of the device is actually connected by wiring.

在本發明之埠異常檢測裝置方面,連接錯誤檢測部係某裝置連接於某物理埠時,檢測上述裝置通過上述物理埠是否正常動作或產生錯誤。管理表格製作部係匯集上述連接錯誤檢測部的檢測結果,對於上述複數個物理埠的各物理埠與複數個裝置的各裝置之組合,分別製作顯示是否正常動作或產生錯誤的管理表格。錯誤類型判斷部係根據上述管理表格的內容,對於產生了上述錯誤的物理埠與裝置之組合,判斷該錯誤是因為上述裝置的故障或者是因為上述物理埠的故障。因此,藉由此埠異常檢測裝置,在對於連接裝置的物理埠產生了錯誤時,可判斷該錯誤是因為裝置本身的故障或者是因為物理埠的故障。 In the sputum abnormality detecting device of the present invention, when the connection error detecting unit is connected to a certain physical sputum, it is detected whether the device passes the physical 埠 normally or generates an error. The management table creation unit collects the detection result of the connection error detecting unit, and creates a management table for displaying whether or not the operation is normal or an error occurs for each of the plurality of physical devices and the combination of the devices of the plurality of devices. The error type determination unit determines whether the error is due to a failure of the above device or a failure of the physical device due to the combination of the physical device and the device in which the error has occurred, based on the contents of the management table. Therefore, by means of the anomaly detecting means, when an error occurs in the physical port of the connecting device, it can be judged whether the error is due to a malfunction of the device itself or a malfunction due to physical defects.

例如,該錯誤是裝置本身的故障,若連接該裝置的物理埠為正常,則使用者藉由將連接於該物理埠的故障的裝置與正常的裝置交換,就可迅速且適當地避免錯誤。或者,該錯誤是因為物理埠的故障,若連接於該物理埠的裝置本身為正常,則使用者藉由將該正常的裝置重新連接於別的正常的物理埠,就可迅速且適當地避免錯誤。 For example, the error is a failure of the device itself. If the physical connection to the device is normal, the user can quickly and appropriately avoid the error by exchanging the device connected to the physical device with the normal device. Or, the error is due to a physical failure. If the device connected to the physical device is normal, the user can quickly and appropriately avoid by reconnecting the normal device to another normal physical device. error.

在一實施形態的埠異常檢測裝置方面,其特徵在於:上述錯誤類型判斷部係有產生了錯誤的特定物理埠與特定裝置之組合時,參照上述管理表格,根據上述複數個裝置之中上述特定裝置以外的其他裝置是否曾經通過上述特定物理埠而正常動作,判斷上述錯誤是否是因為上述特定物理埠的故障,並且根據上述特定裝置是否 曾經通過上述複數個物理埠之中上述特定物理埠以外的其他物理埠而正常動作,判斷上述錯誤是否是因為上述特定裝置的故障。 In the case of the sputum abnormality detecting device according to the embodiment, the erroneous type determining unit is configured to refer to the management table based on the combination of the specific physical device and the specific device in which the error has occurred, based on the specific one of the plurality of devices. Whether the device other than the device has been normally operated by the specific physical device described above, and determines whether the error is due to the failure of the specific physical device, and according to whether the specific device is It has been normally operated by the physical physics other than the above-mentioned specific physical enthalpy among the plurality of physical physics, and it is judged whether or not the above-mentioned error is due to the failure of the above specific device.

在此一實施形態的埠異常檢測裝置方面,上述錯誤類型判斷部係有產生了錯誤的特定物理埠與特定裝置之組合時,參照上述管理表格。然後,上述錯誤類型判斷部根據上述複數個裝置之中上述特定裝置以外的其他裝置是否曾經通過上述特定物理埠而正常動作,判斷上述錯誤是否是因為上述特定物理埠的故障。此外,上述錯誤類型判斷部根據上述特定裝置是否曾經通過上述複數個物理埠之中上述特定物理埠以外的其他物理埠而正常動作,判斷上述錯誤是否是因為上述特定裝置的故障。因此,可精度良好地判斷上述錯誤是因為裝置本身的故障或者是因為物理埠的故障。 In the sputum abnormality detecting device according to the embodiment, the error type determining unit refers to the management table when there is a combination of a specific physical 产生 and a specific device in which an error has occurred. Then, the error type determination unit determines whether the error is due to the failure of the specific physical flaw based on whether or not the other device other than the specific device among the plurality of devices has normally operated through the specific physical flaw. Further, the error type determination unit determines whether the error is due to a failure of the specific device, based on whether the specific device has been normally operated by a physical device other than the specific physical device among the plurality of physical devices. Therefore, the above-mentioned error can be judged with high accuracy because of malfunction of the device itself or malfunction due to physical defects.

在一實施形態的埠異常檢測裝置方面,其特徵在於:上述管理表格製作部係對於上述複數個物理埠的各物理埠與複數個裝置的各裝置之組合,將進行過各個組合的連接次數、及正常動作或產生錯誤的次數記錄於上述管理表格上。 In the 埠 abnormality detecting device according to the first aspect of the invention, the management table creating unit performs the number of connections of each combination for each of the plurality of physical 埠 and a combination of the plurality of devices. The number of normal actions or errors generated is recorded on the above management form.

在此一實施形態的埠異常檢測裝置方面,上述管理表格製作部係對於上述複數個物理埠的各物理埠與複數個裝置的各裝置之組合,將進行過各個組合的連接次數、及正常動作或產生錯誤的次數記錄於上述管理表格上。因此,例如使用者藉由參照上述管理表格,對於產生了錯誤的物理埠與裝置之組合,比較連接次數、及正 常動作或產生錯誤的次數,藉此可以良好精度判斷該錯誤是因為上述裝置的故障或者是因為上述物理埠的故障。 In the 埠 abnormality detecting device according to the embodiment, the management table creating unit performs the number of connections and the normal operation of each combination for each of the plurality of physical 埠 and a combination of the plurality of devices. Or the number of errors generated is recorded on the above management form. Therefore, for example, by referring to the above management table, the user compares the number of connections and the positive for the combination of the physical device and the device that generated the error. The number of times of frequent actions or errors, whereby the error can be judged with good accuracy because of a malfunction of the above device or because of a malfunction of the above physical flaw.

在一實施形態的埠異常檢測裝置方面,其特徵在於:上述連接錯誤檢測部於檢測出產生上述錯誤時,輸出顯示該錯誤的錯誤碼,上述管理表格製作部根據上述連接錯誤檢測部的輸出,將對於上述複數個物理埠的各物理埠產生的錯誤碼並且對於上述複數個裝置的各裝置產生的錯誤碼記錄於上述管理表格上。 In the 埠 abnormality detecting device according to the embodiment, the connection error detecting unit outputs an error code indicating the error when the error is detected, and the management table creating unit is based on the output of the connection error detecting unit. An error code generated for each physical volume of the plurality of physical frames and an error code generated for each device of the plurality of devices are recorded on the management table.

在此一實施形態的埠異常檢測裝置方面,上述連接錯誤檢測部於檢測出產生上述錯誤時,輸出顯示該錯誤的錯誤碼。上述管理表格製作部根據上述連接錯誤檢測部的輸出,將對於上述複數個物理埠的各物理埠產生的錯誤碼並且對於上述複數個裝置的各裝置產生的錯誤碼記錄於上述管理表格上。因此,例如使用者藉由參照上述管理表格,根據對於上述複數個物理埠的各物理埠產生的錯誤碼、及對於上述複數個裝置的各裝置產生的錯誤碼,可以良好精度判斷各物理埠故障了、或者各裝置故障了。 In the 埠 abnormality detecting device according to the embodiment, the connection error detecting unit outputs an error code indicating the error when detecting the occurrence of the error. The management table creation unit records an error code generated for each physical volume of the plurality of physical files and an error code generated for each device of the plurality of devices on the management table based on an output of the connection error detecting unit. Therefore, for example, by referring to the management table, the user can judge each physical failure with good accuracy based on an error code generated for each physical 埠 of the plurality of physical 、 and an error code generated for each device of the plurality of devices. Or, each device has failed.

本發明之電腦係以具備上述埠異常檢測裝置為特徵之電腦。 The computer of the present invention is a computer characterized by the above-described flaw abnormality detecting device.

在本發明之電腦方面,在對於連接裝置的物理埠產生了錯誤時,可判斷該錯誤是因為裝置本身的故障或者是因為物理埠的故障。 In the computer aspect of the present invention, when an error occurs in the physical flaw of the connected device, it can be judged whether the error is due to a malfunction of the device itself or a malfunction due to physical defects.

例如,該錯誤是裝置本身的故障,若連接該裝置的物理埠為正常,則使用者藉由將連接於該物理埠的故障的裝置與正常的裝置交換,就可迅速且適當地避免錯誤。或者,該錯誤是因為物理埠的故障,若連接於該物理埠的裝置本身為正常,則使用者藉由將該正常的裝置重新連接於別的正常的物理埠,就可迅速且適當地避免錯誤。 For example, the error is a failure of the device itself. If the physical connection to the device is normal, the user can quickly and appropriately avoid the error by exchanging the device connected to the physical device with the normal device. Or, the error is due to a physical failure. If the device connected to the physical device is normal, the user can quickly and appropriately avoid by reconnecting the normal device to another normal physical device. error.

在一實施形態的電腦方面,其特徵在於具備:搭載有作用成上述連接錯誤檢測部、上述管理表格製作部及上述錯誤類型判斷部的BIOS之主機板;及記憶上述管理表格之管理表格記憶部;上述複數個裝置含有儲存有該電腦用的作業系統之儲存裝置,上述複數個物理埠包含搭載於上述主機板上用於連接上述儲存裝置的埠。 In a computer according to an embodiment of the present invention, a motherboard including a BIOS that functions as the connection error detecting unit, the management table creating unit, and the error type determining unit; and a management table memory unit that stores the management table The plurality of devices include a storage device storing an operating system for the computer, and the plurality of physical devices include a cassette mounted on the motherboard for connecting the storage device.

此處,所謂「BIOS」,意味著基本輸出入系統(Basic Input/Output System)。 Here, "BIOS" means a basic input/output system (Basic Input/Output System).

在此一實施形態的電腦方面,BIOS執行上述連接錯誤檢測部及上述管理表格製作部的動作。而且,管理表格記憶部記憶由上述BIOS所製成的管理表格。再者,BIOS執行上述錯誤類型判斷部的動作。即,根據上述管理表格的內容,對於產生了上述錯誤的物理埠與儲存裝置之組合,判斷該錯誤是因為上述儲存裝置的故障或者是因為上述物理埠的故障。因此,在此電腦方面,在對於連接儲存有作業系統的儲存裝置之物理埠產生了錯誤 時,可判斷該錯誤是因為儲存裝置本身的故障或者是因為物理埠的故障。 In the computer aspect of the embodiment, the BIOS executes the operations of the connection error detecting unit and the management table creating unit. Further, the management table storage unit memorizes the management table created by the above BIOS. Furthermore, the BIOS executes the operation of the error type determination unit described above. That is, according to the contents of the management table, it is determined whether the error is due to the failure of the storage device or the failure of the physical device for the combination of the physical device and the storage device in which the above error has occurred. Therefore, on this computer side, an error has occurred in the physical connection to the storage device that stores the operating system. At this time, it can be judged that the error is due to a failure of the storage device itself or due to a physical failure.

例如,該錯誤是儲存裝置本身的故障,若連接該儲存裝置的物理埠為正常,則使用者藉由將連接於該物理埠的故障的儲存裝置與正常的儲存裝置交換,就可迅速且適當地避免錯誤,而可使電腦的作業系統啟動。或者,該錯誤是因為物理埠的故障,若連接於該物理埠的儲存裝置本身為正常,則使用者藉由將該正常的儲存裝置重新連接於別的正常的物理埠,就可迅速且適當地避免錯誤,而可使電腦的作業系統啟動。 For example, the error is a failure of the storage device itself. If the physical connection to the storage device is normal, the user can quickly and appropriately exchange the storage device connected to the physical device with the normal storage device. Avoid errors and start the computer's operating system. Or, the error is due to a physical failure. If the storage device connected to the physical device is normal, the user can quickly and appropriately reconnect the normal storage device to another normal physical device. Avoid errors and start the computer's operating system.

在一實施形態的電腦方面,其特徵在於:上述複數個裝置包含分別儲存有該電腦用的作業系統之複數個儲存裝置,上述BIOS包含OS選擇處理部,該OS選擇處理部係根據上述錯誤類型判斷部的判斷結果,顯示使分別儲存於上述複數個儲存裝置的作業系統之中可啟動的作業系統選擇啟動、或者不能啟動。 In a computer according to one embodiment, the plurality of devices include a plurality of storage devices respectively storing the operating system for the computer, and the BIOS includes an OS selection processing unit, wherein the OS selection processing unit is based on the error type. The determination result of the determination unit displays that the operating system that can be activated in the operating systems stored in the plurality of storage devices is selected to be activated or not activated.

此處,「OS」意味著作業系統(Operating System)。 Here, "OS" means the operating system (Operating System).

在此一實施形態的電腦方面,上述複數個裝置包含分別儲存有此電腦用的作業系統之複數個儲存裝置。上述BIOS中所包含的OS選擇處理部根據上述錯誤類型判斷部的判斷結果,顯示使分別儲存於上述複數個儲存裝置的作業系統之中可啟動的作業系統選擇啟動、或者不能啟動。例如,根據上述錯誤類型判斷部的判斷結果,若連接於正常物理埠的正常儲存裝置(儲存有作業系統 的儲存裝置)存在,則上述OS選擇處理部選擇該正常的儲存裝置,使儲存於該正常的儲存裝置的作業系統啟動。因此,若連接於正常物理埠的正常儲存裝置存在,則使用者無需為使上述電腦啟動而困擾。另一方面,根據上述錯誤類型判斷部的判斷結果,若連接於正常物理埠的正常儲存裝置(儲存有作業系統的儲存裝置)不存在,則上述OS選擇處理部顯示不能啟動。因此,使用者藉由例如參照上述管理表格,將新的儲存裝置(儲存有作業系統的儲存裝置)連接於正常的物理埠,即可嘗試上述電腦的啟動。 In the computer aspect of this embodiment, the plurality of devices include a plurality of storage devices each storing an operating system for the computer. The OS selection processing unit included in the BIOS displays, based on the determination result of the error type determination unit, the activation or activation of the operating system that can be activated in the operating systems stored in the plurality of storage devices. For example, according to the judgment result of the error type determining unit, if it is connected to a normal physical storage device (the operating system is stored) The OS selection processing unit selects the normal storage device to activate the operating system stored in the normal storage device. Therefore, if a normal storage device connected to a normal physical port exists, the user does not have to worry about starting the above computer. On the other hand, according to the determination result of the error type determination unit, if the normal storage device (the storage device storing the work system) connected to the normal physical device does not exist, the OS selection processing unit displays that the activation cannot be started. Therefore, the user can attempt to start the computer by connecting the new storage device (the storage device storing the operating system) to the normal physical device by referring to the management table, for example.

本發明之網路系統係:經由網路而可通信地連接複數台上述電腦之網路系統,其特徵在於:上述複數台電腦之中1台電腦為主電腦,上述主電腦除了記憶關於該主電腦的上述管理表格之管理表格記憶部之外,還具備記憶上述複數台電腦之中關於該主電腦以外的電腦的上述管理表格之追加管理表格記憶部。 The network system of the present invention is a network system for communicably connecting a plurality of the above-mentioned computers via a network, wherein one of the plurality of computers is a main computer, and the main computer except the memory is about the main In addition to the management table storage unit of the management table of the computer, an additional management table storage unit for storing the management table of the computer other than the host computer among the plurality of computers is provided.

在本發明之網路系統方面,上述複數台電腦之中1台電腦為主電腦,除了記憶關於此主電腦的上述管理表格之管理表格記憶部之外,還具備記憶上述複數台電腦之中關於此主電腦以外的電腦(適當稱為「其他電腦」)的上述管理表格之追加管理表格記憶部。即,主電腦除了自己的管理表格之外,還記憶著其他電腦的管理表格。因此,上述主電腦可掌握網路系統內其他電腦的裝置或物理埠故障的狀況。因此,可集中管理複數台電腦。 In the network system of the present invention, one of the plurality of computers is a main computer, and in addition to memorizing the management table memory of the management table of the main computer, the memory of the plurality of computers is also recorded. An additional management table storage unit of the above management table of a computer other than the main computer (referred to as "other computer" as appropriate). That is, the main computer keeps in mind the management forms of other computers in addition to its own management forms. Therefore, the above-mentioned host computer can grasp the state of the device or physical failure of other computers in the network system. Therefore, it is possible to centrally manage a plurality of computers.

本發明之程式係用以使電腦執行檢測分別連接裝置的複數個物理埠異常的埠異常檢測方法之程式,其特徵在於:上述埠異常檢測方法包含:連接錯誤檢測步驟,其係在某裝置連接於某物理埠時,檢測上述裝置通過上述物理埠是否正常動作或產生錯誤;管理表格製作步驟,其係匯集上述連接錯誤檢測步驟的檢測結果,對於上述複數個物理埠的各物理埠與複數個裝置的各裝置之組合,分別製作顯示是否正常動作或產生錯誤的管理表格;及錯誤類型判斷步驟,其係根據上述管理表格的內容,對於產生了上述錯誤的物理埠與裝置之組合,判斷該錯誤是因為上述裝置的故障或者是因為上述物理埠的故障。 The program of the present invention is a program for causing a computer to execute a plurality of physical anomaly detection methods for detecting a plurality of physical anomalies respectively connected to the device, wherein the detection method includes: a connection error detection step, which is connected to a device. In a physical state, detecting whether the device passes the physical 埠 or whether an error occurs; and the management table creation step is to collect the detection result of the connection error detecting step, for each physical 埠 and plural of the plurality of physical 埠a combination of devices of the device, respectively, for creating a management table indicating whether the device is operating normally or generating an error; and an error type determining step for determining the combination of the physical device and the device that generated the error according to the content of the management table The error is due to a malfunction of the above device or due to a malfunction of the above physical defects.

本發明之程式係作為埠異常檢測方法而由電腦所執行。在上述埠異常檢測方法中的連接錯誤檢測步驟,某裝置連接於某物理埠時,檢測上述裝置通過上述物理埠是否正常動作或產生錯誤。在管理表格製作步驟,匯集上述連接錯誤檢測步驟的檢測結果,對於上述複數個物理埠的各物理埠與複數個裝置的各裝置之組合,分別製作顯示是否正常動作或產生錯誤的管理表格。在錯誤類型判斷步驟,根據上述管理表格的內容,對於產生了上述錯誤的物理埠與裝置之組合,判斷該錯誤是因為上述裝置的故障或者是因為上述物理埠的故障。因此,若使 電腦執行此程式顯示的埠異常檢測方法,則在對於連接裝置的物理埠產生了錯誤時,可判斷該錯誤是因為裝置本身的故障或者是因為物理埠的故障。 The program of the present invention is executed by a computer as a flaw detection method. In the connection error detecting step in the above-described sputum abnormality detecting method, when a certain device is connected to a physical 埠, it is detected whether the device passes the physical 埠 or the error occurs. In the management table creation step, the detection result of the connection error detection step is collected, and a management table indicating whether or not the operation is normal or an error is generated for each combination of the physical devices of the plurality of physical files and the devices of the plurality of devices. In the error type judging step, based on the contents of the management table described above, it is judged whether the error is due to the failure of the above device or the failure of the above physical defect for the combination of the physical device and the device in which the above error has occurred. Therefore, if When the computer executes the 埠 anomaly detection method displayed by the program, when an error occurs in the physical 埠 of the connected device, it can be judged whether the error is due to a malfunction of the device itself or a malfunction due to physical defects.

例如,該錯誤是裝置本身的故障,若連接該裝置的物理埠為正常,則使用者藉由將連接於該物理埠的故障的裝置與正常的裝置交換,就可迅速且適當地避免錯誤。或者,該錯誤是因為物理埠的故障,若連接於該物理埠的裝置本身為正常,則使用者藉由將該正常的裝置重新連接於別的正常的物理埠,就可迅速且適當地避免錯誤。 For example, the error is a failure of the device itself. If the physical connection to the device is normal, the user can quickly and appropriately avoid the error by exchanging the device connected to the physical device with the normal device. Or, the error is due to a physical failure. If the device connected to the physical device is normal, the user can quickly and appropriately avoid by reconnecting the normal device to another normal physical device. error.

如從以上可清楚,藉由本發明之埠異常檢測裝置及電腦,在對於連接裝置的物理埠產生了錯誤時,可判斷該錯誤是因為裝置本身的故障或者是因為物理埠的故障。 As apparent from the above, with the defect detecting device and the computer of the present invention, when an error occurs in the physical port of the connecting device, it can be judged whether the error is due to a malfunction of the device itself or a malfunction due to physical defects.

此外,在本發明之網路系統方面,由於主電腦除了自己的管理表格之外,還記憶著其他電腦的管理表格,所以可集中管理複數台電腦。 In addition, in the network system of the present invention, since the main computer stores the management forms of other computers in addition to its own management table, it is possible to centrally manage a plurality of computers.

此外,藉由使電腦執行本發明之程式作為埠異常檢測方法,在對於連接裝置的物理埠產生了錯誤時,可判斷該錯誤是因為裝置本身的故障或者是因為物理埠的故障。 Further, by causing the computer to execute the program of the present invention as the 埠 abnormality detecting method, when an error occurs in the physical 埠 of the connected device, it can be judged whether the error is due to a malfunction of the device itself or a malfunction due to physical defects.

以下,藉由圖示的實施形態詳細說明本發明。 Hereinafter, the present invention will be described in detail by way of the embodiments shown in the drawings.

圖1為顯示具備本發明之埠異常檢測裝置的一實施形態之電腦(以符號PC1表示全體)的區塊構造。 Fig. 1 is a block diagram showing a computer (indicated by the symbol PC1) of an embodiment including the flaw detecting device of the present invention.

此電腦PC1具備主機板90、搭載於此主機板90上的CPU(Central Processing Unit;中央處理單元)11、USB(Universal Serial Bus;通用序列匯流排)控制器12、SATA(Serial Advanced Technology Attachment;序列先進技術附件)控制器13、晶片組14、RAM(Random Access Memory;隨機存取記憶體)15、BIOS-ROM16、資訊保存ROM17、及LAN介面(I/F)18。 The computer PC1 includes a motherboard 90, a CPU (Central Processing Unit) 11 mounted on the motherboard 90, a USB (Universal Serial Bus) controller 12, and SATA (Serial Advanced Technology Attachment; The serial advanced technology attachment) controller 13, chipset 14, RAM (Random Access Memory) 15, BIOS-ROM 16, information storage ROM 17, and LAN interface (I/F) 18.

CPU11利用儲存於後述的儲存裝置之程式(包含OS)進行各種數值計算或資訊處理、機器控制等。 The CPU 11 performs various numerical calculations, information processing, machine control, and the like using a program (including an OS) stored in a storage device to be described later.

作為物理埠的複數個USB埠USB1、USB2、USB3、USB4連接於USB控制器12。此USB控制器12藉由BIOS(或OS)或晶片組14的控制,選擇USB埠USB1、USB2、…、USB4。在此例中,作為分別儲存有OS的儲存裝置之USB記憶體EEE、FFF、GGG、HHH連接於USB埠USB1、USB2、USB3、USB4。 A plurality of USB ports USB1, USB2, USB3, and USB4 as physical ports are connected to the USB controller 12. The USB controller 12 selects USB埠USB1, USB2, ..., USB4 by the control of the BIOS (or OS) or the chipset 14. In this example, the USB memories EEE, FFF, GGG, and HHH, which are storage devices respectively storing the OS, are connected to the USB ports USB1, USB2, USB3, and USB4.

作為物理埠的複數個SATA埠SATA1、SATA2、SATA3、SATA4、SATA5、SATA6連接於SATA控制器13。此SATA控制器13藉由BIOS(或OS)或晶片組14的控制,選擇SATA埠SATA1、SATA2、…、SATA6。在此例中,作為分別儲存有OS的儲存裝置之硬式磁碟驅動器(HDD)XXX、YYY連接於SATA埠SATA1、SATA2。作為分別儲存有OS的儲存裝置之固態驅動器(SSD)ZZZ、AAA連接於SATA埠SATA3、SATA4。作為儲存有OS 的儲存裝置之DVD(Digital Versatile Disc;數位影音光碟)驅動器CCC連接於SATA埠SATA5。此外,作為儲存有OS的儲存裝置之軟式(floppy)(註冊商標)磁碟驅動器(FDD)DDD連接於SATA埠SATA6。 A plurality of SATA, SATA1, SATA2, SATA3, SATA4, SATA5, and SATA6 as physical ports are connected to the SATA controller 13. The SATA controller 13 selects SATA 埠 SATA1, SATA2, ..., SATA6 by the control of the BIOS (or OS) or the chipset 14. In this example, hard disk drives (HDD) XXX and YYY, which are storage devices respectively storing the OS, are connected to SATA, SATA, and SATA2. Solid-state drives (SSD) ZZZ and AAA, which are storage devices for storing OS, are connected to SATA, SATA3, and SATA4. Stored as OS The storage device DVD (Digital Versatile Disc) drive CCC is connected to SATA 埠 SATA5. Further, a floppy (registered trademark) disk drive (FDD) DDD as a storage device storing an OS is connected to SATA 埠 SATA6.

晶片組14構成CPU11用的周邊電路。此晶片組14在USB控制器12、SATA控制器13、RAM15、資訊保存ROM17、LAN介面18之間管理資料的交接。 The chip set 14 constitutes a peripheral circuit for the CPU 11. The chip set 14 manages the transfer of data between the USB controller 12, the SATA controller 13, the RAM 15, the information storage ROM 17, and the LAN interface 18.

RAM15暫時記憶資料,用作CPU11用的作業區域。 The RAM 15 temporarily stores data and uses it as a work area for the CPU 11.

BIOS-ROM16係由快閃ROM所構成,儲存著執行此電腦基本動作的程式(以下稱為「BIOS程式」)。 The BIOS-ROM 16 is composed of a flash ROM and stores a program for executing the basic operation of the computer (hereinafter referred to as "BIOS program").

資訊保存ROM17係由快閃ROM所構成,如圖3所示,儲存著CPU11或晶片組14用的動作設定資料17a、優先啟動裝置資訊17b、及作為管理表格的機器埠管理表格17c。動作設定資料17a係於BIOS程式啟動時,為設定CPU11或晶片組14而參照。優先啟動裝置資訊17b係儲存著顯示使連接於USB埠USB1、USB2、…、USB4或SATA埠SATA1、SATA2、…、SATA6的複數個裝置之中哪個裝置優先啟動(更正確的說,是使哪個物理埠優先啟動)的資訊(將此資訊稱為「啟動優先度」)。關於機器埠管理表格17c,後述之。 The information storage ROM 17 is composed of a flash ROM. As shown in FIG. 3, the operation setting data 17a for the CPU 11 or the chip set 14, the priority activation device information 17b, and the machine management table 17c as a management table are stored. The operation setting data 17a is referred to in order to set the CPU 11 or the chip set 14 when the BIOS program is started. The priority boot device information 17b stores which of the plurality of devices connected to the USB 埠 USB1, USB2, ..., USB4 or SATA 埠 SATA1, SATA2, ..., SATA6 is preferentially activated (more correctly, which one is made) Physical 埠 priority start information (this information is called "startup priority"). The machine management table 17c will be described later.

圖1中所示的LAN介面18係經由網路900而和外部的機器(其他電腦等)進行通信。 The LAN interface 18 shown in FIG. 1 communicates with an external device (other computer or the like) via the network 900.

此外,顯示LCD(液晶顯示元件)等的圖像之顯示部19、及使用者進行輸出入用的未圖示的鍵盤、滑鼠連接於主機板90。 Further, a display unit 19 for displaying an image such as an LCD (Liquid Crystal Display Element) and a keyboard and a mouse (not shown) for inputting and outputting by the user are connected to the motherboard 90.

圖5例示機器埠管理表格17c的內容。機器埠管理表格17c具有特定複數個物理埠的表頭部51、特定複數個裝置的表側部52、及表體部53。 Fig. 5 illustrates the contents of the machine management table 17c. The machine management table 17c has a table head 51 that defines a plurality of physical files, a front side portion 52 of a plurality of devices, and a body portion 53.

關於表頭部51,在此例中,可舉SATA埠SATA1、SATA2、…、SATA6、及USB埠USB1、USB2、USB3、USB4。 Regarding the header 51, in this example, SATA 埠 SATA1, SATA 2, ..., SATA 6, and USB 埠 USB 1, USB 2, USB 3, and USB 4 can be cited.

關於表側部52,在此例中,作為儲存裝置,可舉硬式磁碟驅動器(HDD)XXX、YYY、固態驅動器(SSD)ZZZ、AAA、DVD驅動器CCC、及軟式(floppy)(註冊商標)磁碟驅動器(FDD)DDD。再者,關於此表側部52,雖然簡化表示記載裝置的名稱,但為了使用者參照方便起見,也可以如例如「A公司製造250GB(十億位元組)HDD Serial No.XXX」、「B公司製造80GB HDD Serial No.YYY」、…般,一併記載製造者名稱、記憶容量等。 Regarding the watch side portion 52, in this example, as a storage device, a hard disk drive (HDD) XXX, YYY, a solid state drive (SSD) ZZZ, AAA, a DVD drive CCC, and a floppy (registered trademark) magnetic can be cited. Disc Drive (FDD) DDD. Further, although the name of the device is simplified in the table side portion 52, for the sake of convenience of the user, for example, "A company manufactures 250 GB (billion bytes) HDD Serial No. XXX", " The company B manufactures 80 GB HDD Serial No. YYY", and the manufacturer's name, memory capacity, and the like are listed together.

表體部53係對於以表頭部51特定的複數個物理埠的各物理埠與以表側部52特定的複數個裝置的各裝置之組合,分別顯示是否正常動作(此例中為啟動)或產生錯誤。在此例中,對各該等組合以(正常啟動的次數)/(嘗試啟動的次數)這種形式,用分數顯示在該組合嘗試啟動的次數與在該組合正常啟動的次數。 The body portion 53 displays whether or not the normal operation (in this example, activation) is performed for each physical 埠 of the plurality of physical 特定 specified by the head portion 51 and each device of the plurality of devices specified by the front portion 52. An error has occurred. In this example, for each of these combinations in the form of (the number of normal starts) / (the number of attempts to start), the score is used to indicate the number of times the combination attempt is initiated and the number of times the combination is normally started.

此外,在表體部53下方設置有依歷程順序序顯示關於各物理埠產生的錯誤碼(例如關於SATA埠SATA2,「0xAA」、「0xBB」、「0xCC」、…)的埠錯誤碼欄55。此錯誤碼的歷程順序序係利用設置於埠錯誤碼欄55左側方(表側部52下方)的欄54特定成「錯誤碼履歷1」、「錯誤碼履歷2」、「錯誤碼履歷3」、…。 Further, an error code (for example, SATA 埠 SATA2, "0xAA", "0xBB", "0xCC", ...) generated by each physical 显示 is displayed in the order of the head portion 53 in the order of the head portion 53. . The history sequence of the error code is specified as "error code history 1", "error code history 2", "error code history 3" by the field 54 provided on the left side of the error code column 55 (below the table side portion 52). ....

此外,在表體部53右側方設置有依歷程順序序顯示關於各裝置產生的錯誤碼(例如關於硬式磁碟驅動器(HDD)YYY,「0x12」、「0x34」、「0x56」、…)的裝置錯誤碼欄56。此錯誤碼的歷程順序序係利用設置於裝置錯誤碼欄56上方(表頭部51右側方)的欄56特定成如「ERR1」、「ERR2」、「ERR3」、…。 Further, an error code generated for each device (for example, a hard disk drive (HDD) YYY, "0x12", "0x34", "0x56", ...) is displayed on the right side of the body portion 53 in order of history. Device error code column 56. The sequence of the error code is specified in the column 56 provided above the device error code column 56 (on the right side of the header 51) as "ERR1", "ERR2", "ERR3", ....

在此例中,此機器埠管理表格17c係由BIOS程式所大致如下製成(更詳細者,之後使用動作流程加以說明)。即,每當電腦PC1被啟動,BIOS程式就起作用作為連接錯誤檢測部,檢測某裝置通過某物理埠是否正常動作或產生錯誤。而且,每當電腦PC1被啟動,就匯集該檢測結果,對於複數個物理埠SATA1、SATA2、…、SATA6的各物理埠與複數個SATA裝置XXX、YYY、ZZZ、AAA、CCC、DDD的各裝置之組合、或者複數個物理埠USB1、USB2、USB3、USB4的各物理埠與複數個USB裝置EEE、FFF、GGG、HHH的各裝置之組合,分別記錄是否正常動作或產生錯誤(再者,由於連接口的形狀不同,所以不可能有SATA埠與USB裝置之組合或USB埠與SATA裝置之組合)。檢測出錯誤時,BIOS程式輸出上述的錯誤碼。 In this example, the machine management table 17c is basically made by the BIOS program as follows (more detailed, and then explained using an action flow). That is, each time the computer PC1 is activated, the BIOS program functions as a connection error detecting unit to detect whether a certain device has a normal operation or an error. Moreover, each time the computer PC1 is activated, the detection result is collected, for each physical device of the plurality of physical ports SATA1, SATA2, ..., SATA6 and the plurality of SATA devices XXX, YYY, ZZZ, AAA, CCC, DDD devices Combinations, or a combination of physical physics of USB1, USB2, USB3, USB4 and a plurality of USB devices EEE, FFF, GGG, HHH, respectively, whether to record normal operation or generate an error (again, due to The shape of the connector is different, so it is impossible to have a combination of SATA port and USB device or a combination of USB port and SATA device). When an error is detected, the BIOS program outputs the above error code.

此外,每當電腦PC1被啟動,BIOS程式就起作用作為管理表格製作部,對各該等物理埠與裝置之組合匯集在該組合嘗試啟動的次數與在該組合正常啟動的次數作為檢測結果,製作機器埠管理表格17c(更正確是表體部53)。此外,BIOS程式將錯誤碼分別記錄於埠錯誤碼欄55、裝置錯誤碼欄56。 In addition, each time the computer PC1 is activated, the BIOS program functions as a management table creation unit, and the combination of each of the physical devices and devices is combined with the number of times the combination attempt is initiated and the number of normal startups in the combination is used as a detection result. The machine 埠 management table 17c is produced (more precisely, the body portion 53). In addition, the BIOS program records the error codes in the error code column 55 and the device error code column 56, respectively.

此外,在此例中,BIOS程式起作用作為錯誤類型判斷部,根據機器埠管理表格17c的內容,對於產生了錯誤的物理埠與裝置之組合,判斷該錯誤是因為裝置的故障或者是因為物理埠的故障。因此,在對於連接裝置的物理埠產生了錯誤時,可判斷該錯誤是因為裝置本身的故障或者是因為物理埠的故障。 Further, in this example, the BIOS program functions as an error type determination unit, and based on the contents of the machine management table 17c, for the combination of the physical device and the device in which the error has occurred, it is judged whether the error is due to malfunction of the device or because of physicality. Awkward failure. Therefore, when an error occurs in the physical flaw of the connected device, it can be judged that the error is due to a malfunction of the device itself or a malfunction due to physical defects.

例如,藉由機器埠管理表格17c,嘗試啟動的次數在物理埠SATA1與裝置YYY之組合有10次,正常啟動的次數在該組合為0次(記載為0/10)。即,10次都產生了錯誤。此處,縱向看物理埠SATA1之行,對於物理埠SATA1與其他裝置XXX、ZZZ、AAA、CCC、DDD之組合,為5/5、7/7、4/4、2/2、2/2這種記載,嘗試啟動的全部次數都在正常啟動。此外,橫向看裝置YYY之列,對於裝置YYY與其他物理埠SATA2、SATA3、SATA4、SATA5、SATA6之組合,為0/4、0/2、0/1、0/0、0/0這種記載,嘗試啟動的全部次數都產生了錯誤。因此,BIOS程式可判斷物理埠SATA1為正常,裝置YYY故障了。BIOS程式將該訊息顯示於顯示部19上,通知使用者。 For example, with the machine management table 17c, the number of attempts to start is 10 times in the combination of the physical port SATA1 and the device YYY, and the number of normal starts is 0 in the combination (denoted as 0/10). That is, 10 times have produced an error. Here, look at the physical 埠 SATA1 line in the vertical direction, for the combination of physical 埠 SATA1 and other devices XXX, ZZZ, AAA, CCC, DDD, 5/5, 7/7, 4/4, 2/2, 2/2 In this case, all attempts to start are started normally. In addition, the horizontal viewing device YYY is 0/4, 0/2, 0/1, 0/0, 0/0 for the combination of device YYY and other physical ports SATA2, SATA3, SATA4, SATA5, SATA6. It is stated that all attempts to start have generated an error. Therefore, the BIOS program can determine that the physical port SATA1 is normal and the device YYY is faulty. The BIOS program displays the message on the display unit 19 to notify the user.

此結果,使用者藉由例如將連接於該物理埠SATA1的故障的裝置YYY與正常的裝置交換,可迅速且適當地避免錯誤。 As a result, the user can quickly and appropriately avoid the error by exchanging, for example, the device YYY connected to the failure of the physical port SATA1 with the normal device.

此外,藉由機器埠管理表格17c,嘗試啟動的次數在物理埠USB3與裝置EEE之組合有10次,正常啟動的次數在該組合為0次(記載為0/10)。即,10次都產生了錯誤。此處,橫向看裝置EEE之列,對於裝置EEE與其 他物理埠USB1、USB2、USB4之組合,為10/10、10/10、6/6這種記載,嘗試啟動的全部次數都在正常啟動。此外,縱向看物理埠USB3之行,對於物理埠USB3與其他裝置FFF、GGG、HHH之組合,為0/15、0/2、0/2這種記載,嘗試啟動的全部次數都產生了錯誤。因此,BIOS程式可判斷裝置EEE為正常,物理埠USB3故障了。BIOS程式將該訊息顯示於顯示部19上,通知使用者。 Further, with the machine management table 17c, the number of attempts to start is 10 times in the combination of the physical port USB3 and the device EEE, and the number of normal starts is 0 in this combination (denoted as 0/10). That is, 10 times have produced an error. Here, the horizontal view device EEE is listed for the device EEE and He has a combination of USB1, USB2, and USB4. It is recorded in 10/10, 10/10, and 6/6. All the attempts to start are started normally. In addition, looking at the physical 埠 USB3 in the vertical direction, for the combination of the physical 埠USB3 and other devices FFF, GGG, HHH, the records are 0/15, 0/2, 0/2, all the attempts to start have generated errors. . Therefore, the BIOS program can judge that the device EEE is normal, and the physical 埠 USB3 is faulty. The BIOS program displays the message on the display unit 19 to notify the user.

此結果,使用者藉由例如將該正常的裝置EEE重新連接於別的正常的物理埠USB3,可迅速且適當地避免錯誤。 As a result, the user can quickly and appropriately avoid errors by, for example, reconnecting the normal device EEE to another normal physical device USB3.

如此,BIOS程式於有產生了錯誤的特定物理埠與特定裝置之組合時,參照機器埠管理表格17c。然後,BIOS程式根據上述特定裝置以外的其他裝置是否曾經通過上述特定物理埠而正常動作,判斷上述錯誤是否是因為上述特定物理埠的故障,並且根據上述特定裝置是否曾經通過上述特定物理埠以外的其他物理埠而正常動作,判斷上述錯誤是否是因為上述特定裝置的故障。因此,可精度良好地判斷上述錯誤是因為裝置本身的故障或者是因為物理埠的故障。其結果,使用者可迅速且適當地避免錯誤。 Thus, the BIOS program refers to the machine management table 17c when there is a combination of a specific physical device and a specific device that has generated an error. Then, the BIOS program determines whether the error is due to the failure of the specific physical device according to whether the device other than the specific device has been normally operated by the specific physical device, and according to whether the specific device has passed the specific physical device. Other physical actions occur normally, and it is judged whether the above error is due to the failure of the above specific device. Therefore, the above-mentioned error can be judged with high accuracy because of malfunction of the device itself or malfunction due to physical defects. As a result, the user can avoid errors quickly and appropriately.

此外,使用者藉由參照機器埠管理表格17c的埠錯誤碼欄55、裝置錯誤碼欄56,根據對於複數個物理埠SATA1、SATA2、…、SATA6、USB1、USB2、USB 3、USB4的各物理埠產生的錯誤碼、及對於複數個裝置XXX、YYY、ZZZ、AAA、CCC、DDD、EEE、FFF、GGG、 HHH的各裝置產生的錯誤碼,可精度良好地判斷各物理埠故障了或者是各裝置故障了。 In addition, the user refers to the 埠 error code column 55 and the device error code column 56 of the table 17c according to the machine 根据, according to the physics of the plurality of physical ports SATA1, SATA2, ..., SATA6, USB1, USB2, USB3, USB4.错误 generated error code, and for a plurality of devices XXX, YYY, ZZZ, AAA, CCC, DDD, EEE, FFF, GGG, The error code generated by each device of the HHH can accurately judge each physical failure or the failure of each device.

圖6、圖7、圖8、圖9及圖10顯示關於利用BIOS程式的機器埠管理表格17c之動作流程。 6, FIG. 7, FIG. 8, FIG. 9, and FIG. 10 show the flow of operations regarding the machine management table 17c using the BIOS program.

(1)電腦PC1的電源一被接通(ON),就如圖6的步驟S1所示,CPU11與晶片組14啟動,從BIOS-ROM16讀入BIOS程式。藉此,如步驟S2所示,BIOS程式啟動。以下的步驟係BIOS程式執行。為了簡便,以下適當省略說明動作的主體(BIOS程式)。此外,物理埠適當地只稱為埠。 (1) When the power of the computer PC1 is turned "ON", as shown in step S1 of Fig. 6, the CPU 11 and the chipset 14 are activated, and the BIOS program is read from the BIOS-ROM 16. Thereby, as shown in step S2, the BIOS program is started. The following steps are performed by the BIOS program. For the sake of brevity, the main body (BIOS program) for explaining the operation will be omitted as appropriate. In addition, physical 埠 is appropriately referred to simply as 埠.

接著,如步驟S3所示,BIOS程式取得此電腦PC1自己的資訊保存ROM17內的機器埠管理表格17c,配置於RAM15上的特定區域。 Next, as shown in step S3, the BIOS program acquires the machine management table 17c in the information storage ROM 17 of the computer PC1, and arranges it in a specific area on the RAM 15.

接著,如步驟S4所示,取得記憶於資訊保存ROM17內的顯示使哪個埠優先啟動的啟動優先度。相應於此,如步驟S5所示,參照在機器埠管理表格17c上要以最優先啟動而被指定的埠(行)。 Next, as shown in step S4, the start priority of which display is stored in the information storage ROM 17 to which priority is activated is obtained. Corresponding to this, as shown in step S5, reference is made to the line (row) to be designated with the highest priority activation on the machine management table 17c.

(2)接著,如圖7的步驟S6所示,判斷在機器埠管理表格17c上,啟動OK次數於其參照的埠之行在所有的裝置是否是0。此處,若啟動OK次數在所有的裝置不是0(即啟動OK次數在任一裝置有1次以上)(在步驟S6為否),則可判斷其參照的埠為正常。或者,即使啟動OK次數在所有的裝置是0(在步驟S6為是),若嘗試啟動的次數在所有的裝置是0(在步驟S11為是),則其參照的埠也有為正常的可能性。於是,如步驟S7所示,嘗試取 得辨別連接於其參照的埠之裝置的資訊(將此資訊稱為「裝置資訊」)。 (2) Next, as shown in step S6 of Fig. 7, it is judged whether or not the number of times the OK number is referenced on the machine management table 17c is "0" in all devices. Here, if the number of times of starting the activation is not 0 in all the devices (that is, the number of times of starting the activation is one or more times in any of the devices) (NO in step S6), it can be determined that the referenced 埠 is normal. Alternatively, even if the number of times of activation is 0 in all devices (YES in step S6), if the number of attempts to start is 0 in all devices (YES in step S11), the reference to the frame is also normal. . Then, as shown in step S7, try to take It is necessary to identify the information of the device connected to its reference (this information is referred to as "device information").

此處,若不能取得裝置資訊(在步驟S8為否),則如步驟S17所示,將「有埠或裝置故障了的可能性,檢索下一個優先度的埠」這種訊息顯示於顯示部19上。然後,進入後述圖8的步驟S18。 If the device information cannot be acquired (NO in step S8), as shown in step S17, a message "There is a possibility that the device is faulty or the next priority is retrieved" is displayed on the display unit. 19 on. Then, the process proceeds to step S18 of Fig. 8 which will be described later.

另一方面,在圖7的步驟S8,若能取得裝置資訊(在步驟S8為是),則如步驟S9所示,判斷該裝置是否是機器埠管理表格17c之表側部52所舉的裝置。 On the other hand, if the device information can be acquired in step S8 of Fig. 7 (YES in step S8), as shown in step S9, it is determined whether or not the device is the device provided by the front side portion 52 of the machine management table 17c.

此處,若該裝置不是機器埠管理表格17c之表側部52所舉的裝置(在步驟S9為否),則如步驟S10所示,將該裝置判斷為新裝置,將該裝置的名稱追加於機器埠管理表格17c之表側部52新的列上。然後,進入後述圖9的步驟S12。 Here, if the device is not the device provided by the front side portion 52 of the machine management table 17c (NO in step S9), as shown in step S10, the device is determined as a new device, and the name of the device is added to The machine 埠 manages the new column on the side 52 of the table 17c. Then, the process proceeds to step S12 of Fig. 9 which will be described later.

另一方面,在圖7的步驟S9,若該裝置是機器埠管理表格17c之表側部52所舉的裝置(在步驟S9為是),則就那樣地進入後述圖9的步驟S12。 On the other hand, if the device is the device of the front side portion 52 of the machine management table 17c (YES in step S9), the process proceeds to step S12 of Fig. 9 which will be described later.

(3)在圖7的步驟S6,在機器埠管理表格17c上,啟動OK次數於上述參照的埠之行在所有的裝置是0(在步驟S6為是),且嘗試啟動的次數在所有的裝置不是0(即嘗試啟動的次數在任一裝置有1次以上)(在步驟S11為否),則可判斷該埠故障了。於是,進入圖8的步驟S16,將「有埠故障了的可能性,檢索下一個優先度的埠」這種訊息顯示於顯示部19上。 (3) In step S6 of Fig. 7, on the machine management table 17c, the line of the number of times the OK is initiated in the above reference is 0 in all devices (YES in step S6), and the number of attempts to start is at all. If the device is not 0 (i.e., the number of attempts to start is one or more times in any of the devices) (NO in step S11), it can be judged that the defect has occurred. Then, the process proceeds to step S16 of Fig. 8, and a message "There is a possibility that the failure has occurred, and the next priority is retrieved" is displayed on the display unit 19.

(4)接著,如圖8的步驟S18所示,參照在機器埠管理表格17c上要以下一個優先度啟動而被指定的埠(行)。 (4) Next, as shown in step S18 of Fig. 8, reference is made to the line (row) designated to be activated by the following priority on the machine management table 17c.

接著,在步驟S19,判斷對於所有的埠確認是否為正常。若有未確認的埠(在步驟S19為否),則回到圖7的步驟S6,對於別的埠反覆處理。另一方面,若對於所有的埠為確認完畢(在步驟S19為是),則如步驟S20所示,將「檢索過全部埠,但有全部埠故障了的可能性,不能啟動」這種訊息顯示於顯示部19上(OS啟動錯誤結束)。 Next, in step S19, it is judged whether or not it is normal for all the defects. If there is an unconfirmed 埠 (NO in step S19), it returns to step S6 of Fig. 7, and the processing is repeated for the other 埠. On the other hand, if all the ticks have been confirmed (YES in step S19), as shown in step S20, the message "There is a possibility that all of the defects have been retrieved, but all of them have failed, and cannot be activated" is displayed. Displayed on the display unit 19 (the OS startup error ends).

(5)在圖9的步驟S12,在機器埠管理表格17c上參照該裝置之列。若對於該裝置啟動OK次數在所有的埠是0(在步驟S13為是),且對於該裝置嘗試啟動的次數在所有的埠不是0(即嘗試啟動的次數在任一埠有1次以上)(在步驟S14為否),則可判斷該裝置故障了。於是,進入步驟S15,將「有裝置故障了的可能性,不能啟動」這種訊息顯示於顯示部19上(OS啟動錯誤結束)。 (5) At step S12 of Fig. 9, the device is referred to in the machine management table 17c. If the number of times the OK is initiated for the device is 0 at all ( (YES in step S13), and the number of attempts to start the device is not 0 at all (ie, the number of attempts to start is more than once at any time) ( If NO in step S14, it can be judged that the device is malfunctioning. Then, the process proceeds to step S15, and a message "There is a possibility that the device has failed, and cannot be activated" is displayed on the display unit 19 (the OS startup error is ended).

上述的步驟S16、S20、S15為BIOS程式的作為錯誤類型判斷部的動作。 The above-described steps S16, S20, and S15 are operations of the BIOS program as the error type determining unit.

另一方面,若對於該裝置啟動OK次數在所有的埠不是0(即啟動OK次數在任一埠有1次以上)(在步驟S13為否)、或對於該埠嘗試啟動的次數在所有的埠是0(在步驟S14為是),則該裝置為正常或故障了,依據現時點的機器埠管理表格17c,還不能判斷。於是,進入其次所述的圖10的步驟S21。 On the other hand, if the number of times the OK is initiated for the device is not 0 at all times (i.e., the number of times the start OK is more than one at any time) (NO at step S13), or the number of attempts to start the 在 is at all 埠If it is 0 (YES in step S14), the device is normal or defective, and it cannot be judged based on the machine management table 17c of the current point. Then, the process proceeds to step S21 of Fig. 10 which is described later.

(6)在圖10的步驟S21,只追加1次(+1)在此電腦PC1自己的資訊保存ROM17內的機器埠管理表格17c現在參照的埠之列的嘗試該裝置啟動的次數。即,在機器埠管理表格17c之表體部53上用相當於該埠與該裝置之組合的計量方法,例如若改寫前的記載為0/0,則將其改寫為0/1。 (6) In step S21 of Fig. 10, only the number of times (+1) of the device which is currently referred to by the machine management table 17c in the information storage ROM 17 of the own computer PC1 is attempted to start the device. In other words, a measurement method corresponding to the combination of the device and the device is used on the body portion 53 of the machine management table 17c. For example, if the description before the rewriting is 0/0, the reference is rewritten to 0/1.

接著,如步驟S22所示,嘗試將儲存於該裝置內的OS啟動。然後,若OS的啟動正常地完畢(在步驟S23為是),則可判斷該裝置為正常。於是,如步驟S24所示,只追加1次(+1)在此電腦PC1自己的資訊保存ROM17內的機器埠管理表格17c現在參照的埠之列的該裝置之啟動OK次數。即,在機器埠管理表格17c之表體部53上用相當於該埠與該裝置之組合的計量方法,例如若改寫前的記載為0/1,則將其改寫為1/1。藉此,成為可使用OS的狀態。 Next, as shown in step S22, an attempt is made to start the OS stored in the device. Then, if the startup of the OS is normally completed (YES in step S23), it can be judged that the device is normal. Then, as shown in step S24, only the number of activations of the device in the column of the device management table 17c in the information storage ROM 17 of the computer PC1 itself is added once (+1). In other words, the measurement method corresponding to the combination of the device and the device is used in the body portion 53 of the machine management table 17c. For example, if the description before the rewriting is 0/1, it is rewritten to 1/1. Thereby, the state in which the OS can be used is obtained.

再者,在圖8的步驟S16檢索下一個優先度的埠、其後在圖10的步驟S22嘗試連接於該埠的裝置啟動之處理為BIOS程式的作為OS選擇處理部的動作。藉由此BIOS程式的作為OS選擇處理部的動作,若連接於正常埠的正常儲存裝置存在,則使用者無需為使此電腦PC1啟動而困擾。 In addition, the processing of the next priority is performed in step S16 of FIG. 8, and the process of starting the device connected to the device in step S22 of FIG. 10 is the operation of the OS selection processing unit of the BIOS program. By the operation of the OS selection processing unit in the BIOS program, if the normal storage device connected to the normal device exists, the user does not need to worry about starting the computer PC1.

另一方面,在步驟S22,若OS沒有正常地啟動(在步驟S23為否),則BIOS程式判斷該裝置故障了,不能使用OS而結束處理。 On the other hand, if the OS is not normally started in step S22 (NO in step S23), the BIOS program judges that the device is malfunctioning, and the OS cannot be used to end the processing.

上述的步驟S23為BIOS程式的作為連接錯誤檢測部的動作。此外,步驟S21、S24為BIOS程式的作為管理表格製作部的動作。 The above-described step S23 is an operation of the BIOS program as a connection error detecting unit. Further, steps S21 and S24 are operations of the BIOS program as the management table creation unit.

每當電源被ON,此電腦PC1就執行圖6、圖7、圖8、圖9及圖10的動作。藉此,對各埠與裝置之組合,BIOS程式將在該組合嘗試啟動的次數與在該組合正常啟動的次數(啟動OK次數)作為檢測結果而匯集於機器埠管理表格17c上。藉此,對於產生了錯誤的埠與裝置之組合,可提高該錯誤是因為裝置的故障或者是因為埠的故障之判斷精度。 Whenever the power is turned on, the computer PC1 performs the operations of FIGS. 6, 7, 8, 9, and 10. Thereby, for each combination of the device and the device, the BIOS program aggregates the number of times the combination attempt is started and the number of times the combination is normally started (the number of startup OKs) as a detection result on the machine management table 17c. Thereby, for the combination of the device and the device in which the error has occurred, the error can be increased because of the failure of the device or the accuracy of the determination of the failure of the device.

在上述實施形態中,雖然對各物理埠與裝置之組合,將在該組合嘗試啟動的次數與在該組合正常啟動的次數以(正常啟動的次數)/(嘗試啟動的次數)這種形式顯示於機器埠管理表格17c之表體部53上,但並不限於此。也可以對各物理埠與裝置之組合,如○或×、或者OK或NG般,只以記號顯示是否正常地啟動。或者,也可以如1或0這樣,以二值顯示是否正常地啟動。 In the above embodiment, the combination of the physical physics and the device is displayed in the form of the number of attempts to start the combination and the number of times the combination is normally started (the number of times of normal startup) / (the number of attempts to start). It is on the body portion 53 of the machine management table 17c, but is not limited thereto. It is also possible to display whether or not the combination of physical devices and devices, such as ○ or ×, or OK or NG, is only indicated by a symbol. Alternatively, it is also possible to display whether or not to start normally by a binary value as in 1 or 0.

此外,在上述實施形態中,雖然利用BIOS程式執行關於機器埠管理表格17c的動作,但並不限於此。也可以利用OS或應用軟體(在OS上執行用的程式)執行關於機器埠管理表格17c的動作。 Further, in the above embodiment, the operation of the machine management table 17c is executed by the BIOS program, but the invention is not limited thereto. The action on the machine management table 17c can also be performed using the OS or the application software (a program for execution on the OS).

圖2顯示本發明一實施形態的網路系統(以符號100表示全體)構造。 Fig. 2 shows a structure of a network system (indicated by reference numeral 100) according to an embodiment of the present invention.

此網路系統100係經由網路900而可互相通信地具備上述電腦(以下稱為「客戶端機器」)PC1、和此客戶端 機器PC1完全同樣地構成的電腦即客戶端機器PC2、PC3、PC4、PC5、及作為主電腦的主機PC0。再者,網路900也可以是有線與無線之任一者。 The network system 100 is provided with the above-mentioned computer (hereinafter referred to as "client device") PC1 and the client via the network 900. The computers PC1 are configured in the same manner as the client PCs PC2, PC3, PC4, PC5, and the host PC0 as the host computer. Moreover, the network 900 can also be either wired or wireless.

客戶端機器PC1的機器埠管理表格17c在圖2中係作為表格#1而顯示於客戶端機器PC1的下方。客戶端機器PC2、PC3、PC4、PC5分別具備和表格#1(即機器埠管理表格17c)相同的表格#2、#3、#4、#5。 The machine management table 17c of the client machine PC1 is displayed as a table #1 in FIG. 2 below the client machine PC1. The client machines PC2, PC3, PC4, and PC5 respectively have the same tables #2, #3, #4, and #5 as the table #1 (that is, the machine management table 17c).

如圖4所示,主機PC0具備由快閃ROM構成的資訊保存ROM17′以取代客戶端機器PC1之資訊保存ROM17。和資訊保存ROM17中的同樣,此資訊保存ROM17′儲存著CPU11或晶片組14用的動作設定資料17a、優先啟動裝置資訊17b、及本機機器(主機PC0)的作為管理表格的機器埠管理表格17c。再者,此資訊保存ROM17′含有追加的管理表格記憶部,儲存著其他機器(客戶端機器PC1、PC2、…、PC5)的機器埠管理表格17d。本機機器(主機PC0)的機器埠管理表格17c在圖2中係作為表格#0而顯示於主機PC0的上方,與表格#0一部分重疊而顯示表格#1、#2、#3、#4、#5。 As shown in FIG. 4, the host PC0 is provided with an information storage ROM 17' composed of a flash ROM in place of the information storage ROM 17 of the client machine PC1. Similarly to the information storage ROM 17, the information storage ROM 17' stores the operation setting data 17a for the CPU 11 or the chipset 14, the priority activation device information 17b, and the machine management table of the local machine (host PC0) as a management table. 17c. Further, the information storage ROM 17' includes an additional management table storage unit, and stores a machine management table 17d of other devices (client machines PC1, PC2, ..., PC5). The machine management table 17c of the local machine (host PC0) is displayed above the host PC0 as the table #0 in FIG. 2, and partially overlaps the table #0 to display the tables #1, #2, #3, #4. , #5.

客戶端機器PC2、…、PC5及主機PC0的BIOS程式分別和客戶端機器PC1的BIOS程式完全同樣,執行關於圖6、圖7、圖8、圖9及圖10所示之機器埠管理表格17c的動作。因此,客戶端機器PC2、…、PC5及主機PC0的BIOS程式和客戶端機器PC1中的完全同樣,在對於連接裝置的物理埠產生了錯誤時,可判斷該錯誤是因為裝置本身的故障或者是因為物理埠的故障。 The BIOS programs of the client devices PC2, . . . , PC5, and the host PC0 are identical to the BIOS programs of the client device PC1, respectively, and the machine management table 17c shown in FIG. 6, FIG. 7, FIG. 8, FIG. 9, and FIG. Actions. Therefore, the BIOS programs of the client machines PC2, . . . , PC5 and the host PC0 are exactly the same as those in the client machine PC1. When an error occurs in the physical port of the connected device, it can be judged that the error is due to the failure of the device itself or Because of physical failures.

此外,主機PC0在此例中具有客戶端核對工具作為在OS上動作的應用軟體。此客戶端核對工具儲存於主機PC0具有的可啟動的儲存裝置內。 In addition, the host PC0 has a client verification tool as an application software that operates on the OS in this example. This client check tool is stored in a bootable storage device that the host PC0 has.

圖11及圖12顯示利用此客戶端核對工具的動作流程。圖11及圖12中的各步驟係客戶端核對工具執行。為了簡便,以下適當省略說明動作的主體(客戶端核對工具)。 Figure 11 and Figure 12 show the action flow of using this client check tool. The steps in Figures 11 and 12 are performed by the client check tool. For the sake of brevity, the main body (client check tool) for explaining the operation will be appropriately omitted below.

首先,如圖11的步驟S101所示,經由網路900而取得某客戶端機器之資訊保存ROM17內的機器埠管理表格17c之資料。 First, as shown in step S101 of Fig. 11, the data of the machine management table 17c in the information storage ROM 17 of a certain client device is acquired via the network 900.

其次,如步驟S102所示,確認該客戶端機器的機器埠管理表格17c之行(埠)。此處,對於該行,若啟動OK次數對於所有的裝置是0(在步驟S103為是),且嘗試啟動的次數對於所有的裝置是0(在步驟S104為是),則在現時點不能判斷該埠是否故障了。於是,進入後述圖12的步驟S105。 Next, as shown in step S102, it is confirmed that the machine of the client machine manages the line 17c (埠). Here, for this line, if the number of times of starting the OK is 0 for all devices (YES in step S103), and the number of attempts to start is 0 for all devices (YES in step S104), it cannot be judged at the current point. Whether the flaw is broken. Then, the process proceeds to step S105 of Fig. 12 which will be described later.

另一方面,對於該行,若啟動OK次數對於任一裝置不是0(即啟動OK次數在任一裝置有1次以上)(在步驟S103為否),或嘗試啟動的次數對於任一裝置不是0(即嘗試啟動的次數在任一裝置有1次以上)(在步驟S104為否),則如步驟S109所示,判斷嘗試啟動的次數是否和啟動OK次數相等。此處,對於該行(埠)所組合的某裝置,若嘗試啟動的次數和啟動OK次數不同(在步驟S109為否),則將該埠有問題的可能性作為警告而顯示於主機PC0之顯示部(和圖1中的顯示部19相同。以下同 樣)上。另一方面,對於該行(埠)所組合的所有裝置,若嘗試啟動的次數和啟動OK次數相等,則可判斷該埠為正常。 On the other hand, for this line, if the number of times of starting the OK is not 0 for any device (that is, the number of times of starting the OK is more than once in any device) (NO in step S103), or the number of attempts to start is not 0 for any device. (That is, the number of attempts to start is one or more times in any device) (NO in step S104), as shown in step S109, it is determined whether the number of attempts to start is equal to the number of times of starting the OK. Here, for a device combined with the row (埠), if the number of attempts to start is different from the number of startup OKs (NO in step S109), the possibility of the problem is displayed as a warning on the host PC0. The display unit (the same as the display unit 19 in Fig. 1 . Sample). On the other hand, for all devices combined in the row (埠), if the number of attempts to start and the number of startup OKs are equal, it can be judged that the defect is normal.

其次,如圖12的步驟S105所示,確認上述客戶端機器的機器埠管理表格17c之列(裝置)。此處,對於該列,若啟動OK次數對於所有的埠是0(在步驟S106為是),且嘗試啟動的次數對於所有的裝置是0(在步驟S107為是),則如步驟S108所示,在此例中將「無問題」顯示於顯示部上。 Next, as shown in step S105 of Fig. 12, the list (device) of the machine management table 17c of the client device is confirmed. Here, for this column, if the number of activations is 0 for all 埠 (YES in step S106), and the number of attempts to start is 0 for all devices (YES in step S107), as shown in step S108. In this example, "no problem" is displayed on the display.

另一方面,對於該列,若啟動OK次數對於任一埠不是0(即啟動OK次數在任一埠有1次以上)(在步驟S106為否),或嘗試啟動的次數對於任一埠不是0(即嘗試啟動的次數在任一埠有1次以上)(在步驟S107為否),則如步驟S111所示,判斷嘗試啟動的次數是否和啟動OK次數相等。此處,對於該列(裝置)所組合的某埠,若嘗試啟動的次數和啟動OK次數不同(在步驟S111為否),則將該裝置有問題的可能性作為警告而顯示於顯示部上。另一方面,對於該列(裝置)所組合的所有埠,若嘗試啟動的次數和啟動OK次數相等,則可判斷該埠為正常。於是,如步驟S108所示,將「無問題」顯示於顯示部上。 On the other hand, for this column, if the number of times of starting the OK is not 0 for any one (that is, the number of times of starting the OK is one or more times), (NO in step S106), or the number of attempts to start is not 0 for any one. (That is, the number of attempts to start is one or more times) (NO in step S107), as shown in step S111, it is determined whether the number of attempts to start is equal to the number of times of starting the OK. Here, for a certain combination of the columns (devices), if the number of attempts to start is different from the number of startup OKs (NO in step S111), the possibility that the device has a problem is displayed as a warning on the display unit. . On the other hand, for all the combinations of the columns (devices), if the number of attempts to start and the number of startup OKs are equal, it can be judged that the flaw is normal. Then, as shown in step S108, "no problem" is displayed on the display unit.

客戶端核對工具就上述客戶端機器的機器埠管理表格17c之各行及各列,執行從圖10的步驟S102至圖12的步驟S112之處理。 The client collation tool executes the processing from step S102 of Fig. 10 to step S112 of Fig. 12 with respect to each row and each column of the machine management table 17c of the client machine.

客戶端核對工具再就各客戶端機器PC1、PC2、…、PC5,執行從圖10的步驟S101至圖12的步驟S112之處理。 The client collation tool executes the processing from step S101 of Fig. 10 to step S112 of Fig. 12 for each of the client machines PC1, PC2, ..., PC5.

藉此,主機PC0可掌握網路系統100內的其他電腦,即客戶端機器PC1、PC2、…、PC5中的裝置或物理埠的故障狀況。因此,可利用主機PC0集中管理包含此主機PC0與客戶端機器PC1、PC2、…、PC5在內的複數台電腦。 Thereby, the host PC0 can grasp the fault conditions of other computers in the network system 100, that is, devices or physical devices in the client machines PC1, PC2, ..., PC5. Therefore, the host PC0 can be used to centrally manage a plurality of computers including the host PC0 and the client machines PC1, PC2, ..., PC5.

在上述實施形態中,雖然將本發明之埠異常檢測裝置適用於電腦,但並不限於此。本發明之埠異常檢測裝置可廣泛適用於包含複數個埠與連接於該埠的裝置在內的電子機器或系統。例如,本發明之埠異常檢測裝置可適用於包含具有複數個埠的交換式集線器或有線路由器與與其連接的裝置在內的系統。 In the above embodiment, the flaw detecting device of the present invention is applied to a computer, but the invention is not limited thereto. The sputum anomaly detecting device of the present invention is widely applicable to an electronic device or system including a plurality of cymbals and a device connected to the cymbal. For example, the sputum anomaly detecting apparatus of the present invention can be applied to a system including a switching hub or a wired router having a plurality of ports and a device connected thereto.

11‧‧‧CPU 11‧‧‧CPU

12‧‧‧控制器 12‧‧‧ Controller

13‧‧‧控制器 13‧‧‧ Controller

14‧‧‧晶片組 14‧‧‧ Chipset

15‧‧‧RAM 15‧‧‧RAM

16‧‧‧BIOS-ROM 16‧‧‧BIOS-ROM

17、17′‧‧‧資訊保存ROM 17, 17'‧‧‧ Information Storage ROM

17a‧‧‧動作設定資料 17a‧‧‧Action setting data

17b‧‧‧優先啟動裝置資訊 17b‧‧‧Priority start device information

17c、17d‧‧‧機器埠管理表格 17c, 17d‧‧‧ Machine Management Form

18‧‧‧LAN介面 18‧‧‧LAN interface

19‧‧‧顯示部 19‧‧‧ Display Department

51‧‧‧表頭部 51‧‧‧ head

52‧‧‧表側部 52‧‧‧Side side

53‧‧‧表體部 53‧‧‧ Body Department

54‧‧‧錯誤碼履歷欄 54‧‧‧Error Code Resume

55‧‧‧埠錯誤碼欄 55‧‧‧埠Error code column

56‧‧‧裝置錯誤碼欄 56‧‧‧Device error code column

90‧‧‧主機板 90‧‧‧ motherboard

100‧‧‧網路系統構造 100‧‧‧Network system construction

900‧‧‧網路 900‧‧‧Network

USB1、USB2、USB3、USB4‧‧‧USB埠 USB1, USB2, USB3, USB4‧‧‧USB埠

SATA1、SATA2、…、SATA6‧‧‧SATA埠 SATA1, SATA2, ..., SATA6‧‧‧ SATA埠

圖1為顯示具備本發明之埠異常檢測裝置的一實施形態之電腦區塊構造的圖。 Fig. 1 is a view showing a structure of a computer block according to an embodiment of the flaw detecting device of the present invention.

圖2為顯示經由網路而可通信地連接如圖1所示的複數台電腦之網路系統構造的圖。 2 is a diagram showing a network system configuration in which a plurality of computers as shown in FIG. 1 are communicably connected via a network.

圖3為顯示搭載於圖1的電腦(相當於圖2中的客戶端機器)上之資訊保存ROM(Read Only Memory;唯讀記憶體)記憶內容的圖。 Fig. 3 is a view showing the contents of the information storage ROM (Read Only Memory) stored on the computer (corresponding to the client device in Fig. 2) of Fig. 1.

圖4為顯示搭載於圖2中的主機上之資訊保存ROM之記憶內容的圖。 Fig. 4 is a view showing the memory contents of the information storage ROM mounted on the host in Fig. 2;

圖5為顯示記憶於資訊保存ROM之機器埠管理表格內容的圖。 FIG. 5 is a diagram showing the contents of a machine management table stored in the information storage ROM.

圖6為顯示圖1的電腦之動作流程一部分的圖。 Fig. 6 is a view showing a part of an operation flow of the computer of Fig. 1.

圖7為顯示圖1的電腦之動作流程一部分的圖。 Fig. 7 is a view showing a part of an operation flow of the computer of Fig. 1.

圖8為顯示圖1的電腦之動作流程一部分的圖。 Fig. 8 is a view showing a part of an operation flow of the computer of Fig. 1.

圖9為顯示圖1的電腦之動作流程一部分的圖。 Fig. 9 is a view showing a part of an operation flow of the computer of Fig. 1.

圖10為顯示圖1的電腦之動作流程一部分的圖。 Fig. 10 is a view showing a part of an operation flow of the computer of Fig. 1.

圖11為顯示圖2中的主機之動作流程一部分的圖。 Figure 11 is a diagram showing a part of the operation flow of the host in Figure 2.

圖12為顯示圖2中的主機之動作流程一部分的圖。 Figure 12 is a diagram showing a part of the operation flow of the host in Figure 2.

51‧‧‧表頭部 51‧‧‧ head

52‧‧‧表側部 52‧‧‧Side side

53‧‧‧表體部 53‧‧‧ Body Department

54‧‧‧錯誤碼履歷欄 54‧‧‧Error Code Resume

55‧‧‧埠錯誤碼欄 55‧‧‧埠Error code column

56‧‧‧裝置錯誤碼欄 56‧‧‧Device error code column

Claims (9)

一種埠異常檢測裝置,係檢測分別連接裝置的複數個物理埠異常之埠異常檢測裝置,其特徵在於具備:連接錯誤檢測部,其係某裝置連接於某物理埠時,檢測上述裝置通過上述物理埠是否正常動作或產生錯誤;管理表格製作部,其係匯集上述連接錯誤檢測部的檢測結果,對於上述複數個物理埠的各物理埠與複數個裝置的各裝置之組合,分別製作顯示是否正常動作或產生錯誤的管理表格;及錯誤類型判斷部,其係根據上述管理表格的內容,對於產生了上述錯誤的物理埠與裝置之組合,判斷該錯誤是因為上述裝置的故障或者是因為上述物理埠的故障。 An anomaly detecting device for detecting a plurality of physical anomalies of a plurality of physical anomalies respectively connected to the device, characterized by comprising: a connection error detecting unit that detects that the device passes the physical layer when a device is connected to a physical device Whether the operation is normal or an error occurs; the management table creation unit collects the detection result of the connection error detecting unit, and displays whether the display is normal for each of the physical devices of the plurality of physical devices and the combination of the devices of the plurality of devices. An operation table for generating an error or an error; and an error type determination unit for determining, based on the content of the management table, a combination of a physical device and a device that generated the error, because the device is malfunctioning or because of the physical Awkward failure. 如申請專利範圍第1項之埠異常檢測裝置,其中上述錯誤類型判斷部係有產生了錯誤的特定物理埠與特定裝置之組合時,參照上述管理表格,根據上述複數個裝置之中上述特定裝置以外的其他裝置是否曾經通過上述特定物理埠而正常動作,判斷上述錯誤是否是因為上述特定物理埠的故障,並且根據上述特定裝置是否曾經通過上述複數個物理埠之中上述特定物理埠以外的其他物理埠而正常動作,判斷上述錯誤是否是因為上述特定裝置的故障。 The abnormality detecting device according to the first aspect of the patent application, wherein the error type determining unit is a combination of a specific physical device and a specific device that has generated an error, and refers to the management table according to the specific device among the plurality of devices. Whether the other device has been normally operated by the specific physical defect described above, and determines whether the error is due to the failure of the specific physical defect, and according to whether the specific device has passed the other physical physical defects other than the specific physical device Physically and normally, it is judged whether the above error is due to the failure of the above specific device. 如申請專利範圍第1或2項之埠異常檢測裝置,其中上述管理表格製作部係對於上述複數個物理埠的各物 理埠與複數個裝置的各裝置之組合,將進行過各個組合的連接次數、及正常動作或產生錯誤的次數記錄於上述管理表格上。 For example, the abnormality detecting device of claim 1 or 2, wherein the management table creating unit is for each of the plurality of physical objects The combination of each device of the plurality of devices and the number of times the connection is performed and the number of normal operations or errors are recorded on the management table. 如申請專利範圍第1至3項中任一項之埠異常檢測裝置,其中上述連接錯誤檢測部於檢測出產生上述錯誤時,輸出顯示該錯誤的錯誤碼,上述管理表格製作部根據上述連接錯誤檢測部的輸出,將對於上述複數個物理埠的各物理埠產生的錯誤碼以及對於上述複數個裝置的各裝置產生的錯誤碼記錄於上述管理表格上。 The 埠 abnormality detecting device according to any one of claims 1 to 3, wherein the connection error detecting unit outputs an error code indicating the error when detecting the occurrence of the error, and the management table creating unit is based on the connection error. The output of the detecting unit records an error code generated for each physical volume of the plurality of physical files and an error code generated for each device of the plurality of devices on the management table. 一種電腦,其特徵在於:具備如申請專利範圍第1至4項中任一項之埠異常檢測裝置。 A computer characterized by comprising an anomaly detecting device according to any one of claims 1 to 4. 如申請專利範圍第5項之電腦,其中具備:搭載有作用成上述連接錯誤檢測部、上述管理表格製作部及上述錯誤類型判斷部的BIOS之主機板;及記憶上述管理表格之管理表格記憶部;上述複數個裝置含有儲存有該電腦用的作業系統之儲存裝置,上述複數個物理埠包含搭載於上述主機板上用於連接上述儲存裝置的埠。 The computer of claim 5, comprising: a motherboard equipped with a BIOS that functions as the connection error detecting unit, the management table creating unit, and the error type determining unit; and a management table memory unit that stores the management table The plurality of devices include a storage device storing an operating system for the computer, and the plurality of physical devices include a cassette mounted on the motherboard for connecting the storage device. 如申請專利範圍第6項之電腦,其中上述複數個裝置包含分別儲存有該電腦用的作業系統之複數個儲存裝置,上述BIOS包含OS選擇處理部,該OS選擇處理部係根據上述錯誤類型判斷部的判斷結果,顯示使分 別儲存於上述複數個儲存裝置的作業系統之中可啟動的作業系統選擇啟動、或者不能啟動。 The computer of claim 6, wherein the plurality of devices include a plurality of storage devices respectively storing the operating system for the computer, wherein the BIOS includes an OS selection processing unit, and the OS selection processing unit determines the error type according to the error type. Ministry judgment result The bootable operating system that is not stored in the operating system of the plurality of storage devices is selected to be activated or not activated. 一種網路系統,係經由網路而可通信地連接複數台如申請專利範圍第5至7項中任一項之電腦的網路系統,其特徵在於:上述複數台電腦之中1台電腦為主電腦,上述主電腦除了記憶關於此主電腦的上述管理表格之管理表格記憶部之外,還具備記憶上述複數台電腦之中關於該主電腦以外的電腦的上述管理表格之追加管理表格記憶部。 A network system is a network system for communicatively connecting a plurality of computers according to any one of claims 5 to 7 via a network, wherein one of the plurality of computers is In addition to the management table storage unit of the management table of the host computer, the main computer includes an additional management table memory unit for storing the management table of the computer other than the main computer among the plurality of computers. . 一種用以使電腦執行檢測分別連接裝置的複數個物理埠異常的埠異常檢測方法之程式,其特徵在於:上述埠異常檢測方法包含:連接錯誤檢測步驟,其係在某裝置連接於某物理埠時,檢測上述裝置通過上述物理埠是否正常動作或產生錯誤;管理表格製作步驟,其係匯集上述連接錯誤檢測步驟的檢測結果,對於上述複數個物理埠的各物理埠與複數個裝置的各裝置之組合,分別製作顯示是否正常動作或產生錯誤的管理表格;及錯誤類型判斷步驟,其係根據上述管理表格的內容,對於產生了上述錯誤的物理埠與裝置之組合,判斷該錯誤是因為上述裝置的故障或者是因為上述物理埠的故障。 A program for causing a computer to execute a plurality of physical anomaly detection methods for detecting a plurality of physical anomalies respectively connected to the device, wherein the method for detecting an anomaly abnormality comprises: a connection error detection step, which is connected to a physical device by a device And detecting a normal operation or an error of the device by the physical device; and a management table creation step of collecting the detection result of the connection error detection step, for each physical device of the plurality of physical devices and each device of the plurality of devices a combination of the management table for displaying whether the operation is normal or the error is generated; and the error type determination step, which is based on the content of the management table, and determines the error for the combination of the physical device and the device that generated the error. The failure of the device is due to the failure of the above physical defects.
TW101142123A 2012-03-14 2012-11-13 Port abnormality detecting device, computer, network system and program TW201337541A (en)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2012056971A JP2013191026A (en) 2012-03-14 2012-03-14 Port abnormality detection device, computer, network system and program

Publications (1)

Publication Number Publication Date
TW201337541A true TW201337541A (en) 2013-09-16

Family

ID=49160558

Family Applications (1)

Application Number Title Priority Date Filing Date
TW101142123A TW201337541A (en) 2012-03-14 2012-11-13 Port abnormality detecting device, computer, network system and program

Country Status (3)

Country Link
JP (1) JP2013191026A (en)
TW (1) TW201337541A (en)
WO (1) WO2013136605A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI497287B (en) * 2014-01-22 2015-08-21 Chunghwa Telecom Co Ltd Monitoring Method and Design Method of Joint Information System

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP7062500B2 (en) * 2018-04-17 2022-05-06 Dynabook株式会社 Electronic devices, connection methods and programs
JP2023003988A (en) 2021-06-25 2023-01-17 富士通株式会社 Information processing apparatus and operation monitoring program

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH10187354A (en) * 1996-12-26 1998-07-14 Toshiba Corp Information processor and method for managing recording media applied to the same device
JP2002268959A (en) * 2001-03-08 2002-09-20 Yokogawa Electric Corp Method for detecting failure of duplex system
JP2008192126A (en) * 2007-01-12 2008-08-21 Konica Minolta Business Technologies Inc Information processor and program

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI497287B (en) * 2014-01-22 2015-08-21 Chunghwa Telecom Co Ltd Monitoring Method and Design Method of Joint Information System

Also Published As

Publication number Publication date
JP2013191026A (en) 2013-09-26
WO2013136605A1 (en) 2013-09-19

Similar Documents

Publication Publication Date Title
TWI470420B (en) Dubugging method and computer system using the smae
JP6034990B2 (en) Server control method and server control apparatus
TWI632462B (en) Switching device and method for detecting i2c bus
TW201715395A (en) Method for recovering a baseboard management controller and baseboard management controller
US20170286097A1 (en) Method to prevent operating system digital product key activation failures
TW201520895A (en) System and method for automatically recovering BIOS of a computer
JP2010086364A (en) Information processing device, operation state monitoring device and method
US10095570B2 (en) Programmable device, error storage system, and electronic system device
US20120191965A1 (en) Boot systems and methods, and related devices
TW201337541A (en) Port abnormality detecting device, computer, network system and program
US9749189B2 (en) Generating graphical diagram of physical layout of computer platforms
US9343181B2 (en) Memory module errors
JP5440073B2 (en) Information processing apparatus, information processing apparatus control method, and control program
CN102681928A (en) Abnormal information output system of computer system
JP7064225B2 (en) Improved I / O error diagnostics
US9304845B2 (en) Storage integrity validator
JP2009223714A (en) Arithmetic circuit and failure analysis method of arithmetic circuit
TW201106155A (en) Examining method of switching firmwares and computer program product thereof
TWI789983B (en) Power management method and power management device
WO2019169615A1 (en) Method for accessing code sram, and electronic device
CN111190781A (en) Test self-check method of server system
JP2008176708A (en) Information processor
JP2015130023A (en) Information recording device, information processor, information recording method and information recording program
JP2003022222A (en) Information processor and its maintenance method
TWI775360B (en) Storage device for recording status of hardware component of computer system and computer implementation method thereof