TWI788021B - Device detection method and device detection system - Google Patents

Device detection method and device detection system Download PDF

Info

Publication number
TWI788021B
TWI788021B TW110135036A TW110135036A TWI788021B TW I788021 B TWI788021 B TW I788021B TW 110135036 A TW110135036 A TW 110135036A TW 110135036 A TW110135036 A TW 110135036A TW I788021 B TWI788021 B TW I788021B
Authority
TW
Taiwan
Prior art keywords
layer
server
scan
host
devices
Prior art date
Application number
TW110135036A
Other languages
Chinese (zh)
Other versions
TW202315359A (en
Inventor
林桓均
孫佩傑
王紹宇
Original Assignee
技嘉科技股份有限公司
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 技嘉科技股份有限公司 filed Critical 技嘉科技股份有限公司
Priority to TW110135036A priority Critical patent/TWI788021B/en
Application granted granted Critical
Publication of TWI788021B publication Critical patent/TWI788021B/en
Publication of TW202315359A publication Critical patent/TW202315359A/en

Links

Images

Abstract

A device detection method and a device detection system are provided. The device detection method includes: selecting one of the at least one server as a selected server, and scanning at least one (N)th layer device of the selected server; recording at least one address of at least one device of a first type among the at least one (N)th layer device; and defining at least one device of the second type among the at least one (N)th layer device as nodes, and scanning at least one (N+1)th layer device corresponding to the nodes, N is a positive integer.

Description

裝置偵測方法以及裝置偵測系統Device detection method and device detection system

本發明是有關於一種裝置偵測方法以及裝置偵測系統,且特別是有關於一種用於至少一伺服器的裝置偵測方法以及裝置偵測系統。The present invention relates to a device detection method and a device detection system, and in particular to a device detection method and a device detection system for at least one server.

伺服器的設計趨於多樣化,對應於伺服器的實體裝置配置設計也較為複雜。也就是說,基於不同的使用需求,伺服器的設計也會不時地被調整,硬體裝置設計也會有所不同。伺服器的基板管理控制器(Baseboard Management Controller,BMC)的開發必須要確定出對應於伺服器的實體裝置配置設計,才能夠使BMC對伺服器進行正確監控和管理工作。由此可知,如何快速確定出伺服器的實體裝置配置設計,從而縮短BMC的開發時間,是本領域技術人員的研究重點之一。The design of the server tends to be diversified, and the configuration design of the physical device corresponding to the server is also relatively complicated. That is to say, based on different usage requirements, the design of the server will be adjusted from time to time, and the design of the hardware device will also be different. The development of the server's Baseboard Management Controller (BMC) must determine the configuration design of the physical device corresponding to the server, so that the BMC can correctly monitor and manage the server. It can be seen that how to quickly determine the physical device configuration design of the server, thereby shortening the development time of the BMC, is one of the research focuses of those skilled in the art.

本發明提供一種裝置偵測方法以及裝置偵測系統,能夠快速確定出伺服器的實體裝置配置設計。The invention provides a device detection method and a device detection system, which can quickly determine the configuration design of the physical device of the server.

本發明的裝置偵測方法用於偵測至少一伺服器的多個裝置。裝置偵測方法包括由主機選擇所述至少一伺服器的其中之一為選中伺服器,並透過通訊介面對選中伺服器的至少一第N層裝置進行掃描;紀錄所述至少一第N層裝置中的至少一第一類型裝置的位址;以及將所述至少一第N層裝置中的至少一第二類型裝置分別定義為節點,並且對對應於節點的至少一第N+1層裝置進行掃描,N為正整數。The device detection method of the present invention is used to detect multiple devices of at least one server. The device detection method includes selecting one of the at least one server as the selected server by the host, and scanning at least one Nth layer device of the selected server through the communication interface; recording the at least one Nth layer device The address of at least one first type device in the layer device; and at least one second type device in the at least one Nth layer device is respectively defined as a node, and at least one N+1th layer corresponding to the node The device scans, and N is a positive integer.

本發明的裝置偵測系統包括至少一伺服器以及主機。所述至少一伺服器各包括多個裝置。主機以通訊介面與所述至少一伺服器溝通。主機選擇所述至少一伺服器的其中之一為選中伺服器,並透過通訊介面對選中伺服器的至少一第N層裝置進行掃描,紀錄所述至少一第N層裝置中的至少一第一類型裝置的位址。此外,主機將所述至少一第N層裝置中的至少一第二類型裝置分別定義為節點,並且對對應於節點的至少一第N+1層裝置進行掃描,其中N為正整數。The device detection system of the present invention includes at least one server and a host. The at least one server each includes a plurality of devices. The host communicates with the at least one server through a communication interface. The host selects one of the at least one server as the selected server, and scans at least one N-layer device of the selected server through the communication interface, and records at least one of the at least one N-layer device. The address of the first type of device. In addition, the host defines at least one second-type device in the at least one N-th layer device as a node, and scans at least one N+1-th layer device corresponding to the node, where N is a positive integer.

基於上述,主機紀錄被偵測到的第N層裝置中的第一類型裝置的位址。主機將第N層裝置中的第二類型裝置定義為節點,並且對對應於節點的至少一第N+1層裝置進行掃描。如此一來,伺服器的實體裝置配置能夠被快速地確定出來。此外,BMC的開發時間也會被縮短。Based on the above, the host records the address of the first type device among the detected N-th layer devices. The host defines a second-type device in the N-th layer of devices as a node, and scans at least one N+1-th layer device corresponding to the node. In this way, the physical device configuration of the server can be quickly determined. In addition, the development time of BMC will be shortened.

為讓本發明的上述特徵和優點能更明顯易懂,下文特舉實施例,並配合所附圖式作詳細說明如下。In order to make the above-mentioned features and advantages of the present invention more comprehensible, the following specific embodiments are described in detail together with the accompanying drawings.

本發明的部份實施例接下來將會配合附圖來詳細描述,以下的描述所引用的元件符號,當不同附圖出現相同的元件符號將視為相同或相似的元件。這些實施例只是本發明的一部份,並未揭示所有本發明的可實施方式。更確切的說,這些實施例只是本發明的專利申請範圍中的範例。Parts of the embodiments of the present invention will be described in detail with reference to the accompanying drawings. For the referenced reference symbols in the following description, when the same reference symbols appear in different drawings, they will be regarded as the same or similar components. These embodiments are only a part of the present invention, and do not reveal all possible implementation modes of the present invention. Rather, these embodiments are only examples within the scope of the patent application of the present invention.

請同時參考圖1以及圖2,圖1是依據本發明一實施例所繪示的裝置偵測系統的示意圖。圖2是依據本發明一實施例所繪示的裝置偵測方法的方法流程圖。在本實施例中,裝置偵測系統100包括伺服器110_1~110_3以及主機120。主機120以通訊介面與伺服器110_1~110_3進行通訊。主機120可以是具備運算功能的電子裝置。主機120可例如是桌上型電腦、筆記型電腦、智慧型手機等電子裝置。伺服器110_1~110_3分別包括多個裝置。舉例來說,伺服器110_1包括裝置111~118。為了便於說明,本實施例以3個伺服器110_1~110_3為例。本發明的裝置偵測系統的伺服器的數量可以是一個或多個,並不以本實施例為限。此外,本發明的伺服器的裝置數量可以是多個,並不以本實施例為限。Please refer to FIG. 1 and FIG. 2 at the same time. FIG. 1 is a schematic diagram of a device detection system according to an embodiment of the present invention. FIG. 2 is a flow chart of a device detection method according to an embodiment of the present invention. In this embodiment, the device detection system 100 includes servers 110_1 - 110_3 and a host 120 . The host 120 communicates with the servers 110_1 - 110_3 through the communication interface. The host 120 may be an electronic device with a computing function. The host 120 can be, for example, an electronic device such as a desktop computer, a notebook computer, or a smart phone. The servers 110_1 - 110_3 respectively include a plurality of devices. For example, the server 110_1 includes devices 111 - 118 . For ease of description, this embodiment takes three servers 110_1 - 110_3 as an example. The number of servers in the device detection system of the present invention may be one or more, and is not limited to this embodiment. In addition, the number of devices of the server of the present invention may be multiple, and is not limited to this embodiment.

在本實施例中,主機120會基於步驟S110~S130來執行多個操作。在步驟S110中,主機120選擇伺服器110_1~110_3的其中之一為選中伺服器,並對選中伺服器的第N層裝置進行掃描。主機120會對第N層裝置進行偵測以判斷第N層裝置的類型。N為正整數。在步驟S120中,主機120會紀錄第一類型裝置的位址。在步驟S130中,主機120會將第二類型裝置定義為節點。此外,主機120還會在步驟S130中對對應於節點的第N+1層裝置進行掃描。換句話說,主機120還會在步驟S130中對連接於第N層裝置的第二類型裝置的第N+1層裝置進行掃描。In this embodiment, the host 120 performs multiple operations based on steps S110 - S130 . In step S110 , the host 120 selects one of the servers 110_1 - 110_3 as the selected server, and scans the Nth layer devices of the selected server. The host 120 detects the N-layer device to determine the type of the N-layer device. N is a positive integer. In step S120, the host 120 records the address of the first type device. In step S130, the host 120 defines the second type of device as a node. In addition, the host 120 also scans the N+1th layer device corresponding to the node in step S130 . In other words, the host 120 also scans the N+1th layer device of the second type device connected to the Nth layer device in step S130 .

在本實施例中,第一類型裝置為感測裝置。舉例來說,感測裝置可以為溫度感測器、電壓感測器、電流感測器以及用於風扇的轉速感測器的其中一者。第二類型裝置為多工器。也就是說,如果有多工器被偵測到,主機120會將被偵測到的各至少一多工器定義為節點。主機120對對應於節點的下一層裝置進行掃描。In this embodiment, the first type of device is a sensing device. For example, the sensing device may be one of a temperature sensor, a voltage sensor, a current sensor, and a speed sensor for a fan. The second type of device is a multiplexer. That is, if multiple multiplexers are detected, the host 120 defines at least one detected multiplexer as a node. The host 120 scans the next layer device corresponding to the node.

在此值得一提的是,主機紀錄被偵測到的第一類型裝置的位址。主機將第二類型裝置定義為節點並且對對應於節點的至少一第N+1層裝置進行掃描。如此一來,伺服器的實體裝置配置能夠被快速地確定出來。因此,基板管理控制器(Baseboard Management Controller,BMC)的開發時間可以被大幅縮短。It is worth mentioning here that the host records the address of the first type of device detected. The host defines the second type device as a node and scans at least one N+1th layer device corresponding to the node. In this way, the physical device configuration of the server can be quickly determined. Therefore, the development time of the Baseboard Management Controller (BMC) can be greatly shortened.

舉例來說明,在步驟S110中,主機120選擇伺服器110_1為選中伺服器,並透過通訊介面對伺服器110_1的第1層裝置進行掃描。通訊介面可例如是適用於I2C、SMBUS的介面。在進行掃描後,主機120能夠獲知伺服器110_1的第1層裝置為裝置111、112。主機120進一步獲知裝置111為第一類型裝置,裝置112為第二類型裝置。在步驟S120中,主機120會紀錄裝置111的位址。在步驟S130中,主機120會將裝置112定義為父節點(或稱為根節點)。接下來,主機120以遞迴(Recursion)方式對連接於節點的第2層裝置進行掃描。也就是說,主機120對連接於節點(即,裝置112)的第2層裝置(即,裝置113~115)進行掃描以判斷第2層裝置的類型,紀錄被偵測到的第一類型裝置的位址,定義第二類型裝置為節點,並對連接於節點的第3層裝置進行掃描,依此類推。For example, in step S110 , the host 120 selects the server 110_1 as the selected server, and scans the layer 1 devices of the server 110_1 through the communication interface. The communication interface can be, for example, an interface suitable for I2C or SMBUS. After scanning, the host 120 can know that the first layer devices of the server 110_1 are the devices 111 and 112 . The host 120 further knows that the device 111 is a first type device, and the device 112 is a second type device. In step S120 , the host 120 records the address of the device 111 . In step S130 , the host 120 defines the device 112 as a parent node (or called a root node). Next, the host 120 scans the layer 2 devices connected to the nodes in a recursive manner. That is to say, the host 120 scans the layer 2 devices (i.e., devices 113-115) connected to the node (i.e., the device 112) to determine the type of the layer 2 devices, and records the detected first type devices. address, define the second type of device as a node, and scan for layer 3 devices connected to the node, and so on.

具體來說,主機120確定出裝置113為第一類型裝置,並且裝置114、115為第二類型裝置。因此,主機120會紀錄裝置113的位址。此外,主機120將裝置114定義第2層裝置的第一子節點,並將裝置115定義第2層裝置的第二子節點。因此,主機120會通過通訊介面關閉裝置115並且以遞迴方式對連接於裝置114的第3層裝置(即,裝置116、117)進行掃描。接下來,主機120會通過通訊介面關閉裝置114並且以遞迴方式對連接於裝置115的第3層裝置(即,裝置118)進行掃描。如以一來,所有的第一類型裝置(即,裝置111、113、116~118)的位址能夠快速地被記錄。Specifically, the host 120 determines that the device 113 is a first type device, and the devices 114 and 115 are a second type device. Therefore, the host 120 will record the address of the device 113 . In addition, host 120 defines device 114 as a first child node of a layer 2 device, and defines device 115 as a second child node of a layer 2 device. Therefore, the host 120 shuts down the device 115 through the communication interface and recursively scans for layer 3 devices (ie, devices 116 , 117 ) connected to the device 114 . Next, the host 120 shuts down the device 114 through the communication interface and recursively scans the layer 3 device (ie, the device 118 ) connected to the device 115 . In this way, the addresses of all the first type devices (ie, devices 111 , 113 , 116 - 118 ) can be quickly recorded.

請同時參考圖1、圖2以及圖3,圖3是依據本發明一實施例所繪示的網頁介面的示意圖。在本實施例中,主機120可提供網頁介面200。網頁介面200包括伺服器欄位210以及伺服器位址欄位220。伺服器欄位210以及伺服器位址欄位220可以被編輯以提供選擇指令。主機120會接收選擇指令以選擇伺服器110_1~110_3的其中之一為選中伺服器。伺服器位址可例如是網際協定位址(Internet Protocol Address)。Please refer to FIG. 1 , FIG. 2 and FIG. 3 at the same time. FIG. 3 is a schematic diagram of a webpage interface according to an embodiment of the present invention. In this embodiment, the host 120 can provide a web interface 200 . The web interface 200 includes a server field 210 and a server address field 220 . The server field 210 and the server address field 220 can be edited to provide selection commands. The host 120 receives the selection command to select one of the servers 110_1 - 110_3 as the selected server. The server address can be, for example, an Internet Protocol address (Internet Protocol Address).

在本實施例中,網頁介面200還包括掃描層數欄位230以及掃描鍵B1。掃描層數欄位230可以被編輯以提供掃描層數指令。主機120會基於掃描層數指令對選中伺服器中的多個裝置進行掃描。In this embodiment, the web interface 200 further includes a scan layer number field 230 and a scan button B1. The scan layer field 230 can be edited to provide scan layer instructions. The host 120 scans multiple devices in the selected server based on the scan layer command.

在本實施例中,主機120基於掃描層數指令獲得掃描層數,並基於掃描層數以遞迴方式對選中伺服器中的掃描層數中的裝置進行掃描。舉例來說,使用者可以在掃描層數欄位230中輸入「2」並點選掃描鍵B1。網頁介面200被操作以提供對應於掃描層數等於2的掃描層數指令。因此,主機120基於掃描層數指令獲得等於2的掃描層數。基於掃描層數,主機120以遞迴方式對選中伺服器中的第一層裝置以及第二層裝置進行掃描。In this embodiment, the host 120 obtains the scanning layer number based on the scanning layer number instruction, and scans the devices in the scanning layer number in the selected server in a recursive manner based on the scanning layer number. For example, the user can input "2" in the scan layer field 230 and click the scan button B1. The web interface 200 is operated to provide a scan level command corresponding to a scan level equal to 2. Therefore, the host 120 obtains the scan layer number equal to 2 based on the scan layer number command. Based on the number of scan layers, the host 120 recursively scans the first layer devices and the second layer devices in the selected server.

在本實施例中,網頁介面200還包括BMC欄位240、檔名欄位250、掃描結果視窗260以及下載鍵B2。在一些情境下,記錄於BMC欄位240中的BMC型號以及記錄於檔名欄位250的檔名可以是被預先設定的。因此,掃描結果視窗260的結果及/或語法會匹配於相同型號的BMC的韌體設計。一旦下載鍵B2被點選,掃描結果的檔名會被設定為記錄於檔名欄位250的檔名。In this embodiment, the web interface 200 further includes a BMC field 240, a file name field 250, a scan result window 260, and a download button B2. In some cases, the BMC model recorded in the BMC field 240 and the file name recorded in the file name field 250 may be preset. Therefore, the results and/or syntax of the scan result window 260 will match the firmware design of the BMC of the same model. Once the download button B2 is clicked, the filename of the scanned result will be set as the filename recorded in the filename column 250 .

在一些情境下,使用者可決定基於不同的BMC的韌體設計來對選中伺服器進行掃描。使用者可將選中BMC型號輸入至BMC欄位240中並點選掃描鍵B1。掃描結果視窗260的結果及/或語法會匹配於選中BMC的韌體設計。In some situations, the user may decide to scan the selected server based on different BMC firmware designs. The user can input the selected BMC model into the BMC field 240 and click the scan button B1. The results and/or syntax of the scan result window 260 will match the firmware design of the selected BMC.

在一些情境下,記錄於檔名欄位250的檔名可以被修改。使用者可在檔名欄位250中輸入使用者本身所期望的檔名。In some cases, the file name recorded in the file name column 250 can be modified. The user can input a desired file name in the file name column 250 .

在一些實施例中,伺服器欄位210、伺服器位址欄位220、掃描層數欄位230、BMC欄位240以及檔名欄位250的至少其中之一可以被設計為下拉式選單。In some embodiments, at least one of the server field 210 , the server address field 220 , the scan layer field 230 , the BMC field 240 and the file name field 250 can be designed as a drop-down menu.

在此順帶一提的是,本實施例能夠利用網頁介面200提供裝置偵測方法以及裝置偵測系統100的設定。本實施例的網頁介面200能夠使使用者快速熟悉。因此,本實施例的網頁介面200也更快速確定出伺服器的實體裝置配置設計,從而縮短BMC的開發時間。除此之外,掃描層數欄位230的設計能夠縮短掃描時間。Incidentally, this embodiment can use the web interface 200 to provide the device detection method and the settings of the device detection system 100 . The webpage interface 200 of this embodiment can make the user familiar with it quickly. Therefore, the webpage interface 200 of this embodiment also determines the physical device configuration design of the server more quickly, thereby shortening the development time of the BMC. In addition, the design of the scanning layer column 230 can shorten the scanning time.

在本實施例中,掃描結果視窗260可基於步驟S110~S130來顯示出掃描結果,從而產生出裝置的樹狀圖。樹狀圖的各個節點處分別紀錄第二類型裝置(如,多工器)的訊息ND1~ND3,例如是位址或型號。節點處以外的訊息LF1~LF5分別為第一類型裝置(如,感測器)的訊息,例如是位址或型號。上述的訊息ND1~ND3、LF1~LF5分別可例如是以文字或圖像來表現。舉例來說,在樹狀圖的第一層中,訊息LF1會對應到裝置111。訊息ND1會對應到裝置112。在樹狀圖的第二層中,訊息LF2會對應到裝置113。訊息ND2會對應到裝置115。訊息ND3會對應到裝置114。在掃描結果視窗260中,訊息LF2、ND2、ND3會透過通道被連接到訊息ND1。這表示裝置113~115分別被連接到裝置112。在樹狀圖的第三層中,訊息LF3會對應到裝置118。訊息LF4會對應到裝置116。訊息LF5會對應到裝置117。在掃描結果視窗260中,訊息LF3會透過通道被連接到訊息ND2。這表示裝置118被連接到裝置115。在掃描結果視窗260中,訊息LF3會透過通道被連接到訊息ND2。這表示裝置116、117被連接到裝置114。由此可知,在掃描結果視窗260所顯示的訊息可對應到裝置111~118的配置關係。In this embodiment, the scan result window 260 can display the scan result based on steps S110-S130, so as to generate a tree view of the device. The information ND1-ND3 of the second type of device (eg, multiplexer), such as address or model, is respectively recorded at each node of the tree diagram. The messages LF1 - LF5 outside the nodes are respectively the messages of the first type of devices (eg, sensors), such as addresses or models. The above-mentioned messages ND1-ND3, LF1-LF5 can be represented by text or images, respectively, for example. For example, in the first level of the tree diagram, the message LF1 corresponds to the device 111 . The message ND1 corresponds to the device 112 . In the second level of the tree diagram, the message LF2 corresponds to the device 113 . The message ND2 corresponds to the device 115 . The message ND3 corresponds to the device 114 . In the scan result window 260, the messages LF2, ND2, ND3 are connected to the message ND1 through the channel. This means that the devices 113-115 are respectively connected to the device 112. In the third level of the tree diagram, the message LF3 corresponds to the device 118 . The message LF4 will correspond to the device 116 . The message LF5 will correspond to the device 117 . In the scan result window 260, the message LF3 will be connected to the message ND2 through the channel. This indicates that device 118 is connected to device 115 . In the scan result window 260, the message LF3 will be connected to the message ND2 through the channel. This means that the devices 116 , 117 are connected to the device 114 . It can be known from this that the information displayed in the scan result window 260 can correspond to the configuration relationship of the devices 111 - 118 .

請參考圖1、圖3以及圖4,圖4是依據本發明另一實施例所繪示的裝置偵測方法的方法流程圖。在本實施例中,主機120會基於步驟S210~S290來執行多個操作。在步驟S210中,主機120至少接收選擇指令以及掃描層數指令。在本實施例中,主機120可提供網頁介面200。選擇指令以及掃描層數指令可透過對網頁介面200的操作而被產生。在步驟S220中,主機120基於選擇指令以選擇出選中伺服器。在步驟S230中,主機120對N值進行初始化以使N值等於1,並對選中伺服器中的第N層裝置(即,第1層裝置)進行掃描。步驟S230是在掃描鍵B1被點選後執行。在步驟S240中,主機120紀錄第N層裝置中的第一類型裝置的位址。在步驟S250中,主機120將第N層裝置中的第二類型裝置定義為節點。Please refer to FIG. 1 , FIG. 3 and FIG. 4 . FIG. 4 is a flowchart of a device detection method according to another embodiment of the present invention. In this embodiment, the host 120 performs multiple operations based on steps S210-S290. In step S210, the host 120 at least receives a selection instruction and a scanning layer instruction. In this embodiment, the host 120 can provide a web interface 200 . The selection command and the scan layer command can be generated through operations on the web interface 200 . In step S220, the host 120 selects the selected server based on the selection instruction. In step S230 , the host 120 initializes the N value so that the N value is equal to 1, and scans the Nth-tier devices (ie, the first-tier devices) in the selected server. Step S230 is executed after the scan button B1 is clicked. In step S240, the host 120 records the address of the first type device in the Nth layer device. In step S250, the host 120 defines the second type device among the N-th layer devices as a node.

在步驟S260中,主機120會基於掃描層數指令判斷N值是否等於掃描層數。當N值不等於掃描層數時,主機120在步驟S270中使N值加1,並在步驟S280中對連接於節點的第N層裝置進行掃描。也就是說,主機120會對連接於第1層裝置中的第二類型裝置的第2層裝置進行掃描。接下來,進入步驟S240。因此,主機120基於步驟S240~S280所形成的步驟迴圈來執行遞迴操作,直到N值等於掃描層數為止。In step S260, the host 120 determines whether the value of N is equal to the number of scan layers based on the scan layer number instruction. When the N value is not equal to the number of layers to be scanned, the host 120 adds 1 to the N value in step S270 , and scans the Nth layer devices connected to the node in step S280 . That is, the host 120 scans the layer 2 devices connected to the second type devices in the layer 1 devices. Next, go to step S240. Therefore, the host 120 performs a recursive operation based on the step loop formed by steps S240 to S280 until the value of N is equal to the number of scanning layers.

當主機120在步驟S260中判斷出N值等於掃描層數時,主機120會在步驟S290中結束掃描並存檔。When the host 120 determines in step S260 that the value of N is equal to the number of scanning layers, the host 120 will end scanning and archive in step S290.

綜上所述,本發明的主機紀錄被偵測到的第N層裝置中的第一類型裝置的位址。主機將第N層裝置中的第二類型裝置定義為節點,並且對對應於節點的至少一第N+1層裝置進行掃描。如此一來,伺服器的實體裝置配置能夠被快速地確定出來,從而縮短BMC的開發時間。除此之外,本發明的能夠利用網頁介面來提供裝置偵測方法以及裝置偵測系統的設定。本實施例的網頁介面能夠使使用者快速熟悉。因此,本實施例的網頁介面也更快速確定出伺服器的實體裝置配置設計。To sum up, the host of the present invention records the address of the first type device among the detected N-th layer devices. The host defines a second-type device in the N-th layer of devices as a node, and scans at least one N+1-th layer device corresponding to the node. In this way, the physical device configuration of the server can be quickly determined, thereby shortening the development time of the BMC. In addition, the present invention can use the web interface to provide the device detection method and the configuration of the device detection system. The web page interface of this embodiment can make the user quickly familiar with it. Therefore, the webpage interface of this embodiment can more quickly determine the configuration design of the physical device of the server.

雖然本發明已以實施例揭露如上,然其並非用以限定本發明,任何所屬技術領域中具有通常知識者,在不脫離本發明的精神和範圍內,當可作些許的更動與潤飾,故本發明的保護範圍當視後附的申請專利範圍所界定者為準。Although the present invention has been disclosed above with the embodiments, it is not intended to limit the present invention. Anyone with ordinary knowledge in the technical field may make some changes and modifications without departing from the spirit and scope of the present invention. The scope of protection of the present invention should be defined by the scope of the appended patent application.

100:裝置偵測系統 110_1~110_3:伺服器 111~118:裝置 120:主機 200:網頁介面 210:伺服器欄位 220:伺服器位址欄位 230:掃描層數欄位 240:BMC欄位 250:檔名欄位 260:掃描結果視窗 B1:掃描鍵 B2:下載鍵 LF1~LF5:第一類型裝置的訊息 ND1~ND3:第二類型裝置的訊息 S110~S130:步驟 S210~S290:步驟 100:Device detection system 110_1~110_3: Server 111~118: Device 120: Host 200: Web interface 210: Server field 220: Server address field 230:Scan layer number field 240: BMC field 250: File name field 260:Scan result window B1: Scan key B2: Download button LF1~LF5: Information of the first type device ND1~ND3: Information of the second type device S110~S130: steps S210~S290: steps

圖1是依據本發明一實施例所繪示的裝置偵測系統的示意圖。 圖2是依據本發明一實施例所繪示的裝置偵測方法的方法流程圖。 圖3是依據本發明一實施例所繪示的網頁介面的示意圖。 圖4是依據本發明另一實施例所繪示的裝置偵測方法的方法流程圖。 FIG. 1 is a schematic diagram of a device detection system according to an embodiment of the present invention. FIG. 2 is a flow chart of a device detection method according to an embodiment of the present invention. FIG. 3 is a schematic diagram of a webpage interface according to an embodiment of the present invention. FIG. 4 is a flow chart of a device detection method according to another embodiment of the present invention.

S110~S130:步驟 S110~S130: steps

Claims (10)

一種裝置偵測方法,用於偵測至少一伺服器的多個裝置,包括:接收來自於一網頁介面的一掃描層數指令;基於該掃描層數指令以獲得一掃描層數;由一主機選擇該至少一伺服器的其中之一為一選中伺服器,基於該掃描層數以遞迴方式以透過一通訊介面對該選中伺服器中的該掃描層數中的該些裝置進行掃描;對該選中伺服器的至少一第N層裝置進行掃描;紀錄該至少一第N層裝置中的至少一第一類型裝置的位址;以及將該至少一第N層裝置中的至少一第二類型裝置分別定義為一節點,並且對對應於該節點的至少一第N+1層裝置進行掃描,其中N為正整數。 A device detection method for detecting a plurality of devices of at least one server, comprising: receiving a scan layer instruction from a web interface; obtaining a scan layer based on the scan layer instruction; by a host selecting one of the at least one server as a selected server, and recursively scanning the devices in the scanning layer in the selected server through a communication interface based on the scanning layer ; scan at least one Nth layer device of the selected server; record the address of at least one first type device in the at least one Nth layer device; and at least one of the at least one Nth layer device The second type device is respectively defined as a node, and at least one N+1th layer device corresponding to the node is scanned, wherein N is a positive integer. 如請求項1所述的裝置偵測方法,其中該至少一第一類型裝置分別為一感測裝置。 The device detection method as claimed in claim 1, wherein the at least one first type device is a sensing device respectively. 如請求項2所述的裝置偵測方法,其中該感測裝置為一溫度感測器、一電壓感測器、一電流感測器以及用於一風扇的一轉速感測器的其中一者。 The device detection method as claimed in claim 2, wherein the sensing device is one of a temperature sensor, a voltage sensor, a current sensor, and a rotational speed sensor for a fan . 如請求項1所述的裝置偵測方法,其中該至少一第二類型裝置為多工器。 The device detection method as claimed in claim 1, wherein the at least one second type device is a multiplexer. 如請求項1所述的裝置偵測方法,其中對由該主機選擇該至少一伺服器的其中之一為該選中伺服器,並透過該通訊介面對該選中伺服器的該至少一第N層裝置進行掃描的步驟包括:接收來自於一網頁介面的一選擇指令;以及基於該選擇指令以選擇該選中伺服器。 The device detection method as described in claim 1, wherein one of the at least one server selected by the host is the selected server, and the at least one first of the selected server is connected to the selected server through the communication interface The scanning step of the N-tier device includes: receiving a selection command from a web interface; and selecting the selected server based on the selection command. 一種裝置偵測系統,包括:至少一伺服器,各包括多個裝置;以及一主機,以一通訊介面與該至少一伺服器溝通,經配置以:接收來自於一網頁介面的一掃描層數指令,並基於該掃描層數指令以獲得一掃描層數;選擇該至少一伺服器的其中之一為一選中伺服器,並基於該掃描層數以遞迴方式以對該選中伺服器中的該掃描層數中的該些裝置進行掃描;透過該通訊介面對該選中伺服器的至少一第N層裝置進行掃描;紀錄該至少一第N層裝置中的至少一第一類型裝置的位址;以及將該至少一第N層裝置中的至少一第二類型裝置分別定義為一節點,並且對對應於該節點的至少一第N+1層裝置進行掃描,其中N為正整數。 A device detection system, comprising: at least one server, each including a plurality of devices; and a host, communicating with the at least one server through a communication interface, configured to: receive a scan layer from a web interface command, and obtain a scan layer based on the scan layer command; select one of the at least one server as a selected server, and recursively select the selected server based on the scan layer number scan the devices in the scanning layer; scan at least one Nth layer device of the selected server through the communication interface; record at least one first type device in the at least one Nth layer device address; and define at least one second-type device in the at least one N-th layer device as a node, and scan at least one N+1-th layer device corresponding to the node, where N is a positive integer . 如請求項6所述的裝置偵測系統,其中該至少一第一類型裝置分別為一感測裝置。 The device detection system as claimed in claim 6, wherein the at least one first type device is a sensing device respectively. 如請求項7所述的裝置偵測系統,其中該感測裝置為一溫度感測器、一電壓感測器、一電流感測器以及用於一風扇的一轉速感測器的其中一者。 The device detection system as claimed in claim 7, wherein the sensing device is one of a temperature sensor, a voltage sensor, a current sensor, and a speed sensor for a fan . 如請求項6所述的裝置偵測系統,其中該至少一第二類型裝置為多工器。 The device detection system as claimed in claim 6, wherein the at least one second type device is a multiplexer. 如請求項6所述的裝置偵測系統,其中該主機接收來自於一網頁介面的一選擇指令,基於該選擇指令以選擇該選中伺服器。 The device detection system as claimed in claim 6, wherein the host receives a selection command from a web interface, and selects the selected server based on the selection command.
TW110135036A 2021-09-22 2021-09-22 Device detection method and device detection system TWI788021B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW110135036A TWI788021B (en) 2021-09-22 2021-09-22 Device detection method and device detection system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW110135036A TWI788021B (en) 2021-09-22 2021-09-22 Device detection method and device detection system

Publications (2)

Publication Number Publication Date
TWI788021B true TWI788021B (en) 2022-12-21
TW202315359A TW202315359A (en) 2023-04-01

Family

ID=85795157

Family Applications (1)

Application Number Title Priority Date Filing Date
TW110135036A TWI788021B (en) 2021-09-22 2021-09-22 Device detection method and device detection system

Country Status (1)

Country Link
TW (1) TWI788021B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20170201424A1 (en) * 2016-01-11 2017-07-13 Equinix, Inc. Architecture for data center infrastructure monitoring
US20190370414A1 (en) * 2018-05-31 2019-12-05 Vmware, Inc. Visualizing data center inventory and entity relationships
CN113326271A (en) * 2021-08-03 2021-08-31 江苏未来智慧信息科技有限公司 Non-recursive high-performance construction method of balanced binary tree

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20170201424A1 (en) * 2016-01-11 2017-07-13 Equinix, Inc. Architecture for data center infrastructure monitoring
US20190370414A1 (en) * 2018-05-31 2019-12-05 Vmware, Inc. Visualizing data center inventory and entity relationships
CN113326271A (en) * 2021-08-03 2021-08-31 江苏未来智慧信息科技有限公司 Non-recursive high-performance construction method of balanced binary tree

Also Published As

Publication number Publication date
TW202315359A (en) 2023-04-01

Similar Documents

Publication Publication Date Title
US8250518B2 (en) Per user file associations
US10482411B2 (en) Dashboard for dynamic display of distributed transaction data
US7614004B2 (en) Intelligent forward resource navigation
CN107924412B (en) Method and system for bookmarking web pages
US20090064000A1 (en) SYSTEMS, METHODS AND COMPUTER PRODUCTS TO AUTOMATICALLY COMPLETE a GUI TASK
JP2014515518A (en) Application tile presentation format
US20100162209A1 (en) Embedding Software Developer Comments In Source Code Of Computer Programs
BRPI0720152A2 (en) IMPROVEMENT OF USER EXPERIENCES USING DATA USING AGGREGATED DEVICES.
JP2005135414A (en) Simple and dynamic configuration of network device
US8706778B2 (en) Methods and systems for an action-based interface for files and other assets
JP6416835B2 (en) Unnecessary software detection system and method
US9577998B2 (en) Dynamic file access to files of unmapped remote computers
US9116808B2 (en) Method and system for determining device configuration settings
TWI411916B (en) Method and device for restoring a system partition in a memory storage device in a personal internet communicator
KR20170110512A (en) Information processing apparatus, control method, and storage medium
CN115576974B (en) Data processing method, device, equipment and medium
US7065789B1 (en) System and method for increasing heuristics suspicion levels in analyzed computer code
TWI788021B (en) Device detection method and device detection system
TW201209604A (en) Methods and systems for viewing web pages, and computer program products thereof
US20140365758A1 (en) Techniques for booting an information processing system
WO2023241583A1 (en) Method and apparatus for page interaction, device, and storage medium
CN108228836B (en) Video compatible loading method and device and video component
CN110244986A (en) Browser configuration method and device
WO2023137957A1 (en) Method for acquiring ambient light sensation value, and electronic device and computer-readable storage medium
CN116028282A (en) Device detection method and device detection system