[go: up one dir, main page]

TWI394402B - 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
TWI394402B
TWI394402B TW98130855A TW98130855A TWI394402B TW I394402 B TWI394402 B TW I394402B TW 98130855 A TW98130855 A TW 98130855A TW 98130855 A TW98130855 A TW 98130855A TW I394402 B TWI394402 B TW I394402B
Authority
TW
Taiwan
Prior art keywords
target device
response
monitoring
network
timeout
Prior art date
Application number
TW98130855A
Other languages
Chinese (zh)
Other versions
TW201110617A (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)

Description

網路偵測設備及其主動偵測網路品質的方法 Network detection device and method for actively detecting network quality

本發明涉及網路設備,尤其涉及一種網路偵測設備及其主動偵測網路品質的方法。 The present invention relates to a network device, and more particularly to a network detection device and a method for actively detecting network quality.

近年來,隨著VoIP技術的發展,網際網路上不僅可以傳輸資料資訊,而且還可以藉由即時傳送協定(Real-time Transport Protocol,RTP)來實現在網際網路上傳輸語音資訊。 In recent years, with the development of VoIP technology, the Internet can not only transmit data information, but also transmit voice information over the Internet through Real-time Transport Protocol (RTP).

在VoIP通話中,媒體閘道控制器(Media Gateway Controller,MGC)和媒體閘道(Media Gateway,MG)是兩個關鍵的設備,其中,MGC屬於局端設備,負責呼叫控制功能,MG屬於用戶端設備,負責業務承載功能。在現有技術中,由於VoIP通話的建立需要藉由IP網路連接到MGC,當不同的用戶之間建立VoIP通話之前,需要藉由特定的VoIP通訊協定在兩個不同閘道之間建立起一條通訊鏈路。例如,不同用戶所對應的MG與MGC之間藉由KA(Keep Alive message)信令機制來偵測彼此是否存在,即相互傳送KA信令,當MG在規定時間內沒有接收到KA信令的回復報文,或者MGC在規定時間內沒有接收到KA信令報文時,MG內所有的用戶狀態都將恢復至初始值,這將造成服務中斷。 In a VoIP call, the Media Gateway Controller (MGC) and the Media Gateway (MG) are two key devices. The MGC belongs to the central office device and is responsible for the call control function. The MG belongs to the user. The end device 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, it is necessary to establish a Between two different gateways by a specific VoIP protocol before establishing a VoIP call between different users. Communication link. For example, the MG and the MGC corresponding to different users detect whether each other exists by means of a KA (Keep Alive Message) signaling mechanism, that is, mutually transmit KA signaling, when the MG does not receive the KA signaling within a predetermined time. When the message is replied, or the MGC does not receive the KA signaling message within the specified time, all user status in the MG will be restored to the initial value, which will cause service interruption.

因此,如何提前預知網路環境的狀況,進而快速的進行疑難排除,對於VoIP服務而言是相當重要的。 Therefore, how to predict the status of the network environment in advance, and then quickly troubleshoot, is very important for VoIP services.

有鑒於此,需提供一種網路偵測設備,能提前預知網路環境的狀況,並快速的進行疑難排除,能提高服務品質。 In view of this, it is necessary to provide a network detection device, which can predict the status of the network environment in advance, and quickly perform troubleshooting, thereby improving service quality.

此外,還需提供一種主動偵測網路品質的方法,能提前預知網路環境的狀況,並快速的進行疑難排除,能提高服務品質。 In addition, it is necessary to provide a method for proactively detecting network quality, which can predict the status of the network environment in advance, and quickly perform troubleshooting to improve service quality.

本發明實施方式所提供的網路偵測設備,用於主動偵測網路品質,包括監測設置模組、連續監測模組、監測判斷模組、監測超時模組及監測告警模組。監測設置模組用於設置監測該目標設備的參數,包括該目標設備的IP位址、回應時間、回應超時次數的門限值。連續監測模組用於根據該IP位址向該目標設備發送請求報文,並對該目標設備進行連續監測,其中該目標設備在接收到該請求報文後會回復回應報文。監測判斷模組用於判斷在該回應時間內是否從該目標設備接收到該回應報文。監測超時模組用於在該回應時間內沒有從該目標設備接收到該回應報文時,累加該回應超時的次數,並判斷累加的該回應超時的次數是否超過門限值。監測告警模組用於在累加的該回應超時的次數超過門限值時,發出告警。 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 determining module, a monitoring timeout module, and a monitoring alarm module. The monitoring setting module is configured to set parameters for monitoring the target device, including a threshold value of the target device's IP address, response time, and response timeout number. 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, where 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 alarm module is configured to issue an alarm when the accumulated number of times of response timeout exceeds a threshold.

