TWM556046U - Network switching control system - Google Patents

Network switching control system Download PDF

Info

Publication number
TWM556046U
TWM556046U TW106211982U TW106211982U TWM556046U TW M556046 U TWM556046 U TW M556046U TW 106211982 U TW106211982 U TW 106211982U TW 106211982 U TW106211982 U TW 106211982U TW M556046 U TWM556046 U TW M556046U
Authority
TW
Taiwan
Prior art keywords
network
module
online device
control system
switching control
Prior art date
Application number
TW106211982U
Other languages
Chinese (zh)
Inventor
Hung-Hsiang Chiang
Chen-Jie Jhu
Original Assignee
Ipsecures Corp
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 Ipsecures Corp filed Critical Ipsecures Corp
Priority to TW106211982U priority Critical patent/TWM556046U/en
Publication of TWM556046U publication Critical patent/TWM556046U/en

Links

Landscapes

  • Debugging And Monitoring (AREA)

Description

網路切換控制系統 Network switching control system

本創作涉及光通訊網路技術領域,更詳而言之,係關於一種網路切換控制系統。 This creation relates to the field of optical communication network technology, and more specifically to a network switching control system.

在線設備通常應用於兩個或更多的網路設備之間,使得連接至該在線設備的各網路設備之間在相互通訊(即傳送網路封包)時,裝載於在線設備中的相關應用程式可針對通過該在線設備的網路封包進行分析,以針對存在威脅的網路封包進行過濾,而將分析結果為安全的網路封包繼續轉發至目標網路設備,藉此以確保網路設備之間的通訊安全。 An online device is typically applied between two or more network devices such that the network devices connected to the online device are loaded with related applications in the online device when communicating with each other (ie, transmitting a network packet) The program analyzes the network packets passing through the online device to filter the network packets that are threatening, and forwards the network packets that are analyzed as safe to the target network device, thereby ensuring the network device. Communication between the security.

需說明的是,在線設備雖可為網路設備之間的通訊提供安全防護,然而,當在線設備出現故障時,例如發生斷電或當機的異常情況時,則連接至該在線設備的各網路設備之間也就隨之失去了連接通路。 It should be noted that the online device can provide security protection for communication between the network devices. However, when the online device fails, for example, when a power failure or an abnormal situation occurs, the online device is connected to each other. The connection path between the network devices is lost.

有鑑於此,市售之在線設備通常設有一旁路模式(bypass),所謂旁路模式是一種基於物理鏈路的保護方式,其中,該物理鏈路通常具有兩種工作狀態,即正常模式與旁路模式,而前述的旁路模式是指通過特定的觸發狀態,使得連接至該在線設備的各網路設備可在不通過該在線設備的相關系統的前提下而直接物理上導通。因此,旁路模式係用於在當在線設備出現故障時,確保連接至該在線設備的各網路設備之間的通訊暢通。 In view of this, a commercially available online device usually has a bypass mode, and the bypass mode is a physical link-based protection mode, wherein the physical link usually has two working states, namely, a normal mode and Bypass mode, and the aforementioned bypass mode refers to a specific trigger state, so that each network device connected to the online device can be directly physically turned on without passing through the related system of the online device. Therefore, the bypass mode is used to ensure communication between the network devices connected to the online device when the online device fails.

於現有技術中,大部分的在線設備僅當出現斷電或當機的異常情況時,才會自動切換至旁路模式,惟,在實際運作過程中,造成在線設備無法為各網路設備提供正常的連接通路的原因複雜多變,並非僅限於上述斷電或當機兩種情況,故仍會經常產生當在線設備設備出現異常時由於未自動切換至旁路模式,而導致連接至在線設備的各網路設備之間的通訊異常的困擾。 In the prior art, most of the online devices automatically switch to the bypass mode only when there is a power outage or a crash condition. However, in actual operation, the online device cannot provide the network device. The reason for the normal connection path is complicated and variable. It is not limited to the above-mentioned power failure or downtime. Therefore, it will often occur when the online device device is abnormal, because it does not automatically switch to the bypass mode, resulting in connection to the online device. The communication between the various network devices is annoying.

有鑑於此,如何提供一種網路切換控制機制,提高在線設備的異常監測效果,確保網路設備之間的通訊暢通,即為本創作待解決的技術課題。 In view of this, how to provide a network switching control mechanism to improve the abnormal monitoring effect of online devices and ensure the smooth communication between network devices is the technical problem to be solved for the creation.

鑒於上述先前技術之種種問題,本創作之主要目的在於提供一種網路切換控制系統,可當偵測在線設備的工作電壓、作業系統或應用程式中的任一者出現運作異常時,即對在線設備的運作狀態進行切換,確保連接至該在線設備的各網路設備之間的通訊暢通。 In view of the above problems of the prior art, the main purpose of the present invention is to provide a network switching control system that can detect online when the operating voltage, operating system or application of the online device is abnormal. The operating state of the device is switched to ensure smooth communication between the network devices connected to the online device.

本創作之另一目的在於提供一種網路切換控制系統,係集成於一外置電路板中,具有設備小型化且製造成本較低的優點。 Another object of the present invention is to provide a network switching control system which is integrated in an external circuit board and has the advantages of miniaturization of equipment and low manufacturing cost.

