TWI801758B - Method of controlling connection on network controller sideband interface - Google Patents
Method of controlling connection on network controller sideband interface Download PDFInfo
- Publication number
- TWI801758B TWI801758B TW109134172A TW109134172A TWI801758B TW I801758 B TWI801758 B TW I801758B TW 109134172 A TW109134172 A TW 109134172A TW 109134172 A TW109134172 A TW 109134172A TW I801758 B TWI801758 B TW I801758B
- Authority
- TW
- Taiwan
- Prior art keywords
- request
- session
- management module
- online
- function
- Prior art date
Links
Images
Landscapes
- Radio Relay Systems (AREA)
- Information Transfer Between Computers (AREA)
Abstract
Description
本發明是有關於一種連線控制方法,特別是指一種在網路控制器邊帶介面標準下控制連線的方法。 The invention relates to a connection control method, in particular to a method for controlling connection under the network controller sideband interface standard.
參閱圖8,在伺服器領域中,網路控制器邊帶介面(Network Controller-Sideband Interface,簡稱NCSI)技術是用來實現基板管理控制器81(BMC)和伺服器系統中的網路介面控制器82(network interface controller)兩者之間的資訊傳遞,透過NCSI技術,基板管理控制器81(BMC)得以使用網路介面控制器82的網路介面,換句話說,就是藉由網路控制器邊帶介面技術來共用伺服器系統的實體網路介面,因此伺服器系統僅需連接單一網路線即可使伺服器主機板與基板管理控制器81兩者皆連上網路,而不需使用兩個獨立的網路介面,進而減少物料,降低成本。
Referring to FIG. 8 , in the server field, the Network Controller-Sideband Interface (NCSI) technology is used to realize the network interface control in the baseboard management controller 81 (BMC) and the server system The information transmission between the device 82 (network interface controller), through the NCSI technology, the baseboard management controller 81 (BMC) can use the network interface of the
在網路控制器邊帶介面標準下,基板管理控制器81往往會透過發出OEM指令使網路介面控制器82中的一實體連線啟動位元(PHY Link Up bit,又稱Veto bit)維持在高準位以確保較佳的連線品質,且確保在透過基板管理控制器81安裝作業系統時不會斷線。
Under the network controller sideband interface standard, the
為了確保連線之品質及穩定性,將該實體連線啟動位元時時刻刻維持在高準位似乎是較佳的選擇,然而,若在實體連線啟動位元維持在高準位的情況下,使用高速網路介面控制器82,則即便電腦系統處在只有備用電源的模式下,其連線速度仍會維持在10GHZ,但當電腦系統處在備用電源模式時,風扇速度控制(Fan Speed Control,簡稱FSC)並不會啟動,顯然地,網路介面控制器82必然會過熱,甚至是燒壞,有鑑於此,勢必需要提出一解決方案。
In order to ensure the quality and stability of the connection, it seems to be a better choice to keep the physical connection enable bit at a high level all the time. However, if the physical connection enable bit is maintained at a high level Under the circumstances, using the high-speed
因此,本發明的目的,即在提供一種可自動判定何時需致能一實體連線啟動位元及何時需清除該實體連線啟動位元的在網路控制器邊帶介面標準下控制連線的方法。 Therefore, the object of the present invention is to provide a control connection under the network controller sideband interface standard that can automatically determine when a physical connection enable bit needs to be enabled and when the physical connection enable bit needs to be cleared. Methods.
於是,本發明在網路控制器邊帶介面標準下控制連線的方法,由一基板管理控制單元來實施,該基板管理控制單元包含一操作偵測模組、一會談管理模組及一監控模組,該在網路控制器邊 帶介面標準下控制連線的方法包含以下步驟:(A)當該監控模組接收到一由該操作偵測模組判定為與區域網路串列功能、多電腦切換功能及更新韌體之其中一者相關之請求而產生的啟動通知時,藉由該監控模組將儲存於一網路介面控制器的一實體連線啟動位元設為高準位;(B)藉由該監控模組,判定該實體連線啟動位元是否被設為高準位;(C)當該監控模組判定出該實體連線啟動位元被設為高準位時,藉由該監控模組週期性地自該會談管理模組獲得當前在線操作區域網路串列功能、多電腦切換功能及網頁功能之任一者的一總在線登入數;(D)藉由該監控模組,判定該總在線登入數是否大於零;及(E)當該監控模組判定出該總在線登入數不大於零時,藉由該監控模組將一實體連線啟動位元設為低準位。 Therefore, the method of the present invention for controlling connections under the network controller sideband interface standard is implemented by a baseboard management control unit, which includes an operation detection module, a session management module, and a monitoring module, it should be on the side of the network controller The method for controlling the connection under the interface standard includes the following steps: (A) when the monitoring module receives a message that is determined by the operation detection module as being related to the local area network serial function, the multi-computer switching function and the update firmware When an activation notification is generated by a request related to one of them, a physical connection activation bit stored in a network interface controller is set to a high level by the monitoring module; (B) by the monitoring module group, to determine whether the physical connection start bit is set to a high level; (C) when the monitoring module determines that the physical connection start bit is set to a high level, the monitoring module periodically Obtain a total number of online logins of any one of the current online operation LAN serial function, multi-computer switching function and web page function from the meeting management module; (D) determine the total number by the monitoring module Whether the number of online logins is greater than zero; and (E) when the monitoring module determines that the total number of online logins is not greater than zero, a physical connection enable bit is set to a low level by the monitoring module.
本發明的功效在於:藉由該監控模組在接收到由該操作偵測模組判定為與區域網路串列功能、多電腦切換功能及更新韌體相關之請求而產生的該啟動通知時,將該實體連線啟動位元設為高準位,藉此可確保使用者在線操作區域網路串列功能時,及在線操作多電腦切換功能以更新作業系統時不會發生斷線之窘境,且在使 用者在線操作網頁功能以更新韌體時,亦可提供高速的連線速度(10GHZ),此外,藉由該監控模組週期性地獲得該總在線登入數,並在該總在線登入數不大於零時,自動將該實體連線啟動位元設為低準位,藉此,若沒有任何有關區域網路串列功能、多電腦切換功能及網頁功能之任一者的操作(亦即,總在線登入數等於零),即將該實體連線啟動位元設為低準位,使得當電腦系統處在備用電源模式時,連線速度較慢,以避免網路介面控制器過熱或燒壞。 The effect of the present invention lies in: when the monitoring module receives the activation notification determined by the operation detection module as being related to the local area network serial function, the multi-computer switching function and the firmware update request. , set the physical connection start bit to a high level, so as to ensure that the user will not be disconnected when operating the LAN serial function online and operating the multi-computer switching function online to update the operating system , and using When the user operates the webpage function online to update the firmware, it can also provide a high-speed connection speed (10GHZ). In addition, the monitoring module periodically obtains the number of logins on the bus, and the number of logins on the bus is not When greater than zero, the physical connection start bit is automatically set to a low level, thereby, if there is no operation of any one of the relevant LAN serial function, multi-computer switching function and web page function (that is, The total number of online logins is equal to zero), that is, the physical connection enable bit is set to a low level, so that when the computer system is in the standby power mode, the connection speed is relatively slow to avoid overheating or burning out of the network interface controller.
1:基板管理控制單元 1: Baseboard management control unit
11:操作偵測模組 11: Operation detection module
12:會談管理模組 12: Negotiation management module
13:監控模組 13:Monitoring module
21~22:步驟 21~22: Steps
31~35:步驟 31~35: Steps
41~47:步驟 41~47: Steps
51~57:步驟 51~57: Steps
61~67:步驟 61~67: Steps
71~76:步驟 71~76: Steps
本發明的其他的特徵及功效,將於參照圖式的實施方式中清楚地呈現,其中:圖1是一方塊圖,說明執行本發明在網路控制器邊帶介面標準下控制連線的方法之實施例的一基板管理控制單元;圖2是一流程圖,說明本發明在網路控制器邊帶介面標準下控制連線的方法之實施例的一第一偵測子程序;圖3是一流程圖,說明本發明在網路控制器邊帶介面標準下控制連線的方法之實施例的一第二偵測子程序;圖4A~4B繪示本發明在網路控制器邊帶介面標準下控制連線的方法之實施例的一第一管理子程序的流程圖;圖5A~5B繪示本發明在網路控制器邊帶介面標準下控制連線 的方法之實施例的一第二管理子程序的流程圖;圖6A~6B繪示本發明在網路控制器邊帶介面標準下控制連線的方法之實施例的一第三管理子程序的流程圖;圖7是一流程圖,說明本發明在網路控制器邊帶介面標準下控制連線的方法之實施例的一位元設定程序;及圖8是一方塊圖,說明網路控制器邊帶介面技術之概念。 Other features and effects of the present invention will be clearly presented in the implementation manner with reference to the drawings, wherein: FIG. 1 is a block diagram illustrating a method for implementing the present invention to control connections under the network controller sideband interface standard A baseboard management control unit of the embodiment; FIG. 2 is a flow chart illustrating a first detection subroutine of the embodiment of the method for controlling connection under the network controller sideband interface standard of the present invention; FIG. 3 is A flowchart illustrating a second detection subroutine of an embodiment of the method for controlling connections under the network controller sideband interface standard of the present invention; A flow chart of a first management subroutine of an embodiment of a method for controlling connections under the standard; FIGS. A flowchart of a second management subroutine of the embodiment of the method; FIGS. 6A-6B illustrate a third management subroutine of the embodiment of the method for controlling connections under the network controller sideband interface standard of the present invention Flow chart; Fig. 7 is a flow chart, illustrates the one-bit setting procedure of the embodiment of the method for controlling connection under the network controller sideband interface standard of the present invention; And Fig. 8 is a block diagram, illustrates network control The concept of sideband interface technology.
參閱圖1,本發明在網路控制器邊帶介面標準下控制連線的方法的實施例藉由一電腦系統(圖未示)中之基板管理控制單元1來實施。該基板管理控制單元1包含一操作偵測模組11、一會談管理模組12及一監控模組13。該基板管理控制單元1儲存有一基板管理控制韌體,其中該操作偵測模組11、該會談管理模組12及該監控模組13係由該基板管理控制韌體所實現。
Referring to FIG. 1 , an embodiment of the method for controlling connections under the NCSB interface standard of the present invention is implemented by a baseboard management control unit 1 in a computer system (not shown). The substrate management control unit 1 includes an
該操作偵測模組11用於判定所接收到之智慧型平台管理介面(Intelligent Platform Management Interface,簡稱IPMI)請求及網頁請求是否為與區域網路串列(Serial-over-LAN,簡稱SOL)功能、多電腦切換(Keyboard、Video、Mouse,簡稱KVM)功能及更新韌體之其中一者相關之請求,當所接收到之智慧型平台管理介面請求及網頁請求被判定為與區域網路串列功能、多電腦切
換功能及更新韌體之其中一者相關之請求時,產生並傳送一啟動通知至該監控模組13。該操作偵測模組11還用於將所接收到之智慧型平台管理介面請求及網頁請求傳送至該會談管理模組12。
The
該會談管理模組12用於建立並清除相關於操作區域網路串列功能、多電腦切換功能及網頁功能之會談(session),並統計在線操作區域網路串列功能、多電腦切換功能及網頁功能之每一者的一在線登入數。
The
該監控模組13用於將儲存於該電腦系統之一網路介面控制器的一實體連線啟動位元設為低準位及高準位之其中一者。
The
以下將透過在網路控制器邊帶介面標準下控制連線的方法之實施例來說明該操作偵測模組11、該會談管理模組12及該監控模組13中各元件的運作細節,本實施例包含一操作偵測程序、一會談管理程序,及一位元設定程序。
The following will illustrate the operation details of the
參閱圖1、圖2與圖3,該在網路控制器邊帶介面標準下控制連線的方法的操作偵測程序分為一第一偵測子程序及一第二偵測子程序,該第一偵測子程序說明了如何偵測所接收到之智慧型平台管理介面請求並傳送該啟動通知至該監控模組13,該第二偵測子程序說明了如何偵測所接收到之網頁請求並傳送該啟動通知至該監控模組13。其中,該第一偵測子程序與該第二偵測子程序彼此間並無執行的先後順序,而是視該操作偵測模組11所接收到的請求
為智慧型平台管理介面請求還是網頁請求來進行該第一偵測子程序還是該第二偵測子程序。
Referring to Fig. 1, Fig. 2 and Fig. 3, the operation detection program of the method for controlling connections under the network controller sideband interface standard is divided into a first detection subroutine and a second detection subroutine, the The first detection subroutine illustrates how to detect the received intelligent platform management interface request and sends the activation notification to the
參閱圖1與圖2,該第一偵測子程序包含下列步驟。 Referring to FIG. 1 and FIG. 2, the first detection subroutine includes the following steps.
在步驟21中,當該操作偵測模組11收到一智慧型平台管理介面請求時,該操作偵測模組11判定該智慧型平台管理介面請求是否為與區域網路串列功能相關之請求。當該操作偵測模組11判定出該智慧型平台管理介面請求為與區域網路串列功能相關之請求時,流程進行步驟22;當該操作偵測模組11判定出該智慧型平台管理介面請求非為與區域網路串列功能相關之請求時,流程結束。其中,該操作偵測模組11係藉由檢查該智慧型平台管理介面請求之封包內容是否與區域網路串列功能相關,以判定該智慧型平台管理介面請求是否為與區域網路串列功能相關之請求。
In
在步驟22中,該操作偵測模組11產生並傳送該啟動通知至該監控模組13,且傳送與區域網路串列功能相關之該智慧型平台管理介面請求至該會談管理模組12。
In
參閱圖1與圖3,該第二偵測子程序包含下列步驟。 Referring to FIG. 1 and FIG. 3, the second detection subroutine includes the following steps.
在步驟31中,當該操作偵測模組11收到一經由操作網頁功能而產生的網頁請求時,該操作偵測模組11判定該網頁請求是否為與多電腦切換功能相關之請求。當該操作偵測模組11判定出該網頁請求為與多電腦切換功能相關之請求時,流程進行步驟32;當該
操作偵測模組11判定出該網頁請求非為與多電腦切換功能相關之請求時,流程進行步驟33。其中,該操作偵測模組11係藉由檢查該網頁請求之封包內容是否與多電腦切換功能相關,以判定該網頁請求是否為與多電腦切換功能相關之請求。
In
在步驟32中,該操作偵測模組11產生並傳送該啟動通知至該監控模組13,且傳送與多電腦切換功能相關之該網頁請求至該會談管理模組12。
In
在步驟33中,該操作偵測模組11判定該網頁請求是否為與更新韌體相關之請求。當該操作偵測模組11判定出該網頁請求為與更新韌體相關之請求時,流程進行步驟34;當該操作偵測模組11判定出該網頁請求非為與更新韌體相關之請求時,流程進行步驟35。其中,該操作偵測模組11係藉由檢查該網頁請求之封包內容是否與更新韌體相關,以判定該網頁請求是否為與更新韌體相關之請求。
In
在步驟34中,該操作偵測模組11產生並傳送該啟動通知至該監控模組13,並傳送該網頁請求至該會談管理模組12。
In
在步驟35中,該操作偵測模組11傳送該網頁請求至該會談管理模組12。
In
參閱圖1、圖4A、圖4B、圖5A、圖5B、圖6A與圖6B,該在網路控制器邊帶介面標準下控制連線的方法的會談管理程序
分為一第一管理子程序、一第二管理子程序及一第三管理子程序,該第一管理子程序說明了如何建立並清除相關於操作區域網路串列功能之會談,並統計在線操作區域網路串列功能的在線登入數,該第一管理子程序又可分為一會談建立與清除流程及一清除閒置會談流程,該第二管理子程序說明了如何建立並清除相關於多電腦切換功能之會談,並統計在線操作多電腦切換功能的在線登入數,該第二管理子程序又可分為一會談建立與清除流程及一清除閒置會談流程,該第三管理子程序說明了如何建立並清除相關於網頁功能之會談,並統計在線操作網頁功能的在線登入數,該第三管理子程序又可分為一會談建立與清除流程及一清除閒置會談流程。其中,該第一管理子程序、該第二管理子程序與該第三管理子程序彼此間並無執行的先後順序,而是視該會談管理模組12所接收到之來自該操作偵測模組11的請求為智慧型平台管理介面請求、與操作多電腦切換功能相關之網頁請求還是非與操作多電腦切換功能相關之其他網頁請求來進行該第一管理子程序、該第二管理子程序還是該第三管理子程序。又該第一管理子程序所接收到之與區域網路串列功能相關之該智慧型平台管理介面請求係由該第一偵測子程序的步驟22所傳送,該第二管理子程序所接收到之與多電腦切換功能相關之該網頁請求係由該第二偵測子程序的步驟32所傳送,該第三管理子程序所接收到之非與操作多電腦切換功能相關之其他網頁
請求係由該第二偵測子程序的步驟34或步驟35所傳送。
Referring to Fig. 1, Fig. 4A, Fig. 4B, Fig. 5A, Fig. 5B, Fig. 6A and Fig. 6B, the session management program of the method of controlling connections under the network controller sideband interface standard
Divided into a first management subroutine, a second management subroutine and a third management subroutine, the first management subroutine explains how to establish and clear the session related to the serial function of the operation area network, and statistics online The number of online logins to operate the local area network serial function, the first management subroutine can be divided into a session creation and clearing process and a clear idle session process, the second management subroutine has explained how to establish and clear the relevant multiple Talking about the computer switching function, and counting the number of online logins for the online operation of the multi-computer switching function. The second management subroutine can be divided into a meeting establishment and clearing process and a clearing idle meeting process. The third management subroutine illustrates How to establish and clear a session related to webpage functions, and count the number of online logins for online operation of webpage functions, the third management subroutine can be further divided into a process of establishing and clearing sessions and a process of clearing idle sessions. Wherein, the first management subroutine, the second management subroutine and the third management subroutine do not have an execution sequence, but depend on the information received from the operation detection module by the
參閱圖1與圖4A,該第一管理子程序的會談建立與清除流程包含下列步驟。 Referring to FIG. 1 and FIG. 4A, the session creation and clearing process of the first management subroutine includes the following steps.
在步驟41中,當該會談管理模組12收到與區域網路串列功能相關之該智慧型平台管理介面請求時,藉由該會談管理模組12判定該智慧型平台管理介面請求是否為一登入請求。當該會談管理模組12判定出該智慧型平台管理介面請求為該登入請求時,流程進行步驟42;當該會談管理模組12判定出該智慧型平台管理介面請求非為該登入請求時,流程進行步驟43。
In
在步驟42中,該會談管理模組12將對應操作區域網路串列功能之在線登入數加1,並建立一相關於操作區域網路串列功能之會談,且指派一會談識別符(session ID),以供後續之交談。
In
在步驟43中,該會談管理模組12判定該智慧型平台管理介面請求是否為一登出請求。當該會談管理模組12判定出該智慧型平台管理介面請求為該登出請求時,流程進行步驟44;當該會談管理模組12判定出該智慧型平台管理介面請求非為該登出請求(如,與智慧型平台管理介面之操作相關的請求)時,流程進行步驟45。
In
在步驟44中,藉由該會談管理模組12將對應操作區域網路串列功能之在線登入數減1,並清除該會談。
In
在步驟45中,該會談管理模組12根據該智慧型平台管理
介面請求中之會談識別符,將對應該會談識別符之會談的會談存活時間加上一預設時間間隔。當智慧型平台管理介面請求非為該登入請求也非為該登出請求時,代表對應該會談識別符之會談仍持續有在操作而非閒置,故須將對應該會談識別符之會談的會談存活時間加上該預設時間間隔,以避免會談被清除。
In
參閱圖1與圖4B,該第一管理子程序的清除閒置會談流程包含下列步驟。 Referring to FIG. 1 and FIG. 4B , the process of clearing idle sessions of the first management subroutine includes the following steps.
在步驟46中,對於每一相關於操作區域網路串列功能且在線之會談,該會談管理模組12週期性地判定在線之該會談的一會談存活時間是否小於一當前時間。當該會談管理模組12判定出在線之該會談的該會談存活時間小於該當前時間時,流程進行步驟47;當該會談管理模組12判定出在線之該會談的該會談存活時間不小於該當前時間時,流程回到步驟46。
In
在步驟47中,該會談管理模組12清除該會談,並將對應操作區域網路串列功能之在線登入數減1。
In
值得一提的是,步驟46~47係在有相關於操作區域網路串列功能之會談被建立後,即會週期性地被執行以判定相關於操作區域網路串列功能且在線之該會談對應的該會談存活時間是否小於該當前時間。舉例來說,當有第一個相關於操作區域網路串列功能之會談被建立後,該會談管理模組12即會週期性地判定在線之該
第一個會談的該會談存活時間是否小於該當前時間,當有第二個相關於操作區域網路串列功能之會談被建立後,該會談管理模組12也會週期性地判定在線之該第二個會談的該會談存活時間是否小於該當前時間,依此類推。若某一會談的該會談存活時間小於該當前時間時,即會清除該會談。
It is worth mentioning that
參閱圖1與圖5A,該第二管理子程序的會談建立與清除流程包含下列步驟。 Referring to FIG. 1 and FIG. 5A, the session establishment and clearing process of the second management subroutine includes the following steps.
在步驟51中,當該會談管理模組12收到與多電腦切換功能相關之該網頁請求時,藉由該會談管理模組12判定該網頁請求是否為一登入請求。當該會談管理模組12判定出該網頁請求為該登入請求時,流程進行步驟52;當該會談管理模組12判定出該網頁請求非為該登入請求時,流程進行步驟53。
In
在步驟52中,該會談管理模組12將對應操作多電腦切換功能之在線登入數加1,並建立一相關於操作多電腦切換功能之會談,且指派一會談識別符,以供後續之交談。
In
在步驟53中,該會談管理模組12判定該網頁請求是否為一登出請求。當該會談管理模組12判定出該網頁請求為該登出請求時,流程進行步驟54;當該會談管理模組12判定出該網頁請求非為該登出請求時,流程進行步驟55。
In
在步驟54中,藉由該會談管理模組12將對應操作多電腦
切換功能之在線登入數減1,並清除該會談。
In
在步驟55中,該會談管理模組12根據該網頁請求中之會談識別符,將對應該會談識別符之會談的會談存活時間加上該預設時間間隔。
In
參閱圖1與圖5B,該第二管理子程序的清除閒置會談流程包含下列步驟。 Referring to FIG. 1 and FIG. 5B , the process of clearing idle sessions of the second management subroutine includes the following steps.
在步驟56中,對於每一相關於操作多電腦切換功能且在線之會談,該會談管理模組12週期性地判定在線之該會談的一會談存活時間是否小於該當前時間。當該會談管理模組12判定出在線之該會談的該會談存活時間小於該當前時間時,流程進行步驟57;當該會談管理模組12判定出在線之該會談的該會談存活時間不小於該當前時間時,流程回到步驟56。
In
在步驟57中,該會談管理模組12清除該會談,並將對應操作多電腦切換功能之在線登入數減1。
In
值得一提的是,步驟56~57係在有相關於操作多電腦切換功能之會談被建立後,即會週期性地被執行以判定相關於操作多電腦切換功能且在線之該會談對應的該會談存活時間是否小於該當前時間。舉例來說,當有第一個相關於操作多電腦切換功能之會談被建立後,該會談管理模組12即會週期性地判定在線之該第一個會談的該會談存活時間是否小於該當前時間,當有第二個相關於操
作多電腦切換功能之會談被建立後,該會談管理模組12也會週期性地判定在線之該第二個會談的該會談存活時間是否小於該當前時間,依此類推。
It is worth mentioning that
參閱圖1與圖6A,該第三管理子程序的會談建立與清除流程包含下列步驟。 Referring to FIG. 1 and FIG. 6A, the session establishment and clearing process of the third management subroutine includes the following steps.
在步驟61中,當該會談管理模組12收到該網頁請求(亦即,非與操作多電腦切換功能相關之其他網頁請求)時,藉由該會談管理模組12判定該網頁請求是否為一登入請求。當該會談管理模組12判定出該網頁請求為該登入請求時,流程進行步驟62;當該會談管理模組12判定出該網頁請求非為該登入請求時,流程進行步驟63。
In
在步驟62中,該會談管理模組12將對應操作網頁功能之在線登入數加1,並建立一相關於操作網頁功能之會談,且指派一會談識別符,以供後續之交談。
In
在步驟63中,該會談管理模組12判定該網頁請求是否為一登出請求。當該會談管理模組12判定出該網頁請求為該登出請求時,流程進行步驟64;當該會談管理模組12判定出該網頁請求非為該登出請求時,流程進行步驟65。
In
在步驟64中,藉由該會談管理模組12將對應操作網頁功能之在線登入數減1,並清除該會談。
In
在步驟65中,該會談管理模組12根據該網頁請求中之會談識別符,將對應該會談識別符之會談的會談存活時間加上該預設時間間隔。
In
參閱圖1與圖6B,該第三管理子程序的清除閒置會談流程包含下列步驟。 Referring to FIG. 1 and FIG. 6B , the process of clearing idle sessions of the third management subroutine includes the following steps.
在步驟66中,對於每一相關於操作網頁功能且在線之會談,該會談管理模組12週期性地判定在線之該會談的一會談存活時間是否小於該當前時間。當該會談管理模組12判定出在線之該會談的該會談存活時間小於該當前時間時,流程進行步驟67;當該會談管理模組12判定出在線之該會談的該會談存活時間不小於該當前時間時,流程回到步驟66。
In
在步驟67中,該會談管理模組12清除該會談,並將對應操作網頁功能之在線登入數減1。
In
值得一提的是,步驟66~67係在有相關於操作網頁功能之會談被建立後,即會週期性地被執行以判定相關於操作網頁功能且在線之該會談對應的該會談存活時間是否小於該當前時間。舉例來說,當有第一個相關於操作網頁功能之會談被建立後,該會談管理模組12即會週期性地判定在線之該第一個會談的該會談存活時間是否小於該當前時間,當有第二個相關於操作網頁功能之會談被建立後,該會談管理模組12也會週期性地判定在線之該第二個會談
的該會談存活時間是否小於該當前時間,依此類推。該第三管理子程序係用於統計與操作網頁功能相關但非與操作多電腦切換功能相關的在線登入數。
It is worth mentioning that
參閱圖1與圖7,該在網路控制器邊帶介面標準下控制連線的方法的位元設定程序說明了如何自動地設定該實體連線啟動位元,並包含下列步驟。 Referring to FIG. 1 and FIG. 7 , the bit setting procedure of the method for controlling connection under the NCSB interface standard describes how to automatically set the physical connection enable bit, and includes the following steps.
在步驟71中,該監控模組13判定是否有接收到由該操作偵測模組11判定為與區域網路串列功能、多電腦切換功能及更新韌體之其中一者相關之請求而產生的該啟動通知。當該監控模組13判定出有接收到該啟動通知(亦即,在該第一偵測子程序的步驟22、該第二偵測子程序的步驟32及該第二偵測子程序的步驟34之任一者有傳送該啟動通知至該監控模組13)時,流程進行步驟72;當該監控模組13判定出未接收到該啟動通知時,流程進行步驟73。
In
在步驟72中,該監控模組13將該實體連線啟動位元設為高準位,並進行步驟73。
In
在步驟73中,該監控模組13判定該實體連線啟動位元是否被設為高準位。當該監控模組13判定出該實體連線啟動位元被設為高準位時,流程進行步驟74;當該監控模組13判定出該實體連線啟動位元未被設為高準位時,流程回到步驟71。
In
在步驟74中,該監控模組13週期性地自該會談管理模組
12獲得當前在線操作區域網路串列功能、多電腦切換功能及網頁功能之任一者的一總在線登入數。其中,該監控模組13係先獲得對應操作區域網路串列功能之在線登入數、對應操作多電腦切換功能之在線登入數,及對應操作網頁功能之在線登入數,並將加總對應操作區域網路串列功能、多電腦切換功能及網頁功能之在線登入數,以獲得該總在線登入數。在本實施例中,該監控模組13每60秒向該會談管理模組12獲得當前的該總在線登入數,然而並不以此為限。
In
在步驟75中,該監控模組13判定該總在線登入數是否等於0。當該監控模組13判定出該總在線登入數不等於0時,流程回到步驟73;當該監控模組13判定出該總在線登入數等於0時,流程進行步驟76。
In
在步驟76中,該監控模組13將該實體連線啟動位元設為低準位。將該實體連線啟動位元設為低準位的觸發條件為當該總在線登入數等於0時,才會將該實體連線啟動位元設為低準位。即便對應操作區域網路串列功能及多電腦切換功能之在線登入數皆為0,甚至操作網頁功能以更新韌體之在線登入數也為0,但只要與其他網頁功能之操作相關的在線登入數不為0(亦即,根據該第二偵測子程序的步驟35所傳送之網頁請求而統計到的在線登入數不為0),就不會將該實體連線啟動位元設為低準位。
In
值得一提的是,在以下的使用情境中,須確保連線不中斷,使用情境一:透過基板管理控制單元1安裝作業系統,使用情境二:使用區域網路串列功能,使用情境三:透過基板管理控制單元1更新韌體如,BMC韌體、BIOS韌體及CPLD韌體等。由於在安裝作業系統時會使用多電腦切換功能來安裝,因此該操作偵測模組11可藉由偵測所接收到之網頁請求是否與多電腦切換功能相關來偵測所接收到之網頁請求是否可能與安裝作業系統相關,當偵測到與多電腦切換功能相關之網頁請求時,即發送該啟動通知至該監控模組13,以使該監控模組13將該實體連線啟動位元設為高準位,來確保連線不中斷。類似地,當該操作偵測模組11偵測到與區域網路串列功能相關之智慧型平台管理介面請求時,即發送該啟動通知至該監控模組13,以使該監控模組13將該實體連線啟動位元設為高準位,來確保連線不中斷。而當該操作偵測模組11偵測到與更新韌體相關之網頁請求時,亦發送該啟動通知至該監控模組13,以使該監控模組13將該實體連線啟動位元設為高準位,來確保連線不中斷。如此一來,即可滿足在上述使用情境中,連線不中斷之需求。
It is worth mentioning that in the following usage scenarios, it is necessary to ensure that the connection is not interrupted. Scenario 1: Install the operating system through the baseboard management control unit 1, Scenario 2: Use the local area network serial function, Scenario 3: Firmware such as BMC firmware, BIOS firmware and CPLD firmware are updated through the baseboard management control unit 1 . Since the operating system will be installed using the multi-computer switching function, the
綜上所述,本發明在網路控制器邊帶介面標準下控制連線的方法,藉由該監控模組13在接收到由該操作偵測模組11判定為與區域網路串列功能、多電腦切換功能及更新韌體相關之請求而產生的該啟動通知時,將該實體連線啟動位元設為高準位,藉此可
確保使用者在線操作區域網路串列功能時,及在線操作多電腦切換功能以更新作業系統時不會發生斷線之窘境,且在使用者在線操作網頁功能以更新韌體時,亦可提供高速的連線速度(10GHZ)。此外,藉由該監控模組13週期性地獲得該總在線登入數,並在該總在線登入數不大於零時,自動將該實體連線啟動位元設為低準位,藉此,若沒有任何有關區域網路串列功能、多電腦切換功能及網頁功能之任一者的操作(亦即,總在線登入數等於零),即將該實體連線啟動位元設為低準位,如此一來,在須確保連線不中斷的時機,自動致能該實體連線啟動位元,而在無人使用區域網路串列功能、多電腦切換功能及網頁功能時,自動清除該實體連線啟動位元,使得當該電腦系統處在備用電源模式時,連線速度較慢,以避免網路介面控制器過熱或燒壞,故確實能達成本發明的目的。
To sum up, in the method of the present invention for controlling connection under the network controller sideband interface standard, the
惟以上所述者,僅為本發明的實施例而已,當不能以此限定本發明實施的範圍,凡是依本發明申請專利範圍及專利說明書內容所作的簡單的等效變化與修飾,皆仍屬本發明專利涵蓋的範圍內。 But the above-mentioned ones are only embodiments of the present invention, and should not limit the scope of the present invention. All simple equivalent changes and modifications made according to the patent scope of the present invention and the content of the patent specification are still within the scope of the present invention. Within the scope covered by the patent of the present invention.
71~76:步驟 71~76: Steps
Claims (10)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
TW109134172A TWI801758B (en) | 2020-09-30 | 2020-09-30 | Method of controlling connection on network controller sideband interface |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
TW109134172A TWI801758B (en) | 2020-09-30 | 2020-09-30 | Method of controlling connection on network controller sideband interface |
Publications (2)
Publication Number | Publication Date |
---|---|
TW202215817A TW202215817A (en) | 2022-04-16 |
TWI801758B true TWI801758B (en) | 2023-05-11 |
Family
ID=82197258
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
TW109134172A TWI801758B (en) | 2020-09-30 | 2020-09-30 | Method of controlling connection on network controller sideband interface |
Country Status (1)
Country | Link |
---|---|
TW (1) | TWI801758B (en) |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20070157016A1 (en) * | 2005-12-29 | 2007-07-05 | Dayan Richard A | Apparatus, system, and method for autonomously preserving high-availability network boot services |
US8250354B2 (en) * | 2007-11-29 | 2012-08-21 | GlobalFoundries, Inc. | Method and apparatus for making a processor sideband interface adhere to secure mode restrictions |
CN106487679A (en) * | 2015-09-02 | 2017-03-08 | 北京国基科技股份有限公司 | The active-standby switch system of Ethernet switch and changing method |
CN106919242A (en) * | 2015-12-28 | 2017-07-04 | 广达电脑股份有限公司 | Server system and its management method and computer-readable storage multimedia |
CN107463456A (en) * | 2017-08-04 | 2017-12-12 | 郑州云海信息技术有限公司 | A kind of system and method for lifting double netcard NCSI management system switching efficiencies |
-
2020
- 2020-09-30 TW TW109134172A patent/TWI801758B/en active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20070157016A1 (en) * | 2005-12-29 | 2007-07-05 | Dayan Richard A | Apparatus, system, and method for autonomously preserving high-availability network boot services |
US8250354B2 (en) * | 2007-11-29 | 2012-08-21 | GlobalFoundries, Inc. | Method and apparatus for making a processor sideband interface adhere to secure mode restrictions |
CN106487679A (en) * | 2015-09-02 | 2017-03-08 | 北京国基科技股份有限公司 | The active-standby switch system of Ethernet switch and changing method |
CN106919242A (en) * | 2015-12-28 | 2017-07-04 | 广达电脑股份有限公司 | Server system and its management method and computer-readable storage multimedia |
CN107463456A (en) * | 2017-08-04 | 2017-12-12 | 郑州云海信息技术有限公司 | A kind of system and method for lifting double netcard NCSI management system switching efficiencies |
Also Published As
Publication number | Publication date |
---|---|
TW202215817A (en) | 2022-04-16 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102368231B (en) | Method and system for redirecting USB (universal serial bus) devices | |
CN107645529B (en) | Heartbeat packet sending method and device | |
CN107749797B (en) | Computing equipment and implementation method thereof | |
EP2568688A1 (en) | Systems, methods and media for distributing peer-to-peer communications | |
US20110029659A1 (en) | Method and System for Network Proxy Services for Energy Efficient Networking | |
US10581697B2 (en) | SDN controlled PoE management system | |
WO2014052112A1 (en) | Control of applications installed on a remote device | |
CN110691398B (en) | Network interaction method, system, equipment and storage medium of intelligent equipment | |
CN103825777A (en) | DMZ server switching method and device | |
WO2019205597A1 (en) | Communication device and intelligent terminal | |
GB2505747A (en) | Remote port mirroring using IGMP publish/join functions to establish mirrored data streams | |
WO2013117081A1 (en) | Service information processing method, apparatus and system for external device and virtual device | |
JP2016536920A (en) | Apparatus and method for network performance monitoring | |
JP2002157218A (en) | Apparatus and method for simultaneously accessing data stream form a plurality of users | |
CN112333030A (en) | Method, device, electronic equipment and storage medium for communication between private networks | |
JP2007157148A (en) | Method for maintaining telnet session, telnet agency, and computer network system | |
AU2008298594A1 (en) | Software method and system for controlling and observing computer networking devices | |
TWI801758B (en) | Method of controlling connection on network controller sideband interface | |
WO2017162003A1 (en) | Session monitoring method, apparatus and system | |
JP5765123B2 (en) | COMMUNICATION DEVICE, COMMUNICATION METHOD, COMMUNICATION PROGRAM, AND COMMUNICATION SYSTEM | |
KR101506223B1 (en) | Automatic Reconnection System For Virtualization Service | |
CN114900526B (en) | Load balancing method and system, computer storage medium and electronic equipment | |
CN114143569B (en) | Webpage recording and live broadcasting method and system | |
KR20090071542A (en) | Host posing network device and method thereof | |
WO2015158058A1 (en) | Method and system for implementing call saving and recovery |