本發明實施方式所提供的網路偵測設備主動偵測網路品質的方法,用於對目標設備進行連續監測以主動偵測網路品質,包括以下步驟:設置監測該目標設備所需的參數,包括該目標設備的IP位址、回應時間、回應超時次數的門限值;根據該IP位址向該目標設備發送請求報文 ,其中該目標設備在接收到該請求報文後會回復回應報文;判斷在該回應時間內是否從該目標設備接收到該回應報文;若在該回應時間內沒有從該目標設備接收到該回應報文,則認為回應超時,累加該回應超時的次數;判斷該累加後的回應超時次數是否超過該門限值;若該累加後的回應超時次數沒有超過該門限值,則定期向該目標設備繼續發送該請求報文以進行連續監測;及若該累加後的回應超時次數超過了該門限值,則發出告警。 The method for actively detecting network quality by the network detecting device provided by the embodiment of the present invention is used for continuously monitoring the target device to actively detect network quality, including the following steps: setting parameters required for monitoring the target device , including the IP address of the target device, the response time, and the threshold value of the response timeout number; sending a request message to the target device according to the IP address The target device returns a response message after receiving the request message; determining whether the response message is received from the target device during the response time; if the response message is not received from the target device within the response time The response message considers that the response times out, accumulates the number of times the response times out; determines whether the accumulated response timeout times exceed the threshold; if the accumulated response timeout does not exceed the threshold, then The request message is continuously sent to the target device for continuous monitoring; and if the accumulated response timeout exceeds the threshold, an alarm is issued.

藉由以下對具體實施方式詳細的描述結合附圖,將可輕易的瞭解上述內容及此項發明之諸多優點。 The above and many advantages of the invention will be readily apparent from the following detailed description of the preferred embodiments.

請參閱圖1,所示為本發明網路偵測設備10一實施方式中的應用環境和結構圖。在本實施方式中,網路偵測設備10藉由通訊網路20連接到目標設備30,用於VoIP(Voice over Internet Protocol)通話中。在本實施方式中,網路偵測設備10以媒體閘道(Media Gateway,MG)為例,目標設備30以媒體閘道控制器(Media Gateway Controller,MGC)為例。在其他實施方式中,網路偵測設備10還可以是媒體閘道控制器等其他用戶端設備(Customer Premise Equipment,CPE),目標設備30還可以是媒體閘道,或默認閘道(Default Gateway)及路由器等可靠的網路設備。 Please refer to FIG. 1 , which is an application environment and a structural diagram of an embodiment of a network detection device 10 according to the present invention. In this embodiment, the network detecting device 10 is connected to the target device 30 through the communication network 20 for use in a VoIP (Voice over Internet Protocol) call. In the present embodiment, the network detection device 10 is exemplified by a media gateway (MG), and the target device 30 is exemplified by a media gateway controller (MGC). In other embodiments, the network detection device 10 may also be a Customer Premise Equipment (CPE) such as a media gateway controller. The target device 30 may also be a media gateway or a default gateway (Default Gateway). ) and reliable network devices such as routers.

在本實施方式中,網路偵測設備10包括監測設置模組100、連續監測模組102、監測判斷模組104、監測超時模組106及監測告警模組108。 In this embodiment, the network detection device 10 includes a monitoring setting module 100, a continuous monitoring module 102, a monitoring and determining module 104, a monitoring timeout module 106, and a monitoring alarm module 108.

監測設置模組100用於設置監測目標設備30所需的參數。在本實施方式中,監測目標設備30所需的參數包括目標設備30的IP位址、回應時間及回應超時次數的門限值。 The monitoring settings module 100 is used to set parameters required to monitor the target device 30. 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 response timeout number.