為達到上述目的及其他目的,本創作提供一種網路切換控制系統,係應用於一在線設備中,該在線設備係包括建構該在線設備的一硬體單元、運行於該在線設備中的一作業系統(OS)以及運行於該作業系統中的至少一應用程式(APPLICATION),該在線設備還連接一切換模組,而該切換模組分別連接一第一、第二網路設備,以對該第一、第二網路設備之間的網路通道執行切換,該網路切換控制系統包括:一第一偵測模組,係偵測該硬體單元的工作電壓,俾於偵測該硬體單元的工作電壓出現異常時,輸出一第一觸發信號;一 第二偵測模組,係偵測該作業系統的運作狀態,俾於偵測該作業系統的運作狀態出現異常時,輸出一第二觸發信號;一第三偵測模組,該第三偵測模組係具有運行於該作業系統中的一監控程式,並通過運行該監控程式,偵測該應用程式的運作狀態,俾於偵測該應用程式的運作狀態出現異常時,輸出一第三觸發信號;以及一控制模組,係連接該切換模組,該切換模組於默認狀態下係處於一般模式,使該第一、第二網路設備在經由該在線設備的情況下通訊,當該控制模組於接收該第一觸發信號、該第二觸發信號以及該第三觸發信號之其中任一者時,即控制該切換模組由一一般模式切換至一旁路模式,使該第一、第二網路設備在不經由該在線設備的情況下通訊,以於該在線設備異常時,確保該第一、第二網路設備之間的通訊暢通。 In order to achieve the above and other objects, the present invention provides a network switching control system, which is applied to an online device, which includes a hardware unit for constructing the online device, and an operation running in the online device. An operating system (OS) and at least one application (APPLICATION) running in the operating system, the online device is further connected to a switching module, and the switching module is respectively connected to a first and second network device to The network channel between the first network device and the second network device performs switching. The network switching control system includes: a first detecting module that detects the working voltage of the hardware unit, and detects the hard When the working voltage of the body unit is abnormal, a first trigger signal is output; The second detecting module detects the operating state of the operating system, and outputs a second trigger signal when detecting an abnormality in the operating state of the operating system; a third detecting module, the third detecting The test module has a monitoring program running in the operating system, and detects the operating state of the application by running the monitoring program, and outputs a third when detecting an abnormality in the operating state of the application. a triggering signal; and a control module is connected to the switching module, the switching module is in a normal mode in a default state, so that the first and second network devices communicate under the condition of the online device, When the control module receives any one of the first trigger signal, the second trigger signal, and the third trigger signal, the control module is controlled to switch from a general mode to a bypass mode, so that the first The second network device communicates without the online device, so that when the online device is abnormal, the communication between the first and second network devices is ensured.

較佳者,於上述系統中,該第一偵測模組、該第二偵測模組與該控制模組係設置於一外置電路板,該外置電路板具有一通訊介面,用於跟該在線設備通訊連接。 Preferably, in the above system, the first detection module, the second detection module and the control module are disposed on an external circuit board, and the external circuit board has a communication interface for Connect to the online device.

較佳者,於上述系統中,該通訊界面為PCIE介面。 Preferably, in the above system, the communication interface is a PCIE interface.

較佳者,於上述系統中,該第一偵測模組俾於偵測該硬體單元的供電電壓狀態低於一預設電壓閾值時,輸出該第一觸發信號。 Preferably, in the above system, the first detecting module outputs the first trigger signal when detecting that the power supply voltage state of the hardware unit is lower than a preset voltage threshold.

較佳者,於上述系統中,該第二偵測模組還具有一觸發單元,該觸發單元係執行一計時操作,當該作業系統處於正常運作狀態時,係定時傳送一復位信號至該觸發單元,該觸發單元係偵測是否於一觸發閾值時間內接收到該作業系統所輸出的該復位信號,當於該觸發閾值時間內未接收到該復位信號時,則輸出該第二觸發信號。 Preferably, in the above system, the second detecting module further has a triggering unit, and the triggering unit performs a timing operation, and when the operating system is in a normal operating state, timingly transmitting a reset signal to the triggering The triggering unit detects whether the reset signal output by the operating system is received within a trigger threshold time. When the reset signal is not received within the trigger threshold time, the second trigger signal is output.

較佳者,於上述系統中,該觸發單元係為看門狗定時器(WDT)。 Preferably, in the above system, the trigger unit is a watchdog timer (WDT).

較佳者,於上述系統中,該控制模組係為MCU。 Preferably, in the above system, the control module is an MCU.

較佳者,於上述系統中,該在線設備還包括運行於該作業系統中的至少一檢測程式,該監控程式係藉由該檢測程式的執行狀態偵測該應用程式的運作狀態是否異常。 Preferably, in the above system, the online device further includes at least one detection program running in the operating system, and the monitoring program detects whether the operation state of the application is abnormal by the execution state of the detection program.

較佳者,於上述系統中,該檢測程式係執行一網管檢測任務與一數據封包交換檢測任務,該網管檢測任務係檢測該應用程式針對網管的運作狀態是否異常,該數據封包交換檢測任務係檢測該應用程式針對數據封包交換的運作狀態是否異常。 Preferably, in the above system, the detection program performs a network management detection task and a data packet exchange detection task, and the network management detection task detects whether the application is abnormal for the operation state of the network management, and the data packet exchange detection task system Check if the application is abnormal for the data packet exchange.

