TW201110617A - Network detecting device and method of network quality detecting thereof - Google Patents

Network detecting device and method of network quality detecting thereof Download PDF

Info

Publication number
TW201110617A
TW201110617A TW98130855A TW98130855A TW201110617A TW 201110617 A TW201110617 A TW 201110617A TW 98130855 A TW98130855 A TW 98130855A TW 98130855 A TW98130855 A TW 98130855A TW 201110617 A TW201110617 A TW 201110617A
Authority
TW
Taiwan
Prior art keywords
target device
response
network
monitoring
detecting
Prior art date
Application number
TW98130855A
Other languages
Chinese (zh)
Other versions
TWI394402B (en
Inventor
Yao-Wen Chang
Original Assignee
Hon Hai Prec Ind Co Ltd
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 Hon Hai Prec Ind Co Ltd filed Critical Hon Hai Prec Ind Co Ltd
Priority to TW98130855A priority Critical patent/TWI394402B/en
Publication of TW201110617A publication Critical patent/TW201110617A/en
Application granted granted Critical
Publication of TWI394402B publication Critical patent/TWI394402B/en

Links

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

A network detecting device communications with a target device by communication network for detecting quantity of the communication network and includes a detecting setup module, a successive detecting module, a detecting determining module, a timeout detecting module, and a detecting alarm module. The detecting setup module is operable to setup parameter of the target device. The successive detecting module is operable to detect the target device successively. The detecting determining module is operable to determine if response datagram is received within a response time from the target device. The timeout detecting module is operable to add up times of timeout and determines if the times is more than predetermine value when have not received the response datagram within the response time. The detecting alarm module is operable to send alarm when the times is more than predetermine value. A method of network quality detecting is also provided.

Description

201110617 六、發明說明: 【發明所屬之技術領域】 [0001] 本發明涉及網路設備,尤其涉及一種網路偵測設備及其 主動偵測網路品質的方法。 [先前技術] [0002] 近年來,隨著VoIP技術的發展’網際網路上不僅可以傳 輪資料資訊,而且還可以藉由即時傳送協定(1^81- time Transport Protocol,RTP)來實現在網際網路 上傳輸語音資訊。201110617 VI. Description of the Invention: [Technical Field] The present invention relates to a network device, and more particularly to a network detection device and a method for actively detecting network quality. [Prior Art] [0002] In recent years, with the development of VoIP technology, the Internet can not only transmit data information, but also realize the Internet through the Instant Transfer Protocol (RTP). Voice messages are transmitted over the network.

[0003] 在v〇iP通話中’媒體閘道控制.器(Media Gateway Controller,MGC)和媒體閘道(Media Gateway,MG )是兩個關鍵的設備,其中’ MGC屬於局端設備’負責呼 叫控制功能’ 屬於用戶端设·備’負責業務承載功能。 在現有技術中,由於VoIP通話的建立需要藉由IP網路連 接到MGC,當不同的用戶之間建立VoIP通話之前’需要藉 由特定的VoIP通訊協定在兩個不同閘道之間建立起一條 通訊鏈路。例如’不同用戶所對應的狀與^0之間藉由KA (Keep Alive message)信令機制來偵測彼此是否存 在,即相互傳送KA信令’當MG在規定時間内沒有接收到 KA信令的回復報文’或者MGC在規定時間内沒有接收到ka 信令報文時,MG内所有的用戶狀態都將恢復至初始值, 這將造成服務中斷。 [0004] 因此,如何提前預知網路環境的狀況’進而快速的進行 疑難排除,對於VoIP服務而言是相當重要的。 【發明内容】 098130855 表單編號A0101 第4頁/共20頁 °982052954-〇 201110617 [0005] [0006] [0007] Ο ❹ [0008] 有鑒於此,需提供一種網路偵測設備,能提前預知網路 環境的狀況,並快速的進行疑難排除,能提高服務品質 〇 此外,還需提供一種主動偵測網路品質的方法,能提前 預知網路環境的狀況,並快速的進行疑難排除,能提高 服務品質。 本發明實施方式所提供的網路偵測設備,用於主動偵測 網路品質,包括監測設置模組、連續監測模組、監測判 斷模組、監測超時模組及監測告警模組。監測設置模組 用於設置監測該目標設備的參數,包括該目標設備的IP 位址、回應時間、回應超時次數的門限值。連續監測模 組用於根據該IP位址向該目標設備發送請求報文,並對 該目標設備進行連續監測,其中該目標設備在接收到該 請求報文後會回復回應報文。監測判斷模組用於判斷在 該回應時間内是否從該目標設備接收到該Θ應報文。監 測超時模組用於在該回應時間内沒有從該目標設備接收 到該回應報文時,累加該回應超時的次數,並判斷累加 的該回應超時的次數是否超過門限值。監測告警模組用 於在累加的該回應超時的次數超過門限值時,發出告警 〇 本發明實施方式所提供的網路偵測設備主動偵測網路品 質的方法,用於對目標設備進行連續監測以主動偵測網 路品質,包括以下步驟:設置監測該目標設備所需的參 數,包括該目標設備的IP位址、回應時間、回應超時次 數的門限值;根據該IP位址向該目標設備發送請求報文 098130855 表單編號A0101 第5頁/共20頁 0982052954-0 201110617 ,其中该目k戎備在接收到該請求報文後會回復回應報 文;判斷在該回應時間内是否從該目標設備接收到該回 應報文;若在該回應時間内沒有從該目標設備接收到該 回應報文,則3¾為回應超時,累加該回應超時的次數; 判斷該累加後的回應超時次數是否超過該門限值;若該 累加後的回應超時次數沒有超過該門限值,則定期向該 目標設備繼續發送該請求報文以進行連續監測;及若該 累加後的回應超時次數超過了該門限值,則發出告警。 [0009] [⑻ 10] 藉由以下對具體實施方式詳細的摇述結合附圖,將可輕 易的瞭解上述内容及此項發明之諸多優點。 【實施方式】 請參閱圖1,所示為本發明網路偵測設備1 〇 一實施方式中 的應用環境和結構圖。在本實施方式中,_路偵測設備 10藉由通訊網路20連接到目標設備30,用於VoIP ([0003] In the V〇iP call, the Media Gateway Controller (MGC) and the Media Gateway (MG) are two key devices, where 'MGC belongs to the central office device' and is responsible for the call. The control function ' belongs to the user terminal' and is responsible for the service bearer function. In the prior art, since the establishment of a VoIP call needs to be connected to the MGC through an IP network, before a VoIP call is established between different users, it is necessary to establish a link between two different gateways by using a specific VoIP protocol. Communication link. For example, the 'Keep Alive message' signaling mechanism is used to detect whether each other exists, that is, the KA signaling is transmitted to each other' when the MG does not receive the KA signaling within the specified time. The reply message 'or the MGC does not receive the ka signaling message within the specified time, all the user status in the MG will return to the initial value, which will cause the service to be interrupted. [0004] Therefore, how to predict the status of the network environment in advance' and then quickly troubleshoot is very important for VoIP services. SUMMARY OF THE INVENTION 098130855 Form No. A0101 Page 4 / Total 20 pages 982052954-〇201110617 [0005] [0006] [0007] 0008 ❹ [0008] In view of this, it is necessary to provide a network detection device, which can be predicted in advance The state of the network environment, and rapid troubleshooting, can improve the quality of service. In addition, it is also necessary to provide a method to proactively detect network quality, to predict the status of the network environment in advance, and to quickly troubleshoot, can Improve service quality. The network detection device provided by the embodiment of the present invention is configured to actively detect network quality, including a monitoring setting module, a continuous monitoring module, a monitoring and judgment module, a monitoring timeout module, and a monitoring alarm module. The monitoring setting module is used to set parameters for monitoring the target device, including the target device's IP address, response time, and response timeout threshold. The continuous monitoring module is configured to send a request message to the target device according to the IP address, and continuously monitor the target device, wherein the target device responds to the response message after receiving the request message. The monitoring and determining module is configured to determine whether the response message is received from the target device within the response time. The monitoring timeout module is configured to accumulate the number of times the response times out when the response message is not received from the target device within the response time, and determine whether the accumulated number of times of the response timeout exceeds a threshold. The monitoring and alarming module is configured to send an alarm when the number of times of the response timeout exceeds the threshold, and the method for actively detecting the network quality by the network detecting device provided by the embodiment of the present invention is used for performing the target device. Continuous monitoring to actively detect network quality, including the following steps: setting parameters required for monitoring the target device, including the target device's IP address, response time, and response timeout threshold; according to the IP address The target device sends a request message 098130855, form number A0101, page 5 / 20 pages 0982052954-0 201110617, wherein the target device responds to the response message after receiving the request message; determining whether the response time is within the response time Receiving the response message from the target device; if the response message is not received from the target device within the response time, the response times out, accumulating the number of times the response times out; determining the accumulated response Whether the number of timeouts exceeds the threshold; if the accumulated response timeout does not exceed the threshold, the request is continuously sent to the target device periodically. Taking the continuous monitoring; and if the response timeout times the accumulated exceeds the threshold value, an alarm is issued. [0009] [(8) 10] The above and many advantages of the invention will be readily apparent from the following detailed description of the embodiments. [Embodiment] Please refer to FIG. 1, which is an application environment and a structural diagram of a network detecting device 1 according to an embodiment of the present invention. In the present embodiment, the path detecting device 10 is connected to the target device 30 via the communication network 20 for VoIP (

Voice over Internet Protocol)通話中。在本實施 方式中’網路偵測設備1〇以媒體閘道(Media Gateway ,MG)為例,目標設備3〇以辞體閘道控制器(MediaVoice over Internet Protocol) During a call. In the present embodiment, the network detecting device 1 uses a media gateway (MG) as an example, and the target device 3 uses a speech gateway controller (Media).

Gateway Controller,MGC)為例。在其他實施方式中 ,網路偵測設備10還可以是媒體閘道控制器等其他用戶Gateway Controller, MGC) is an example. In other embodiments, the network detection device 10 may also be another user such as a media gateway controller.