在本實施方式中,這些參數均是在MG上進行設置,其中,回應時間用於表示從發出網路控制管理協定(Internet control messages protocol,ICMP)請求報文到接收到回應報文的時間,當用戶端在回應時間內沒有接收到回應報文時就表明該次回應超時,根據網路狀態的不同,亦可以設置不同的回應時間值。回應超時次數的門限值用於表示在監測過程中允許回應超時的最大次數。 In this embodiment, the parameters are all set on the MG, where the response time is used to indicate the time from when the Internet Control Message Protocol (ICMP) request message is sent to when the response message is received. When the UE does not receive the response packet within the response time, it indicates that the response times out. According to the network status, different response time values can also be set. The threshold for responding to the number of timeouts is used to indicate the maximum number of times the response is allowed to be timed out during the monitoring process.

在其他實施方式中,監測設置模組100還可用於向用戶提供是否需要對目標設備進行監測的選擇選項,如果用戶選擇不需要對目標設備進行監測時,該用戶依然可以利用原有的KA信令機制持續監測彼此是否存在。如果用戶選擇對目標設備進行監測時,則可選擇停止原有的KA信令機制,啟動本實施方式中的目標設備監測機制,即在用戶對應的MG上設置目標設備的IP位址、回應時間及回應超時次數的門限值等參數。在本發明其他實施方式中,該KA信令機制與該目標設備監測機制亦可並行運作。 In other embodiments, the monitoring setting module 100 can also be used to provide a selection option for the user to monitor whether the target device needs to be monitored. If the user selects that the target device is not required to be monitored, the user can still utilize the original KA letter. Let the mechanism continuously monitor the existence of each other. If the user selects to monitor the target device, the device may stop the original KA signaling mechanism and start the target device monitoring mechanism in the 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 KA signaling mechanism and the target device monitoring mechanism may also operate in parallel.

請參閱圖2,所示為本發明網路偵測設備一實施方式中的實施環境圖。在圖2中用戶選擇了本實施方式中的目標設備監測機制,即利用MG對MGC進行監測,如圖所示,MG1與MG2是網路偵測設備,屬於用戶端設備用於連接不同的用戶,MGC則是目標設備,屬於局端設備,其藉由IP網路 可以連接多個MG。在MG1與MG2上均可以設置MGC的IP位址、回應時間及回應超時次數的門限值等參數。 Referring to FIG. 2, an implementation environment diagram of an embodiment of a network detecting device according to the present invention is shown. In Figure 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, MG1 and MG2 are network detecting devices, and the user equipment is used to connect different users. , MGC is the target device, belonging to the central office equipment, which is through the IP network. Multiple MGs can be connected. The parameters of the MGC's IP address, response time, and response timeout threshold can be set on both MG1 and MG2.

請再次參閱圖1,連續監測模組102用於向目標設備30發送ICMP請求報文,並對目標設備30進行連續性地監測,其中目標設備30在接收到ICMP請求報文後會回復回應報文。在本實施方式中,例如是利用MG對MGC進行監測時,MG的連續監測模組102向目標設備MGC發送ICMP請求報文,目標設備MGC在接收到該ICMP請求報文後就會向該用戶端設備MG返回回應報文。由於實際的網路中存在延時,所以該MG有可能在預設的回應時間內接收到回應報文,也有可能在預設的回應時間內沒有接收到回應報文。 Referring to FIG. 1 again, the continuous monitoring module 102 is configured to send an ICMP request message to the target device 30, and continuously monitor the target device 30, wherein the target device 30 will respond to the response message after receiving the ICMP request message. Text. In this embodiment, for example, when the MG is used to monitor the MGC, the continuous monitoring module 102 of the MG sends an ICMP request message to the target device MGC, and the target device MGC sends the ICMP request message to the user after receiving the ICMP request message. The end device MG returns a response message. Due to the delay in the actual network, the MG may receive the response packet within the preset response time, and may not receive the response packet within the preset response time.

監測判斷模組104用於判斷在回應時間內是否從目標設備30接收到回應報文。在本實施方式中,例如是利用MG對MGC進行監測時,如果這次在回應時間內從MGC沒有接收到回應報文,則並不能斷定是線路發生故障,有可能是其他原因造成的,為了減少誤判,所以在本實施方式中則是採用連續多次判斷的方式,即累加回應超時的次數,只有當累加的回應超時的次數超過設置的門限值時,才能斷定是線路的故障。 The monitoring judging module 104 is configured to determine whether a response message is received from the target device 30 within the response time. In this embodiment, for example, when the MGC is used to monitor the MGC, if the response message is not received from the MGC within the response time, it cannot be determined that the 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 is used, that is, the number of times of the response timeout is accumulated, and only when the number of times of the accumulated response timeout exceeds the set threshold value, it can be determined that the line is faulty.