綜上所述,本創作之網路切換控制系統通過分別偵測在線設備的硬體單元的工作電壓、運作於在線設備中的作業系統、運作於作業系統中的應用程式的運作狀態,俾於偵測上述三者中的任一者出現運作異常時,即令在線設備由一般模式切換至旁路模式,從而確保連接至在線設備的各網路設備之間的通訊順暢。 In summary, the network switching control system of the present invention detects the operating voltage of the hardware unit of the online device, the operating system operating in the online device, and the operating state of the application operating in the operating system. When detecting any of the above three abnormalities, the online device is switched from the normal mode to the bypass mode, thereby ensuring smooth communication between the network devices connected to the online device.

此外,本創作的網路切換控制系統係集成於一外置電路板(如PCIE卡)中,並通過插接於在線設備的通訊接口上以偵測在線設備的運作是否出現異常,具有適用範圍較廣、設備體積小、且成本較低的特點。 In addition, the network switching control system of the present invention is integrated in an external circuit board (such as a PCIE card), and is plugged into the communication interface of the online device to detect whether the operation of the online device is abnormal, and has a scope of application. It is wide, the equipment is small, and the cost is low.

10‧‧‧外置電路板 10‧‧‧External circuit board

100‧‧‧網路切換控制系統 100‧‧‧Network switching control system

110‧‧‧第一偵測模組 110‧‧‧First detection module

120‧‧‧第二偵測模組 120‧‧‧Second detection module

121‧‧‧觸發單元(WDT) 121‧‧‧Trigger unit (WDT)

130‧‧‧第三偵測模組 130‧‧‧The third detection module

131‧‧‧監控程式 131‧‧‧Monitor

140‧‧‧控制模組(MCU) 140‧‧‧Control Module (MCU)

20‧‧‧在線設備 20‧‧‧Online equipment

21‧‧‧硬體單元 21‧‧‧ hardware unit

22‧‧‧作業系統 22‧‧‧Operating system

23‧‧‧應用程式 23‧‧‧Application

24‧‧‧檢測程式 24‧‧‧Detection program

30‧‧‧切換模組 30‧‧‧Switching module

31‧‧‧第一網路設備 31‧‧‧First network equipment

32‧‧‧第二網路設備 32‧‧‧Second network equipment

圖1為說明本創作之網路切換控制系統的第一實施例架構示意圖;以及圖2為說明本創作之網路切換控制系統的第二實施例架構示意圖。 1 is a schematic structural diagram illustrating a first embodiment of a network switching control system of the present invention; and FIG. 2 is a schematic structural diagram illustrating a second embodiment of the network switching control system of the present invention.

以下內容將搭配圖式,藉由特定的具體實施例說明本創作之技術內容,熟悉此技術之人士可由本說明書所揭示之內容輕易地了解本創作之其他優點與功效。本創作亦可藉由其他不同的具體實施例加以施行或應用。本說明書中的各項細節亦可基於不同觀點與應用,在不背離本創作之精神下,進行各種修飾與變更。尤其是,於圖式中各個元件的比例關係及相對位置僅具示範性用途,並非代表本創作實施的實際狀況。 The following content will be described in conjunction with the drawings, and the technical contents of the present invention will be described by a specific embodiment. Those skilled in the art can easily understand other advantages and effects of the present invention by the contents disclosed in the present specification. This creation can also be implemented or applied by other different embodiments. The details of the present specification can also be modified and changed without departing from the spirit of the present invention. In particular, the proportional relationship and relative position of the various elements in the drawings are for exemplary purposes only and are not representative of actual implementation of the present invention.

圖1為顯示本創作之網路切換控制系統的第一實施例的框架示意圖。於本實施例中,網路切換控制系統100係應用於一在線設備20中,在線設備20具有用於構建在線設備20的一硬體單元21(例如主機板)、安裝於運行於在線設備20中的一作業系統(OS)22、以及裝載並運行於作業系統22中的至少一應用程式(APPLICATION)23。 1 is a schematic diagram showing the framework of a first embodiment of the network switching control system of the present invention. In this embodiment, the network switching control system 100 is applied to an online device 20 having a hardware unit 21 (eg, a motherboard) for constructing the online device 20 and installed in the online device 20 An operating system (OS) 22, and at least one application 23 loaded and running in the operating system 22.

此外,在線設備20還連接一切換模組30,第一網路設備31與第二網路設備32分別連接至切換模組30,並藉由切換模組30對第一、第二網路設備31,32之間的網路通道執行切換操作。需說明的是,連接至切換模組30的第一網路設備31與第二網路設備32的具體設置數量係可依照實際需求而進行任意變更。 In addition, the online device 20 is further connected to a switching module 30. The first network device 31 and the second network device 32 are respectively connected to the switching module 30, and the first and second network devices are connected by the switching module 30. The network channel between 31 and 32 performs the switching operation. It should be noted that the specific number of the first network device 31 and the second network device 32 connected to the switching module 30 can be arbitrarily changed according to actual needs.

請參考圖1,於本創作的第一實施例中,網路切換控制系統100包括有一第一偵測模組100、一第二偵測模組120、一第三偵測模組130、與一控制模組140。 Referring to FIG. 1 , in the first embodiment of the present invention, the network switching control system 100 includes a first detecting module 100 , a second detecting module 120 , a third detecting module 130 , and A control module 140.