Me又備(Customer Premise Equipment,CPE),目 標設備30還可以是媒體閘道,或默認閘道(Default Gateway )及路由器等可靠的網路設備。 在本實施方式中,網路偵測設備包括監測設置模組1〇〇 、連續監測模組102、監測判斷模組1〇4、監測超時模組 106及監測告警模組1〇8。 098130855 表單編號A0101 第6頁/共20頁 0982052954-0 [0011] 201110617 [0012] [0013] Ο [0014] ❹ [0015] 監測設置模組100用於設置監測目標設備3〇所需的泉數 在本實施方式中,監測目標設備30所需的參數包括目梗 設備30的IP位址、回應時間及回應超時次數的門限值。 在本實施方式中,這些參數均是在MG上進行設置,其中 ,回應時間用於表示從發出網路控制管理協定(inter〜 net c〇ntr〇l messages protocol,ICMP)請求報文 到接收到回應報文的時間,當用戶端在回應時間内沒有 接收到回應報文時就表明該次回應超時,根據網路狀態 的不同,亦可以設置不同的回應時間值。回應超時次數 的門限值用於表示在監測過赛中允許回應超時的最大次 數、 在其他實施方式中,監測設置模組1〇〇還可用於向用戶提 供是否需要對目標設備進行監測的選擇選項,如果用戶 選擇不需要對目標設備進行監測時,該用戶依然可以利 用原有的KA信令機制持續監測彼此是否存在。如果用戶 選擇對目標設備進行監測時,則可選擇停止原有的以信 令機制,啟動本實施方式中的目標設備監測機制,即在 用戶對應的MG上設置目標設備的ip位址、回應時間及回 應超時次數的門限值等參數。在本發明其他實施方式中 ’ s玄KA彳s令機制與該目標設備監測機制亦可並行運作。 請參閱圖2,所示為本發明網路偵測設備一實施方式中的 實施環境圖。在圖2中用戶選擇了本實施方式中的目標設 備監測機制’即利用MG對MGC進行監測,如圖所示,mg 1 與MG2是網路偵測設備,屬於用戶端設備用於連接不同的 用戶’ MGC則是目標設備,屬於局端設備,其藉由ip網路 098130855The Customer Premise Equipment (CPE), the target device 30 can also be a media gateway, or a reliable gateway device such as a Default Gateway and a router. In this embodiment, the network detection device includes a monitoring setting module 1 , a continuous monitoring module 102 , a monitoring and determining module 1 4 , a monitoring timeout module 106 , and a monitoring alarm module 1 8 . 098130855 Form No. A0101 Page 6 / Total 20 Page 0982052954-0 [0011] [0013] 监测 [0015] The monitoring setting module 100 is used to set the number of springs required to monitor the target device 3 In the present embodiment, the parameters required to monitor the target device 30 include the IP address of the target device 30, the response time, and the threshold value of the number of response timeouts. In this embodiment, the parameters are all set on the MG, wherein the response time is used to indicate that the message is sent from the outgoing network control protocol (inter-net c〇ntr〇l messages protocol, ICMP) to the received message. When the response time is not received by the UE within the response time, the response timeout is indicated. Different response time values can be set according to the network status. The threshold value of the response timeout number is used to indicate the maximum number of times the response timeout is allowed in the monitoring game. In other embodiments, the monitoring setting module 1 can also be used to provide the user with the need to monitor the target device. Select the option, if the user chooses not to monitor the target device, the user can still use the original KA signaling mechanism to continuously monitor the existence of each other. If the user selects to monitor the target device, you can choose to stop the original signaling mechanism and start the target device monitoring mechanism in the present embodiment, that is, set the ip address and response time of the target device on the MG corresponding to the user. And parameters such as the threshold value of the response timeout number. In other embodiments of the present invention, the mechanism of the target device monitoring mechanism can also operate in parallel. Referring to FIG. 2, an implementation environment diagram of an embodiment of a network detecting device according to the present invention is shown. In FIG. 2, the user selects the target device monitoring mechanism in the present embodiment, that is, the MGC is used to monitor the MGC. As shown in the figure, mg 1 and MG 2 are network detecting devices, and belong to the user terminal device for connecting different interfaces. User 'MGC is the target device, belonging to the central office device, which uses ip network 098130855