監測超時模組106用於在回應時間內沒有從目標設備30接收到回應報文時,累加回應超時的次數,並判斷累加回應超時的次數是否超過門限值。在本實施方式中,監測判斷模組104還用於若在回應時間內從目標設備30接收到回應報文時,則表明此時線路的狀態是暢通的,同時將累加回應超時的次數重置為零,並向目標設備30發送 ICMP請求報文以進行連續監測。 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 30 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: when receiving the response message from the target device 30 within the response time, indicating that the status of the line is unblocked at this time, and the number of times the accumulated response timeout is heavy Set to zero and send to target device 30 ICMP requests messages for continuous monitoring.

監測告警模組108用於在累加回應超時的次數超過門限值時,發出告警,其中,監測判斷模組104還用於在回應超時的次數沒有超過門限值時,定期向目標設備MGC發送請求報文以進行連續監測。在本實施方式中,例如在監測設置模組100上設置回應超時次數的門限值參數為10,當累加回應超時的次數超過10次時,則判斷MG與MGC之間的通訊線路發生了故障,此時MG就會立即藉由其中的監測告警模組108向設備管理系統(Element Management System,EMS)伺服器發出告警,以通知作業員進行疑難排除,詳如圖3所示。 The monitoring alarm module 108 is configured to send an alarm when the number of times the cumulative response timeout exceeds the threshold, wherein the monitoring and determining module 104 is further configured to periodically send the target device to the MGC when the number of response timeouts does not exceed the threshold. Request a message for continuous monitoring. In this embodiment, for example, the threshold value of setting the response timeout number on the monitoring setting module 100 is 10, and when the cumulative response timeout period exceeds 10 times, it is determined that the communication line between the MG and the MGC has occurred. If the fault occurs, the MG will immediately send an alarm to the Equipment Management System (EMS) server through the monitoring alarm module 108 to notify the operator to perform troubleshooting, as shown in Figure 3.

請參閱圖3,所示為本發明網路偵測設備另一實施方式中的實施環境圖。在本實施方式中,MG1為用戶端設備,MGC為局端設備,其中,MG1藉由IP網路可以對目標設備MGC進行偵測,同時MG1亦與EMS伺服器相連,該EMS伺服器可以接收MG1發出的告警信號,作業員可以根據EMS伺服器顯示的告警信號對通訊線路快速的進行疑難排除,從而提高VoIP的服務品質。 Please refer to FIG. 3, which is a diagram showing an implementation environment in another embodiment of the network detecting device of the present invention. In this embodiment, the MG1 is a client device, and the MGC is a central office device, wherein the MG1 can detect the target device MGC through the IP network, and the MG1 is also connected to the EMS server, and the EMS server can receive The alarm signal sent by MG1 allows the operator to quickly troubleshoot the communication line according to the alarm signal displayed by the EMS server, thereby improving the service quality of the VoIP.

請參閱圖4,所示為本發明網路偵測設備主動偵測網路品質的方法流程圖。在本實施方式中,該方法是藉由圖1中的網路偵測設備10的各個模組所完成的,其中,網路偵測設備10以MG設備為例,目標設備30以MGC設備為例。在其他實施方式中,網路偵測設備10還可以是媒體閘道控制器等其他用戶端設備(Customer Premise Equipment,CPE),目標設備30還可以是媒體閘道,或 默認閘道(Default Gateway)及路由器等可靠的網路設備。 Please refer to FIG. 4, which is a flowchart of a method for actively detecting network quality by the network detecting device of the present invention. In this embodiment, the method is implemented by each module of the network detecting device 10 in FIG. 1. The network detecting device 10 takes an MG device as an example, and the target device 30 uses an MGC device as an example. example. In other embodiments, the network detection device 10 may also be a customer gateway device (CPE) such as a media gateway controller, and the target device 30 may also be a media gateway, or Reliable network devices such as the Default Gateway and routers.