第一偵測模組110用於偵測硬體單元21的工作電壓,俾於偵測硬體單元21的工作電壓出現異常時,輸出一第一觸發信號。於本實施例中,第一偵測模組110係用於偵測硬體單元21當前的工作電壓是否低於一預設電壓閾值,並當判斷硬體單元21當前的工作電壓低於預設電壓閾值時,則輸出第一觸發信號。於具體的實施例中,假設第一偵測模組110所偵測的硬體單元為在線設備200的主機板(未予圖示),所述預設電壓閾值為11.2V,主機板的正常工作電壓例如為12V,因此,當主機板斷電後,第一偵測模組110於偵測到主機板的工作電壓由12V下降至11.2V時,即輸出第一觸發信號。 The first detecting module 110 is configured to detect the operating voltage of the hardware unit 21, and output a first trigger signal when detecting that the operating voltage of the hardware unit 21 is abnormal. In this embodiment, the first detecting module 110 is configured to detect whether the current working voltage of the hardware unit 21 is lower than a preset voltage threshold, and when determining that the current working voltage of the hardware unit 21 is lower than a preset. At the voltage threshold, the first trigger signal is output. In a specific embodiment, it is assumed that the hardware unit detected by the first detecting module 110 is a motherboard (not shown) of the online device 200, and the preset voltage threshold is 11.2V, and the motherboard is normal. The operating voltage is, for example, 12V. Therefore, when the motherboard is powered off, the first detecting module 110 outputs a first trigger signal when detecting that the operating voltage of the motherboard drops from 12V to 11.2V.

第二偵測模組120用於偵測裝載於在線設備200中的作業系統22的運作狀態,俾於偵測作業系統22的運作狀態出現異常時,輸出一第二觸發信號。於本實施例中,第二偵測模組120係偵測作業系統22的內核是否崩潰,藉此判斷作業系統22是否出現運作異常。 The second detecting module 120 is configured to detect an operating state of the operating system 22 loaded in the online device 200, and output a second trigger signal when an abnormality occurs in the operating state of the detecting operating system 22. In this embodiment, the second detection module 120 detects whether the kernel of the operating system 22 has collapsed, thereby determining whether the operating system 22 is abnormal in operation.

第三偵測模組130中儲存有一監控程式131,監控程式131係安裝並運行於在線設備200的作業系統22中,第三偵測模組130係通過運行監控程式131,以偵測安裝於作業系統22中的相關應用程式23的運作狀態,俾於偵測到應用程式23的運作狀態出現異常時,輸出一第三觸發信號。於本實施例中,監控程式131所監控的應用程式23的數量及種類係可由原廠進行預設,亦可由在線設備20的使用者依據實際需求而進行設定。 The third detection module 130 stores a monitoring program 131. The monitoring program 131 is installed and runs in the operating system 22 of the online device 200. The third detecting module 130 is configured to detect the installation by running the monitoring program 131. The operating state of the related application 23 in the operating system 22 outputs a third trigger signal when it detects that an abnormality occurs in the operating state of the application 23. In this embodiment, the number and type of the applications 23 monitored by the monitoring program 131 may be preset by the original factory, or may be set by the user of the online device 20 according to actual needs.

控制模組140係連接切換模組30,其中,切換模組30於默認狀態下係處於一般模式,使第一、第二網路設備31,32在經由在線設備20的情況下通訊,當控制模組140於接收第一觸發信號、第二觸發信號以及第三觸發信號之其中任一者時,即控制切換模組30由一一般模式切換至一旁路模式,使第一、 第二網路設備31,32在不經由在線設備20的情況下通訊,以於在線設備20出現異常時,確保第一、第二網路設備31,32之間的通訊暢通。 The control module 140 is connected to the switching module 30, wherein the switching module 30 is in the normal mode in the default state, so that the first and second network devices 31, 32 communicate under the condition of the online device 20, when the control is performed. When the module 140 receives any one of the first trigger signal, the second trigger signal, and the third trigger signal, the control switching module 30 is switched from a general mode to a bypass mode to make the first The second network devices 31, 32 communicate without going through the online device 20, so that when the online device 20 is abnormal, the communication between the first and second network devices 31, 32 is ensured.

具體而言,當在線設備20的運作正常時,切換模組30係處於一般模式,即連接至切換模組30的第一網路設備31與第二網路設備32係經由在線設備30相互通訊連接,以藉由在線設備30為第一網路設備31與第二網路設備32之間的通訊提供安全防護,當控制模組140於接收第一觸發信號、第二觸發信號或第三觸發信號中的任一者時,即代表網路切換控制系統100偵測到在線設備20中的硬體單元21的工作電壓、運行於在線設備20中的作業系統22、或運行於作業系統22中的應用程式23中的任一者的運作狀態出現了異常,由於上述任意一種異常情況均可導致第一網路設備31與第二網路設備32之間的網路通訊的中斷,因此,控制模組140即控制切換模組30由一般模式切換至旁路模式,使得第一、第二網路設備31,32可在不經由在線設備20的情況下進行通訊,藉此以防止由於在線設備20的運作異常而導致第一、第二網路設備31,32的通訊中斷的異常發生。 Specifically, when the operation of the online device 20 is normal, the switching module 30 is in a normal mode, that is, the first network device 31 and the second network device 32 connected to the switching module 30 communicate with each other via the online device 30. Connecting to provide security protection for communication between the first network device 31 and the second network device 32 by the online device 30, when the control module 140 receives the first trigger signal, the second trigger signal, or the third trigger In either of the signals, the network switching control system 100 detects the operating voltage of the hardware unit 21 in the online device 20, the operating system 22 operating in the online device 20, or operating in the operating system 22. An abnormality occurs in the operation state of any of the applications 23, and any of the above abnormal conditions may cause interruption of network communication between the first network device 31 and the second network device 32, and therefore, control The module 140 controls the switching module 30 to switch from the normal mode to the bypass mode, so that the first and second network devices 31, 32 can communicate without going through the online device 20, thereby preventing the online device from being 20 Abnormal operation which led to the first, second exception communications network equipment 31, 32, interrupted.