表單編號A010I 第7頁/共20頁 0982052954-0 201110617 可以連接多個MG。在MG1與MG2上均可以設置MGC的IP位 址、回應時間及回應超時次數的門限值等參數。 [0016] 明再-人參閱圖1 ’連續監測模組1〇2用於向目標設備別發 送ICMP請求報文,並對目標設備3〇進行速續性地監測, 其中目標設備3G在接收収MP請求報文後會回復回應報 文在本實施方式中,例如是利用MG對MGC進行監測時, MG的連續監測換組1〇2向目標設備MGc發送^⑽請求報文 ’目標設備MGC在接收到該ICMP請求報文後就會向該用戶 端設備__應報文。由於實際_路巾存在延時, 所以該MG有可能在舰_麟_接收到回應報文, 也有可能在預設的回應時間内沒有接收到回應報文。 [⑻ 17] 監測判斷模組1G4用於朗在回應時間内是否從目標設備 30接收到回應報文。在本實施方式中’例如是利用MG對 MGC進行監測時,如果這次在回應時間内從MGC沒有接收 到回應報文,則並不能斷定秦線路發生故障,有可能是 其他原因造成的,為了減少誤判,所以在本實施方式中 則是採用連續多次判斷的方式,即累加回應超時的次數 ’只有當累加的回應超時的次數超過設置的門限值時, 才能斷定是線路的故障。 [0018] 監測超時模組106用於在回應時間内沒有從目標設備3〇接 收到回應報文時,累加回應超時的次數,並判斷累加回 應超時的次數是否超過門限值。在本實施方式中,監測 判斷模組104還用於若在回應時間内從目標設備3〇接收到 回應報文時,則表明此時線路的狀態是暢通的,同時將 累加回應超時的次數重置為零,並向目標設備30發送 098130855 表單編號A0101 第8頁/共20頁 0982052954-0 201110617 [0019] Ο [0020] Ο [0021] 098130855 ICMP請求報文以進行連續監測β 監測告警模組1 〇 8用於在累加回應超時的次數超過門限值 時’發出告警,其中,監測判斷模組104還用於在回應超 時的次數沒有超過門限值時,定期向目標設備MGC發送請 求報文以進行連續監測。在本實施方式中,例如在監測 設置模組100上設置回應超時次數的門限值參數為1〇,當 累加回應超時的次數超過10次時,則判斷MG與MGC之間的 通訊線路發生了故障,此時MG就會立即藉由其中的監測 告警模組108向設備管理系統( Element Management System,EMS)伺儀器發岀告警,以通知作業員進行疑 難排除,詳如圖3所示。 請參閱圖3,所示為本發明網路偵測設備另一實施方式中 的實施環境圖。在本實施方式中,MG1為用戶端設備, MGC為局端設備’其中,MG1藉由IP網路可以對目標設備 MGC進行偵測,同時MG1亦與EMS伺服器相連,該EMS伺服 ' _ !:: 器可以接收MG1發出的告警信號,,作業員可以根據EMS伺 服器顯示的告警信號對通訊線路快速的進行疑難排除, 從而提高Vo IP的服務品質,。 請參閱圖4,所示為本發明網路偵測設備主動偵測網路品 質的方法流程圖。在本實施方式中,該方法是藉由圖1中 的網路偵測設備10的各個模組所完成的,其中,網路偵 測設備10以MG設備為例’目標設備3〇以MGC設備為例。 在其他實施方式中’網路偵測設備10還可以是媒體閘道 控制器等其他用戶端°又備(Customer Premise Equip- ment’CPE) ’目標設傷3〇還可以是媒體閘道,或默認 表單編號A0101 第9頁/共20頁 0982052954-0 201110617 閘道(Default Gateway)及路由器等可靠的網路設備 〇 [0022] 在步驟S402中,監測設置模組1〇〇設置監測目標設備3〇 所需的參數,包括目標設備3〇的IP位址、回應時間及回 應超時次數的門限值。在本實施方式中,若利用MGaMGC 進行監測,則這些參數均是在MG上進行設置,具體包括 MGC的IP位址、回應時間及回應超時次數的門限值等。其 中’回應時間用於表示從發出ICMP請求報文到接收到回 應報文的時間,當MG在回應時間内沒有接收到回應報文 時就表明該次回應超時,回應超時次數的門限值用於表 不在監測過程中允許回應超時的最大次數。 [0023] 在步驟S404中,連續監測模組1〇2向目標設備3〇發送 ICMP請求報文,對目標設備3〇進行連續性地監測,其中 ’目標設備30在接收到ICMP請求報文後會回復回應報文 。在本實施方式中’若利用MG對i^GC準行監測,則MG的連 續監測模組102向MGC發送ICMP請求報文,MGC在接收到 該ICMP請求報文後就會向該MG返回回應報文。由於實際 的網路中存在延時,所以該MG有可能是在預設的回應時 間内接收到回應報文,也有可能在預設的回應内不能接 收到回應報文。 [0024] 在步驟S406中,監測判斷模組丨〇4判斷在回應時間内是否 從目標設備30接收到回應報文。在本實施方式中,如果 這次在回應時間内從目標設備3〇沒有接收到回應報文’ 則並不能斷定是線路發生故障,有可能是其他原因造成 的’所以在本實施方式中則是採用連續多次判斷的万式 098130855 表單編號A0101 第1〇頁/共20頁 〇982〇 201110617 [0025] Ο [0026] 〇 [0027] 098130855 0982052954-0 ,即累加回應超時的次數,如步驟S410所不’只有當累 加的回應超時的次數超過設置的門限值時’才可能斷定 是線路的故障。 在步驟S408中,如果監測判斷模組104判斷在回應時間内 從目標設備30接收到回應報文,則表明此時線路的狀態 是暢通的,在本實施方式中,則將累加回應超時的次數 重置為零,並重新向目標設備30發送ICMP請求報文以進 行連續監測。在本實施方式中,藉由這種對目標設備30 進行連續性的監測方式,可以實現對通訊線路的即時監 控。 在步驟S412中,監測判斷模組1〇4判斷累加的回應超時的 次數是否超過門限值。在本實施方式中.,若回應超時的 次數沒有超過門限值’則返回到步驟湖4中,定期向目 標設備議祕MP請求“Μ躲續監測。在本 實施方式巾,當發生-相應㈣時,並不能判定是通 訊線路的故障,只有連續發生了回應超時且累加的回應 超時次數超過了門限值時,才能斷定是線路發生了故障 在步驟S414巾’若累加回騎時的讀超關限值,則 監測告警模組⑽發出告警。在本實施方式中,例如在監 測設置模組UH)上設置回應超時次數的門限值參數為1〇, 當累加回應«的次數超過1G切,表鴨與之間的 通訊線路發生了故障,此時MG就會立即藉由其中的監測 告警模組108向舰告警,料知作業員進行 疑難減。在本實齡式中,她在發出告警之後則會 表單編號A0101 第11頁/共20頁 201110617 返回到步驟S404中向該目標設備發送請求報文以對其進 行持續監測直到用戶停止對目標設備監測。 [0028] 在其他實施方式中,在步驟S402之前還可以向用戶提供 是否需要對目標設備進行監測的選擇選項,如果用戶選 擇不需要對目標設備進行監測時,該用戶所對應MG依然 可以利用原有的ΚΑ信令機制相互監測彼此是否存在。如 果用戶選擇對目標設備進行監測,則可選擇停止原有的 ΚΑ信令機制,啟動本實施方式中的目標設備監測機制。 在本發明其他實施方式中,該ΚΑ信令機制與該目標設備 監測機制亦可並行運作,實現對目標設備進行監測。 [0029] 本發明實施方式所提供的網路偵測設備及其主動偵測網 路品質的方法,可以提前預知網路環境的狀況,進而快 速的進行疑難排除,提高了 Vo IP的服務品質。 [0030] 綜上所述,本發明符合發明專利要件,爰依法提出專利 申請。惟,以上所述僅為本發明之較佳實施例,舉凡熟 悉本案技藝之人士,在爰依本案發明精神所作之等效修 飾或變化,皆應包含於以下之申請專利範圍内。 【圖式簡單說明】 [0031] 圖1為本發明網路偵測設備一實施方式中的應用環境和結 構圖。 [0032] 圖2為本發明網路偵測設備一實施方式中的實施環境圖。 [0033] 圖3為本發明網路偵測設備另一實施方式中的實施環境圖 〇 [0034] 圖4為本發明網路偵測設備主動偵測網路品質的方法流程 098130855 表單編號A0101 第12頁/共20頁 201110617 圖。 【主要元件符號說明】 [0035] 網路偵測設備10 [0036] 監測設置模組1 0 0 [0037] 連續監測模組1 0 2 [0038] 監測判斷模組104監測超時模組106監測告警模組108 通訊網路20目標設備30 ❹ ❹ 098130855 表單編號A0101 第13頁/共20頁 0982052954-0Form No. A010I Page 7 of 20 0982052954-0 201110617 Multiple MGs can be connected. Parameters such as the IP address of the MGC, the response time, and the threshold of the number of response timeouts can be set on both MG1 and MG2. [0016] Ming Re-person refers to FIG. 1 'Continuous monitoring module 1 〇 2 is used to send an ICMP request message to the target device, and the target device 3 速 is continuously monitored, wherein the target device 3G is receiving After the MP requests the message, the response message is returned. In the present embodiment, for example, when the MG is used to monitor the MGC, the MG continuously monitors the group 1 to send the request message to the target device MGc. After receiving the ICMP request message, it will send a message to the user equipment __. Due to the delay of the actual _ road towel, the MG may receive a response message in the ship_lin_, and may not receive the response message within the preset response time. [(8) 17] The monitoring judgment module 1G4 is configured to receive a response message from the target device 30 within the response time. In the present embodiment, for example, when the MGC is monitored by the MG, if the response message is not received from the MGC within the response time, it cannot be determined that the Qin line is faulty, which may be caused by other reasons, in order to reduce In the present embodiment, the method of continuously determining multiple times, that is, the number of times of accumulating response timeouts is determined to be a fault of the line only when the number of times of the accumulated response timeout exceeds the set threshold. [0018] The monitoring timeout module 106 is configured to accumulate the number of response timeouts when the response message is not received from the target device 3 within the response time, and determine whether the number of times the cumulative response timeout exceeds the threshold. In this embodiment, the monitoring and determining module 104 is further configured to: if the response message is received from the target device 3〇 within the response time, it indicates that the status of the line is unblocked at this time, and the cumulative response timeout period is Reset to zero and send 098130855 to the target device 30 Form No. A0101 Page 8 / Total 20 pages 0892052954-0 201110617 [0019] 002 [0021] 098130855 ICMP request message for continuous monitoring β monitoring alarm mode The group 1 〇 8 is configured to send an alarm when the number of times the cumulative response timeout exceeds the threshold, wherein the monitoring determination module 104 is further configured to periodically send a request to the target device MGC when the number of response timeouts does not exceed the threshold. The message is for continuous monitoring. In this embodiment, for example, the threshold value of setting the response timeout number on the monitoring setting module 100 is 1〇, and when the number of accumulated response timeouts exceeds 10 times, it is determined that the communication line between the MG and the MGC occurs. When the fault occurs, the MG immediately sends an alarm to the device management system (EMS) via the monitoring alarm module 108 to notify the operator to perform troubleshooting, as shown in FIG. 3. Referring to FIG. 3, an implementation environment diagram of another embodiment of the network detecting device of the present invention is shown. In this embodiment, MG1 is a client device, and MGC is a central office device. MG1 can detect the target device MGC through an IP network, and MG1 is also connected to the EMS server, and the EMS servo ' _ ! The :: device can receive the alarm signal sent by the MG1, and the operator can quickly troubleshoot the communication line according to the alarm signal displayed by the EMS server, thereby improving the service quality of the Vo IP. Referring to FIG. 4, a flow chart of a method for actively detecting network quality by the network detecting device of the present invention is shown. In this embodiment, the method is implemented by each module of the network detecting device 10 in FIG. 1 , wherein the network detecting device 10 takes an MG device as an example, 'the target device 3 is an MGC device. For example. In other embodiments, the network detection device 10 may also be a media gateway controller, etc. (Customer Premise Equipment Provider'CPE) 'target damage 3 〇 can also be a media gateway, or Default Form No. A0101 Page 9/Total 20 Page 0982052954-0 201110617 Reliable Network Device such as Default Gateway and Router [0022] In step S402, the monitoring setting module 1 sets the monitoring target device 3 〇Required parameters, including the IP address of the target device, the response time, and the threshold of the response timeout. In the present embodiment, if monitoring is performed by the MGaMGC, these parameters are all set on the MG, and specifically include the IP address of the MGC, the response time, and the threshold value of the response timeout number. The response time is used to indicate the time from the issuance of the ICMP request message to the receipt of the response message. When the MG does not receive the response message within the response time, it indicates that the response timeout and the response timeout threshold. The maximum number of times the table is allowed to time out during the monitoring process. [0023] In step S404, the continuous monitoring module 1〇2 sends an ICMP request message to the target device 3〇 to continuously monitor the target device 3〇, where the target device 30 receives the ICMP request message. Will respond to the response message. In the present embodiment, the MG continuous monitoring module 102 sends an ICMP request message to the MGC, and the MGC returns a response to the MG after receiving the ICMP request message. Message. Due to the delay in the actual network, the MG may receive the response message within the preset response time, and may not receive the response message within the preset response. [0024] In step S406, the monitoring determination module 丨〇4 determines whether a response message is received from the target device 30 within the response time. In the present embodiment, if the response message is not received from the target device 3 during the response time, it is not determined that the line is faulty, which may be caused by other reasons, so in the present embodiment, it is adopted. 0000130855 Form No. A0101 Page 1 of 20 〇982〇201110617 [0025] 0026 [0026] 〇 [0027] 098130855 0982052954-0, that is, the number of times the response timeout is accumulated, as in step S410 No, it is only possible to conclude that the line is faulty if the number of times the accumulated response times out exceeds the set threshold. In step S408, if the monitoring and determining module 104 determines that the response message is received from the target device 30 within the response time, it indicates that the state of the line is unblocked at this time. In this embodiment, the accumulated response timeout is The number of times is reset to zero and the ICMP request message is resent to the target device 30 for continuous monitoring. In the present embodiment, by continuously monitoring the target device 30, real-time monitoring of the communication line can be realized. In step S412, the monitoring determination module 1〇4 determines whether the number of times the accumulated response timeout exceeds the threshold value. In the present embodiment, if the number of times of response timeout does not exceed the threshold value, then return to the step lake 4, and periodically request the MP device to the target device to "hide the monitoring. In this embodiment, when the occurrence occurs - corresponding (4) When it is not determined that the communication line is faulty, only when the response timeout occurs continuously and the accumulated response timeout number exceeds the threshold value, it can be concluded that the line has failed. In step S414, if the cumulative time is back, When the super-limit value is read, the monitoring alarm module (10) issues an alarm. In this embodiment, for example, the threshold value of the response timeout number is set to 1〇 on the monitoring setting module UH), and the cumulative response « exceeds the number of times 1G cut, the communication line between the duck and the duck has failed. At this time, the MG will immediately alert the ship by the monitoring alarm module 108, and it is expected that the operator will make a difficult reduction. In this ageing style, she After the alarm is issued, the form number A0101 page 11/20 pages 201110617 returns to step S404 to send a request message to the target device for continuous monitoring until the user stops monitoring the target device. [0028] In other embodiments, before the step S402, the user may also be provided with a selection option of whether the target device needs to be monitored. If the user selects that the target device does not need to be monitored, the MG corresponding to the user may still be The existing ΚΑ signaling mechanism is used to monitor each other for existence. If the user selects to monitor the target device, the original ΚΑ signaling mechanism may be stopped to start the target device monitoring mechanism in the present embodiment. In an embodiment, the ΚΑ signaling mechanism and the target device monitoring mechanism may also operate in parallel to implement monitoring of the target device. [0029] The network detection device provided by the embodiment of the present invention and the active detection network quality thereof The method can predict the status of the network environment in advance, and then quickly carry out troubleshooting, and improve the service quality of the Vo IP. [0030] In summary, the present invention complies with the invention patent requirements, and patents are filed according to law. The above description is only a preferred embodiment of the present invention, and those who are familiar with the skill of the present invention are refusing The equivalent modifications or variations of the spirit of the invention should be included in the following patent application. [FIG. 1] FIG. 1 is an application environment and structure in an embodiment of a network detection device according to the present invention. 2 is an implementation environment diagram of an embodiment of a network detection device according to the present invention. [0033] FIG. 3 is an implementation environment diagram of another embodiment of a network detection device according to the present invention [0034] 4 is a flow chart of a method for actively detecting network quality by a network detecting device according to the present invention. 098130855 Form No. A0101 Page 12 of 20 201110617 Fig. [Description of main component symbols] [0035] Network detecting device 10 [0036] Monitoring Setting Module 1 0 0 [0037] Continuous Monitoring Module 1 0 2 [0038] Monitoring Judging Module 104 Monitoring Timeout Module 106 Monitoring Alarm Module 108 Communication Network 20 Target Device 30 ❹ 098 098130855 Form No. A0101 13 pages / total 20 pages 0982052954-0

Claims (1)

201110617 七、申請專利範圍: 1 · 一種網路偵測設備,藉由網路與目標設備通訊,用於主動 偵測該網路品質,其中該網路偵測設備包括: 監測設置模組,用於設置監測該目標設備的參數,包括該 目私6又備的Ip位址、回應時間、回應超時次數的門限值; 連續監測模組,用於根據該ip位址向該目標設備發送請求 報文,並對該目標設備進行連續監測,其中該目標設備在 接收到該請求報文後會回復回應報文; 監測判斷模組,用於判斷在該回應時間内是否從該目標設 備接收到該回應報文; 監測超時模組’用於在該回應時間内沒有從該目標設備接 收到該回應報文時,累加該回應超時的次數,並判斷累加 的該回應超時的次數是否超過門限值;及 監測告警模組,用於在累加的該回應超時的次數超過門限 值時,發出告警。 2 .如申請專利範圍第!項所述之網路使測設備,其中該網路 偵測設備為媒體閘道》 3 .如申請專利範圍第1項所述之網路摘測設備,其中該目標 設備為媒體閘道控制器。 4 .如申請專利II圍第1項所述之網路偵測設備,其中該監測 判斷模組還用於在該回應時間内從該目標設備接收到回應 報文時’將累加的該回應超時的次數重置為零,並重新向 該目標設備發送請求報文以進行連續監測。 5 .如申請專利範圍第丨項所述之網路偵測設備,其中該監測 098130855 表單編號A0101 第14頁/共20頁 0982052954-0 201110617 判斷模組還用於在累加的該回應超時的次數沒有超過門限 值時,定期向該目標設備發送請求報文以進行連續監測。 6 . —種網路偵測設備主動偵測網路品質的方法,用於對目標 設備進行連續監測以主動偵測網路品質,其中該方法包括 設置監測該目標設備所需的參數,包括該目標設備的IP位 址、回應時間、回應超時次數的門限值; 根據該IP位址向該目標設備發送請求報文,其中該目標設 備在接收到該請求報文後會回復回應報文; 〇 判斷在該回應時間内是否從該目標設備接收到該回應報文 9 若在該回應時間内沒有從該目標設備接收到該回應報文, 則認為回應超時,累加該回應超時的次數; 判斷該累加後的回應超時次數是否超過該門限值; 若該累加後的回應超時次數沒有超過該門限值,則定期向 該目標設備繼續發送該請求報文以進行連續監測;及 若該累加後的回應超時次數超過了該門限值,則發出告警 Ο 0 7 .如申請專利範圍第6項所述之主動偵測網路品質的方法, 其中該網路偵測設備為媒體閘道。 8 .如申請專利範圍第6項所述之主動偵測網路品質的方法, 其中該目標設備為媒體閘道控制器。 9 .如申請專利範圍第6項所述之主動偵測網路品質的方法, 其中該方法還包括: 若在該回應時間内從該目標設備接收到該回應報文,則將 該累加的回應超時次數重置為零;及 098130855 表單編號A0101 第15頁/共20頁 0982052954-0 201110617 重新向該目標設備發送該請求報文以進行連續監測。 098130855 表單編號A0101 第16頁/共20頁 0982052954-0201110617 VII. Patent application scope: 1 · A network detection device for actively detecting the quality of the network by communicating with the target device through the network, wherein the network detection device comprises: a monitoring setting module, Setting a parameter for monitoring the target device, including a threshold value of the Ip address, the response time, and the response timeout number of the target device; and a continuous monitoring module, configured to send a request to the target device according to the ip address a message, and continuously monitoring the target device, wherein the target device responds to the response message after receiving the request message; and the monitoring and determining module is configured to determine whether the target device is received during the response time. The response message; the monitoring timeout module is configured to accumulate the number of times the response times out when the response message is not received from the target device within the response time, and determine whether the accumulated number of times of the response timeout is The threshold is exceeded; and the monitoring alarm module is configured to issue an alarm when the accumulated number of times of the response timeout exceeds the threshold. 2. If you apply for a patent scope! The network detecting device, wherein the network detecting device is a media gateway. The network detecting device according to claim 1, wherein the target device is a media gateway controller. . 4. The network detecting device according to claim 1, wherein the monitoring and determining module is further configured to: when the response message is received from the target device within the response time, the response to be accumulated is super The number of times is reset to zero and a request message is sent back to the target device for continuous monitoring. 5. The network detection device according to the scope of the patent application, wherein the monitoring 098130855 form number A0101 page 14 / total 20 page 0982052954-0 201110617 the judgment module is also used to accumulate the response timeout When the number of times does not exceed the threshold, the request message is periodically sent to the target device for continuous monitoring. 6. A method for actively detecting network quality by a network detecting device for continuously monitoring a target device to actively detect network quality, wherein the method includes setting parameters required for monitoring the target device, including the The IP address of the target device, the response time, and the threshold of the response timeout period; sending a request message to the target device according to the IP address, wherein the target device responds to the response message after receiving the request message; 〇 determining whether the response message is received from the target device within the response time. If the response message is not received from the target device within the response time, the response is considered to be timed out, and the number of times the response is timed out is accumulated. Determining whether the accumulated response timeout period exceeds the threshold; if the accumulated response timeout number does not exceed the threshold, periodically continuing to send the request message to the target device for continuous monitoring; If the accumulated response timeout exceeds the threshold, an alarm Ο 0 7 is issued. The active detection network product as described in claim 6 The quality method, wherein the network detecting device is a media gateway. 8. The method of proactively detecting network quality as described in claim 6 wherein the target device is a media gateway controller. 9. The method for proactively detecting network quality according to claim 6, wherein the method further comprises: if the response message is received from the target device within the response time, the accumulated response is The number of timeouts is reset to zero; and 098130855 Form No. A0101 Page 15 of 20 0982052954-0 201110617 The request message is resent to the target device for continuous monitoring. 098130855 Form No. A0101 Page 16 of 20 0982052954-0
TW98130855A 2009-09-11 2009-09-11 Network detecting device and method of network quality detecting thereof TWI394402B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW98130855A TWI394402B (en) 2009-09-11 2009-09-11 Network detecting device and method of network quality detecting thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW98130855A TWI394402B (en) 2009-09-11 2009-09-11 Network detecting device and method of network quality detecting thereof

Publications (2)

Publication Number Publication Date
TW201110617A true TW201110617A (en) 2011-03-16
TWI394402B TWI394402B (en) 2013-04-21

Family

ID=44836328

Family Applications (1)

Application Number Title Priority Date Filing Date
TW98130855A TWI394402B (en) 2009-09-11 2009-09-11 Network detecting device and method of network quality detecting thereof

Country Status (1)

Country Link
TW (1) TWI394402B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103428037A (en) * 2012-05-16 2013-12-04 华为技术有限公司 User online detecting method, device and system
TWI649989B (en) * 2017-12-14 2019-02-01 中華電信股份有限公司 System and method of available bandwidth estimation
TWI736180B (en) * 2020-03-18 2021-08-11 中華電信股份有限公司 System and method for stabilizing network video delivery delay

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW595161B (en) * 2003-01-07 2004-06-21 Univ Nat Central Network fault diagnostics system employing multi-home interfaces and multi-layer technique and method thereof
CN101355464A (en) * 2008-08-26 2009-01-28 广州鼎坚资讯科技有限公司 Electric control method and apparatus for monitoring network wire break and automatically restarting network equipment

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103428037A (en) * 2012-05-16 2013-12-04 华为技术有限公司 User online detecting method, device and system
TWI649989B (en) * 2017-12-14 2019-02-01 中華電信股份有限公司 System and method of available bandwidth estimation
TWI736180B (en) * 2020-03-18 2021-08-11 中華電信股份有限公司 System and method for stabilizing network video delivery delay

Also Published As

Publication number Publication date
TWI394402B (en) 2013-04-21

Similar Documents

Publication Publication Date Title
US8605682B2 (en) Systems and methods for handoff of a mobile telephone call in a VOIP environment
US8908558B2 (en) Method and apparatus for detecting a network impairment using call detail records
WO2007121206A2 (en) Method and system for alert throttling in media quality monitoring
US11323346B1 (en) Monitor device for use with endpoint devices
CN102064981A (en) Bidirectional forwarding detection (BFD) method and system
US20060233107A1 (en) Method and apparatus for monitoring surges in busy and no answer conditions in a communication network
US9276858B2 (en) Method and apparatus for mitigating an overload in a network
CN104683188A (en) Method for quickly detecting communication of IP channel of household router
US8797883B2 (en) Method and apparatus for detecting and reporting timeout events
JP2006501717A (en) Telecom network element monitoring
CN101841424B (en) EMS network management system and method based on SOCKS proxy connection
KR101620809B1 (en) A method for sip proxy failover
CN105790903A (en) Terminal and terminal call soft handover method
TW201110617A (en) Network detecting device and method of network quality detecting thereof
JP2001053794A (en) Real time backup communication method for ip communication
EP2481187A1 (en) Network fault detection method and apparatus
US10063495B2 (en) Method and apparatus for improved handling of IMS node blacklisting
WO2015158058A1 (en) Method and system for implementing call saving and recovery
CN101465767B (en) Alarm detection method and device for medium gateway network interface
WO2012097610A1 (en) Method for automatically searching links with multi-uplink-mode and home gateway thereof
Cheng et al. Efficient failover and load balancing for dependable SIP proxy servers
CN102098191A (en) Method for monitoring SIP (Session Initiation Protocol) equipment in local area network
US8670323B1 (en) Method and apparatus for monitoring of access network status in communication networks
CN102075391A (en) Method for monitoring SIP equipment in wide area network
US8837695B1 (en) Method and apparatus for monitoring shifts in call patterns

Legal Events

Date Code Title Description
MM4A Annulment or lapse of patent due to non-payment of fees