在步驟S402中,監測設置模組100設置監測目標設備30所需的參數,包括目標設備30的IP位址、回應時間及回應超時次數的門限值。在本實施方式中,若利用MG對MGC進行監測,則這些參數均是在MG上進行設置,具體包括MGC的IP位址、回應時間及回應超時次數的門限值等。其中,回應時間用於表示從發出ICMP請求報文到接收到回應報文的時間,當MG在回應時間內沒有接收到回應報文時就表明該次回應超時,回應超時次數的門限值用於表示在監測過程中允許回應超時的最大次數。 In step S402, the monitoring setting module 100 sets parameters required for monitoring the target device 30, including the IP address of the target device 30, the response time, and the threshold value of the response timeout number. In this embodiment, if the MGC is used to monitor the MGC, the parameters are all set on the MG, including the IP address of the MGC, the response time, and the threshold of the number of response timeouts. 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, the MG indicates that the response timeout and the response timeout threshold. Used to indicate the maximum number of times a response timeout is allowed during monitoring.

在步驟S404中,連續監測模組102向目標設備30發送ICMP請求報文,對目標設備30進行連續性地監測,其中,目標設備30在接收到ICMP請求報文後會回復回應報文。在本實施方式中,若利用MG對MGC進行監測,則MG的連續監測模組102向MGC發送ICMP請求報文,MGC在接收到該ICMP請求報文後就會向該MG返回回應報文。由於實際的網路中存在延時,所以該MG有可能是在預設的回應時間內接收到回應報文,也有可能在預設的回應內不能接收到回應報文。 In step S404, the continuous monitoring module 102 sends an ICMP request message to the target device 30 to continuously monitor the target device 30, wherein the target device 30 responds to the response message after receiving the ICMP request message. In the present embodiment, if the MG is used to monitor the MGC, the MG continuous monitoring module 102 sends an ICMP request message to the MGC, and the MGC returns a response message to the MG after receiving the ICMP request 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 in the preset response.

在步驟S406中,監測判斷模組104判斷在回應時間內是否從目標設備30接收到回應報文。在本實施方式中,如果這次在回應時間內從目標設備30沒有接收到回應報文,則並不能斷定是線路發生故障,有可能是其他原因造成的,所以在本實施方式中則是採用連續多次判斷的方式 ,即累加回應超時的次數,如步驟S410所示,只有當累加的回應超時的次數超過設置的門限值時,才可能斷定是線路的故障。 In step S406, the monitoring determination module 104 determines whether a response message is received from the target device 30 within the response time. In this embodiment, if the response message is not received from the target device 30 during the response time, it cannot be determined that the line is faulty, which may be caused by other reasons, so in the present embodiment, continuous use is adopted. Multiple judgments That is, the number of times the response timeout is accumulated, as shown in step S410, it is only possible to determine that the line is faulty when the number of times the accumulated response timeout exceeds the set threshold.

在步驟S408中,如果監測判斷模組104判斷在回應時間內從目標設備30接收到回應報文,則表明此時線路的狀態是暢通的,在本實施方式中,則將累加回應超時的次數重置為零,並重新向目標設備30發送ICMP請求報文以進行連續監測。在本實施方式中,藉由這種對目標設備30進行連續性的監測方式,可以實現對通訊線路的即時監控。 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 this embodiment, the continuous monitoring of the target device 30 enables real-time monitoring of the communication line.

在步驟S412中,監測判斷模組104判斷累加的回應超時的次數是否超過門限值。在本實施方式中,若回應超時的次數沒有超過門限值,則返回到步驟S404中,定期向目標設備30繼續發送ICMP請求報文以進行連續監測。在本實施方式中,當發生一次回應超時時,並不能判定是通訊線路的故障,只有連續發生了回應超時且累加的回應超時次數超過了門限值時,才能斷定是線路發生了故障。 In step S412, the monitoring determination module 104 determines whether the number of times the accumulated response timeout exceeds the threshold. In the present embodiment, if the number of times of response timeout does not exceed the threshold, the process returns to step S404, and the ICMP request message is continuously transmitted to the target device 30 periodically for continuous monitoring. In this embodiment, when a response timeout occurs, it is not determined that the communication line is faulty. Only when the response timeout occurs continuously and the accumulated response timeout times exceed the threshold value, it can be determined that the line has failed. .