請配合參閱圖2,其為顯示本創作的網路切換控制系統100的第二實施例架構示意圖。於本創作的第二實施例中,在網路切換控制系統100中,除了軟體部分,即第三偵測模組130的監控程式131係裝載於在線設備20中運行之外,其餘硬體部分,即第一偵測模組110、第二偵測模組120與控制模組140均係設置於一外置電路板10中,其中,外置電路板10具有一通訊介面11,用於跟在線設備20通訊連接。於具體實施例中,在線設備20上還設有一PCIE接口介面(未予圖示),外置電路板10係例如為具有PCIE通訊介面的一PCIE外接卡,其通過插接於在線設備20的PCIE接口介面上,以與在線設備20電性連接,並藉由在線 設備20的PCIE接口介面提供外置電路板10中各硬體元件的工作電源。此外,用於控制在線設備20的工作模式的切換模組30亦集成於外置電路板10中。 Please refer to FIG. 2, which is a schematic structural diagram of a second embodiment of the network switching control system 100 of the present invention. In the second embodiment of the present invention, in the network switching control system 100, in addition to the software part, that is, the monitoring program 131 of the third detecting module 130 is loaded in the online device 20, the remaining hardware parts are The first detection module 110, the second detection module 120, and the control module 140 are disposed in an external circuit board 10, wherein the external circuit board 10 has a communication interface 11 for The online device 20 is communicatively connected. In a specific embodiment, the online device 20 is further provided with a PCIE interface (not shown). The external circuit board 10 is, for example, a PCIE external card having a PCIE communication interface, which is plugged into the online device 20. The PCIE interface is electrically connected to the online device 20 and is connected to the online device. The PCIE interface of device 20 provides operational power to the various hardware components in external circuit board 10. In addition, the switching module 30 for controlling the operating mode of the online device 20 is also integrated in the external circuit board 10.

於一實施例中,控制單元140係例如為MCU140。本實施例的在線設備20的主機板係遵循標準ATX電源的電源時序控制,其中,當在線設備20執行開機操作時,電源時序的順序包括:當未開機時(等待開機時),在線設備20的主機板上只具有3.3AUX待機電壓,當按下在線設備20的電源按鈕後,在線設備20執行開機,此時主機板會產生12V及3.3V的電壓;而當在線設備20執行關機操作時,電源時序的順序則恰好相反,即主機板由正常工作電壓12V下降至3.3V,直至在線設備20完成關機後,主機板上只具有3.3AUX待機電壓。由於MCU的工作電壓係使用3.3AUX電壓來供給,如此,於在線設備20執行開機之前,MCU140即可開始工作,而當在線設備20斷電(關機)後,MCU140亦為最後一個停止運作的硬體單元。藉由此原理,在當第一偵測電源110偵測在線設備20的主機板的工作電壓出現下降異常時,例如由12V下降至11.2V時,即輸出第一觸發訊號至MCU140,由於在此工作電壓下的MCU140仍能維持正常的運作,因此,MCU140係可在主機板的電壓下降至最終的3.3AUX之前,完成令切換模組30由一般模式切換至旁路模式之控制操作,藉以實現第一、第二網路設備31,32之間的通訊順暢。 In an embodiment, the control unit 140 is, for example, an MCU 140. The motherboard of the online device 20 of this embodiment follows the power supply timing control of the standard ATX power supply. When the online device 20 performs the power-on operation, the sequence of the power supply sequence includes: when not powered on (waiting for power-on), the online device 20 The motherboard has only 3.3AUX standby voltage. When the power button of the online device 20 is pressed, the online device 20 performs booting, and the motherboard generates 12V and 3.3V voltages; and when the online device 20 performs the shutdown operation. The order of the power supply timing is exactly the opposite, that is, the motherboard is lowered from the normal working voltage 12V to 3.3V, and the motherboard has only a 3.3AUX standby voltage after the online device 20 completes the shutdown. Since the operating voltage of the MCU is supplied using a 3.3 AUX voltage, the MCU 140 can be started before the online device 20 performs the power-on, and when the online device 20 is powered off (powered off), the MCU 140 is also the last one to stop operating. Body unit. By this principle, when the first detecting power source 110 detects that the operating voltage of the motherboard of the online device 20 is abnormally dropped, for example, when the voltage drops from 12V to 11.2V, the first trigger signal is output to the MCU 140, because The MCU 140 can still maintain normal operation under the working voltage. Therefore, the MCU 140 can complete the control operation of switching the switching module 30 from the normal mode to the bypass mode before the voltage of the motherboard drops to the final 3.3 AUX. The communication between the first and second network devices 31, 32 is smooth.

