TWI801758B - Method of controlling connection on network controller sideband interface - Google Patents

Method of controlling connection on network controller sideband interface Download PDF

Info

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
Application number
TW109134172A
Other languages
Chinese (zh)
Other versions
TW202215817A (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 TW109134172A priority Critical patent/TWI801758B/en
Publication of TW202215817A publication Critical patent/TW202215817A/en
Application granted granted Critical
Publication of TWI801758B publication Critical patent/TWI801758B/en

Links

Images

Landscapes

  • Radio Relay Systems (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

A method of controlling connection on network controller sideband interface includes: upon reception of an activation notification generated by an operation detection module based on a request is related to one of the serial-over-LAN function, the keyboard, video, mouse function, and the firmware update function, by a monitor module enabling a PHY Link Up bit; when the monitor module determines that the PHY Link Up bit is set, by the monitor module obtaining a total number of online logins for any of the current online operation related to one of the serial-over-LAN function, the keyboard, video, mouse function, and the firmware update function from the session management module; when the monitor module determines that the total number of online logins is less than or equal to zero, by the monitor module disabling the PHY Link Up bit.

Description

在網路控制器邊帶介面標準下控制連線的方法Method for controlling connections under the network controller sideband interface standard

本發明是有關於一種連線控制方法,特別是指一種在網路控制器邊帶介面標準下控制連線的方法。 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 network interface controller 82, in other words, it is controlled by the network sideband interface technology to share the physical network interface of the server system, so the server system only needs to be connected to a single network cable to enable both the server mainboard and the baseboard management controller 81 to be connected to the network without using Two independent network interfaces, thereby reducing material and cost.

在網路控制器邊帶介面標準下,基板管理控制器81往往會透過發出OEM指令使網路介面控制器82中的一實體連線啟動位元(PHY Link Up bit,又稱Veto bit)維持在高準位以確保較佳的連線品質,且確保在透過基板管理控制器81安裝作業系統時不會斷線。 Under the network controller sideband interface standard, the baseboard management controller 81 will often make a physical link enable bit (PHY Link Up bit, also known as Veto bit) in the network interface controller 82 maintain The high level ensures better connection quality and ensures that the connection will not be disconnected when the operating system is installed through the baseboard management controller 81 .

為了確保連線之品質及穩定性,將該實體連線啟動位元時時刻刻維持在高準位似乎是較佳的選擇,然而,若在實體連線啟動位元維持在高準位的情況下,使用高速網路介面控制器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 network interface controller 82, even if the computer system is in the mode of only the backup power supply, its connection speed will still be maintained at 10GHZ, but when the computer system is in the backup power mode, the fan speed control (Fan Speed Control, referred to as FSC) will not start, obviously, the network interface controller 82 will inevitably overheat, or even burn out, in view of this, it is necessary to propose a solution.

因此,本發明的目的,即在提供一種可自動判定何時需致能一實體連線啟動位元及何時需清除該實體連線啟動位元的在網路控制器邊帶介面標準下控制連線的方法。 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 operation detection module 11 , a session management module 12 and a monitoring module 13 . The baseboard management control unit 1 stores a baseboard management control firmware, wherein the operation detection module 11 , the session management module 12 and the monitoring module 13 are realized by the baseboard management control firmware.

該操作偵測模組11用於判定所接收到之智慧型平台管理介面(Intelligent Platform Management Interface,簡稱IPMI)請求及網頁請求是否為與區域網路串列(Serial-over-LAN,簡稱SOL)功能、多電腦切換(Keyboard、Video、Mouse,簡稱KVM)功能及更新韌體之其中一者相關之請求,當所接收到之智慧型平台管理介面請求及網頁請求被判定為與區域網路串列功能、多電腦切 換功能及更新韌體之其中一者相關之請求時,產生並傳送一啟動通知至該監控模組13。該操作偵測模組11還用於將所接收到之智慧型平台管理介面請求及網頁請求傳送至該會談管理模組12。 The operation detection module 11 is used to determine whether the received Intelligent Platform Management Interface (Intelligent Platform Management Interface, referred to as IPMI) request and web page request is a serial-over-LAN (Serial-over-LAN, referred to as SOL) functions, multi-computer switching (Keyboard, Video, Mouse, referred to as KVM) functions, and requests related to updating firmware, when the received smart platform management interface requests and web page requests are determined to be related to the local area network Column function, multi-computer switching When there is a request related to one of changing functions and updating firmware, an activation notification is generated and sent to the monitoring module 13. The operation detection module 11 is also used to send the received intelligent platform management interface request and web page request to the session management module 12 .

該會談管理模組12用於建立並清除相關於操作區域網路串列功能、多電腦切換功能及網頁功能之會談(session),並統計在線操作區域網路串列功能、多電腦切換功能及網頁功能之每一者的一在線登入數。 The session management module 12 is used to establish and clear sessions related to the operation LAN serial function, multi-computer switching function and web page function, and counts the online operation LAN serial function, multi-computer switching function and An online login number for each of the web page functions.

該監控模組13用於將儲存於該電腦系統之一網路介面控制器的一實體連線啟動位元設為低準位及高準位之其中一者。 The monitoring module 13 is used to set a physical connection enable bit stored in a network interface controller of the computer system as one of a low level and a high level.

以下將透過在網路控制器邊帶介面標準下控制連線的方法之實施例來說明該操作偵測模組11、該會談管理模組12及該監控模組13中各元件的運作細節,本實施例包含一操作偵測程序、一會談管理程序,及一位元設定程序。 The following will illustrate the operation details of the operation detection module 11, the session management module 12 and the monitoring module 13 through the embodiment of the method of controlling the connection under the network controller sideband interface standard, This embodiment includes an operation detection program, a session management program, and a bit setting program.

參閱圖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 monitoring module 13, and the second detection subroutine illustrates how to detect the received webpage Request and send the activation notification to the monitoring module 13 . Wherein, the first detection subroutine and the second detection subroutine have no sequence of execution, but depend on the request received by the operation detection module 11 Whether the first detection subroutine or the second detection subroutine is performed for smart platform management interface requests or web page requests.

參閱圖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 step 21, when the operation detection module 11 receives a smart platform management interface request, the operation detection module 11 determines whether the smart platform management interface request is related to the local area network serial function ask. When the operation detection module 11 determines that the intelligent platform management interface request is a request related to the local area network serial function, the process proceeds to step 22; when the operation detection module 11 determines that the intelligent platform management When the interface request is not related to the LAN serial function, the process ends. Wherein, the operation detection module 11 determines whether the smart platform management interface request is related to the LAN serial function by checking whether the packet content requested by the smart platform management interface is related to the LAN serial function. Function-related requests.

在步驟22中,該操作偵測模組11產生並傳送該啟動通知至該監控模組13,且傳送與區域網路串列功能相關之該智慧型平台管理介面請求至該會談管理模組12。 In step 22, the operation detection module 11 generates and sends the activation notification to the monitoring module 13, and sends the smart platform management interface request related to the local area network serial function to the session management module 12 .

參閱圖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 step 31, when the operation detection module 11 receives a webpage request generated by operating the webpage function, the operation detection module 11 determines whether the webpage request is related to the multi-computer switching function. When the operation detection module 11 determines that the web page request is a request related to the multi-computer switching function, the process proceeds to step 32; When the operation detection module 11 determines that the web page request is not related to the multi-computer switching function, the process proceeds to step 33 . Wherein, the operation detection module 11 determines whether the webpage request is a request related to the multi-computer switching function by checking whether the packet content of the webpage request is related to the multi-computer switching function.

在步驟32中,該操作偵測模組11產生並傳送該啟動通知至該監控模組13,且傳送與多電腦切換功能相關之該網頁請求至該會談管理模組12。 In step 32 , the operation detection module 11 generates and sends the activation notification to the monitoring module 13 , and sends the webpage request related to the multi-computer switching function to the session management module 12 .

在步驟33中,該操作偵測模組11判定該網頁請求是否為與更新韌體相關之請求。當該操作偵測模組11判定出該網頁請求為與更新韌體相關之請求時,流程進行步驟34;當該操作偵測模組11判定出該網頁請求非為與更新韌體相關之請求時,流程進行步驟35。其中,該操作偵測模組11係藉由檢查該網頁請求之封包內容是否與更新韌體相關,以判定該網頁請求是否為與更新韌體相關之請求。 In step 33, the operation detection module 11 determines whether the webpage request is a request related to firmware update. When the operation detection module 11 determines that the webpage request is a request related to updating firmware, the process proceeds to step 34; when the operation detection module 11 determines that the webpage request is not a request related to updating firmware , the process proceeds to step 35. Wherein, the operation detection module 11 determines whether the webpage request is a request related to firmware update by checking whether the packet content of the webpage request is related to firmware update.

在步驟34中,該操作偵測模組11產生並傳送該啟動通知至該監控模組13,並傳送該網頁請求至該會談管理模組12。 In step 34 , the operation detection module 11 generates and sends the activation notification to the monitoring module 13 , and sends the webpage request to the session management module 12 .

在步驟35中,該操作偵測模組11傳送該網頁請求至該會談管理模組12。 In step 35 , the operation detection module 11 sends the web page request to the session management module 12 .

參閱圖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 session management module 12. Whether the request of group 11 is an intelligent platform management interface request, a web page request related to the operation of the multi-computer switching function, or other web page requests not related to the operation of the multi-computer switching function to perform the first management subroutine and the second management subroutine It is also the third management subroutine. In addition, the intelligent platform management interface request received by the first management subroutine and related to the local area network serial function is sent by step 22 of the first detection subroutine, and the second management subroutine receives The web page request related to the multi-computer switching function is sent by step 32 of the second detection subroutine, and the third management subroutine receives other web pages that are not related to operating the multi-computer switching function The request is sent by step 34 or step 35 of the second detection subroutine.

參閱圖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 step 41, when the session management module 12 receives the smart platform management interface request related to the LAN serial function, the session management module 12 determines whether the smart platform management interface request is A login request. When the session management module 12 determines that the smart platform management interface request is the login request, the process proceeds to step 42; when the session management module 12 determines that the smart platform management interface request is not the login request, The process proceeds to step 43 .

在步驟42中,該會談管理模組12將對應操作區域網路串列功能之在線登入數加1,並建立一相關於操作區域網路串列功能之會談,且指派一會談識別符(session ID),以供後續之交談。 In step 42, the session management module 12 adds 1 to the number of online logins corresponding to the serial function of the LAN operation, and establishes a session related to the serial function of the LAN operation, and assigns a session identifier (session ID) for subsequent conversations.

在步驟43中,該會談管理模組12判定該智慧型平台管理介面請求是否為一登出請求。當該會談管理模組12判定出該智慧型平台管理介面請求為該登出請求時,流程進行步驟44;當該會談管理模組12判定出該智慧型平台管理介面請求非為該登出請求(如,與智慧型平台管理介面之操作相關的請求)時,流程進行步驟45。 In step 43, the session management module 12 determines whether the smart platform management interface request is a logout request. When the meeting management module 12 determines that the intelligent platform management interface request is the logout request, the process proceeds to step 44; when the meeting management module 12 determines that the intelligent platform management interface request is not the logout request (eg, a request related to the operation of the smart platform management interface), the process proceeds to step 45 .

在步驟44中,藉由該會談管理模組12將對應操作區域網路串列功能之在線登入數減1,並清除該會談。 In step 44, the session management module 12 decrements the number of online logins corresponding to the LAN serial function, and clears the session.

在步驟45中,該會談管理模組12根據該智慧型平台管理 介面請求中之會談識別符,將對應該會談識別符之會談的會談存活時間加上一預設時間間隔。當智慧型平台管理介面請求非為該登入請求也非為該登出請求時,代表對應該會談識別符之會談仍持續有在操作而非閒置,故須將對應該會談識別符之會談的會談存活時間加上該預設時間間隔,以避免會談被清除。 In step 45, the meeting management module 12 manages The session ID in the interface request will add a preset time interval to the session lifetime of the session corresponding to the session ID. When the smart platform management interface request is neither the login request nor the logout request, it means that the session corresponding to the session ID is still in operation and not idle, so the session corresponding to the session ID must be Time-to-live plus this preset interval to avoid sessions being cleared.

參閱圖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 step 46, for each online session related to operating the LAN serial function, the session management module 12 periodically determines whether a session alive time of the online session is less than a current time. When the meeting management module 12 determines that the meeting survival time of the online meeting is less than the current time, the process proceeds to step 47; when the meeting management module 12 determines that the meeting survival time of the online meeting is not less than the current time When the current time, the flow returns to step 46.

在步驟47中,該會談管理模組12清除該會談,並將對應操作區域網路串列功能之在線登入數減1。 In step 47, the session management module 12 clears the session, and subtracts 1 from the online login number corresponding to the LAN serial function.

值得一提的是,步驟46~47係在有相關於操作區域網路串列功能之會談被建立後,即會週期性地被執行以判定相關於操作區域網路串列功能且在線之該會談對應的該會談存活時間是否小於該當前時間。舉例來說,當有第一個相關於操作區域網路串列功能之會談被建立後,該會談管理模組12即會週期性地判定在線之該 第一個會談的該會談存活時間是否小於該當前時間,當有第二個相關於操作區域網路串列功能之會談被建立後,該會談管理模組12也會週期性地判定在線之該第二個會談的該會談存活時間是否小於該當前時間,依此類推。若某一會談的該會談存活時間小於該當前時間時,即會清除該會談。 It is worth mentioning that steps 46~47 will be executed periodically after the session related to the operation of the LAN serial function is established to determine the online session related to the operation of the LAN serial function. Whether the session survival time corresponding to the session is less than the current time. For example, when the first session related to the operation of the local area network serial function is established, the session management module 12 will periodically determine the online session Whether the session survival time of the first session is less than the current time, when a second session related to the serial function of the operating area network is established, the session management module 12 will also periodically determine the online session Whether the session alive time of the second session is less than the current time, and so on. If the session survival time of a session is less than the current time, the session will be cleared.

參閱圖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 step 51, when the session management module 12 receives the web page request related to the multi-computer switching function, the session management module 12 determines whether the web page request is a login request. When the meeting management module 12 determines that the webpage request is the login request, the process proceeds to step 52 ; when the meeting management module 12 determines that the webpage request is not the login request, the process proceeds to step 53 .

在步驟52中,該會談管理模組12將對應操作多電腦切換功能之在線登入數加1,並建立一相關於操作多電腦切換功能之會談,且指派一會談識別符,以供後續之交談。 In step 52, the session management module 12 adds 1 to the number of online logins corresponding to the operation of the multi-computer switching function, and establishes a session related to the operation of the multi-computer switching function, and assigns a session identifier for subsequent chats .

在步驟53中,該會談管理模組12判定該網頁請求是否為一登出請求。當該會談管理模組12判定出該網頁請求為該登出請求時,流程進行步驟54;當該會談管理模組12判定出該網頁請求非為該登出請求時,流程進行步驟55。 In step 53, the meeting management module 12 determines whether the webpage request is a logout request. When the meeting management module 12 determines that the webpage request is the logout request, the process proceeds to step 54 ; when the meeting management module 12 determines that the webpage request is not the logout request, the process proceeds to step 55 .

在步驟54中,藉由該會談管理模組12將對應操作多電腦 切換功能之在線登入數減1,並清除該會談。 In step 54, the meeting management module 12 will correspondingly operate the multi-computer The number of online logins of the switching function is reduced by 1, and the session is cleared.

在步驟55中,該會談管理模組12根據該網頁請求中之會談識別符,將對應該會談識別符之會談的會談存活時間加上該預設時間間隔。 In step 55, the meeting management module 12 adds the preset time interval to the meeting survival time of the meeting corresponding to the meeting identifier according to the meeting identifier in the web page request.

參閱圖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 step 56, for each online session related to operating the multi-computer switching function, the session management module 12 periodically determines whether a session survival time of the online session is less than the current time. When the meeting management module 12 determines that the meeting survival time of the online meeting is less than the current time, the process proceeds to step 57; when the meeting management module 12 determines that the meeting survival time of the online meeting is not less than the current time When the current time, the flow returns to step 56.

在步驟57中,該會談管理模組12清除該會談,並將對應操作多電腦切換功能之在線登入數減1。 In step 57, the session management module 12 clears the session, and subtracts 1 from the number of online logins corresponding to the multi-computer switching function.

值得一提的是,步驟56~57係在有相關於操作多電腦切換功能之會談被建立後,即會週期性地被執行以判定相關於操作多電腦切換功能且在線之該會談對應的該會談存活時間是否小於該當前時間。舉例來說,當有第一個相關於操作多電腦切換功能之會談被建立後,該會談管理模組12即會週期性地判定在線之該第一個會談的該會談存活時間是否小於該當前時間,當有第二個相關於操 作多電腦切換功能之會談被建立後,該會談管理模組12也會週期性地判定在線之該第二個會談的該會談存活時間是否小於該當前時間,依此類推。 It is worth mentioning that steps 56 to 57 are executed periodically after a session related to the operation of the KVM switching function is established to determine the online session corresponding to the operation of the KVM switching function. Whether the session lifetime is less than this current time. For example, when the first session related to the operation of the multi-computer switching function is established, the session management module 12 will periodically determine whether the session survival time of the first session online is shorter than the current session time, when there is a second After the session for multi-computer switching function is established, the session management module 12 also periodically determines whether the session survival time of the second online session is less than the current time, and so on.

參閱圖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 step 61, when the meeting management module 12 receives the web page request (that is, other web page requests not related to operating the multi-computer switching function), the meeting management module 12 determines whether the web page request is A login request. When the meeting management module 12 determines that the webpage request is the login request, the process proceeds to step 62 ; when the meeting management module 12 determines that the webpage request is not the login request, the process proceeds to step 63 .

在步驟62中,該會談管理模組12將對應操作網頁功能之在線登入數加1,並建立一相關於操作網頁功能之會談,且指派一會談識別符,以供後續之交談。 In step 62, the meeting management module 12 adds 1 to the number of online logins corresponding to the operating webpage function, and establishes a meeting related to operating the webpage function, and assigns a meeting identifier for subsequent chatting.

在步驟63中,該會談管理模組12判定該網頁請求是否為一登出請求。當該會談管理模組12判定出該網頁請求為該登出請求時,流程進行步驟64;當該會談管理模組12判定出該網頁請求非為該登出請求時,流程進行步驟65。 In step 63, the meeting management module 12 determines whether the web page request is a logout request. When the meeting management module 12 determines that the webpage request is the logout request, the process proceeds to step 64 ; when the meeting management module 12 determines that the webpage request is not the logout request, the process proceeds to step 65 .

在步驟64中,藉由該會談管理模組12將對應操作網頁功能之在線登入數減1,並清除該會談。 In step 64, the number of online logins corresponding to the operation webpage function is decremented by 1 through the meeting management module 12, and the meeting is cleared.

在步驟65中,該會談管理模組12根據該網頁請求中之會談識別符,將對應該會談識別符之會談的會談存活時間加上該預設時間間隔。 In step 65, the meeting management module 12 adds the preset time interval to the meeting survival time of the meeting corresponding to the meeting identifier according to the meeting identifier in the web page request.

參閱圖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 step 66, for each online session related to operating web page functions, the session management module 12 periodically determines whether a session survival time of the online session is less than the current time. When the meeting management module 12 determines that the meeting survival time of the online meeting is less than the current time, the process proceeds to step 67; when the meeting management module 12 determines that the meeting survival time of the online meeting is not less than the current time When the current time, the flow returns to step 66.

在步驟67中,該會談管理模組12清除該會談,並將對應操作網頁功能之在線登入數減1。 In step 67, the meeting management module 12 clears the meeting, and subtracts 1 from the number of online logins corresponding to the operation webpage function.

值得一提的是,步驟66~67係在有相關於操作網頁功能之會談被建立後,即會週期性地被執行以判定相關於操作網頁功能且在線之該會談對應的該會談存活時間是否小於該當前時間。舉例來說,當有第一個相關於操作網頁功能之會談被建立後,該會談管理模組12即會週期性地判定在線之該第一個會談的該會談存活時間是否小於該當前時間,當有第二個相關於操作網頁功能之會談被建立後,該會談管理模組12也會週期性地判定在線之該第二個會談 的該會談存活時間是否小於該當前時間,依此類推。該第三管理子程序係用於統計與操作網頁功能相關但非與操作多電腦切換功能相關的在線登入數。 It is worth mentioning that steps 66 to 67 are executed periodically after a session related to the operation of the web page function is established to determine whether the session survival time corresponding to the online session related to the operation of the web page function is less than the current time. For example, when the first session related to operating web page functions is established, the session management module 12 will periodically determine whether the session survival time of the first online session is less than the current time, When a second session related to the operation of the web page function is established, the session management module 12 will also periodically determine that the second session is online If the session alive time is less than the current time, and so on. The third management subroutine is used for counting the number of online logins related to the operation of the web page function but not related to the operation of the multi-computer switching function.

參閱圖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 step 71, the monitoring module 13 determines whether a request related to one of the local area network serial function, multi-computer switching function and firmware update is received and generated by the operation detection module 11 of the launch notification. When the monitoring module 13 determines that the activation notification has been received (that is, in step 22 of the first detection subroutine, step 32 of the second detection subroutine, and step 32 of the second detection subroutine When any one of 34 has sent the activation notification to the monitoring module 13), the process proceeds to step 72; when the monitoring module 13 determines that the activation notification has not been received, the process proceeds to step 73.

在步驟72中,該監控模組13將該實體連線啟動位元設為高準位,並進行步驟73。 In step 72 , the monitoring module 13 sets the physical connection enable bit to a high level, and proceeds to step 73 .

在步驟73中,該監控模組13判定該實體連線啟動位元是否被設為高準位。當該監控模組13判定出該實體連線啟動位元被設為高準位時,流程進行步驟74;當該監控模組13判定出該實體連線啟動位元未被設為高準位時,流程回到步驟71。 In step 73, the monitoring module 13 determines whether the physical connection enable bit is set to a high level. When the monitoring module 13 determines that the physical connection start bit is set to a high level, the process proceeds to step 74; when the monitoring module 13 determines that the physical connection start bit is not set to a high level , the flow returns to step 71.

在步驟74中,該監控模組13週期性地自該會談管理模組 12獲得當前在線操作區域網路串列功能、多電腦切換功能及網頁功能之任一者的一總在線登入數。其中,該監控模組13係先獲得對應操作區域網路串列功能之在線登入數、對應操作多電腦切換功能之在線登入數,及對應操作網頁功能之在線登入數,並將加總對應操作區域網路串列功能、多電腦切換功能及網頁功能之在線登入數,以獲得該總在線登入數。在本實施例中,該監控模組13每60秒向該會談管理模組12獲得當前的該總在線登入數,然而並不以此為限。 In step 74, the monitoring module 13 periodically obtains 12 Obtain a total number of online logins of any one of the LAN serial function, the multi-computer switching function and the web page function currently being operated online. Among them, the monitoring module 13 first obtains the number of online logins corresponding to the operation of the LAN serial function, the number of online logins corresponding to the operation of the multi-computer switching function, and the number of online logins corresponding to the operation of the web page function, and sums up the corresponding operations The number of online logins of LAN serial function, multi-computer switching function and web page function to obtain the total number of online logins. In this embodiment, the monitoring module 13 obtains the current total online login number from the meeting management module 12 every 60 seconds, but it is not limited thereto.

在步驟75中,該監控模組13判定該總在線登入數是否等於0。當該監控模組13判定出該總在線登入數不等於0時,流程回到步驟73;當該監控模組13判定出該總在線登入數等於0時,流程進行步驟76。 In step 75, the monitoring module 13 determines whether the total online login number is equal to zero. When the monitoring module 13 determines that the total online login number is not equal to 0, the process returns to step 73; when the monitoring module 13 determines that the total online login number is equal to 0, the process proceeds to step 76.

在步驟76中,該監控模組13將該實體連線啟動位元設為低準位。將該實體連線啟動位元設為低準位的觸發條件為當該總在線登入數等於0時,才會將該實體連線啟動位元設為低準位。即便對應操作區域網路串列功能及多電腦切換功能之在線登入數皆為0,甚至操作網頁功能以更新韌體之在線登入數也為0,但只要與其他網頁功能之操作相關的在線登入數不為0(亦即,根據該第二偵測子程序的步驟35所傳送之網頁請求而統計到的在線登入數不為0),就不會將該實體連線啟動位元設為低準位。 In step 76, the monitoring module 13 sets the physical connection enable bit to a low level. The trigger condition for setting the physical connection enable bit to the low level is that the physical connection start bit is set to the low level when the bus online login number is equal to 0. Even if the number of online logins corresponding to the operation of the LAN serial function and the multi-computer switching function is 0, and even the number of online logins for operating the webpage function to update the firmware is 0, but as long as the online login related to the operation of other webpage functions If the number is not 0 (that is, the number of online logins counted according to the web page request sent in step 35 of the second detection subroutine is not 0), the entity connection enable bit will not be set to low quasi-position.

值得一提的是,在以下的使用情境中,須確保連線不中斷,使用情境一:透過基板管理控制單元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 operation detection module 11 can detect the received web page request by detecting whether the received web page request is related to the multi-computer switching function Whether it may be related to the installation of the operating system, when a web page request related to the multi-computer switching function is detected, the activation notification is sent to the monitoring module 13, so that the monitoring module 13 activates the entity connection bit Set to a high level to ensure that the connection is not interrupted. Similarly, when the operation detection module 11 detects an intelligent platform management interface request related to the LAN serial function, it sends the activation notification to the monitoring module 13, so that the monitoring module 13 Set the physical connection start bit to a high level to ensure that the connection is not interrupted. And when the operation detection module 11 detects a webpage request related to updating firmware, it also sends the activation notification to the monitoring module 13, so that the monitoring module 13 sets the physical connection activation bit It is a high level to ensure that the connection is not interrupted. In this way, the requirement of uninterrupted connection in the above usage scenarios can be met.

綜上所述,本發明在網路控制器邊帶介面標準下控制連線的方法,藉由該監控模組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 monitoring module 13 receives the serial function determined by the operation detection module 11 as being connected to the local area network. , multi-computer switching function and the request for updating the firmware, when the activation notification is generated, the physical connection activation bit is set to a high level, thereby enabling 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 when the user operates the web page function online to update the firmware, it can also provide High-speed connection speed (10GHZ). In addition, the monitoring module 13 periodically obtains the total online login number, and when the total online login number is not greater than zero, automatically sets the entity connection start bit to a low level, thereby, if If there is no operation related to any one of the LAN serial function, multi-computer switching function and web page function (that is, the total online login number is equal to zero), the physical connection start bit is set to a low level, so that When it is necessary to ensure that the connection is not interrupted, the physical connection activation bit is automatically enabled, and when no one is using the LAN serial function, the multi-computer switching function and the web page function, the physical connection activation bit is automatically cleared bit, so that when the computer system is in the standby power mode, the connection speed is relatively slow, so as to avoid overheating or burning out of the network interface controller, so the purpose of the present invention can indeed be achieved.

惟以上所述者,僅為本發明的實施例而已,當不能以此限定本發明實施的範圍,凡是依本發明申請專利範圍及專利說明書內容所作的簡單的等效變化與修飾,皆仍屬本發明專利涵蓋的範圍內。 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)

一種在網路控制器邊帶介面標準下控制連線的方法,由一基板管理控制單元來實施,該基板管理控制單元包含一操作偵測模組、一會談管理模組及一監控模組,該在網路控制器邊帶介面標準下控制連線的方法包含以下步驟:(A)當該監控模組接收到一由該操作偵測模組判定為與區域網路串列功能、多電腦切換功能及更新韌體之其中一者相關之請求而產生的啟動通知時,藉由該監控模組將儲存於一網路介面控制器的一實體連線啟動位元設為高準位;(B)藉由該監控模組,判定該實體連線啟動位元是否被設為高準位;(C)當該監控模組判定出該實體連線啟動位元被設為高準位時,藉由該監控模組週期性地自該會談管理模組獲得當前在線操作區域網路串列功能、多電腦切換功能及網頁功能之任一者的一總在線登入數;(D)藉由該監控模組,判定該總在線登入數是否等於零;及(E)當該監控模組判定出該總在線登入數等於零時,藉由該監控模組將一實體連線啟動位元設為低準位。 A method for controlling connections under the network controller sideband interface standard, implemented by a baseboard management control unit, the baseboard management control unit includes an operation detection module, a session management module and a monitoring module, The method for controlling the connection under the network controller sideband interface standard comprises the following steps: (A) when the monitoring module receives a function determined by the operation detection module as being serial with the local area network, multi-computer When an activation notification is generated by a request related to one of switching functions and updating firmware, 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, it is determined 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, Obtain a total online login number of any one of the current online operation LAN serial function, multi-computer switching function and webpage function from the session management module periodically through the monitoring module; (D) through the A monitoring module to determine whether the total online login number is equal to zero; and (E) when the monitoring module determines that the total online login number is equal to zero, a physical connection enable bit is set to a low standard by the monitoring module bit. 如請求項1所述的在網路控制器邊帶介面標準下控制連線的方法,在步驟(A)之前,還包含以下步驟:(F)當該操作偵測模組收到一智慧型平台管理介面請求時,藉由該操作偵測模組判定該智慧型平台管理介面請 求是否為與區域網路串列功能相關之請求;及(G)當該操作偵測模組判定出該智慧型平台管理介面請求為與區域網路串列功能相關之請求時,藉由該操作偵測模組產生並傳送該啟動通知至該監控模組。 The method for controlling connection under the network controller sideband interface standard as described in claim 1, before step (A), also includes the following steps: (F) when the operation detection module receives a smart When the platform management interface requests, the operation detection module determines that the smart platform management interface requests Whether the request is a request related to the LAN serial function; and (G) when the operation detection module determines that the smart platform management interface request is a request related to the LAN serial function, by the The operation detection module generates and sends the activation notification to the monitoring module. 如請求項2所述的在網路控制器邊帶介面標準下控制連線的方法,其中,在步驟(G)中,當該操作偵測模組判定出該智慧型平台管理介面請求為與區域網路串列功能相關之請求時,該操作偵測模組還傳送與區域網路串列功能相關之該智慧型平台管理介面請求至該會談管理模組,該在網路控制器邊帶介面標準下控制連線的方法,在步驟(G)後,還包含以下步驟:(H)當該會談管理模組收到與區域網路串列功能相關之該智慧型平台管理介面請求時,藉由該會談管理模組判定該智慧型平台管理介面請求是否為一登入請求;(I)當該會談管理模組判定出該智慧型平台管理介面請求為該登入請求時,藉由該會談管理模組將對應操作區域網路串列功能之在線登入數加1,並建立一相關於操作區域網路串列功能之會談,且指派一會談識別符,以供後續之交談;(J)當該會談管理模組判定出該智慧型平台管理介面請求非為該登入請求時,藉由該會談管理模組判定該智慧型平台管理介面請求是否為一登出請求;(K)當該會談管理模組判定出該智慧型平台管理介面請求為該登出請求時,藉由該會談管理模組將對應操作區 域網路串列功能之在線登入數減1,並清除該會談;及(L)當該會談管理模組判定出該智慧型平台管理介面請求非為該登出請求時,藉由該會談管理模組根據該智慧型平台管理介面請求中之會談識別符,將對應該會談識別符之會談的會談存活時間加上一預設時間間隔。 The method for controlling connections under the network controller sideband interface standard as described in claim 2, wherein, in step (G), when the operation detection module determines that the intelligent platform management interface request is related to When there is a request related to the LAN serial function, the operation detection module also sends the intelligent platform management interface request related to the LAN serial function to the session management module, which is in the sideband of the network controller The method for controlling connection under the interface standard also includes the following steps after step (G): (H) when the session management module receives the smart platform management interface request related to the local area network serial function, Determine whether the intelligent platform management interface request is a login request by the session management module; (I) when the session management module determines that the intelligent platform management interface request is the login request, by the session management The module adds 1 to the number of online logins corresponding to the operation of the LAN serial function, and establishes a session related to the operation of the LAN serial function, and assigns a session identifier for subsequent conversations; (J) when When the session management module determines that the smart platform management interface request is not the login request, the session management module determines whether the smart platform management interface request is a logout request; (K) when the session management When the module determines that the smart platform management interface request is the logout request, the session management module will use the corresponding operation area The online login number of the domain network serial function is reduced by 1, and the session is cleared; and (L) when the session management module determines that the smart platform management interface request is not the logout request, the session management According to the session ID in the smart platform management interface request, the module adds a preset time interval to the session survival time of the session corresponding to the session ID. 如請求項3所述的在網路控制器邊帶介面標準下控制連線的方法,還包含以下步驟:(M)對於每一相關於操作區域網路串列功能且在線之會談,藉由該會談管理模組週期性地判定在線之該會談的一會談存活時間是否小於一當前時間;及(N)當該會談管理模組判定出在線之該會談的該會談存活時間小於該當前時間時,藉由該會談管理模組清除該會談,並將對應操作區域網路串列功能之在線登入數減1。 The method for controlling connections under the network controller sideband interface standard as described in claim 3, further comprising the following steps: (M) for each session related to the operation of the local area network serial function and online, by The session management module periodically determines whether a session survival time of the online session is less than a current time; and (N) when the session management module determines that the session survival time of the online session is less than the current time , the session is cleared by the session management module, and the number of online logins corresponding to the LAN serial function is decremented by 1. 如請求項1所述的在網路控制器邊帶介面標準下控制連線的方法,在步驟(A)之前,還包含以下步驟:(O)當該操作偵測模組收到一經由操作網頁功能而產生的網頁請求時,藉由該操作偵測模組判定該網頁請求是否為與多電腦切換功能相關之請求;(P)當該操作偵測模組判定出該網頁請求為與多電腦切換功能相關之請求時,藉由該操作偵測模組產生並傳送該啟動通知至該監控模組;(Q)當該操作偵測模組判定出該網頁請求不為與多電腦切換功能相關之請求時,藉由該操作偵測模組判定該網頁請求是否為更新韌體相關之請求;及 (R)當該操作偵測模組判定出該網頁請求為與更新韌體相關之請求時,藉由該操作偵測模組產生並傳送該啟動通知至該監控模組。 The method for controlling connections under the network controller sideband interface standard as described in claim 1, before step (A), also includes the following steps: (O) when the operation detection module receives an operation When the web page request is generated by the web page function, the operation detection module determines whether the web page request is a request related to the multi-computer switching function; (P) when the operation detection module determines that the web page request is related to the multi-computer switching function; For requests related to the computer switching function, the activation notification is generated by the operation detection module and sent to the monitoring module; (Q) When the operation detection module determines that the web page request is not related to the multi-computer switching function For related requests, use the operation detection module to determine whether the webpage request is a request related to firmware update; and (R) When the operation detection module determines that the webpage request is a request related to updating firmware, the activation notification is generated and sent to the monitoring module by the operation detection module. 如請求項5所述的在網路控制器邊帶介面標準下控制連線的方法,其中,在步驟(P)中,當該操作偵測模組判定出該網頁請求為與多電腦切換功能相關之請求時,該操作偵測模組還傳送與多電腦切換功能相關之該網頁請求至該會談管理模組,該在網路控制器邊帶介面標準下控制連線的方法,在步驟(P)後,還包含以下步驟:(S)當該會談管理模組收到與多電腦切換功能相關之該網頁請求時,藉由該會談管理模組判定該網頁請求是否為一登入請求;(T)當該會談管理模組判定出該網頁請求為該登入請求時,藉由該會談管理模組將對應操作多電腦切換功能之在線登入數加1,並建立一相關於操作多電腦切換功能之會談,且指派一會談識別符,以供後續之交談;(U)當該會談管理模組判定出該網頁請求非為該登入請求時,藉由該會談管理模組判定該網頁請求是否為一登出請求;(V)當該會談管理模組判定出該網頁請求為該登出請求時,藉由該會談管理模組將對應操作多電腦切換功能之在線登入數減1,並清除會談;及(W)當該會談管理模組判定出該網頁請求非為該登出請求時,藉由該會談管理模組根據該網頁請求中之會談 識別符,將對應該會談識別符之會談的會談存活時間加上一預設時間間隔。 The method for controlling connections under the network controller sideband interface standard as described in claim 5, wherein, in step (P), when the operation detection module determines that the webpage request is a function of switching between multiple computers For relevant requests, the operation detection module also sends the webpage request related to the multi-computer switching function to the session management module. The method of controlling the connection under the network controller sideband interface standard is in step ( After P), the following steps are also included: (S) When the session management module receives the webpage request related to the multi-computer switching function, determine whether the webpage request is a login request by the session management module; ( T) When the session management module determines that the web page request is the login request, the session management module will add 1 to the number of online logins corresponding to the operation of the multi-computer switching function, and create a link related to the operation of the multi-computer switching function (U) When the session management module determines that the web page request is not the login request, the session management module determines whether the web page request is A logout request; (V) When the session management module determines that the web page request is the logout request, the session management module will reduce the number of online logins corresponding to the multi-computer switching function by 1, and clear the session and (W) when the meeting management module determines that the webpage request is not the logout request, the meeting management module according to the meeting in the webpage request identifier, add a preset time interval to the session lifetime of the session corresponding to the session identifier. 如請求項6所述的在網路控制器邊帶介面標準下控制連線的方法,還包含以下步驟:(X)對於每一相關於操作多電腦切換功能且在線之會談,藉由該會談管理模組週期性地判定在線之該會談的一會談存活時間是否小於一當前時間;及(Y)當該會談管理模組判定出在線之該會談的該會談存活時間小於該當前時間時,藉由該會談管理模組清除會談,並將對應操作多電腦切換功能之在線登入數減1。 The method for controlling connections under the network controller sideband interface standard as described in claim 6, further comprising the following steps: (X) for each session related to operating the multi-computer switching function and online, through the session The management module periodically determines whether a session survival time of the online session is less than a current time; and (Y) when the session management module determines that the session survival time of the online session is less than the current time, by The meeting is cleared by the meeting management module, and the number of online logins corresponding to the operation of the multi-computer switching function is reduced by 1. 如請求項5所述的在網路控制器邊帶介面標準下控制連線的方法,在步驟(Q)之後,還包含以下步驟:(Z)當該操作偵測模組判定出該網頁請求不為與更新韌體相關之請求時,藉由該操作偵測模組傳送該網頁請求至該會談管理模組。 The method for controlling connections under the network controller sideband interface standard as described in claim 5, after step (Q), further includes the following steps: (Z) when the operation detection module determines that the web page request When the request is not related to firmware update, the web page request is sent to the session management module through the operation detection module. 如請求項8所述的在網路控制器邊帶介面標準下控制連線的方法,其中,在步驟(R)中,當該操作偵測模組判定出該網頁請求為與更新韌體相關之請求時,該操作偵測模組還傳送該網頁請求至該會談管理模組,該在網路控制器邊帶介面標準下控制連線的方法,在步驟(R)與(Z)其中一者之後,還包含以下步驟:(i)當該會談管理模組收到該網頁請求時,藉由該會談管理模組判定該網頁請求是否為一登入請求;(ii)當該會談管理模組判定出該網頁請求為該登入請 求時,藉由該會談管理模組將對應操作網頁功能之在線登入數加1,並建立一相關於操作網頁功能之會談,且指派一會談識別符,以供後續之交談;(iii)當該會談管理模組判定出該網頁請求非為該登入請求時,藉由該會談管理模組判定該網頁請求是否為一登出請求;(iv)當該會談管理模組判定出該網頁請求為該登出請求時,藉由該會談管理模組將對應操作網頁功能之在線登入數減1,並清除會談;及(v)當該會談管理模組判定出該網頁請求非為該登出請求時,藉由該會談管理模組根據該網頁請求中之會談識別符,將對應該會談識別符之會談的會談存活時間加上一預設時間間隔。 The method for controlling connections under the network controller sideband interface standard as described in claim 8, wherein, in step (R), when the operation detection module determines that the web page request is related to updating firmware When the request is made, the operation detection module also sends the web page request to the session management module, the method of controlling the connection under the network controller sideband interface standard, in one of steps (R) and (Z) After that, the following steps are also included: (i) when the meeting management module receives the webpage request, determine whether the webpage request is a login request by the meeting management module; (ii) when the meeting management module The web page request was determined to be the login request When requesting, use the meeting management module to add 1 to the number of online logins corresponding to the operation of the webpage function, and establish a meeting related to the operation of the webpage function, and assign a meeting identifier for subsequent conversations; (iii) when When the session management module determines that the webpage request is not the login request, the session management module determines whether the webpage request is a logout request; (iv) when the session management module determines that the webpage request is When the logout request is made, the number of online logins corresponding to the operation webpage function is reduced by 1 through the meeting management module, and the meeting is cleared; and (v) when the meeting management module determines that the webpage request is not the logout request When, the session management module adds a preset time interval to the session survival time of the session corresponding to the session ID according to the session ID in the web page request. 如請求項9所述的在網路控制器邊帶介面標準下控制連線的方法,還包含以下步驟:(vi)對於每一相關於操作網頁功能且在線之會談,藉由該會談管理模組週期性地判定在線之該會談的一會談存活時間是否小於一當前時間;及(vii)當該會談管理模組判定出在線之該會談的該會談存活時間小於該當前時間時,藉由該會談管理模組清除會談,並將對應操作網頁功能之在線登入數減1。 The method for controlling connection under the network controller sideband interface standard as described in claim 9, further includes the following steps: (vi) for each online session related to operating webpage functions, through the session management module The group periodically determines whether a session lifetime of the online session is less than a current time; and (vii) when the session management module determines that the session lifetime of the online session is less than the current time, by the The meeting management module clears the meeting and subtracts 1 from the number of online logins corresponding to the operation webpage function.
TW109134172A 2020-09-30 2020-09-30 Method of controlling connection on network controller sideband interface TWI801758B (en)

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)

* Cited by examiner, † Cited by third party
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

Patent Citations (5)

* Cited by examiner, † Cited by third party
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