在步驟S414中,若累加回應超時的次數超過門限值,則監測告警模組108發出告警。在本實施方式中,例如在監測設置模組100上設置回應超時次數的門限值參數為10,當累加回應超時的次數超過10次時,表明MG與MGC之間的通訊線路發生了故障,此時MG就會立即藉由其中的監測告警模組108向EMS伺服器發出告警,以通知作業員進行疑難排除。在本實施方式中,該MG在發出告警之後則會 返回到步驟S404中向該目標設備發送請求報文以對其進行持續監測直到用戶停止對目標設備監測。 In step S414, if the number of accumulated response timeouts exceeds the threshold, the monitoring alarm module 108 issues an alarm. In this embodiment, for example, the threshold value of setting the response timeout number on the monitoring setting module 100 is 10, and when the cumulative response timeout period exceeds 10 times, it indicates that the communication line between the MG and the MGC has failed. At this time, the MG immediately sends an alarm to the EMS server by the monitoring alarm module 108 to notify the operator to perform troubleshooting. In this embodiment, after the MG sends an alarm, Returning to step S404, a request message is sent to the target device to continuously monitor it until the user stops monitoring the target device.

在其他實施方式中,在步驟S402之前還可以向用戶提供是否需要對目標設備進行監測的選擇選項,如果用戶選擇不需要對目標設備進行監測時,該用戶所對應MG依然可以利用原有的KA信令機制相互監測彼此是否存在。如果用戶選擇對目標設備進行監測,則可選擇停止原有的KA信令機制,啟動本實施方式中的目標設備監測機制。在本發明其他實施方式中,該KA信令機制與該目標設備監測機制亦可並行運作,實現對目標設備進行監測。 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 can still utilize the original KA. The signaling mechanisms monitor each other for the presence of each other. If the user selects to monitor the target device, the original KA signaling mechanism may be stopped to start the target device monitoring mechanism in this embodiment. In other embodiments of the present invention, the KA signaling mechanism and the target device monitoring mechanism may also operate in parallel to implement monitoring of the target device.

本發明實施方式所提供的網路偵測設備及其主動偵測網路品質的方法,可以提前預知網路環境的狀況,進而快速的進行疑難排除,提高了VoIP的服務品質。 The network detection device and the method for actively detecting the network quality provided by the embodiments of the present invention can predict the status of the network environment in advance, thereby quickly performing troubleshooting and improving the service quality of the VoIP.

綜上所述,本發明符合發明專利要件,爰依法提出專利申請。惟,以上所述僅為本發明之較佳實施例,舉凡熟悉本案技藝之人士,在爰依本案發明精神所作之等效修飾或變化,皆應包含於以下之申請專利範圍內。 In summary, the present invention complies with the requirements of the invention patent and submits a patent application according to law. The above description is only the preferred embodiment of the present invention, and equivalent modifications or variations made by those skilled in the art will be included in the following claims.

10‧‧‧網路偵測設備 10‧‧‧Network detection equipment

100‧‧‧監測設置模組 100‧‧‧Monitor setting module

102‧‧‧連續監測模組 102‧‧‧Continuous monitoring module

104‧‧‧監測判斷模組 104‧‧‧Monitoring and Judging Module

106‧‧‧監測超時模組 106‧‧‧Monitoring timeout module

108‧‧‧監測告警模組 108‧‧‧Monitoring alarm module

20‧‧‧通訊網路 20‧‧‧Communication network

30‧‧‧目標設備 30‧‧‧Target equipment

圖1為本發明網路偵測設備一實施方式中的應用環境和結構圖。 FIG. 1 is an application environment and a structural diagram of an embodiment of a network detecting device according to the present invention.

圖2為本發明網路偵測設備一實施方式中的實施環境圖。 2 is an implementation environment diagram of an embodiment of a network detecting device according to the present invention.

圖3為本發明網路偵測設備另一實施方式中的實施環境圖。 FIG. 3 is a schematic diagram of an implementation environment in another embodiment of a network detecting device according to the present invention.

圖4為本發明網路偵測設備主動偵測網路品質的方法流程 圖。 4 is a flow chart of a method for actively detecting network quality by a network detecting device according to the present invention Figure.