需說明的是,第一偵測模組110所偵測的硬體單元21並非僅限於上述的主機板,其可依照實際需求而變更為在線設備20中的其他硬體單元21,例如,第一偵測模組110亦可透過偵測在線設備20的PCIE接口介面的工作電壓是否正常,據以判斷是否將在線設備20的工作模式切換為旁路模式。 It should be noted that the hardware unit 21 detected by the first detecting module 110 is not limited to the above-mentioned motherboard, and may be changed to other hardware units 21 in the online device 20 according to actual needs, for example, The detection module 110 can also determine whether the working mode of the online device 20 is switched to the bypass mode by detecting whether the working voltage of the PCIE interface interface of the online device 20 is normal.

請繼續參閱圖2,於本實施例中,第二偵測模組120中還具有一觸發單元121,其用於執行一計時操作,藉此以偵測在線設備20的作業系統22的內核是否出現崩潰。亦即,當作業系統22處於正常運作狀態時,可定時傳送一復位信號至觸發單元121,觸發單元121偵測是否於一觸發閾值時間內接收到作業系統22所輸出的復位信號,當於觸發閾值時間內未接收到復位信號時,則輸出第二觸發信號。 Referring to FIG. 2 , in the embodiment, the second detection module 120 further includes a trigger unit 121 for performing a timing operation, thereby detecting whether the core of the operating system 22 of the online device 20 is detected. A crash has occurred. That is, when the operating system 22 is in the normal operating state, a reset signal can be periodically transmitted to the trigger unit 121, and the trigger unit 121 detects whether the reset signal output by the operating system 22 is received within a trigger threshold time. When the reset signal is not received within the threshold time, the second trigger signal is output.

於一實施例中,觸發單元121係為看門狗定時器WDT,用於執行一計時操作並產生一計時時間,當作業系統22處於正常運作時,會定時地輸出一復位信號至觸發單元121,俾令觸發單元121將當前所產生的計時時間清零,並重新開始計時,當觸發單元121當前的計時時間超過觸發閾值時間時,則代表作業系統22未定時輸出所述復位信號,則第二偵測模組120據此可判斷作業系統22的運作出現了異常(即作業系統22的內核發生崩潰),即輸出第二觸發信號。 In one embodiment, the trigger unit 121 is a watchdog timer WDT for performing a timing operation and generating a timing time. When the operating system 22 is in normal operation, a reset signal is periodically outputted to the trigger unit 121. The triggering unit 121 clears the currently generated timing time and restarts the timing. When the current timing of the trigger unit 121 exceeds the trigger threshold time, the representative operating system 22 does not periodically output the reset signal. According to this, the detecting module 120 can judge that the operation of the operating system 22 is abnormal (that is, the core of the operating system 22 collapses), that is, output the second trigger signal.

於本創作的另一實施例中,在線設備20還包括運行於作業系統22中的至少一檢測程式24,其係用於檢測運行於在線設備20中的各應用程式23的運行狀態,本創作的監控程式131係可藉由檢測程式24的執行狀態而間接偵測應用程式23的運作狀態是否異常。 In another embodiment of the present invention, the online device 20 further includes at least one detection program 24 running in the operating system 22 for detecting the running status of each application 23 running in the online device 20, this creation The monitoring program 131 can indirectly detect whether the operating state of the application 23 is abnormal by detecting the execution state of the program 24.

具體而言,所述檢測程式24係為在線設備20或應用程式23的供應商所提供,可用於執行網管檢測任務與數據封包交換檢測任務,其中,網管檢測任務係用於檢測應用程式23針對網管的運作狀態是否異常,網管數據封包交換檢測任務係用於檢測應用程式23針對數據封包交換的運作狀態是否異常。所述網管係包含執行SNMP traps and requests等任務,所述數據封包交換係包含執行load-balancing algorithm等任務。於本實施例中,可將監控程式131直接與在線 設備20的檢測程式24搭配,依據檢測程式24所生成的檢測結果來判斷應用程式23的運作是否出現異常,藉此,利用在線設備20中現有的檢測程式24來監控應用程式23的運作狀態,可以減少本創作用於監控應用程式23運作的監控程式的開發成本,從而進一步降低本創作的製造成本。 Specifically, the detection program 24 is provided by the online device 20 or the provider of the application program 23, and can be used to perform a network management detection task and a data packet exchange detection task, wherein the network management detection task is used to detect the application 23 for Whether the operation status of the network management system is abnormal, and the network management data packet exchange detection task is used to detect whether the operation state of the application packet 23 for the data packet exchange is abnormal. The network management system includes tasks such as performing SNMP traps and requests, and the data packet switching system includes tasks such as executing a load-balancing algorithm. In this embodiment, the monitoring program 131 can be directly connected to the online The detection program 24 of the device 20 is configured to determine whether the operation of the application 23 is abnormal according to the detection result generated by the detection program 24, thereby monitoring the operation state of the application 23 by using the existing detection program 24 in the online device 20. The development cost of the monitoring program used to monitor the operation of the application 23 can be reduced, thereby further reducing the manufacturing cost of the creation.

綜上所述,由於當在線設備的工作電壓、運作於在線設備中的作業系統、以及運作於作業系統中的應用程式中的任一者的運作出現異常時,均可導致連接至在線設備的各網路設備之間的通訊中斷,因此,本創作之網路切換控制系統通過設置第一、第二、第三偵測模組以分別偵測在線設備的硬體單元的工作電壓、運作於在線設備中的作業系統、以及運作於作業系統中的應用程式的運作狀態,俾於上述三者之中的任意一者出現異常時,即控制在線設備由一般模式切換至旁路模式,藉此以確保連接至在線設備的各網路設備之間的通訊順暢。 In summary, since an abnormality occurs in the operation of the online device, the operating system operating in the online device, and the application operating in the operating system, the connection to the online device can be caused. The communication between the network devices is interrupted. Therefore, the network switching control system of the present invention sets the first, second, and third detection modules to respectively detect the operating voltage of the hardware unit of the online device, and operates on The operation state of the operating system in the online device and the application operating in the operating system, when any one of the above three is abnormal, that is, the online device is controlled to switch from the normal mode to the bypass mode, thereby To ensure smooth communication between network devices connected to online devices.

