TW201010337A - Apparatus power restart method in response to network connection status - Google Patents

Apparatus power restart method in response to network connection status Download PDF

Info

Publication number
TW201010337A
TW201010337A TW097132679A TW97132679A TW201010337A TW 201010337 A TW201010337 A TW 201010337A TW 097132679 A TW097132679 A TW 097132679A TW 97132679 A TW97132679 A TW 97132679A TW 201010337 A TW201010337 A TW 201010337A
Authority
TW
Taiwan
Prior art keywords
network
power
network connection
restart
connection
Prior art date
Application number
TW097132679A
Other languages
Chinese (zh)
Other versions
TWI395430B (en
Inventor
Shi-Jian Qiu
Original Assignee
Shi-Jian Qiu
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 Shi-Jian Qiu filed Critical Shi-Jian Qiu
Priority to TW097132679A priority Critical patent/TWI395430B/en
Priority to DE102009022826A priority patent/DE102009022826A1/en
Publication of TW201010337A publication Critical patent/TW201010337A/en
Application granted granted Critical
Publication of TWI395430B publication Critical patent/TWI395430B/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/02Details
    • H04L12/10Current supply arrangements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/02Details
    • H04L12/12Arrangements for remote connection or disconnection of substations or of equipment thereof
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/50Reducing energy consumption in communication networks in wire-line communication networks, e.g. low power modes or reduced link rate

Abstract

In order to maintain a continuous network connection, an apparatus power restart method of the present invention is provided in response to the network connection status. The preferred embodiment of apparatus applied to the power restart method uses an outlet or on a Uninterruptable Power Supply ("UPS") with multiple sockets, wherein a network port and a power reset switch are included. The outlet or UPS is powered via an external power source. A network connection is established through one or more network devices. The electric power control apparatus incorporating the claimed power restart method includes a network connection detection circuit and an electric power control circuit. By monitoring the network connection, the network devices connected to the electric power control apparatus can be restarted in sequence or simultaneously when the network connection fails. Then the network connection can be maintained. Further, the electric power control apparatus has a server module whereby the users can access the apparatus via the network connection. This allows the user to configure the apparatus.

Description

201010337 九、發明說明: 【發明所屬之技術領域】 之方t發種應用_網路斷線狀況來電力重啟設備 =方法特別疋於一電力控制裝置中設置一網路 電路’根據網路連線狀態控制所連接設備的電力開關。,、 【先前技術】 用連線網路的方式—非對稱數字用戶線路 〔SL)為例,使用者使用稱為atu_r (如 止單元)的數據機透過電話線連接網路服 Γ二道舰器(gateway),再藉以連線網 =哭中一般家庭使用的網路設備,如數據機、網 果在特定情況下(比如架設網站、長時間下 載負料)而要維持常態連線,由於不是商業性的機房,網 路連線品質並非受到很好的保障。 ❿ 口第一圖顯示一般家用的各網路設備連線示意圖,路由 器12、數據機Μ連接一多孔的電力插座1〇,藉以連接電 源’路由器12可為一般的無線網路分享器,各電腦1〇1,1〇3 透過路由器12得到網路的相關f料,並獲取網路位址(正 address)。電腦101,1〇3則透過這些網路設備連接 路18。 上述一般電力插座1〇僅為電源的延伸,並轉換電力至 連接此電力插座10的各網路設備,並未有任何故障復原 (failover)的機制。 6 201010337 在上述架設網站、長時間下載資料的需求下, 設備需要長時間開機,但由於不是商業性的考θ,、 穩定的條件之下,若遇到網路斷線的問題,比如β 數據機或是網路分享器(或路由器)發生問題, 端電腦間的網路斷線,通常此時,使用者需要親新勃 行撥接/連線軟體,或是重新開啟設備的電力,進行重 (代如),使網路連線可以恢復至初始狀 設備無法自行排除障礙,若當下並沒有人可上 誤’則無法解決斷線的問題。 ” ·曰 【發明内容】 有鑑於習知技術應用於一般家庭的網路環境並未有特 別的故障復原的機制,本發明之較佳實施例 插 ί:!ΠυΓηί^ ^置-偵測網路連線狀態的電路,並於偵測到網路 時旎夠透過電力控制恢復網路連線。 本發明為-種應用该測網路斷線狀況來電力重啟設備 =法:使用者能利用網路連接如同多孔插座的電力控制 ^ ^以控制各網路設備的電力供應,包括開關機的時 機舌而主要疋透過偵測網路連線的狀態,遠端設備自動進 订重新啟動,以排除障礙。 ,發明之主要目的是提供使用者能夠在無法親自重新 =各網路設備時’㈣透路由遠端進人以一多孔電 現的電力控缝置,妓各連接此裝置的網路設 備的電力供應策略,能於網路斷線時,依照此電路供 7 201010337 略自動重新啟動各網路設備,以保持網路連線狀態。 鮮施例包括先建立各網路設備與電力控 制,置間^力錢’錢過各網路設備建立網 =用八=路連線制電路偵測該網路設備之網路 連線狀恝。右網路連線妝能ιΊ:杳Α 逻琛狀匕、正常,網路設備繼續運作,偵 的工作;若網路連線狀態有異常現象,則 態 ,據,又疋,依序延時重新啟動各網路設備,以保持連線狀 【實施方式】 在-:使用非對稱數字用戶線路(adsl)的網路環 ^中,包括有稱為ATU_R的數據機,分別具有連接公眾電 路PSTN)的電話線路與連接内部網路路由器的網 舰路網路封包與載於電話線上的訊號經數據機訊號轉 換後,透過網路閘道伺服器傳遞,使用者可透過一或多個 線網際網路。另外’目前網際網路服務業者 (ISP)更提供有光纖上網的服務,但於使用者端,現階段 使用類似上述的設備。 有蓉於在-般上網J哀境並非具有特定網路故障復原的 機制’本發明提供-種應用债測網路斷線狀況來電力重啟 方法’其特別是於電力控制裝置(如一供應電源轉 接的插座,或是相關供電設備、電力中繼設備等)中設置 二網路連_賴組,能夠透過設定,而根據網 態控制電力開關。 8 201010337 請參閱第二圖所示應用本發明電力重啟設備方法的電 力控制裝置與周邊裝置連線之實關示意圖,其巾主要裝 置為-電力控制裝置2G’圖示為—具有可以連接多個設備 的多孔插座,除了可連接多個設備的插座外,其—端透過 電力線連接至供應電力(如市電)的電源插座22,另一端 則5又置有網路連接孔21,能透過網路線(如R:M5)經網 ,連線207連接各種網路設備,如數據機24與路由器%, 藉以連接外。陶際網路28。於另—實施例中,電力控制裝 置20中的網路模組支援無線網路,故可利 其他網路設備。 遗 、在此連線狀態下,電力控職置2G轉接電源,透過電 力,線203, 205供應數據機μ與路由器%的電力,遠端 電腦201可經由網際網路28連接本地端的數據機μ,或 另可透過路由器26連接近端電腦2〇2,經路由器%連接 電力控制裳置2G。在其他實施例中,數據機24可具有網 路路由(nniting)的功效,而本地端的其他冑腦設備或是 亦可,過未顯示於圖中的其他路由11或是集線器 (hub),,星此架構連接網際網路28。 法親3 = ί要目的是在網路連線失敗時,而使用者無 設備的狀況下,能夠利用安褒於電 力控制裝置2G的控制電路(未顯示於此圖中,請 線2〇3,205重新啟動各網路設備的電力7 線二2控制裝置2〇中更具有網路連線功能,可以有 線(八有網路連接埠)與無線手段實施,透過上述網路^ 9 201010337 細的區域網 接電力控難置2G;u制近mm 電力控制ΐ置2〇H裝置2G提供的設定介面設定各連接 線時二“ μ的轉設借的電力供應策略,能於網路斷 ⑼備,以^㈣絲策略自動依序延時重新啟動各網路 口又備以保持網路連線狀態。 控制ί ΐ Jo之2圭夂實施例係利用一個具有遠端控制的電力 ί過:中綑々、種Α電器’尤其是針對各種網路設備,而 啟動m連線狀態债測的機制,在網路失敗時,重新 連接的—個或多個網路設備,以保持各設備的運作。 如杜^本發明電力重啟設備方法的電力控制裝置20之 :電:方第ί·’其中顯示為此電力控制裝置2〇 個錢^ ^ ° f力㈣裝置2 G對外具有複數 303准垃匕括利用電力連線3〇1連接電源;利用網路連線 網路,包括近端的區域網路與透過各網路設備連 至=網路;並透過__或多個插座3〇5連接各電器設 備之2施例主要是透過插座奶提供-或複數個網路設 匕電力控制裝置2〇中特別設置有一控制電路3丨與一 =路,線偵測電路33,於網路連線彻】電路%中主有 二服器模組331’與提供網路連_ 201010337 其中的網路連線偵測電路33,電性連接控制電路3i, =是用則貞咖路連線狀態,能於稱連線狀態異常時 控制訊號,傳送至控制電路31。異常狀態可包括網 a線,或是連線不穩,或是網路設備運作異常等可能狀 態。 、 此凋路連線偵測電路33中的伺服器模組的較佳實 施例可如同於—個www網站健器,讓制者能夠透過 :頁!1ΐ器進入一個網頁形式的設定介面,藉由網路連線 ❹ 進仃没定;或是其他形式的伺服器,包括ssh、teinet等常 用的遠端控制的舰機制,或是專屬的設定方式,讓使用 者利用命令列(command line )進行設定。 此網路連線债測電路33更透過其中的_模組扭 偵測網路連線的狀態,網路偵測的方式可採用多種,由於 電力控制裝置2〇係透過上述網路設備(如路由器、數 等)建立連接網際網路的網路連線,故可藉由電力控制= ,20與一或複數個遠端伺服器間的網路連線來測試網路 連線狀態。 應用此具有遠端控制的電力控制裝置2〇偵測網路連 線的機制,包括傳送網路控制訊息協定(ICMp)的要求封 \’、藉_服器回應的封包的狀態來確認連線狀態。舉例 f說L利用Ping程式發出ICMP要求封包至多個長時間開 的遠端伺服器(如google, yahoo, flickr c〇m等知名的網 站)根據设定’當封包持續回應錯誤,超過設定的門檀時, 則判斷網路連線有誤。此時,網路連線偵測電路33則會產 生控制訊號,上述控制電路31具有電力重置開關的電路, 11 201010337 能根據電力供應策略,將連接的網路設備依序延時重新啟 動,以保持正常運作的狀態。 上述ping程式是一個電腦網路工具,其運作原理是向 目標主機傳出一個ICMP echo要求封包,等待接收ech〇 回應封包’此程式會按時間和反應成功的次數,估計失去 封包率(packet loss rate,丟包率)和封包來回時間(r〇un(j trip time,網路時延),在沒有防火牆刻意排除此ICMp的 封包的情況下,能用來測試與特定主機間的網路連線狀態。 ❹ 以下顯示利用ping程式對www.google.com主機發出 ICMP echo要求封包’利用來回的封包估計來回時間的範 例: $ ping www.google.com PING wwwl.google.com (64.233.183.103) 56(84) bytes of data. 64 bytes from 64.233.183.103: icmp_seq=l ttl=246 time=22.2 ms 64 bytes from 64.233.183.103: icmp_seq=2 ttl=245 time=25.3 ms 64 bytes from 64.233.183.103: icmp_seq=3 ttl=245 time=22.7 ms _ 64 bytes from 64.233.183.103: icmp_seq=4 ttl=246 time=25.6 ms 64 bytes from 64.233.183.103: icmp_seq=5 ttl=246 time=25.3 ms 64 bytes from 64.233.183.103: icmp_seq=6 ttl=245 time=25.4 ms 除了偵測網路連線是否失敗之外,即使是有連線,仍 可透過以上丟包率、來回時間判斷網路品質,若有異常現 象’在特定判斷原則下,仍可依照電力供應策略來重新啟 動各網路設備,以維持一定品質。 其他偵測網路連線狀態的方式除了上述利用ping多 個IP之外’更可透過偵測廣播封包、DNS查詢、路由查 12 201010337 詢等方式。 在最佳實施例中’電力控制裝置2〇中包括控制電路 31,此電路電性連接上述一或複數個插座3〇5,實際實施 可簡單視為對應每一個插座305與電源間的開關,配合控 制電路31中的電力重置開關電路,能於網路連線狀態異常 時接收到由網路連線偵測電路3 3產生的控制訊號,即以控 制相對之開關電路依序延時或是同時重新啟動連接各插座 之網路設備。201010337 IX. Description of the invention: [Technical field of invention] The application of the method of _ network disconnection to power restart equipment = method is particularly suitable for setting up a network circuit in a power control device 'according to network connection The status controls the power switch of the connected device. , [Prior Art] Using the wired network method - the asymmetric digital subscriber line (SL) as an example, the user uses a data machine called atu_r (such as a stop unit) to connect to the Internet through a telephone line. Gateway, and then connect to the network = crying in the general household network equipment, such as data machines, network fruit in certain circumstances (such as setting up a website, long-term download of negative materials) and to maintain the normal connection, due to Not a commercial computer room, the quality of network connection is not well protected. The first picture shows the connection diagram of each network device in general household. The router 12 and the data machine are connected to a porous power socket 1 to connect the power supply. The router 12 can be a general wireless network sharer. The computer 1〇1,1〇3 obtains the relevant information of the network through the router 12, and obtains the network address (positive address). The computers 101, 1〇3 are connected to the circuit 18 via these network devices. The above general power socket 1 is only an extension of the power source and converts power to the network devices connected to the power socket 10 without any failover mechanism. 6 201010337 Under the above-mentioned erection website and long-term downloading of data, the equipment needs to be turned on for a long time, but because it is not a commercial test θ, under stable conditions, if there is a problem of network disconnection, such as β data. There is a problem with the machine or the network sharer (or router), and the network between the computers is disconnected. Usually, the user needs to dial in/connect the software or restart the power of the device. Heavy (for example), so that the network connection can be restored to the initial state of the device can not eliminate the obstacles themselves, if no one can mistake the current 'can not solve the problem of disconnection.曰 发明 发明 有 有 有 有 有 有 有 有 有 有 有 有 有 有 有 有 有 有 有 有 有 有 有 有 有 有 有 有 有 有 有 有 有 有 有 有 有 有 有 有 有 有 有 有The circuit in the connected state, and recovers the network connection through the power control when the network is detected. The invention is a power-restart device for applying the measured network disconnection condition = method: the user can use the network The road connection is like the power control of the multi-hole socket ^ ^ to control the power supply of each network device, including the timing of the switch machine, and mainly through detecting the state of the network connection, the remote device automatically subscribes to restart, to eliminate Obstacle. The main purpose of the invention is to provide users with the ability to re-route the remote devices to a remotely-connected power control slot. The power supply strategy of the device can be used to maintain the network connection status according to this circuit for 7 201010337 when the network is disconnected. The fresh example includes establishing the network equipment and power first. System, the amount of money, money, money, network, network, network, network, network The logic is normal, the network equipment continues to operate, and the work of the investigation; if the network connection status is abnormal, the state, according to the data, and the delay, restart the network devices in order to maintain the connection [Embodiment] In the network ring using - asymmetric digital subscriber line (adsl), including a data machine called ATU_R, respectively having a telephone line connecting the public circuit PSTN) and a network connecting the internal network router The ship network packet and the signal carried on the telephone line are converted by the modem signal and transmitted through the network gateway server, and the user can access the Internet through one or more lines. In addition, the current Internet service provider ( ISP) also provides services for fiber-optic Internet access, but at the user end, devices similar to the above are used at this stage. There is a mechanism in which the network is not in a network failure. The present invention provides an application. Debt test network disconnection status call Force restart method's, especially in the power control device (such as a power supply adapter, or related power supply equipment, power relay equipment, etc.) set up two network connection group, can be set through, according to the network state Control the power switch. 8 201010337 Please refer to the schematic diagram of the connection between the power control device and the peripheral device using the power restart device method of the present invention shown in the second figure, the main device of the towel is - the power control device 2G' is shown as having A porous socket that can connect a plurality of devices, except for a socket that can connect a plurality of devices, the terminal is connected to a power socket 22 that supplies electric power (such as a commercial power) through a power line, and the network connection hole 21 is disposed at the other end. Through the network route (such as R: M5) through the network, the connection 207 is connected to various network devices, such as the data machine 24 and the router %, thereby connecting. Taoji Network 28. In another embodiment, the network module in the power control device 20 supports the wireless network, so that other network devices can be used. In this connection state, the power control position 2G transfer power supply, through the power, line 203, 205 supply data machine μ and router% of the power, the remote computer 201 can connect to the local side data machine via the Internet 28 μ, or another router can be connected to the near-end computer 2〇2 through the router 26, and the power control is set to 2G via the router%. In other embodiments, the data machine 24 may have the effect of network nniting, and other camphor devices on the local side may or may not pass other routes 11 or hubs not shown in the figure. This architecture connects to the Internet 28. The purpose of the law parent 3 = ί is to use the control circuit installed in the power control device 2G when the network connection fails, and the user has no equipment (not shown in this figure, please line 2〇3,205 Restart the power of each network device. The 7-wire 2 control device 2 has a network connection function, which can be implemented by wired (eight-network connection) and wireless means. Through the above network ^ 9 201010337 The network connection power control is difficult to set 2G; u system near mm power control device 2〇H device 2G provides the setting interface to set the two "μ" transfer power supply strategy for each connection line, can be disconnected (9), The ^(4) wire strategy automatically delays the restart of each network port in order to maintain the network connection status. Control ΐ ΐ Jo's 2 夂 夂 利用 利用 利用 利用 利用 利用 利用 利用 利用 利用 利用 利用 利用 利用 利用 利用 利用 利用 利用 利用 利用In particular, it is a mechanism for initiating m-connected state debt testing for various network devices, and reconnecting one or more network devices when the network fails to maintain the operation of each device. ^Power of the invention power restart device method The device 20: electricity: the first ί 其中 其中 其中 其中 其中 为此 为此 为此 为此 为此 为此 为此 为此 为此 电力 电力 电力 电力 电力 电力 电力 电力 电力 电力 电力 电力 电力 电力 电力 电力 电力 电力 电力 电力 电力 电力 电力 电力 电力 电力 电力 电力 四 四 四 四 四Using a network connection network, including the near-end regional network and connecting to the network through various network devices; and connecting the electrical devices through __ or multiple sockets 3〇5, the main application is through the socket. Milk supply - or a plurality of network settings power control device 2 特别 specially provided with a control circuit 3 丨 and a = road, line detection circuit 33, in the network connection] circuit % of the main two mode The group 331' and the network connection _ 201010337, wherein the network connection detecting circuit 33 is electrically connected to the control circuit 3i, = is used to connect the state of the line, and can control the signal when the connection state is abnormal, and transmit To the control circuit 31. The abnormal state may include the network a line, or the connection is unstable, or the network device is operating abnormally, etc., and the server module in the with-line detection circuit 33 is preferably The embodiment can be like a www website health device, allowing the system to enter through: page! The setting interface of the webpage form is determined by the network connection; or other forms of servers, including the commonly used remote control ship mechanism such as ssh, teinet, or the exclusive setting method, so that the use The command line (command line) is used for setting. The network connection debt measurement circuit 33 detects the state of the network connection through the _module of the network, and the network detection mode can be various, due to power control. Device 2 establishes a network connection to the Internet through the above-mentioned network devices (such as routers, numbers, etc.), so it can be connected to the network between one or a plurality of remote servers by power control = 20 Line to test the network connection status. Apply this remote control power control device 2 to detect the network connection mechanism, including the transmission network control message protocol (ICMp) request seal, 'borrow_server The status of the response packet confirms the connection status. For example, let's say that L uses the Ping program to send ICMP packets to a number of long-time remote servers (such as google, yahoo, flickr c〇m, etc.) according to the setting 'When the packet continues to respond incorrectly, it exceeds the set gate. Tan Tan, it is judged that the network connection is wrong. At this time, the network connection detecting circuit 33 generates a control signal, and the control circuit 31 has a circuit for the power reset switch. 11 201010337 can restart the connected network device in sequence according to the power supply policy. Keep it in working order. The above ping program is a computer network tool. Its operation principle is to send an ICMP echo request packet to the target host, waiting for the ech response packet to be received. 'This program will estimate the lost packet rate according to the time and the number of successful responses. (packet loss Rate, packet loss rate) and packet round-trip time (r〇un (j trip time), can be used to test the network connection with a specific host without a firewall deliberately excluding this ICMp packet. Line status. ❹ The following shows an example of using the ping program to send an ICMP echo request packet to the www.google.com host to estimate the round trip time using the round-trip packet: $ ping www.google.com PING wwwl.google.com (64.233.183.103) 56(84) bytes of data. 64 bytes from 64.233.183.103: icmp_seq=l ttl=246 time=22.2 ms 64 bytes from 64.233.183.103: icmp_seq=2 ttl=245 time=25.3 ms 64 bytes from 64.233.183.103: icmp_seq =3 ttl=245 time=22.7 ms _ 64 bytes from 64.233.183.103: icmp_seq=4 ttl=246 time=25.6 ms 64 bytes from 64.233.183.103: icmp_seq=5 ttl=246 time=25.3 ms 64 bytes from 64.233.183.103 : ic Mp_seq=6 ttl=245 time=25.4 ms In addition to detecting whether the network connection is unsuccessful, even if there is a connection, the network quality can be judged through the above packet loss rate and round trip time. Under the principle of judgment, each network device can still be restarted according to the power supply strategy to maintain a certain quality. Other ways to detect the network connection status are to use the ping multiple IPs to detect the broadcast packet. , DNS query, routing check 12 201010337, etc. In the preferred embodiment, the power control device 2 includes a control circuit 31 electrically connected to the one or more sockets 3〇5, and the actual implementation can be simply viewed. In order to correspond to the switch between each socket 305 and the power source, the power reset switch circuit in the control circuit 31 can receive the control signal generated by the network connection detecting circuit 3 when the network connection state is abnormal. That is, the control switch circuit sequentially delays or simultaneously restarts the network device connected to each socket.

❿ 各網路設備的重新開啟順序,舉例來說,先重新啟動 ^DSL數據機’於一估計開機的時間後,再啟動路由器(或 是IP分享器)’若還有其他集線器時,則再行啟動。若此 電力控制裝置20連制分屬不同網段的設備時,可依照有 網路異常的網段,轉性地重新啟動該網段_路設備。 第四圖顯示本發明利用遠端連線登入電力控制裝置之 主要流程圖。 根據上述電力控制裝置2〇與周邊設備的連線實施 例,電驗電力控難置供應各麟謂電力,I中的網 透,經各網_:線網際 ,、疋㈣服盗。開始步驟如隱,於開啟各設備 之4 ’數據機將自練行連線網路閘道器的 序 ==架構而有不同的程序,一般家庭的數據二 ί 與連線程式完成網際網路連線程 序並此獒供近端各電腦系統連結至網際網路。 13 201010337 ==特別於此電力控制裝置中設置的網路連_測 個伺服器模組,提供使用者由遠端登入(步 =:3)’包括透過網際網路經各網路設備登入此電力控 =置’或是透過處於近端電腦經區域網路登入。經認證 則可利用所提供的設定介面進行設定與操 縱較佳貫施例是透過網頁瀏覽器進行設定。 制内容包括連線偵測設^步驟S405)與電力控 制s又疋(步驟S407)。 ❿ 其中連線債測設定主要是設定判斷網路連線狀態的策 上述藉由發出ICMP要求封包’並根據回應的封包 ^將:Γ連線狀態的方式來說,則需設定在怎樣的條件 :將判斷,娜異常,如在—特定時_未接到任何回應封 +包,則判,路異常;或是連續ping複數個遠端伺服器, 若,^疋數目的伺服器未回應封包,則判斷網路異常; 或疋當丟包率超過一個門檻值時,則判斷網路異常;或前 後回應封包的時間間隔差距在一個門檻值以上,則判斷網 路異常。若達耻述各條件之—或是複數種的組合 時,則會發出控制訊號要求重新啟動各網路設備。 其中電力供應策略則是包括設定各網路設備重新啟動 的順序’通常是先開啟數據機,於一定時間完成連線之後, ,再會再開啟其他網路設備;或是亦能同時開啟,各網路 叹備内有重複執行各連線程式的功能,直到連線為止。 而本發明應用偵測網路斷線狀況來電力重啟設備之方 法之實施例流程圖則顯示於第五圖中。 14 201010337 同樣地’一開始需啟動各電力連接於電力控制裝置的 網路設備,建立—或複數個網路設備與一電力控制^置之 電力連線,更建立一網路連線(步驟S501),此電^控制 裝置則透過各網路設備與網路連線。之後,由電力控制裝 置内的網路連線偵測電路偵測連線到網際網路的網路連線 的狀態,也就是偵測各網路設備是否正常運作(步驟 S503),而偵測的較佳實施例請參考上述第三圖所示之實 施例說明,主要是利用ping程式發出ICMP要求封包至多 個長時間開機的遠端伺服器,根據判斷網路連線狀態的策 略’來判斷網路連線是否正常(步驟S5〇5)。 若是符合各種判斷網路連線狀態的設定,則會判斷連 線異$,網路連線偵測電路將產生一驅動各網路設備重新 啟動的控制訊號,由一控制電路執行重新開機的步驟,此 時執行步驟S507,依據所設定的電力控制策略,依照一個 順序,延時或是同時重新啟動設備,並於重新啟動設備後, 重新建立連線(步驟S501),並繼續偵測網路連線狀態。 若並無上述各種網路連線異常的現象,則表示網路連 • 線正常,則回到步驟S503繼續偵測網路連線。 綜上所述,本發明揭露一種應用偵測網路斷線狀況來 電力重啟设備之方法,透過安裝於相當於一般多孔插座的 電力控制裝置中的網路债測機制與控制電路,於網路斷線 後能夠自動重新啟動各設備,以維持網路連線的狀態。 惟以上所述僅為本發明之較佳可行實施例,非因此即 侷限本發明之專利範圍,故舉凡運用本發明說明書及圖示 内容所為之等效結構變化,均同理包含於本發明之範圍 15 201010337 内,合予陳明。 【圖式簡單說明】 第一圖係為習用技術網路設備連接示意圖; 第二圖係為本發明應用電力重啟設備方法之電力控制裝置 與周邊裝置連線之實施例示意圖; 第三圖係為本發明應用電力重啟設備方法之電力控制裝置 之電路方塊實施例示意圖; Φ 第四圖係為本發明利用遠端連線登入電力控制裝置之實施 例流程圖; 第五圖係為本發明應用偵測網路斷線狀況來電力重啟設備 之方法之實施例流程圖。 【主要元件符號說明】 路由器12 數據機14 網際網路18 電腦 101,103 電力插座10 電力控制裝置20 電源插座22 遠端電腦201 近端電腦202 網際網路28 數據機24 路由器26 電力連線203, 205 網路連線207 網路連接孔21 控制電路31 網路連線偵測電路33 伺服器模組331 偵測模組333 網路連線303 電力連線301 插座305 16重新 Re-opening sequence of each network device, for example, restart the ^DSL modem first, then start the router (or IP sharer) after an estimated boot time. 'If there are other hubs, then The line starts. If the power control device 20 is connected to devices belonging to different network segments, the network segment_road device can be re-started in accordance with the network segment having the network abnormality. The fourth figure shows the main flow chart of the present invention for logging in to the power control device using the remote connection. According to the connection example of the above-mentioned power control device 2〇 and the peripheral device, the electric power control is difficult to supply the power of each lining, and the network in I is traversed by the network _: line network, and 疋 (4). The initial steps are as hidden as the 4' data machine that turns on each device. The self-training network gateways have the same sequence == architecture and different programs. The general household data and the threaded network are completed. The connection program is here for the near-end computer system to connect to the Internet. 13 201010337 == In particular, the network connection server that is set in the power control device provides the user with remote login (step =: 3)' including logging in via the Internet through various network devices. Power control = set or login via a local network via a near-end computer. If it is certified, it can be set and operated using the provided setting interface. The best example is to set it through a web browser. The content includes the connection detection setting step S405) and the power control s (step S407). ❿ The connection debt measurement setting is mainly to set the policy for judging the connection status of the network. By issuing the ICMP request packet, and according to the response packet, the connection status will be set. : will judge, Na is abnormal, if at - specific time _ did not receive any response to seal + package, then judge, the road is abnormal; or ping multiple remote server continuously, if, the number of servers does not respond to the packet , to determine the network abnormality; or when the packet loss rate exceeds a threshold, then the network is abnormal; or the time interval of the response packet is above a threshold, then the network is abnormal. If the conditions are ascertained—or a combination of multiples, a control signal is sent to restart each network device. The power supply strategy includes setting the order in which each network device is restarted. Usually, the data machine is turned on first. After the connection is completed in a certain period of time, other network devices are turned on again; or they can be turned on at the same time. The web sighs repeatedly execute various threaded functions until they are connected. A flowchart of an embodiment of the method of the present invention for detecting a network disconnection condition to electrically restart the device is shown in the fifth figure. 14 201010337 Similarly, the network equipment connected to the power control device should be started at the beginning, and the network connection between a plurality of network devices and a power control device should be established to establish a network connection (step S501). ), this electric control device is connected to the network through various network devices. After that, the network connection detection circuit in the power control device detects the state of the network connection connected to the Internet, that is, detects whether each network device is operating normally (step S503), and detects For a preferred embodiment, please refer to the description of the embodiment shown in the third figure above, mainly by using a ping program to issue an ICMP request packet to a plurality of remote servers that are turned on for a long time, and judge according to the policy of judging the state of the network connection. Whether the network connection is normal (step S5〇5). If it meets various settings for judging the network connection status, it will judge that the connection is different, and the network connection detection circuit will generate a control signal for driving each network device to restart, and the step of restarting by a control circuit is performed. At this time, step S507 is executed, according to the set power control policy, delaying or restarting the device according to an order, and after restarting the device, re-establishing the connection (step S501), and continuing to detect the network connection Line status. If there is no abnormality in the above various network connections, it means that the network connection is normal, then return to step S503 to continue detecting the network connection. In summary, the present invention discloses a method for detecting a network disconnection condition to restart a device by using a network debt measurement mechanism and a control circuit installed in a power control device equivalent to a general porous socket. After the line is disconnected, each device can be automatically restarted to maintain the state of the network connection. However, the above description is only a preferred embodiment of the present invention, and is not intended to limit the scope of the present invention. Therefore, equivalent structural changes that are made by using the specification and the contents of the present invention are equally included in the present invention. Within the scope of 15 201010337, it is given to Chen Ming. BRIEF DESCRIPTION OF THE DRAWINGS The first figure is a schematic diagram of a connection of a conventional technology network device; the second figure is a schematic diagram of an embodiment of a connection between a power control device and a peripheral device using the power restart device method of the present invention; A schematic diagram of a circuit block embodiment of a power control device applying the power restart device method of the present invention; Φ is a flowchart of an embodiment of the present invention for logging in to a power control device by using a remote connection; A flow chart of an embodiment of a method of measuring a network disconnection condition to power a device. [Main component symbol description] Router 12 Data machine 14 Internet 18 Computer 101, 103 Power socket 10 Power control device 20 Power socket 22 Remote computer 201 Near-end computer 202 Internet 28 Data machine 24 Router 26 Power connection 203 , 205 network connection 207 network connection hole 21 control circuit 31 network connection detection circuit 33 server module 331 detection module 333 network connection 303 power connection 301 socket 305 16

Claims (1)

201010337 申請專利範圍: 1. 包括:ί用谓'則網路斷線狀況來電力重啟設備之方法, 建::==設備與-電力控制裝置之電力連 f測該網路設備之網路連線狀態; ❹ 右:路正常,該一或複數個網路設備繼續運 乍並繼續偵测網路連線狀態;以及 若^連線狀態異常,重新啟動各網路設備’再繼續 偵测網路連線狀態。 I 範圍第1項所述之細貞測網路斷線狀況 3. ==重啟設備之方法,其中該_該網路設備之網 =線狀態的步驟係透過偵測與連接網際網路的一或 複數個遠端伺服器的連線來判斷連線狀能。 一 第2項所述之應用飢網路斷線狀況 ’其+係先傳送複數個網路控 制訊心協疋(ICMP)的要求封包至該遠端 用等待接收回應封包來確認連線狀態。 ° 4. =請專鄕㈣丨_述之應賴_ 來電力重啟設備之方法,其中於侦測,線狀Λ 二=該電力控制裝置中的一網路連線偵測電ίίί 驅動各網路設備重新啟動的控制訊號。 5. :::專利範圍第4項所述之應用偵 來電力重啟設備之方法,其中係透過該電力 17 201010337 中的一控制電路接收該控制訊號,以控制相對之開關 電路重新啟動各網路設備。 6. 如申請專利範圍第5項所述之應用偵測網路斷線狀況 來電力重啟設備之方法,其中該重新啟動各網路設備 之步驟係同時重新啟動各網路設備。 7. 如申請專利範圍第5項所述之應用偵測網路斷線狀況 來電力重啟设備之方法,其中該重新啟動各網路設備 之步驟係依照一順序延時重新啟動各網路設備。 參 8.如申^專利範圍第7項所述之應用j貞測網路斷線狀沉 來電力重啟設備之方法,其中該重新啟動的順序係由 一外部電腦系統利用該網路連線至該電力控制裝置進 行設定。201010337 The scope of application for patents: 1. Including: 用 The method of power-restarting the device with the term “network disconnection”, built::==The power of the device and the power control device is measured. Line status; 右 Right: The path is normal, the one or more network devices continue to operate and continue to detect the network connection status; and if the connection status is abnormal, restart each network device 'Continue to detect the network Road connection status. I. The range of network disconnection conditions described in item 1 of the scope 3. == Method of restarting the device, wherein the step of the network state of the network device is through detecting and connecting to the Internet. Or a plurality of remote server connections to determine the connection. The application of the hunger network disconnection condition described in item 2 is to transmit a plurality of network control protocol (ICMP) requests to the remote end to wait for the response packet to confirm the connection status. ° 4. = Please specify (4) 丨 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ The control signal for the restart of the road device. 5. ::: The method of claim 4, wherein the method of detecting power to restart the device, wherein the control signal is received by a control circuit of the power 17 201010337 to control the relative switching circuit to restart the network device. 6. The method of detecting a network disconnection condition to detect a network disconnection condition to power-restart a device, as described in claim 5, wherein the step of restarting each network device simultaneously restarts each network device. 7. The method of claim 5, wherein the step of restarting the network device is to restart the network device according to a sequence of delays. 8. The method of claim 7, wherein the application restarts the device in a disconnected manner, wherein the restarting sequence is performed by an external computer system using the network to connect to the device. The power control device performs setting. 如申請專利範圍第5項所述之應用偵測網路斷線狀況 來電力重啟設備之方法,其中該控制電路更透過立中 之一電力重置開關電路控制相對之開關電路重新啟動 各網路設備。 如申請專利範圍第1項所述之應用偵測網路斷線狀況 來電力重啟設備之方法,其中該網路連線係連線至該 電力控制裝置内的一伺服器模組。 18The method for detecting a network disconnection condition to power the device to restart the device, as described in claim 5, wherein the control circuit further controls the network by using a power reset switch circuit to control the opposite switch circuit. device. The method of detecting a network disconnection condition to detect a network disconnection condition to power-restart a device, wherein the network connection is connected to a server module in the power control device. 18
TW097132679A 2008-08-27 2008-08-27 Apparatus power restart method in response to network connection status TWI395430B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
TW097132679A TWI395430B (en) 2008-08-27 2008-08-27 Apparatus power restart method in response to network connection status
DE102009022826A DE102009022826A1 (en) 2008-08-27 2009-05-27 Network devices e.g. modems, current resetting method, involves resetting network devices when network connection is in extraordinary condition, and again executing detection of network connection

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW097132679A TWI395430B (en) 2008-08-27 2008-08-27 Apparatus power restart method in response to network connection status

Publications (2)

Publication Number Publication Date
TW201010337A true TW201010337A (en) 2010-03-01
TWI395430B TWI395430B (en) 2013-05-01

Family

ID=41606283

Family Applications (1)

Application Number Title Priority Date Filing Date
TW097132679A TWI395430B (en) 2008-08-27 2008-08-27 Apparatus power restart method in response to network connection status

Country Status (2)

Country Link
DE (1) DE102009022826A1 (en)
TW (1) TWI395430B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI451364B (en) * 2012-04-11 2014-09-01
TWI577152B (en) * 2015-06-26 2017-04-01 Etherwan Systems Inc Intelligent network equipment

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102209160B (en) 2010-03-29 2012-07-18 华为终端有限公司 Soft reset method of DSL equipment and soft reset control device thereof
TWI573416B (en) * 2014-03-12 2017-03-01 鴻海精密工業股份有限公司 Method and head-end equipment of getting off state of cpe
DE102016225440B3 (en) 2016-12-19 2018-05-30 Koke GmbH Apparatus and method for detecting a network connection failure

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW200807950A (en) * 2006-07-21 2008-02-01 zhi-yuan Zhang Method and system of restarting networking devices

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI451364B (en) * 2012-04-11 2014-09-01
TWI577152B (en) * 2015-06-26 2017-04-01 Etherwan Systems Inc Intelligent network equipment

Also Published As

Publication number Publication date
DE102009022826A1 (en) 2010-03-04
TWI395430B (en) 2013-05-01

Similar Documents

Publication Publication Date Title
US8212396B2 (en) Apparatus power restart method in response to network connection status
US20090019536A1 (en) Automatic ip network determination and configuration for edge devices
WO2015180292A1 (en) Method and apparatus for detecting user network interface connectivity of virtual private network
JP2008539631A (en) Connection between Power over Ethernet (registered trademark) management device and Ethernet (registered trademark) device
WO2013097485A1 (en) Disk array, storage system, and method for switching data storage paths
JP2014535228A (en) Port setting method, routing device, and computer program product
BRPI0715779A2 (en) Method and device for identifying and selecting an interface for accessing a network
US7545741B1 (en) Technique for identifying a failed network interface card within a team of network interface cards
US20070253344A1 (en) Auto-configuring operation modes for network elements
TW201010337A (en) Apparatus power restart method in response to network connection status
WO2009102919A2 (en) Dhcp initialization responsive to network layer connectivity
CN100399751C (en) Method of detection and maintenance of PPP link
CN103825777A (en) DMZ server switching method and device
WO2011097179A2 (en) Method and apparatus for detecting devices on a local area network
JP5813891B2 (en) Processing method and processing apparatus for automatically setting Internet access mode
JP5079000B2 (en) Communication network connection device
US20140280467A1 (en) Method of managing port dhcp server protocol addresses
KR20150074027A (en) Method and apparatus to display information on a web browser based upon state of communication link
US20120213119A1 (en) Method And System For Configuring A Device That Has Failed To Obtain Network Address
TW201132163A (en) Network interface selection method and network device thereof
CN105933179B (en) The method of multimedia terminal and push online unexpected message
WO2014090194A1 (en) Dialing method of terminal device, and access device
TWM574793U (en) Network device capable of detecting state of external device
TWI376118B (en) The failure recovery method for power over ethernet system
JP2009065404A (en) Communication failure segmentation method, video distribution system having communication failure segmentation function, and receiving terminal