10‧‧‧網路偵測設備 10‧‧‧Network detection equipment

100‧‧‧監測設置模組 100‧‧‧Monitor setting module

102‧‧‧連續監測模組 102‧‧‧Continuous monitoring module

104‧‧‧監測判斷模組 104‧‧‧Monitoring and Judging Module

106‧‧‧監測超時模組 106‧‧‧Monitoring timeout module

108‧‧‧監測告警模組 108‧‧‧Monitoring alarm module

20‧‧‧通訊網路 20‧‧‧Communication network

30‧‧‧目標設備 30‧‧‧Target equipment

Claims (9)

一種網路偵測設備,藉由網路與目標設備通訊,用於主動偵測該網路品質,其中該網路偵測設備包括:監測設置模組,用於向用戶提供是否需要對目標設備進行監測的選擇選項,其中,如果用戶選擇對目標設備進行監測,則該監測設置模組繼續向用戶提供是否需要停止原監測方式的選擇選項,且該監測設置模組設置監測該目標設備的參數,包括該目標設備的IP位址、回應時間、回應超時次數的門限值;連續監測模組,用於根據該IP位址向該目標設備發送請求報文,並對該目標設備進行連續監測,其中該目標設備在接收到該請求報文後會回復回應報文;監測判斷模組,用於判斷在該回應時間內是否從該目標設備接收到該回應報文;監測超時模組,用於在該回應時間內沒有從該目標設備接收到該回應報文時,累加該回應超時的次數,並判斷累加的該回應超時的次數是否超過門限值;及監測告警模組,用於在累加的該回應超時的次數超過門限值時,發出告警。 A network detecting device for actively detecting the network quality by communicating with a target device, wherein the network detecting device includes: a monitoring setting module, configured to provide a user with a target device a selection option for monitoring, wherein if the user selects to monitor the target device, the monitoring setting module continues to provide the user with a selection option of whether to stop the original monitoring mode, and the monitoring setting module sets parameters for monitoring the target device. And including a threshold value of the IP address, response time, and response timeout number of the target device; and a continuous monitoring module, configured to send a request message to the target device according to the IP address, and continuously monitor the target device 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 during the response time; monitoring the timeout module, When the response message is not received from the target device within the response time, the number of times the response is timed out is accumulated, and the accumulated response is determined. Whether the number of timeouts exceeds the threshold; and the monitoring alarm module is configured to issue an alarm when the accumulated number of times of the response timeout exceeds the threshold. 如申請專利範圍第1項所述之網路偵測設備,其中該網路偵測設備為媒體閘道。 The network detecting device of claim 1, wherein the network detecting device is a media gateway. 如申請專利範圍第1項所述之網路偵測設備,其中該目標設備為媒體閘道控制器。 The network detecting device of claim 1, wherein the target device is a media gateway controller. 如申請專利範圍第1項所述之網路偵測設備,其中該監測判斷模組還用於在該回應時間內從該目標設備接收到回應 報文時,將累加的該回應超時的次數重置為零,並重新向該目標設備發送請求報文以進行連續監測。 The network detecting device of claim 1, wherein the monitoring and determining module is further configured to receive a response from the target device within the response time. When the message is received, the accumulated number of times of the response timeout is reset to zero, and the request message is resent to the target device for continuous monitoring. 如申請專利範圍第1項所述之網路偵測設備,其中該監測判斷模組還用於在累加的該回應超時的次數沒有超過門限值時,定期向該目標設備發送請求報文以進行連續監測。 The network detecting device of claim 1, wherein the monitoring and determining module is further configured to periodically send a request message to the target device when the accumulated number of times of the response timeout does not exceed a threshold value. Continuous monitoring. 一種網路偵測設備主動偵測網路品質的方法,用於對目標設備進行連續監測以主動偵測網路品質,其中該方法包括:提供是否需要對目標設備進行監測的選擇選項,其中,如果用戶選擇對目標設備進行監測,則繼續提供是否需要停止原監測方式的選擇選項,並設置監測該目標設備所需的參數,包括該目標設備的IP位址、回應時間、回應超時次數的門限值;根據該IP位址向該目標設備發送請求報文,其中該目標設備在接收到該請求報文後會回復回應報文;判斷在該回應時間內是否從該目標設備接收到該回應報文;若在該回應時間內沒有從該目標設備接收到該回應報文,則認為回應超時,累加該回應超時的次數;判斷該累加後的回應超時次數是否超過該門限值;若該累加後的回應超時次數沒有超過該門限值,則定期向該目標設備繼續發送該請求報文以進行連續監測;及若該累加後的回應超時次數超過了該門限值,則發出告警。 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: providing a selection option for monitoring whether the target device needs to be monitored, wherein If the user chooses to monitor the target device, continue to provide the option of whether to stop the original monitoring mode, and set parameters required to monitor the target device, including the IP address, response time, and response timeout of the target device. a threshold value, sending a request message to the target device according to the IP address, wherein the target device returns a response message after receiving the request message; determining whether the response 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; and whether the accumulated response timeout period exceeds the threshold value is determined; If the number of response timeouts after the accumulation does not exceed the threshold, the request message is continuously sent to the target device to advance. Continuous monitoring; and if the accumulated response timeout exceeds the threshold, an alarm is issued. 如申請專利範圍第6項所述之主動偵測網路品質的方法,其中該網路偵測設備為媒體閘道。 The method for actively detecting network quality as described in claim 6 wherein the network detecting device is a media gateway. 如申請專利範圍第6項所述之主動偵測網路品質的方法,其中該目標設備為媒體閘道控制器。 A method for actively detecting network quality as described in claim 6 wherein the target device is a media gateway controller. 如申請專利範圍第6項所述之主動偵測網路品質的方法,其中該方法還包括:若在該回應時間內從該目標設備接收到該回應報文,則將該累加的回應超時次數重置為零;及重新向該目標設備發送該請求報文以進行連續監測。 The method for actively detecting network quality according to claim 6 of the patent application, wherein the method further comprises: if the response message is received from the target device within the response time, the accumulated response is timed out The number of times is reset to zero; and the request message is resent to the target device for continuous monitoring.
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 TW201110617A (en) 2011-03-16
TWI394402B true 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)