再者,本創作的網路控制切換控制系統係集成於一外置電路板上(如軟體部分之外),通過插接於在線設備的通訊接口上,以針對在線設備中各部分的工作狀態進行監控。因此,本創作可適用於各種不同的在線設備,應用範圍較廣,並具有設備體積小以及製造成本較低的優點。 Furthermore, the network control switching control system of the present invention is integrated on an external circuit board (except the software part), and is connected to the communication interface of the online device to work for each part of the online device. Monitor. Therefore, the creation can be applied to a variety of different online devices, has a wide range of applications, and has the advantages of small device size and low manufacturing cost.

上述實施例僅例示性說明本創作之原理及功效,而非用於限制本創作。任何熟習此項技術之人士均可在不違背本創作之精神及範疇下,對上述實施例進行修飾與改變。因此,本創作之權利保護範圍,應如本創作申請專利範圍所列。 The above embodiments are merely illustrative of the principles and effects of the present invention and are not intended to limit the present invention. Any person skilled in the art can modify and change the above embodiments without departing from the spirit and scope of the present invention. Therefore, the scope of protection of this creation should be as listed in the scope of patent application for this creation.

100‧‧‧網路切換控制系統 100‧‧‧Network switching control system

110‧‧‧第一偵測模組 110‧‧‧First detection module

120‧‧‧第二偵測模組 120‧‧‧Second detection module

130‧‧‧第三偵測模組 130‧‧‧The third detection module

131‧‧‧監控程式 131‧‧‧Monitor

140‧‧‧控制模組 140‧‧‧Control Module

20‧‧‧在線設備 20‧‧‧Online equipment

21‧‧‧硬體單元 21‧‧‧ hardware unit

22‧‧‧作業系統 22‧‧‧Operating system

23‧‧‧應用程式 23‧‧‧Application

30‧‧‧切換模組 30‧‧‧Switching module

31‧‧‧第一網路設備 31‧‧‧First network equipment

32‧‧‧第二網路設備 32‧‧‧Second network equipment

Claims (9)

一種網路切換控制系統,係應用於一在線設備中,該在線設備係包括建構該在線設備的一硬體單元、運行於該在線設備中的一作業系統(OS)以及運行於該作業系統中的至少一應用程式(APPLICATION),該在線設備還連接一切換模組,而該切換模組分別連接一第一、第二網路設備,以對該第一、第二網路設備之間的網路通道執行切換,該網路切換控制系統包括: 一第一偵測模組,係偵測該硬體單元的工作電壓,俾於偵測該硬體單元的工作電壓出現異常時,輸出一第一觸發信號; 一第二偵測模組,係偵測該作業系統的運作狀態,俾於偵測該作業系統的運作狀態出現異常時,輸出一第二觸發信號; 一第三偵測模組,該第三偵測模組係具有運行於該作業系統中的一監控程式,並通過運行該監控程式,偵測該應用程式的運作狀態,俾於偵測該應用程式的運作狀態出現異常時,輸出一第三觸發信號;以及 一控制模組,係連接該切換模組,該切換模組於默認狀態下係處於一般模式,使該第一、第二網路設備在經由該在線設備的情況下通訊,當該控制模組於接收該第一觸發信號、該第二觸發信號以及該第三觸發信號之其中任一者時,即控制該切換模組由一一般模式切換至一旁路模式,使該第一、第二網路設備在不經由該在線設備的情況下通訊,以於該在線設備異常時,確保該第一、第二網路設備之間的通訊暢通。A network switching control system is applied to an online device, which includes a hardware unit for constructing the online device, an operating system (OS) running in the online device, and running in the operating system. At least one application (APPLICATION), the online device is further connected to a switching module, and the switching module is respectively connected to a first and second network device to be connected between the first and second network devices The network channel performs the switching. The network switching control system includes: a first detecting module that detects the working voltage of the hardware unit, and outputs an error when detecting that the working voltage of the hardware unit is abnormal. a first triggering signal; a second detecting module detects the operating state of the operating system, and outputs a second trigger signal when detecting an abnormality in the operating state of the operating system; The third detection module has a monitoring program running in the operating system, and detects the operation state of the application by running the monitoring program to detect the operation of the application. When the status is abnormal, a third trigger signal is output; and a control module is connected to the switching module, and the switching module is in a normal mode in a default state, so that the first and second network devices are In the case of the online device, when the control module receives any one of the first trigger signal, the second trigger signal and the third trigger signal, the switching module is controlled to be switched by a general mode. In the bypass mode, the first and second network devices are communicated without the online device, so that when the online device is abnormal, the communication between the first and second network devices is ensured. 如申請專利範圍第1項所述之網路切換控制系統,其中,該第一偵測模組、該第二偵測模組與該控制模組係設置於一外置電路板,該外置電路板具有一通訊介面,用於跟該在線設備通訊連接。The network switching control system of claim 1, wherein the first detecting module, the second detecting module, and the control module are disposed on an external circuit board, and the external device is externally disposed. The circuit board has a communication interface for communicating with the online device. 如申請專利範圍第2項所述之網路切換控制系統,其中,該通訊界面為PCIE介面。The network switching control system of claim 2, wherein the communication interface is a PCIE interface. 如申請專利範圍第1項所述之網路切換控制系統,其中,該第一偵測模組俾於偵測該硬體單元的供電電壓狀態低於一預設電壓閾值時,輸出該第一觸發信號。The network switching control system of claim 1, wherein the first detecting module outputs the first when detecting that the power supply voltage state of the hardware unit is lower than a preset voltage threshold. Trigger signal. 如申請專利範圍第1項所述之網路切換控制系統,其中,該第二偵測模組還具有一觸發單元,該觸發單元係執行一計時操作,當該作業系統處於正常運作狀態時,係定時傳送一復位信號至該觸發單元,該觸發單元係偵測是否於一觸發閾值時間內接收到該作業系統所輸出的該復位信號,當於該觸發閾值時間內未接收到該復位信號時,則輸出該第二觸發信號。The network switching control system of claim 1, wherein the second detecting module further has a triggering unit, wherein the triggering unit performs a timing operation when the operating system is in a normal operating state. The timing unit transmits a reset signal to the trigger unit, and the trigger unit detects whether the reset signal output by the operating system is received within a trigger threshold time, when the reset signal is not received within the trigger threshold time. And outputting the second trigger signal. 如申請專利範圍第5項所述之網路切換控制系統,其中,該觸發單元係為看門狗定時器(WDT)。The network switching control system according to claim 5, wherein the trigger unit is a watchdog timer (WDT). 如申請專利範圍第1項所述之網路切換控制系統,其中,該控制模組係為MCU。The network switching control system according to claim 1, wherein the control module is an MCU. 如申請專利範圍第1項所述之網路切換控制系統,其中,該在線設備還包括運行於該作業系統中的至少一檢測程式,該監控程式係藉由該檢測程式的執行狀態偵測該應用程式的運作狀態是否異常。The network switching control system of claim 1, wherein the online device further comprises at least one detection program running in the operating system, the monitoring program detecting the execution state of the detection program Whether the application is operating abnormally. 如申請專利範圍第8項所述之網路切換控制系統,其中,該檢測程式係執行一網管檢測任務與一數據封包交換檢測任務,該網管檢測任務係檢測該應用程式針對網管的運作狀態是否異常,該數據封包交換檢測任務係檢測該應用程式針對數據封包交換的運作狀態是否異常。The network switching control system of claim 8, wherein the detection program performs a network management detection task and a data packet exchange detection task, and the network management detection task detects whether the application is operating state for the network management system. Abnormally, the data packet exchange detection task detects whether the application is abnormal in the operation state of the data packet exchange.
TW106211982U 2017-08-14 2017-08-14 Network switching control system TWM556046U (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW106211982U TWM556046U (en) 2017-08-14 2017-08-14 Network switching control system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW106211982U TWM556046U (en) 2017-08-14 2017-08-14 Network switching control system

Publications (1)

Publication Number Publication Date
TWM556046U true TWM556046U (en) 2018-02-21

Family

ID=62014881

Family Applications (1)

Application Number Title Priority Date Filing Date
TW106211982U TWM556046U (en) 2017-08-14 2017-08-14 Network switching control system

Country Status (1)

Country Link
TW (1) TWM556046U (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI670952B (en) * 2017-08-14 2019-09-01 艾普仕股份有限公司 Network switching system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI670952B (en) * 2017-08-14 2019-09-01 艾普仕股份有限公司 Network switching system

Similar Documents

Publication Publication Date Title
TWI670952B (en) Network switching system
WO2018095107A1 (en) Bios program abnormal processing method and apparatus
TWI529624B (en) Method and system of fault tolerance for multiple servers
CN111831488B (en) TCMS-MPU control unit with safety level design
JP6130520B2 (en) MULTISYSTEM SYSTEM AND MULTISYSTEM SYSTEM MANAGEMENT METHOD
JP5790723B2 (en) Cluster system, information processing apparatus, cluster system control method, and program
JP2003150280A (en) Backup management system and method
US9075586B2 (en) Power switching system, computer system, and reboot controlling method thereof
CN105242980A (en) Complementary watchdog system and complementary watchdog monitoring method
CN112099412B (en) Safety redundancy architecture of micro control unit
JP4655718B2 (en) Computer system and control method thereof
CN115617550A (en) Processing device, control unit, electronic device, method, and computer program
US9218029B2 (en) Method and system for resetting a SoC
WO2015135100A1 (en) Method for switching processors, computer, and switching apparatus
JP2003150279A (en) Management system and backup management method in computer system
TWM556046U (en) Network switching control system
US20130138852A1 (en) Electronic device with baseboard management controller
KR102438148B1 (en) Abnormality detection apparatus, system and method for detecting abnormality of embedded computing module
TWI483124B (en) Computer system and the method of using the computer system
US10921875B2 (en) Computer system, operational method for a microcontroller, and computer program product
TW201820137A (en) Device having restarting function
TWI494754B (en) Server monitoring apparatus and method thereof
WO2014112039A1 (en) Information processing device, method for controlling information processing device and information processing device control program
TWI468913B (en) Computer system and method for starting and setting computer system
JP4479002B2 (en) Debugging system and method for equipment having CPU power saving function