Families Citing this family (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

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW200412755A (en) * 2003-01-07 2004-07-16 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

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW200412755A (en) * 2003-01-07 2004-07-16 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

Also Published As

Publication number Publication date
TW201110617A (en) 2011-03-16

Similar Documents

Publication Publication Date Title
US9332037B2 (en) Method and apparatus for redundant signaling links
CN101252461B (en) Protection method, device, terminal and system for signaling transmission
WO2016165463A1 (en) Software defined network-based link failure reporting method and forwarding device
CN104301146A (en) Link switching method and device in software defined network
CN101459926B (en) Method, network element equipment and network system for guaranteeing service data transmission
CN104683188A (en) Method for quickly detecting communication of IP channel of household router
CN102111306B (en) Ethernet-based fiber channel virtual link fault detection method, system and device
CN105429814B (en) Method and equipment for protecting BFD (bidirectional forwarding detection) by using multiple board cards
CN101674669B (en) Method, service node equipment and access node equipment for keep-alive processing
WO2012088843A1 (en) Method and system for bidirectional forwarding detection
WO2015149353A1 (en) Oam packet processing method, network device and network system
CN103491555A (en) Method, equipment and system for positioning IP link fault based on service information
CN101237452B (en) Method, system and device for sending bidirectional forwarding detection message
CN101316234A (en) Method, device and system for path state detection
TWI394402B (en) Network detecting device and method of network quality detecting thereof
US8737237B2 (en) Network fault detection method and apparatus
WO2012071851A1 (en) Method and apparatus for adjusting bidirectional forwarding detection transmission interval according to network jitter
WO2007076654A1 (en) A method for detecting the call connection in a ip packet bearer network
CN102098191A (en) Method for monitoring SIP (Session Initiation Protocol) equipment in local area network
WO2012162968A1 (en) Method, apparatus and system for controlling data transmission
CN101453382B (en) Customer surface office direction circuit break detection, resume detection and uploading method, apparatus
WO2012022150A1 (en) Method, system and apparatus for fault alarm
US20070223667A1 (en) Service request apparatus and service request process method
WO2008151539A1 (en) Method, system and device for controlling a double-attributive session border controller
WO2016082343A1 (en) Fault detection method and device

Legal Events

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