TWI426745B - Default gateway, terminal device, and method for exchanging voip signaling - Google Patents

Default gateway, terminal device, and method for exchanging voip signaling Download PDF

Info

Publication number
TWI426745B
TWI426745B TW100104621A TW100104621A TWI426745B TW I426745 B TWI426745 B TW I426745B TW 100104621 A TW100104621 A TW 100104621A TW 100104621 A TW100104621 A TW 100104621A TW I426745 B TWI426745 B TW I426745B
Authority
TW
Taiwan
Prior art keywords
called
domain name
network protocol
terminal device
gateway
Prior art date
Application number
TW100104621A
Other languages
Chinese (zh)
Other versions
TW201234813A (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 TW100104621A priority Critical patent/TWI426745B/en
Publication of TW201234813A publication Critical patent/TW201234813A/en
Application granted granted Critical
Publication of TWI426745B publication Critical patent/TWI426745B/en

Links

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)
  • Telephonic Communication Services (AREA)

Description

預設閘道器、終端設備及網路協定語音信令交換方法 Preset gateway, terminal equipment and network protocol voice signaling exchange method

本發明涉及網路協定語音(Voice over Internet Protocol,VoIP)領域,尤其涉及一種預設閘道器、終端設備及網路協定語音信令交換方法。 The present invention relates to the field of Voice over Internet Protocol (VoIP), and in particular, to a preset gateway, a terminal device, and a network protocol voice signaling exchange method.

一般網路協定語音(Voice over Internet Protocol,VoIP)系統都需要借助媒體閘道控制器(Media Gateway Controller,MGC)來交換網路協定語音信令,只有網路協定語音信令交換完成後,才能進行網路協定語音通話。而且,一個網路協定語音系統通常需要多組媒體閘道控制器相互備援。 Generally, the Voice over Internet Protocol (VoIP) system needs to use the Media Gateway Controller (MGC) to exchange network protocol voice signaling. Only after the network protocol voice signaling exchange is completed can the voice over Internet Protocol (VoIP) system be exchanged. Make a network protocol voice call. Moreover, a network protocol voice system typically requires multiple sets of media gateway controllers to back up each other.

然而,媒體閘道控制器成本相當昂貴,架設成本非常高,急需要一種低成本的網路協定語音信令交換方法。 However, media gateway controllers are quite expensive and costly to set up, and there is an urgent need for a low-cost network protocol voice signaling exchange method.

鑒於以上內容,有必要提供一種預設閘道器,不需要借助媒體閘道控制器即可交換網路協定語音信令,從而節省成本。 In view of the above, it is necessary to provide a preset gateway that can save network cost by exchanging network protocol voice signaling without using a media gateway controller.

另,還有必要提供一種終端設備,不需要借助媒體閘道控制器即可交換網路協定語音信令,從而節省成本。 In addition, it is also necessary to provide a terminal device that can exchange network protocol voice signaling without using a media gateway controller, thereby saving costs.

此外,還有必要提供一種網路協定語音信令交換方法,不需要借 助媒體閘道控制器即可交換網路協定語音信令,從而節省成本。 In addition, it is also necessary to provide a network protocol voice signaling exchange method, without borrowing The media gateway controller can exchange network protocol voice signaling, which saves costs.

本發明實施方式中提供的預設閘道器,在網路協定語音網路內與多個終端設備及動態域名伺服器通訊連接。該等終端設備產生各自的電話號碼,根據預設規則產生各自的電話號碼對應的域名,並將各自的域名與各自的網路協定位址向該動態域名伺服器註冊。該預設閘道器包括閘道註冊模組、閘道號碼接收模組、閘道位址查找模組及閘道信令交換模組。閘道註冊模組用於產生該預設閘道器的域名,並將該預設閘道器的域名與該預設閘道器的網路協定位址向該動態域名伺服器註冊。閘道號碼接收模組用於從公共交換電話網路接收被叫電話號碼,該被叫電話號碼為該等終端設備中被叫終端設備的電話號碼。閘道位址查找模組用於根據該預設規則產生該被叫電話號碼對應的被叫域名,並向該動態域名伺服器反查該被叫域名對應的被叫網路協定位址。閘道信令交換模組用於當成功反查到該被叫網路協定位址時根據該被叫網路協定位址與該被叫終端設備交換網路協定語音信令,以及當未成功反查到該被叫網路協定位址時向該公共交換電話網路拒絕該被叫電話號碼的呼叫。 The preset gateway provided in the embodiment of the present invention is communicatively connected to a plurality of terminal devices and a dynamic domain name server in a network protocol voice network. The terminal devices generate respective telephone numbers, generate domain names corresponding to the respective telephone numbers according to preset rules, and register the respective domain names with the respective network protocol addresses to the dynamic domain name server. The preset gateway includes a gateway registration module, a gateway number receiving module, a gateway address searching module, and a gateway signaling switching module. The gateway registration module is configured to generate a domain name of the preset gateway, and register the domain name of the preset gateway with the network protocol address of the preset gateway to the dynamic domain name server. The gateway number receiving module is configured to receive a called telephone number from a public switched telephone network, the called telephone number being a telephone number of the called terminal device in the terminal devices. The gateway address searching module is configured to generate a called domain name corresponding to the called phone number according to the preset rule, and check the called network protocol address corresponding to the called domain name to the dynamic domain name server. The gateway signaling exchange module is configured to exchange network protocol voice signaling with the called terminal device according to the called network protocol address when successfully detecting the called network protocol address, and when the interface is unsuccessful The call to the called telephone number is rejected to the public switched telephone network when the called network protocol address is checked.

優選地,所述之預設閘道器還包括閘道暫存器與閘道暫存判斷模組。閘道暫存器用於存儲曾經成功反查的被叫域名對應的被叫網路協定位址。閘道暫存判斷模組用於判斷該閘道暫存器中是否有該被叫域名對應的被叫網路協定位址,當該閘道暫存器中有該被叫域名對應的被叫網路協定位址時直接從該閘道暫存器中獲取該被叫網路協定位址。 Preferably, the preset gateway further includes a gateway register and a gateway temporary storage determining module. The gateway register is used to store the called network protocol address corresponding to the called domain name that has been successfully checked. The gateway temporary storage judging module is configured to determine whether there is a called network protocol address corresponding to the called domain name in the gateway register, and when the gateway register has the called party corresponding to the called domain name The called network protocol address is obtained directly from the gateway register when the network protocol address is located.

優選地,該閘道註冊模組還用於每當該預設閘道器重新開機或重 新接入該網路協定語音網路時,及時向該動態域名伺服器更新該預設閘道器的網路協定位址。 Preferably, the gateway registration module is further used for restarting or resetting the preset gateway When the network protocol voice network is newly accessed, the network protocol address of the preset gateway is updated to the dynamic domain name server in time.

優選地,該預設規則包括將電話號碼及預設字串結合組成對應的域名。 Preferably, the preset rule comprises combining the phone number and the preset string to form a corresponding domain name.

本發明實施方式中提供的終端設備,在網路協定語音網路中與多個其它終端設備、預設閘道器及動態域名伺服器通訊連接。該預設閘道器產生該預設閘道器的域名,並將該預設閘道器的域名與該預設閘道器的網路協定位址向該動態域名伺服器註冊。多個其它終端設備產生各自的電話號碼,根據預設規則產生各自的電話號碼對應的域名,並將各自的域名與各自的網路協定位址向該動態域名伺服器註冊。該終端設備包括終端註冊模組、終端號碼接收模組、終端位址查找模組及終端信令交換模組。終端註冊模組用於產生該終端設備的電話號碼,根據該預設規則產生該終端設備的電話號碼對應的域名,並將該終端設備的域名與該終端設備的網路協定位址向該動態域名伺服器註冊。終端號碼接收模組用於接收用戶輸入的被叫電話號碼,該被叫電話號碼是被叫終端設備的電話號碼。終端位址查找模組用於根據該預設規則產生該被叫電話號碼對應的被叫域名,並向該動態域名伺服器反查該被叫域名對應的被叫網路協定位址。終端信令交換模組用於當該被叫終端設備是該網路協定語音網路中多個其它終端設備其中之一時根據該被叫網路協定位址與該被叫終端設備交換網路協定語音信令。 The terminal device provided in the embodiment of the present invention is communicatively connected to a plurality of other terminal devices, a preset gateway, and a dynamic domain name server in a network protocol voice network. The preset gateway generates a domain name of the preset gateway, and registers the domain name of the preset gateway with the network protocol address of the preset gateway to the dynamic domain name server. A plurality of other terminal devices generate respective telephone numbers, generate domain names corresponding to the respective telephone numbers according to a preset rule, and register the respective domain names with the respective network protocol addresses to the dynamic domain name server. The terminal device includes a terminal registration module, a terminal number receiving module, a terminal address searching module, and a terminal signaling switching module. The terminal registration module is configured to generate a phone number of the terminal device, generate a domain name corresponding to the phone number of the terminal device according to the preset rule, and send the domain name of the terminal device and the network protocol address of the terminal device to the dynamic Domain name server registration. The terminal number receiving module is configured to receive a called telephone number input by the user, and the called telephone number is a telephone number of the called terminal device. The terminal address searching module is configured to generate a called domain name corresponding to the called phone number according to the preset rule, and check the called network protocol address corresponding to the called domain name to the dynamic domain name server. The terminal signaling switching module is configured to exchange network protocols with the called terminal device according to the called network protocol address when the called terminal device is one of a plurality of other terminal devices in the network protocol voice network Voice signaling.

優選地,該終端位址查找模組還用於當該被叫終端設備不是該網路協定語音網路中多個其它終端設備其中之一時向該動態域名伺 服器反查該預設閘道器的網路協定位址。該終端信令交換模組還用於根據該預設閘道器的網路協定位址與該預設閘道器交換網路協定語音信令。 Preferably, the terminal address searching module is further configured to send to the dynamic domain name when the called terminal device is not one of a plurality of other terminal devices in the network protocol voice network The server reverses the network protocol address of the preset gateway. The terminal signaling switching module is further configured to exchange network protocol voice signaling with the preset gateway according to the network protocol address of the preset gateway.

優選地,該終端設備還包括終端暫存器與終端暫存判斷模組。終端暫存器用於存儲曾經成功反查的被叫域名對應的被叫網路協定位址。終端暫存判斷模組用於判斷該終端暫存器中是否有該被叫域名對應的被叫網路協定位址,當該終端暫存器中有該被叫域名對應的被叫網路協定位址時直接從該終端暫存器中獲取該被叫網路協定位址。 Preferably, the terminal device further includes a terminal temporary storage device and a terminal temporary storage determining module. The terminal register is used to store the called network protocol address corresponding to the called domain name that has been successfully checked. The terminal temporary storage judging module is configured to determine whether there is a called network protocol address corresponding to the called domain name in the terminal register, and the called network protocol corresponding to the called domain name is included in the terminal register The called network protocol address is obtained directly from the terminal register when the address is located.

優選地,該終端註冊模組還用於當未註冊成功時將該終端設備的電話號碼加預設數值,以得到更新後的電話號碼,基於更新後的電話號碼產生更新後的域名,並將該更新後的域名與該終端設備的網路協定位址繼續向該動態域名伺服器註冊,直到註冊成功。 Preferably, the terminal registration module is further configured to add a preset value to the phone number of the terminal device when the registration is not successful, to obtain an updated phone number, and generate an updated domain name based on the updated phone number, and The updated domain name and the network protocol address of the terminal device continue to be registered with the dynamic domain name server until the registration is successful.

優選地,該終端註冊模組還用於每當該終端設備重新開機或重新接入該網路協定語音網路時,向該動態域名伺服器更新該終端設備的網路協定位址。 Preferably, the terminal registration module is further configured to update the network protocol address of the terminal device to the dynamic domain name server whenever the terminal device is rebooted or re-accessed to the network protocol voice network.

優選地,該終端設備的電話號碼是基於該終端設備的媒體存取控制位址利用雜湊演算法來產生,該雜湊演算法是取該終端設備的媒體存取控制位址的後六位元,該預設規則包括將電話號碼及預設字串結合組成對應的域名。 Preferably, the telephone number of the terminal device is generated by using a hash algorithm based on a media access control address of the terminal device, where the hash algorithm takes the last six bits of the media access control address of the terminal device. The preset rule includes combining a phone number and a preset string to form a corresponding domain name.

本發明實施方式中提供的網路協定語音信令交換方法,應用於預設閘道器中,該預設閘道器與多個終端設備及動態域名伺服器通訊連接。該預設閘道器產生該預設閘道器的域名,並將該預設閘 道器的域名與該預設閘道器的網路協定位址向該動態域名伺服器註冊。該等終端設備產生各自的電話號碼,根據預設規則產生各自的電話號碼對應的域名,並將各自的域名與各自的網路協定位址向該動態域名伺服器註冊。該網路協定語音信令交換方法包括以下步驟:從公共交換電話網路接收被叫電話號碼,該被叫電話號碼是該等終端設備中被叫終端設備的電話號碼;根據該預設規則產生該被叫電話號碼對應的被叫域名;向該動態域名伺服器反查該被叫域名對應的被叫網路協定位址;判斷是否成功反查到該被叫網路協定位址;若成功反查到該被叫網路協定位址,則根據該被叫網路協定位址與該被叫終端設備交換網路協定語音信令;或若未成功反查到該被叫網路協定位址,則向該公共交換電話網路拒絕該被叫電話號碼的呼叫。 The network protocol voice signaling exchange method provided in the embodiment of the present invention is applied to a preset gateway device, and the preset gateway device is communicatively connected with a plurality of terminal devices and a dynamic domain name server. The preset gateway generates a domain name of the preset gateway, and the preset gate is The domain name of the router and the network protocol address of the preset gateway are registered with the dynamic domain name server. The terminal devices generate respective telephone numbers, generate domain names corresponding to the respective telephone numbers according to preset rules, and register the respective domain names with the respective network protocol addresses to the dynamic domain name server. The network protocol voice signaling exchange method comprises the steps of: receiving a called telephone number from a public switched telephone network, the called telephone number being a telephone number of the called terminal device in the terminal devices; generating according to the preset rule The called domain name corresponding to the called telephone number; the reversed-checking the called network protocol address corresponding to the called domain name to the dynamic domain name server; determining whether the called network protocol address is successfully detected; if successful Inverting the called network protocol address, and exchanging network protocol voice signaling with the called terminal device according to the called network protocol address; or if the called network protocol bit is not successfully checked The address is denied to the public switched telephone network for the call of the called telephone number.

優選地,該網路協定語音信令交換方法還包括以下步驟:判斷閘道暫存器中是否有該被叫域名對應的被叫網路協定位址;若該閘道暫存器中有該被叫域名對應的被叫網路協定位址,則直接從該閘道暫存器中獲取該被叫網路協定位址;或若該閘道暫存器中沒有該被叫域名對應的被叫網路協定位址,則向該動態域名伺服器反查該被叫域名對應的被叫網路協定位址。 Preferably, the network protocol voice signaling exchange method further comprises the following steps: determining whether there is a called network protocol address corresponding to the called domain name in the gateway register; if the gateway register has the The called network protocol address corresponding to the called domain name directly obtains the called network protocol address from the gateway register; or if the gateway register does not have the corresponding domain name corresponding to the called domain name When the network protocol address is called, the dynamic domain name server is inspected for the called network protocol address corresponding to the called domain name.

本發明實施方式中提供的網路協定語音信令交換方法,應用於終端設備中,該終端設備與多個其它終端設備、預設閘道器及動態域名伺服器通訊連接。該預設閘道器產生該預設閘道器的域名,並將該預設閘道器的域名與該預設閘道器的網路協定位址向該動態域名伺服器註冊,該終端設備與多個其它終端設備產生各自的電話號碼,根據預設規則產生各自的電話號碼對應的域名,並將 各自的域名與各自的網路協定位址向該動態域名伺服器註冊。該網路協定語音信令交換方法包括以下步驟:接收用戶輸入的被叫電話號碼,該被叫電話號碼是被叫終端設備的電話號碼;根據該預設規則產生該被叫電話號碼對應的被叫域名,並向該動態域名伺服器反查該被叫域名對應的被叫網路協定位址;及當該被叫終端設備是該網路協定語音網路中多個其它終端設備其中之一時根據該被叫網路協定位址與該被叫終端設備交換網路協定語音信令。 The network protocol voice signaling exchange method provided in the embodiment of the present invention is applied to a terminal device, and the terminal device is communicatively connected with a plurality of other terminal devices, a preset gateway device, and a dynamic domain name server. The preset gateway generates a domain name of the preset gateway, and registers a domain name of the preset gateway with a network protocol address of the preset gateway to the dynamic domain name server, the terminal device Generating respective phone numbers with a plurality of other terminal devices, generating domain names corresponding to the respective phone numbers according to a preset rule, and The respective domain names are registered with the dynamic domain name server with their respective network protocol addresses. The network protocol voice signaling exchange method comprises the steps of: receiving a called telephone number input by a user, the called telephone number being a telephone number of the called terminal device; generating, according to the preset rule, the corresponding phone number corresponding to the called telephone number Calling the domain name, and checking the called network protocol address corresponding to the called domain name to the dynamic domain name server; and when the called terminal device is one of a plurality of other terminal devices in the network protocol voice network The network protocol voice signaling is exchanged with the called terminal device according to the called network protocol address.

優選地,該網路協定語音信令交換方法還包括:當被叫終端設備不是該網路協定語音網路中多個其它終端設備其中之一時向該動態域名伺服器反查該預設閘道器的網路協定位址;及根據該預設閘道器的網路協定位址與該預設閘道器交換網路協定語音信令。 Preferably, the network protocol voice signaling exchange method further comprises: checking the preset gateway to the dynamic domain name server when the called terminal device is not one of the plurality of other terminal devices in the network protocol voice network; The network protocol address of the device; and exchange network protocol voice signaling with the preset gateway according to the network protocol address of the preset gateway.

優選地,該網路協定語音信令交換方法還包括以下步驟:判斷終端暫存器中是否有該被叫域名對應的被叫網路協定位址;若該終端暫存器中有該被叫域名對應的被叫網路協定位址,則直接從該終端暫存器中獲取該被叫網路協定位址;或若該終端暫存器中沒有該被叫域名對應的被叫網路協定位址,則向該動態域名伺服器反查該被叫域名對應的被叫網路協定位址。 Preferably, the network protocol voice signaling exchange method further comprises the following steps: determining whether there is a called network protocol address corresponding to the called domain name in the terminal register; if the terminal is in the terminal register The called network protocol address corresponding to the domain name directly obtains the called network protocol address from the terminal register; or if the terminal register does not have the called network agreement corresponding to the called domain name The address is then checked against the dynamic domain name server for the called network protocol address corresponding to the called domain name.

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

100‧‧‧網路協定語音網路 100‧‧‧Network Protocol Voice Network

100a、100b、100c200a、200b、400‧‧‧終端設備 100a, 100b, 100c200a, 200b, 400‧‧‧ terminal equipment

110‧‧‧預設閘道器 110‧‧‧Preset gateway

111‧‧‧閘道註冊模組 111‧‧‧Gateway registration module

112‧‧‧閘道號碼接收模組 112‧‧‧Gateway number receiving module

113‧‧‧閘道位址查找模組 113‧‧‧Chute address search module

114‧‧‧閘道信令交換模組 114‧‧‧Gateway Signaling Switching Module

115‧‧‧閘道暫存器 115‧‧‧Threshold register

116‧‧‧閘道暫存判斷模組 116‧‧‧Chute temporary judgment module

117‧‧‧閘道處理器 117‧‧‧gate processor

120‧‧‧動態域名伺服器 120‧‧‧Dynamic Domain Name Server

120a‧‧‧對照表 120a‧‧‧ comparison table

130‧‧‧綜合接入設備 130‧‧‧Integrated access equipment

200‧‧‧公共交換電話網路 200‧‧‧Public switched telephone network

210‧‧‧中繼閘道器 210‧‧‧Trunk gateway

220‧‧‧媒體閘道器 220‧‧‧Media gateway

401‧‧‧終端註冊模組 401‧‧‧ Terminal Registration Module

402‧‧‧終端號碼接收模組 402‧‧‧Terminal number receiving module

403‧‧‧終端位址查找模組 403‧‧‧terminal address lookup module

404‧‧‧終端信令交換模組 404‧‧‧Terminal Signaling Switching Module

405‧‧‧終端暫存器 405‧‧‧ Terminal register

406‧‧‧終端暫存判斷模組 406‧‧‧ terminal temporary storage judgment module

407‧‧‧終端處理器 407‧‧‧ Terminal Processor

圖1為本發明網路通訊系統一實施方式的環境圖。 1 is an environmental diagram of an embodiment of a network communication system of the present invention.

圖2為本發明預設閘道器一實施方式的模組圖。 2 is a block diagram of an embodiment of a preset gateway according to the present invention.

圖3為本發明終端設備一實施方式的模組圖。 3 is a block diagram of an embodiment of a terminal device of the present invention.

圖4為本發明預設閘道器與終端設備的註冊方法一實施方式的流程圖。 4 is a flow chart of an embodiment of a method for registering a preset gateway and a terminal device according to the present invention.

圖5為本發明終端設備的網路協定語音信令交換方法一實施方式的流程圖。 FIG. 5 is a flowchart of an embodiment of a network protocol voice signaling exchange method of a terminal device according to the present invention.

圖6為本發明預設閘道器的網路協定語音信令交換方法一實施方式的流程圖。 FIG. 6 is a flowchart of an embodiment of a network protocol voice signaling exchange method of a preset gateway according to the present invention.

圖7為本發明網路協定語音信令交換方法一實施方式的傳輸圖。 FIG. 7 is a transmission diagram of an embodiment of a network protocol voice signaling exchange method according to the present invention.

圖8為本發明網路協定語音信令交換方法另一實施方式的傳輸圖。 FIG. 8 is a transmission diagram of another embodiment of a network protocol voice signaling exchange method according to the present invention.

圖1為本發明網路通訊系統一實施方式的環境圖。在本實施方式中,網路通訊系統包括網路協定語音(Voice over Internet Protocol,VoIP)網路100與公共交換電話網路(Public Switched Telephone Network)200。網路協定語音網路100包括預設閘道器(Default Gateway)110、動態域名伺服器(Dynamic Domain Name Service Server,DDNS Server)120及綜合接入設備(Integrated Access Device,IAD)130。 1 is an environmental diagram of an embodiment of a network communication system of the present invention. In the present embodiment, the network communication system includes a Voice over Internet Protocol (VoIP) network 100 and a Public Switched Telephone Network (200). The network protocol voice network 100 includes a default gateway 110, a Dynamic Domain Name Service Server (DDNS Server) 120, and an Integrated Access Device (IAD) 130.

綜合接入設備130用於將多個終端設備100a、100b、100c接入網路協定語音網路100。在本實施方式中,多個終端設備100a、100b、100c可為網路電話、筆記型電腦或臺式電腦等。應當注意的是,當終端設備100a、100b、100c自身具有接入網路的功能時,也可不經由綜合接入設備130,而自行接入網路協定語音網路 100。 The integrated access device 130 is configured to access the plurality of terminal devices 100a, 100b, 100c to the network protocol voice network 100. In this embodiment, the plurality of terminal devices 100a, 100b, and 100c may be a network phone, a notebook computer, a desktop computer, or the like. It should be noted that when the terminal device 100a, 100b, 100c itself has the function of accessing the network, it may also access the network protocol voice network without accessing the integrated access device 130. 100.

動態域名伺服器120包括對照表120a,當終端設備100a、100b、100c與預設閘道器110向動態域名伺服器120進行註冊時,動態域名伺服器120將終端設備100a、100b、100c與預設閘道器110的域名與網路協定(Internet Protocol,IP)位址存儲於對照表120a中。該對照表120a包括域名欄位與IP位址欄位,分別用於存儲終端設備100a、100b、100c以及預設閘道器110的域名與IP位址。 The dynamic domain name server 120 includes a look-up table 120a. When the terminal devices 100a, 100b, 100c and the preset gateway 110 register with the dynamic domain name server 120, the dynamic domain name server 120 sets the terminal devices 100a, 100b, 100c and The domain name and Internet Protocol (IP) address of the gateway 110 are stored in the lookup table 120a. The look-up table 120a includes a domain name field and an IP address field for storing the domain name and IP address of the terminal devices 100a, 100b, 100c and the preset gateway 110, respectively.

公共交換電話網路200包括中繼閘道器(Trunk Gateway)210與媒體閘道器(Media Gateway)220。中繼閘道器210用於網路協定語音網路100與公共交換電話網路200之間跨界協議的轉換。媒體閘道器220用於將多個終端設備200a、200b接入公共交換電話網路200。 The public switched telephone network 200 includes a trunk gateway 210 and a media gateway 220. The relay gateway 210 is used for the conversion of the cross-boundary protocol between the network protocol voice network 100 and the public switched telephone network 200. The media gateway 220 is used to connect the plurality of terminal devices 200a, 200b to the public switched telephone network 200.

多個終端設備200a、200b可經由媒體閘道器220、中繼閘道器210、預設閘道器110撥打網路協定語音網路100中的終端設備100a、100b、100c。 The plurality of terminal devices 200a, 200b can dial the terminal devices 100a, 100b, 100c in the network protocol voice network 100 via the media gateway 220, the relay gateway 210, and the preset gateway 110.

在本發明一具體實施方式中,預設閘道器110先產生預設閘道器110的域名(例如:0944defaultGW.myvoip.net),並將預設閘道器110的域名與預設閘道器110的IP位址(如60.199.244.6)向動態域名伺服器120註冊。 In an embodiment of the present invention, the preset gateway 110 first generates a domain name of the preset gateway 110 (for example: 0944defaultGW.myvoip.net), and presets the domain name of the gateway 110 with a preset gateway. The IP address of the device 110 (e.g., 60.199.244.6) is registered with the dynamic domain name server 120.

當動態域名伺服器120接收到預設閘道器110的註冊後,會判斷預設閘道器110的域名是否出現重複。在本實施例中,由於預設閘道器110的域名一般提前向動態域名伺服器120進行申請並付費而 取得,所以不會出現重複。相應的,動態域名伺服器120將預設閘道器110的域名與IP位址存儲於對照表120a中,並發送註冊成功資訊至預設閘道器110。 When the dynamic domain name server 120 receives the registration of the preset gateway 110, it will determine whether the domain name of the preset gateway 110 is duplicated. In this embodiment, since the domain name of the preset gateway 110 is generally applied to the dynamic domain name server 120 in advance and paid for. Obtained, so there will be no duplication. Correspondingly, the dynamic domain name server 120 stores the domain name and IP address of the preset gateway 110 in the look-up table 120a, and sends the registration success information to the preset gateway 110.

當預設閘道器110向動態域名伺服器120註冊成功後,每當預設閘道器110重新開機或重新接入網路協定語音網路100時,預設閘道器110都會及時向動態域名伺服器120更新預設閘道器110的IP位址。 When the preset gateway 110 successfully registers with the dynamic domain name server 120, the preset gateway 110 will move to the dynamic every time the preset gateway 110 is restarted or re-accessed to the network protocol voice network 100. The domain name server 120 updates the IP address of the preset gateway 110.

每個終端設備100a、100b、100c產生各自的電話號碼,根據預設規則產生各自的電話號碼對應的域名,並將各自的域名與各自的IP位址向動態域名伺服器120註冊。在本實施方式中,每個終端設備100a、100b、100c的電話號碼是基於各自的MAC位址利用雜湊演算法(HASH算法)來產生,該雜湊演算法是取每個終端設備的MAC位址的後六位元,該預設規則是將電話號碼及預設字串(如:“.myvoip.net”)相結合來組成域名。舉例來講,假定終端設備100a、100b的MAC位址分別為11:12:31:23與11:45:64:56,則終端設備100a、100b的電話號碼分別為123123、456456,再結合區號(如0944),則終端設備100a、100b最終的電話號碼分別為0944123123、0944456456。相應的,終端設備100a、100b的域名分別為“0944123123.myvoip.net”與“0944456456.myvoip.net”。 Each terminal device 100a, 100b, 100c generates a respective telephone number, generates a domain name corresponding to the respective telephone number according to a preset rule, and registers the respective domain name with the respective IP address to the dynamic domain name server 120. In this embodiment, the telephone numbers of each terminal device 100a, 100b, 100c are generated based on respective MAC addresses by using a hash algorithm (HASH algorithm), which takes the MAC address of each terminal device. The last six digits, the default rule is to combine the phone number with a preset string (such as ".myvoip.net") to form a domain name. For example, if the MAC addresses of the terminal devices 100a and 100b are 11:12:31:23 and 11:45:64:56, respectively, the telephone numbers of the terminal devices 100a and 100b are 123123 and 456456 respectively, and the area code is combined. (For example, 0944), the final telephone numbers of the terminal devices 100a, 100b are 0944123123 and 0944456456, respectively. Correspondingly, the domain names of the terminal devices 100a, 100b are "0944123123.myvoip.net" and "0944456456.myvoip.net", respectively.

當動態域名伺服器120接收到多個終端100a、100b、100c的註冊後,會判斷多個終端100a、100b、100c的域名是否出現重複。在本實施例中,由於多個終端100a、100b、100c是根據預設規則產生各自的電話號碼對應的域名,而且多個終端100a、100b、100c 向動態域名伺服器120註冊域名是免費的,所以域名有可能會出現重複。當域名出現重複時,動態域名伺服器120發送註冊失敗資訊至相應的終端設備。當域名沒有出現重複時,動態域名伺服器120將相應的終端設備的域名與IP位址記錄於對照表120a中,並發送註冊成功資訊至相應的終端設備。 When the dynamic domain name server 120 receives the registration of the plurality of terminals 100a, 100b, 100c, it is determined whether the domain names of the plurality of terminals 100a, 100b, 100c are duplicated. In this embodiment, since the plurality of terminals 100a, 100b, and 100c generate domain names corresponding to respective telephone numbers according to preset rules, and the plurality of terminals 100a, 100b, and 100c Registering a domain name with the dynamic domain name server 120 is free, so there may be duplicates of the domain name. When the domain name is duplicated, the dynamic domain name server 120 sends the registration failure information to the corresponding terminal device. When there is no duplication of the domain name, the dynamic domain name server 120 records the domain name and IP address of the corresponding terminal device in the comparison table 120a, and sends the registration success information to the corresponding terminal device.

當終端設備100a、100b、100c從動態域名伺服器120接收到註冊失敗資訊後,將當前電話號碼加預設數值(如1),以得到更新後的電話號碼,基於更新後的電話號碼產生終端設備100a、100b、100c更新後的域名,並將更新後的域名與IP位址繼續向動態域名伺服器120註冊,直到註冊成功。 After the terminal device 100a, 100b, 100c receives the registration failure information from the dynamic domain name server 120, the current phone number is added with a preset value (such as 1) to obtain the updated phone number, and the terminal is generated based on the updated phone number. The updated domain name of the device 100a, 100b, 100c, and the updated domain name and IP address continue to be registered with the dynamic domain name server 120 until the registration is successful.

當每個終端設備100a、100b、100c註冊成功後,每當每個終端設備100a、100b、100c重新開機或重新接入網路協定語音網路100時,都會及時向動態域名伺服器120更新每個終端設備100a、100b、100c的IP位址。 After each terminal device 100a, 100b, 100c is successfully registered, each time the terminal device 100a, 100b, 100c is rebooted or re-accessed to the network-assigned voice network 100, each dynamic domain name server 120 is updated in time. The IP addresses of the terminal devices 100a, 100b, 100c.

當一個終端設備100a在網路協定語音網路100中呼叫另一個終端設備100b時,主叫終端設備100a先接收用戶輸入的被叫電話號碼(即被叫終端設備100b的電話號碼),然後,主叫終端設備100a根據預設規則產生被叫電話號碼對應的被叫域名,向動態域名伺服器120反查被叫域名對應的被叫IP位址。當成功反查到被叫域名對應的被叫IP位址時,主叫終端設備100a根據被叫IP位址與被叫終端設備100b交換網路協定語音信令。舉例來講,假設被叫終端設備100b的電話號碼為0944456456,IP位址為119.160.246.23,則主叫終端設備100a先接收用戶輸入的電話號碼0944456456,然後,產生被叫域名“0944456456.myvoip.net”,向動態域名 伺服器120反查到被叫IP位址“119.160.246.23”,並根據被叫IP位址“119.160.246.23”與被叫終端設備100b交換網路協定語音信令。當網路協定語音信令交換完成後,主叫終端設備100a即可與被叫終端設備100b進行網路協定語音通話。 When a terminal device 100a calls another terminal device 100b in the network protocol voice network 100, the calling terminal device 100a first receives the called telephone number input by the user (ie, the telephone number of the called terminal device 100b), and then, The calling terminal device 100a generates the called domain name corresponding to the called telephone number according to the preset rule, and checks the called IP address corresponding to the called domain name to the dynamic domain name server 120. When the called IP address corresponding to the called domain name is successfully checked, the calling terminal device 100a exchanges network protocol voice signaling with the called terminal device 100b according to the called IP address. For example, if the telephone number of the called terminal device 100b is 0944456456 and the IP address is 119.160.246.23, the calling terminal device 100a first receives the telephone number 0944456456 input by the user, and then generates the called domain name "0944456456.myvoip. Net" to dynamic domain name The server 120 reversely checks the called IP address "119.160.246.23" and exchanges network protocol voice signaling with the called terminal device 100b according to the called IP address "119.160.246.23". After the network protocol voice signaling exchange is completed, the calling terminal device 100a can perform a network protocol voice call with the called terminal device 100b.

當一個終端設備100a跨越網路協定語音網路100與公共交換電話網路200呼叫另一個終端設備200b時,主叫終端設備100a先接收用戶輸入的被叫電話號碼(即被叫終端設備200b的電話號碼),然後,主叫終端設備100a根據預設規則產生被叫電話號碼對應的被叫域名,向動態域名伺服器120反查被叫域名對應的被叫IP位址。由於被叫終端設備200b並未向動態域名伺服器120註冊域名,所以主叫終端設備100a並不能成功反查到被叫域名對應的被叫IP位址。因此,主叫終端設備100a向動態域名伺服器120反查預設閘道器110的IP位址,並根據預設閘道器110的IP位址與預設閘道器110交換網路協定語音信令。當網路協定語音信令交換完成後,主叫終端設備100a即可經由預設閘道器110、中繼閘道器210、媒體閘道器220與被叫終端設備200b進行語音通話。舉例來講,假設預設閘道器110的IP位址為60.199.244.6,則主叫終端設備100a向動態域名伺服器120反查到預設閘道器110的IP位址為“60.199.244.6”,並根據IP位址“60.199.244.6”與預設閘道器110交換網路協定語音信令。 When a terminal device 100a calls another terminal device 200b across the network protocol voice network 100 and the public switched telephone network 200, the calling terminal device 100a first receives the called telephone number input by the user (ie, the called terminal device 200b The calling terminal device 100a then generates the called domain name corresponding to the called telephone number according to the preset rule, and checks the called IP address corresponding to the called domain name to the dynamic domain name server 120. Since the called terminal device 200b does not register the domain name with the dynamic domain name server 120, the calling terminal device 100a cannot successfully check the called IP address corresponding to the called domain name. Therefore, the calling terminal device 100a back-checks the IP address of the preset gateway 110 to the dynamic domain name server 120, and exchanges network protocol voice with the preset gateway 110 according to the IP address of the preset gateway 110. Signaling. After the network protocol voice signaling exchange is completed, the calling terminal device 100a can make a voice call with the called terminal device 200b via the preset gateway 110, the relay gateway 210, and the media gateway 220. For example, if the IP address of the preset gateway 110 is 60.199.244.6, the calling terminal device 100a checks back to the dynamic domain name server 120 that the IP address of the preset gateway 110 is "60.199.244.6. And exchange network protocol voice signaling with the preset gateway 110 according to the IP address "60.199.244.6".

當一個終端設備200a跨越公共交換電話網路120與網路協定語音網路100呼叫另一個終端設備100b時,預設閘道器110會經由媒體閘道器220與中繼閘道器210從主叫終端設備200a接收到被叫電話號碼(即被叫終端設備100b的電話號碼)。當接收到被叫電話號 碼後,預設閘道器110根據預設規則產生被叫電話號碼對應的被叫域名,向動態域名伺服器120反查被叫域名對應的被叫IP位址。當成功反查到被叫域名對應的被叫IP位址時,預設閘道器110根據被叫IP位址與被叫終端設備100b交換網路協定語音信令。舉例來講,假設被叫終端設備100b的電話號碼為0944456456,IP位址為119.160.246.23,則預設閘道器110先從公共交換電話網路200接收被叫電話號碼0944456456,然後,產生被叫域名“0944456456.myvoip.net”,向動態域名伺服器120反查到被叫IP位址“119.160.246.23”,並根據被叫IP位址“119.160.246.23”與被叫終端設備100b交換網路協定語音信令。當網路協定語音信令交換完成後,主叫終端設備200a即可跨越公共交換電話網路200與網路協定語音網路100與被叫終端設備100b進行語音通話。 When a terminal device 200a calls another terminal device 100b across the public switched telephone network 120 and the network protocol voice network 100, the preset gateway 110 will be from the main via the media gateway 220 and the relay gateway 210. The called terminal device 200a receives the called telephone number (i.e., the telephone number of the called terminal device 100b). When the called number is received After the code, the preset gateway 110 generates the called domain name corresponding to the called telephone number according to the preset rule, and checks the called IP address corresponding to the called domain name to the dynamic domain name server 120. When the called IP address corresponding to the called domain name is successfully checked, the preset gateway 110 exchanges network protocol voice signaling with the called terminal device 100b according to the called IP address. For example, if the telephone number of the called terminal device 100b is 0944456456 and the IP address is 119.160.246.23, the preset gateway 110 first receives the called telephone number 0944456456 from the public switched telephone network 200, and then generates a The domain name "0944456456.myvoip.net" is called, and the dynamic domain name server 120 is checked to the called IP address "119.160.246.23", and the network is exchanged with the called terminal device 100b according to the called IP address "119.160.246.23". Road agreement voice signaling. After the network protocol voice signaling exchange is completed, the calling terminal device 200a can make a voice call with the called terminal device 100b across the public switched telephone network 200 and the network protocol voice network 100.

應當注意的是,當預設閘道器110或終端設備100a、100b成功的反查到被叫域名對應的被叫IP位址後,會將其存放於各自的暫存器(Cache)中,以備下次需要反查被叫域名對應的被叫IP位址時,直接從暫存器中獲取被叫域名對應的被叫IP位址,而不需要向動態域名伺服器120重複反查。 It should be noted that when the preset gateway 110 or the terminal device 100a, 100b successfully reverses the called IP address corresponding to the called domain name, it will be stored in the respective cache (Cache). When it is necessary to check the called IP address corresponding to the called domain name next time, the called IP address corresponding to the called domain name is directly obtained from the temporary storage device, and the reverse domain name server 120 is not required to repeat the reverse checking.

總的來講,預設閘道器110與終端設備100a、100b向動態域名伺服器120註冊域名與IP位址,再向動態域名伺服器120反查被叫域名對應的被叫IP位址,最後根據被叫IP位址與被叫終端設備交換網路協定語音信令。因此,預設閘道器110與終端設備100a、100b不需要借助媒體閘道控制器即可交換網路協定語音信令,從而大大的節省成本。 In general, the preset gateway 110 and the terminal device 100a, 100b register the domain name and the IP address with the dynamic domain name server 120, and then check the called IP address corresponding to the called domain name to the dynamic domain name server 120. Finally, the network protocol voice signaling is exchanged with the called terminal device according to the called IP address. Therefore, the preset gateway 110 and the terminal devices 100a, 100b can exchange network protocol voice signaling without using the media gateway controller, thereby greatly saving costs.

圖2為本發明預設閘道器110一實施方式的模組圖。在本實施方式 中,預設閘道器110包括閘道註冊模組111、閘道號碼接收模組112、閘道位址查找模組113、閘道信令交換模組114、閘道暫存器115、閘道暫存判斷模組116及閘道處理器117。閘道處理器117用於執行閘道註冊模組111、閘道號碼接收模組112、閘道位址查找模組113、閘道信令交換模組114及閘道暫存判斷模組116。 2 is a block diagram of an embodiment of a preset gateway 110 of the present invention. In this embodiment The preset gateway 110 includes a gateway registration module 111, a gateway number receiving module 112, a gateway address searching module 113, a gateway signaling switching module 114, a gateway register 115, and a gate. The track temporary judgment module 116 and the gateway processor 117. The gateway processor 117 is configured to execute the gateway registration module 111, the gateway number receiving module 112, the gateway address searching module 113, the gateway signaling switching module 114, and the gateway temporary storage determining module 116.

閘道註冊模組111用於產生預設閘道器110的域名,並將預設閘道器110的域名與預設閘道器110的IP位址向動態域名伺服器120註冊。在本實施方式中,預設閘道器110的域名可為“0944defaultGW.myvoip.net”,預設閘道器110的IP位址可為“60.199.244.6”。 The gateway registration module 111 is configured to generate a domain name of the preset gateway 110, and register the domain name of the preset gateway 110 with the IP address of the preset gateway 110 to the dynamic domain name server 120. In this embodiment, the domain name of the preset gateway 110 may be “0944defaultGW.myvoip.net”, and the IP address of the preset gateway 110 may be “60.199.244.6”.

當動態域名伺服器120接收到預設閘道器110的註冊後,會判斷預設閘道器110的域名是否出現重複。由於預設閘道器110的域名一般提前向動態域名伺服器120進行申請並付費而取得,所以不會出現重複。相應的,動態域名伺服器120將預設閘道器110的域名與IP位址存儲於對照表120a中,並發送註冊成功資訊至預設閘道器110。 When the dynamic domain name server 120 receives the registration of the preset gateway 110, it will determine whether the domain name of the preset gateway 110 is duplicated. Since the domain name of the preset gateway 110 is generally obtained in advance by applying to the dynamic domain name server 120 and paying for it, there is no duplication. Correspondingly, the dynamic domain name server 120 stores the domain name and IP address of the preset gateway 110 in the look-up table 120a, and sends the registration success information to the preset gateway 110.

當閘道註冊模組111向動態域名伺服器120註冊成功後,每當預設閘道器110重新開機或重新接入網路協定語音網路100時,閘道註冊模組111都會及時向動態域名伺服器120更新預設閘道器110的IP位址。 After the gateway registration module 111 successfully registers with the dynamic domain name server 120, whenever the preset gateway 110 is restarted or re-accessed to the network protocol voice network 100, the gateway registration module 111 will promptly move to the dynamic state. The domain name server 120 updates the IP address of the preset gateway 110.

閘道號碼接收模組112用於從公共交換電話網路200接收被叫電話號碼。在本實施方式中,假定主叫終端設備與被叫終端設備分別為公共交換電話網路200中的終端設備200a與網路協定語音網路100中的終端設備100b,相應的,被叫電話號碼為終端設備100b 的電話號碼。 The gateway number receiving module 112 is configured to receive the called telephone number from the public switched telephone network 200. In the present embodiment, it is assumed that the calling terminal device and the called terminal device are the terminal device 200a in the public switched telephone network 200 and the terminal device 100b in the network-assigned voice network 100, respectively, and the called telephone number is corresponding. Terminal device 100b Phone number.

閘道位址查找模組113用於根據預設規則產生被叫電話號碼對應的被叫域名,並向動態域名伺服器120反查被叫域名對應的被叫IP位址。在本實施方式中,該預設規則是將被叫電話號碼及預設字串(如“.myvoip.net”)相結合來組成被叫域名。舉例來講,假定被叫終端設備100b的電話號碼為0944456456,則被叫終端設備100b的域名為“0944456456.myvoip.net”。 The gateway address searching module 113 is configured to generate a called domain name corresponding to the called phone number according to a preset rule, and check the called IP address corresponding to the called domain name to the dynamic domain name server 120. In this embodiment, the preset rule is to combine the called phone number and a preset string (such as ".myvoip.net") to form a called domain name. For example, assuming that the telephone number of the called terminal device 100b is 0944456456, the domain name of the called terminal device 100b is "0944456456.myvoip.net".

閘道信令交換模組114用於當成功反查到被叫IP位址時根據被叫IP位址與被叫終端設備交換網路協定語音信令,以及當未反查到被叫IP位址時向公共交換電話網路200拒絕被叫電話號碼的呼叫。 The gateway signaling exchange module 114 is configured to exchange network protocol voice signaling with the called terminal device according to the called IP address when successfully checking the called IP address, and when the called IP address is not checked At the time of the address, the public switched telephone network 200 rejects the call of the called telephone number.

閘道暫存器115用於存儲曾經成功反查的被叫域名對應的被叫IP位址。閘道暫存判斷模組116用於判斷閘道暫存器115中是否有被叫域名對應的被叫IP位址,當閘道暫存器115中有被叫域名對應的被叫IP位址時直接從閘道暫存器115中獲取被叫IP位址。當閘道暫存器115中沒有被叫域名對應的被叫IP位址時,閘道位址查找模組113再向動態域名伺服器120反查被叫域名對應的IP位址。 The gateway register 115 is used to store the called IP address corresponding to the called domain name that has been successfully checked. The gateway temporary storage judging module 116 is configured to determine whether there is a called IP address corresponding to the called domain name in the gateway register 115, and the called IP address corresponding to the called domain name is present in the gateway register 115. The called IP address is obtained directly from the gateway register 115. When there is no called IP address corresponding to the called domain name in the gateway register 115, the gateway address searching module 113 further checks the dynamic domain name server 120 for the IP address corresponding to the called domain name.

圖3為本發明終端設備400一實施方式的模組圖。在本實施方式中,終端設備400為圖1中多個終端設備100a、100b、100c的統稱。終端設備400包括終端註冊模組401、終端號碼接收模組402、終端位址查找模組403、終端信令交換模組404、終端暫存器405、終端暫存判斷模組406及終端處理器407。終端處理器407用於執行終端註冊模組401、終端號碼接收模組402、終端位址查找模組403、終端信令交換模組404、終端暫存判斷模組406。 3 is a block diagram of an embodiment of a terminal device 400 of the present invention. In the present embodiment, the terminal device 400 is a collective term for the plurality of terminal devices 100a, 100b, and 100c in FIG. The terminal device 400 includes a terminal registration module 401, a terminal number receiving module 402, a terminal address searching module 403, a terminal signaling switching module 404, a terminal temporary register 405, a terminal temporary storage determining module 406, and a terminal processor. 407. The terminal processor 407 is configured to execute the terminal registration module 401, the terminal number receiving module 402, the terminal address searching module 403, the terminal signaling switching module 404, and the terminal temporary storage determining module 406.

終端註冊模組401用於產生終端設備400的電話號碼,根據預設規則產生終端設備400的電話號碼對應的域名,並將終端設備400的域名與終端設備400的IP位址向動態域名伺服器120註冊。在本實施方式中,終端設備400的電話號碼是基於終端設備400的MAC位址利用雜湊演算法來產生,該雜湊演算法是取終端設備400的MAC位址的後六位元,該預設規則是將電話號碼及預設字串(如:“.myvoip.net”)相結合來組成域名。舉例來講,假定終端設備400的MAC位址為11:12:31:23,則終端設備400的電話號碼為123123,再結合區號(如0944),則終端設備400的最終電話號碼為0944123123。相應的,終端設備400的域名是“0944123123.myvoip.net”。 The terminal registration module 401 is configured to generate a phone number of the terminal device 400, generate a domain name corresponding to the phone number of the terminal device 400 according to a preset rule, and send the domain name of the terminal device 400 and the IP address of the terminal device 400 to the dynamic domain name server. 120 registration. In this embodiment, the phone number of the terminal device 400 is generated by using a hash algorithm based on the MAC address of the terminal device 400, and the hash algorithm is to take the last six bits of the MAC address of the terminal device 400. The rule is to combine a phone number with a preset string (eg ".myvoip.net") to form a domain name. For example, assuming that the MAC address of the terminal device 400 is 11:12:31:23, the telephone number of the terminal device 400 is 123123, and in combination with the area code (such as 0944), the final telephone number of the terminal device 400 is 0944123123. Correspondingly, the domain name of the terminal device 400 is "0944123123.myvoip.net".

當動態域名伺服器120接收到終端設備400的註冊後,動態域名伺服器120會判斷終端設備400的域名是否出現重複。在本實施例中,由於終端設備400是根據預設規則產生自己的電話號碼對應的域名,而且終端設備400向動態域名伺服器120註冊域名是免費的,所以終端設備400的域名有可能會出現重複。當終端設備400的域名出現重複時,動態域名伺服器120發送註冊失敗資訊至終端設備400。當終端設備400的域名沒有出現重複時,動態域名伺服器120將終端設備400的域名與IP位址存儲於對照表120a中,並發送註冊成功資訊至終端設備400。 After the dynamic domain name server 120 receives the registration of the terminal device 400, the dynamic domain name server 120 determines whether the domain name of the terminal device 400 is duplicated. In this embodiment, since the terminal device 400 generates a domain name corresponding to its own phone number according to a preset rule, and the terminal device 400 registers the domain name with the dynamic domain name server 120 for free, the domain name of the terminal device 400 may appear. repeat. When the domain name of the terminal device 400 appears to be duplicated, the dynamic domain name server 120 transmits registration failure information to the terminal device 400. When the domain name of the terminal device 400 does not appear to be duplicated, the dynamic domain name server 120 stores the domain name and IP address of the terminal device 400 in the lookup table 120a, and transmits the registration success information to the terminal device 400.

終端註冊模組401還用於當未註冊成功時將終端設備400的電話號碼加預設數值(如1),以得到更新後的電話號碼,基於更新後的電話號碼產生更新後的域名,並將更新後的域名與IP位址繼續向動態域名伺服器40註冊,直到註冊成功。 The terminal registration module 401 is further configured to add a preset value (such as 1) to the phone number of the terminal device 400 when the registration is not successful, to obtain an updated phone number, and generate an updated domain name based on the updated phone number, and The updated domain name and IP address continue to be registered with the dynamic domain name server 40 until the registration is successful.

當終端註冊模組401向動態域名伺服器120註冊成功後,每當終端設備400重新開機或重新接入網路協定語音網路100時,終端註冊模組401都會及時向動態域名伺服器120更新終端設備400的IP位址。 After the terminal registration module 401 successfully registers with the dynamic domain name server 120, the terminal registration module 401 updates the dynamic domain name server 120 in time when the terminal device 400 is rebooted or re-accessed to the network protocol voice network 100. The IP address of the terminal device 400.

終端號碼接收模組402用於接收用戶輸入的被叫電話號碼,被叫電話號碼是被叫終端設備的電話號碼。在本實施方式中,被叫終端設備可能是網路協定語音網路100中多個終端設備100a、100b、100c其中之一,也可能是公共交換電話網路200中多個終端設備200a、200b其中之一。假定被叫終端設備是網路協定語音網路100中的終端設備100b,則被叫電話號碼為終端設備100b的電話號碼;假定被叫終端設備是公共交換電話網路200中的終端設備200b,則被叫電話號碼是終端設備200b的電話號碼。 The terminal number receiving module 402 is configured to receive a called telephone number input by the user, and the called telephone number is a telephone number of the called terminal device. In this embodiment, the called terminal device may be one of the plurality of terminal devices 100a, 100b, 100c in the network protocol voice network 100, and may also be multiple terminal devices 200a, 200b in the public switched telephone network 200. one of them. Assuming that the called terminal device is the terminal device 100b in the network protocol voice network 100, the called telephone number is the telephone number of the terminal device 100b; assuming that the called terminal device is the terminal device 200b in the public switched telephone network 200, Then, the called telephone number is the telephone number of the terminal device 200b.

終端位址查找模組403用於根據該預設規則產生該被叫電話號碼對應的被叫域名,並向動態域名伺服器120反查被叫域名對應的被叫IP位址。 The terminal address searching module 403 is configured to generate a called domain name corresponding to the called phone number according to the preset rule, and check the called IP address corresponding to the called domain name to the dynamic domain name server 120.

在本實施方式中,由於網路協定語音網路100中多個終端設備100a、100b、100c均向動態域名伺服器120註冊,所以當被叫終端設備是網路協定語音網路100中多個終端設備100a、100b、100c其中之一時,終端位址查找模組403可以成功反查到被叫IP位址。 In this embodiment, since the plurality of terminal devices 100a, 100b, and 100c in the network protocol voice network 100 are all registered with the dynamic domain name server 120, when the called terminal device is a plurality of network protocol voice networks 100, When one of the terminal devices 100a, 100b, 100c, the terminal address lookup module 403 can successfully check the called IP address.

由於公共交換電話網路200中多個終端設備200a、200b均未向動態域名伺服器120註冊,所以當被叫終端設備是公共交換電話網路200中多個終端設備200a、200b其中之一時,終端位址查找模組403不能成功反查到被叫IP位址。 Since the plurality of terminal devices 200a, 200b in the public switched telephone network 200 are not registered with the dynamic domain name server 120, when the called terminal device is one of the plurality of terminal devices 200a, 200b in the public switched telephone network 200, The terminal address lookup module 403 cannot successfully check the called IP address.

終端信令交換模組404用於當成功反查到被叫IP位址時根據被叫IP位址與被叫終端設備交換網路協定語音信令。 The terminal signaling exchange module 404 is configured to exchange network protocol voice signaling with the called terminal device according to the called IP address when successfully detecting the called IP address.

舉例來講,假設被叫終端設備是網路協定語音網路100中的終端設備100b,其電話號碼為0944456456,IP位址為119.160.246.23,則終端號碼接收模組402先接收用戶輸入的電話號碼0944456456,然後,終端位址查找模組403產生被叫域名“0944456456.myvoip.net”,再向動態域名伺服器120成功反查到被叫IP位址“119.160.246.23”,並根據IP位址“119.160.246.23”與終端設備100b交換網路協定語音信令。當網路協定語音信令交換完成後,終端設備400即可與被叫終端設備100b進行語音通話。 For example, if the called terminal device is the terminal device 100b in the network protocol voice network 100, the telephone number is 0944456456, and the IP address is 119.160.246.23, the terminal number receiving module 402 first receives the user input phone. The number is 0944456456, and then the terminal address lookup module 403 generates the called domain name "0944456456.myvoip.net", and then successfully checks the called IP address "119.160.246.23" to the dynamic domain name server 120, and according to the IP bit. The address "119.160.246.23" exchanges network protocol voice signaling with the terminal device 100b. After the network protocol voice signaling exchange is completed, the terminal device 400 can make a voice call with the called terminal device 100b.

當未反查到被叫域名對應的被叫IP位址時,終端位址查找模組403還用於向動態域名伺服器120反查預設閘道器110的IP位址,相應的,終端信令交換模組404還用於根據預設閘道器110的IP位址與預設閘道器110交換網路協定語音信令。當網路協定語音信令交換完成後,終端設備400即可經由預設閘道器110、中繼閘道器210、媒體閘道器220與被叫終端設備進行語音通話。 When the called IP address corresponding to the called domain name is not checked, the terminal address searching module 403 is further configured to check the IP address of the preset gateway 110 to the dynamic domain name server 120, and correspondingly, the terminal The signaling switching module 404 is further configured to exchange network protocol voice signaling with the preset gateway 110 according to the IP address of the preset gateway 110. After the network protocol voice signaling exchange is completed, the terminal device 400 can make a voice call with the called terminal device via the preset gateway 110, the relay gateway 210, and the media gateway 220.

舉例來講,假定被叫終端設備是公共交換電話網路200中終端設備200b,則終端位址查找模組403不能成功查找到被叫域名對應的被叫IP位址。再假設預設閘道器110的IP位址為60.199.244.6,則終端位址查找模組403向動態域名伺服器120反查到預設閘道器110的IP位址“60.199.244.6”,並根據IP位址“60.199.244.6”與預設閘道器110交換網路協定語音信令。當網路協定語音信令交換完成後,終端設備400即可經由預設閘道器 110、中繼閘道器210、媒體閘道器220與被叫終端設備200b進行語音通話。 For example, if the called terminal device is the terminal device 200b in the public switched telephone network 200, the terminal address lookup module 403 cannot successfully find the called IP address corresponding to the called domain name. Assuming that the IP address of the preset gateway 110 is 60.199.244.6, the terminal address lookup module 403 inverts the dynamic domain name server 120 to the IP address "60.199.244.6" of the preset gateway 110. The network protocol voice signaling is exchanged with the preset gateway 110 according to the IP address "60.199.244.6". After the network protocol voice signaling exchange is completed, the terminal device 400 can pass the preset gateway. 110. The relay gateway 210 and the media gateway 220 make a voice call with the called terminal device 200b.

終端暫存器405用於存儲曾經成功反查的被叫域名對應的被叫IP位址。終端暫存判斷模組406用於判斷終端暫存器405中是否有被叫域名對應的被叫IP位址,當終端暫存器405中有被叫域名對應的被叫IP位址時直接從終端暫存器405中獲取被叫IP位址。當終端暫存器405中沒有被叫域名對應的被叫IP位址時,終端位址查找模組403再向動態域名伺服器120反查被叫域名對應的IP位址。 The terminal register 405 is configured to store the called IP address corresponding to the called domain name that has been successfully checked. The terminal temporary storage judging module 406 is configured to determine whether there is a called IP address corresponding to the called domain name in the terminal register 405, and when the terminal buffer 405 has the called IP address corresponding to the called domain name, directly from the terminal IP address The called IP address is obtained in the terminal register 405. When there is no called IP address corresponding to the called domain name in the terminal register 405, the terminal address searching module 403 further checks the dynamic domain name server 120 for the IP address corresponding to the called domain name.

圖4為本發明預設閘道器110與終端設備400的註冊方法一實施方式的流程圖。在本實施方式中,由於預設閘道器110與終端設備400的註冊方法都用圖4中的流程圖來描述,所以為了描述的方便,預設閘道器110與終端設備400統稱為網路設備。 4 is a flow chart of an embodiment of a method for registering a preset gateway 110 and a terminal device 400 according to the present invention. In the present embodiment, since the registration methods of the preset gateway 110 and the terminal device 400 are both described using the flowchart in FIG. 4, for the convenience of description, the preset gateway 110 and the terminal device 400 are collectively referred to as a network. Road equipment.

在步驟S100,網路設備判斷自己是否為預設閘道器110。 In step S100, the network device determines whether it is the preset gateway 110.

若網路設備不是預設閘道器110,而是終端設備400,則在步驟S102,終端設備400產生自己的電話號碼。在本實施方式中,終端設備400的電話號碼是基於自己的MAC位址利用雜湊演算法來產生,該雜湊演算法是取每個終端設備的MAC位址的後六位。舉例來講,假定終端設備400的MAC位址分別為11:12:31:23,則終端設備400的電話號碼為123123,再結合區號(如0944),則終端設備400最終的電話號碼為0944123123。 If the network device is not the preset gateway 110 but the terminal device 400, the terminal device 400 generates its own telephone number in step S102. In the present embodiment, the telephone number of the terminal device 400 is generated based on its own MAC address using a hash algorithm that takes the last six bits of the MAC address of each terminal device. For example, if the MAC address of the terminal device 400 is 11:12:31:23, respectively, the telephone number of the terminal device 400 is 123123, and in combination with the area code (such as 0944), the final telephone number of the terminal device 400 is 0944123123. .

在步驟S104,終端設備400根據預設規則產生自己的電話號碼對應的域名。在本實施方式中,該預設規則是將電話號碼及預設字串(如:“.myvoip.net”)相結合來組成對應的域名。舉例來 講,假定終端設備400的電話號碼為0944123123,則終端設備400的域名是“0944123123.myvoip.net”。 In step S104, the terminal device 400 generates a domain name corresponding to its own phone number according to a preset rule. In this embodiment, the preset rule is to combine a phone number and a preset string (eg, “.myvoip.net”) to form a corresponding domain name. For example Speaking of the terminal device 400, the domain name of the terminal device 400 is "0944123123.myvoip.net".

在步驟S106,終端設備400將自己的域名與自己的IP位址向動態域名伺服器120註冊。 In step S106, the terminal device 400 registers its own domain name with its own IP address to the dynamic domain name server 120.

當動態域名伺服器120接收到終端設備400的註冊後,會判斷終端設備400的域名是否出現重複。在本實施例中,由於終端設備400是根據預設規則產生自己的電話號碼對應的域名,所以自己的域名有可能會出現重複。當終端設備400的域名出現重複時,動態域名伺服器120發送註冊失敗資訊至終端設備400。當終端設備400的域名沒有出現重複時,動態域名伺服器120將終端設備400的域名與IP位址存儲於對照表120a中,並發送註冊成功資訊至相應的終端設備400。 When the dynamic domain name server 120 receives the registration of the terminal device 400, it determines whether the domain name of the terminal device 400 is duplicated. In this embodiment, since the terminal device 400 generates a domain name corresponding to its own phone number according to a preset rule, there may be a repetition of its own domain name. When the domain name of the terminal device 400 appears to be duplicated, the dynamic domain name server 120 transmits registration failure information to the terminal device 400. When the domain name of the terminal device 400 does not appear to be duplicated, the dynamic domain name server 120 stores the domain name and IP address of the terminal device 400 in the lookup table 120a, and transmits registration success information to the corresponding terminal device 400.

在步驟S108,終端設備400判斷自己的域名是否註冊成功。 In step S108, the terminal device 400 determines whether its own domain name is successfully registered.

若終端設備400的域名未註冊成功,即從動態域名伺服器120接收到註冊失敗資訊,則在步驟S112,終端設備400將當前電話號碼加預設數值(如1),以得到更新後的電話號碼。 If the domain name of the terminal device 400 is not successfully registered, that is, the registration failure information is received from the dynamic domain name server 120, then in step S112, the terminal device 400 adds the current phone number to a preset value (such as 1) to obtain the updated phone number. number.

在步驟S114,終端設備400再基於更新後的電話號碼產生更新後的域名。 In step S114, the terminal device 400 generates an updated domain name based on the updated phone number.

回到步驟S106,終端設備400將更新後的域名與IP位址繼續向動態域名伺服器120註冊,直到註冊成功。 Returning to step S106, the terminal device 400 continues to register the updated domain name and IP address with the dynamic domain name server 120 until the registration is successful.

當終端設備400註冊成功後,每當終端設備400重新開機或重新接入網路協定語音網路100時,都會及時向動態域名伺服器120更新終端設備400的IP位址。 After the terminal device 400 is successfully registered, whenever the terminal device 400 is rebooted or re-accessed to the network-assigned voice network 100, the IP address of the terminal device 400 is updated to the dynamic domain name server 120 in time.

若步驟S100的判斷結果為網路設備是預設閘道器110,則在步驟S110,預設閘道器110產生預設閘道器110的域名,例如:0944defaultGW.myvoip.net。 If the result of the determination in step S100 is that the network device is the preset gateway 110, then in step S110, the preset gateway 110 generates the domain name of the preset gateway 110, for example: 0944defaultGW.myvoip.net.

在步驟S106,預設閘道器110將預設閘道器110的域名與預設閘道器110的IP位址(如60.199.244.6)向動態域名伺服器120註冊。 In step S106, the preset gateway 110 registers the domain name of the preset gateway 110 with the IP address of the preset gateway 110 (eg, 60.199.244.6) to the dynamic domain name server 120.

當動態域名伺服器120接收到預設閘道器110的註冊後,會判斷預設閘道器110的域名是否出現重複。在本實施例中,由於預設閘道器110的域名一般提前向動態域名伺服器120進行申請並付費而取得,所以不會出現重複。相應的,動態域名伺服器120將預設閘道器110的域名與IP位址存儲於對照表120a中,並發送註冊成功資訊至預設閘道器110。 When the dynamic domain name server 120 receives the registration of the preset gateway 110, it will determine whether the domain name of the preset gateway 110 is duplicated. In this embodiment, since the domain name of the preset gateway 110 is generally obtained in advance by applying to the dynamic domain name server 120 and paying for it, there is no duplication. Correspondingly, the dynamic domain name server 120 stores the domain name and IP address of the preset gateway 110 in the look-up table 120a, and sends the registration success information to the preset gateway 110.

因此,在步驟S108,預設閘道器110判定註冊成功。 Therefore, in step S108, the preset gateway 110 determines that the registration is successful.

當預設閘道器110向動態域名伺服器120註冊成功後,每當預設閘道器110重新開機或重新接入網路協定語音網路100時,預設閘道器110都會及時向動態域名伺服器120更新預設閘道器110的IP位址。 When the preset gateway 110 successfully registers with the dynamic domain name server 120, the preset gateway 110 will move to the dynamic every time the preset gateway 110 is restarted or re-accessed to the network protocol voice network 100. The domain name server 120 updates the IP address of the preset gateway 110.

圖5為本發明終端設備100a的網路協定語音信令交換方法一實施方式的流程圖。在本實施方式中,終端設備100a可能在網路協定語音網路100中呼叫另一個終端設備100b,也可能跨越網路協定語音網路100與公共交換電話網路120呼叫另一個終端設備200b。 FIG. 5 is a flowchart of an embodiment of a network protocol voice signaling exchange method of a terminal device 100a according to the present invention. In the present embodiment, the terminal device 100a may call another terminal device 100b in the network protocol voice network 100, and may also call another terminal device 200b across the network protocol voice network 100 and the public switched telephone network 120.

在步驟S200,終端設備100a接收用戶輸入的被叫電話號碼。在本實施方式中,若終端設備100a在網路協定語音網路100中呼叫另一個終端設備100b,則被叫電話號碼即為終端設備100b的電話號 ;若終端設備100a跨越網路協定語音網路100與公共交換電話網路120呼叫另一個終端設備200b,則被叫電話號碼即為終端設備200b的電話號碼。 At step S200, the terminal device 100a receives the called telephone number input by the user. In this embodiment, if the terminal device 100a calls another terminal device 100b in the network protocol voice network 100, the called phone number is the phone number of the terminal device 100b. If the terminal device 100a calls the other terminal device 200b across the network protocol voice network 100 and the public switched telephone network 120, the called telephone number is the telephone number of the terminal device 200b.

在步驟S202,終端設備100a根據預設規則產生被叫電話號碼對應的被叫域名。該預設規則是將電話號碼及預設字串(如:“.myvoip.net”)相結合來組成域名。舉例來講,若被叫終端設備為終端設備100b,且其電話號碼為0944456456,則根據預設規則產生的被叫域名為“0944456456.myvoip.net”。 In step S202, the terminal device 100a generates a called domain name corresponding to the called telephone number according to a preset rule. The default rule is to combine a phone number with a preset string (eg ".myvoip.net") to form a domain name. For example, if the called terminal device is the terminal device 100b and its telephone number is 0944456456, the called domain name generated according to the preset rule is “0944456456.myvoip.net”.

在步驟S204,終端設備100a判斷其終端暫存器405中是否有被叫域名對應的被叫IP位址。 In step S204, the terminal device 100a determines whether there is a called IP address corresponding to the called domain name in its terminal register 405.

若終端暫存器405中有被叫域名對應的被叫IP位址,則在步驟S206,終端設備100a直接從終端暫存器405中獲取被叫IP位址。 If there is a called IP address corresponding to the called domain name in the terminal register 405, the terminal device 100a directly obtains the called IP address from the terminal register 405 in step S206.

若終端設備暫存器405中沒有被叫域名對應的被叫IP位址,則在步驟S210,終端設備100a向動態域名伺服器120反查被叫域名對應的被叫IP位址。 If there is no called IP address corresponding to the called domain name in the terminal device register 405, then in step S210, the terminal device 100a inverts the dynamic domain name server 120 to check the called IP address corresponding to the called domain name.

在步驟S212,終端設備100a判斷是否成功反查到被叫IP位址。 In step S212, the terminal device 100a determines whether the called IP address is successfully checked.

若成功反查到被叫IP位址,則在步驟S208,終端設備100a根據被叫IP位址與被叫終端設備100b交換網路協定語音信令。此後,終端設備100a即可與被叫終端設備100b進行語音通話。 If the called IP address is successfully checked, in step S208, the terminal device 100a exchanges network protocol voice signaling with the called terminal device 100b according to the called IP address. Thereafter, the terminal device 100a can make a voice call with the called terminal device 100b.

若未成功反查到被叫IP位址,則被叫終端設備不是網路協定語音網路100內部的終端設備。相應地,在步驟S214,終端設備100a向動態域名伺服器120反查預設閘道器110的IP位址。 If the called IP address is not successfully checked, the called terminal device is not a terminal device inside the network protocol voice network 100. Accordingly, in step S214, the terminal device 100a inverts the IP address of the preset gateway 110 to the dynamic domain name server 120.

在步驟S216,終端設備100a根據預設閘道器110的IP位址與預設閘道器110交換網路協定語音信令。此後,終端設備100a即可經由預設閘道器110跨越網路協定語音網路100及公共交換電話網路120與被叫終端設備200b進行語音通話。 In step S216, the terminal device 100a exchanges network protocol voice signaling with the preset gateway 110 according to the IP address of the preset gateway 110. Thereafter, the terminal device 100a can make a voice call with the called terminal device 200b via the preset gateway 110 across the network protocol voice network 100 and the public switched telephone network 120.

圖6為本發明預設閘道器110的網路協定語音信令交換方法一實施方式的流程圖。在本實施方式中,一個終端設備200a跨越公共交換電話網路120與網路協定語音網路100呼叫另一個終端設備100b。預設閘道器110會從公共交換電話網路200接收到終端設備200a對終端設備100b的呼叫。 FIG. 6 is a flowchart of an embodiment of a network protocol voice signaling exchange method of a preset gateway 110 according to the present invention. In the present embodiment, one terminal device 200a calls another terminal device 100b across the public switched telephone network 120 and the network protocol voice network 100. The preset gateway 110 receives a call from the public switched telephone network 200 to the terminal device 100b by the terminal device 200a.

在步驟S300,預設閘道器110從公共交換電話網路200接收被叫電話號碼,即終端設備100b的電話號碼。 At step S300, the preset gateway 110 receives the called telephone number, that is, the telephone number of the terminal device 100b, from the public switched telephone network 200.

在步驟S302,預設閘道器110根據預設規則產生被叫電話號碼對應的被叫域名。該預設規則是將電話號碼及預設字串(如:“.myvoip.net”)相結合來組成域名。舉例來講,若被叫終端設備為終端設備100b,且其電話號碼為0944456456,則根據預設規則產生的被叫域名為“0944456456.myvoip.net”。 In step S302, the preset gateway 110 generates a called domain name corresponding to the called telephone number according to a preset rule. The default rule is to combine a phone number with a preset string (eg ".myvoip.net") to form a domain name. For example, if the called terminal device is the terminal device 100b and its telephone number is 0944456456, the called domain name generated according to the preset rule is “0944456456.myvoip.net”.

在步驟S304,預設閘道器110判斷閘道暫存器115中是否有被叫域名對應的被叫IP位址。 In step S304, the preset gateway 110 determines whether there is a called IP address corresponding to the called domain name in the gateway register 115.

若閘道暫存器115中有被叫IP位址,則在步驟S306,預設閘道器110直接從閘道暫存器115中獲取被叫IP位址。 If there is a called IP address in the gateway register 115, the preset gateway 110 directly acquires the called IP address from the gateway register 115 in step S306.

若閘道暫存器115中沒有被叫IP位址,則在步驟310,預設閘道器110向動態域名伺服器120反查被叫域名對應的被叫IP位址。 If there is no called IP address in the gateway register 115, then in step 310, the preset gateway 110 inverts the dynamic domain name server 120 to check the called IP address corresponding to the called domain name.

在步驟S312,預設閘道器110判斷是否成功反查到被叫IP位址。 In step S312, the preset gateway 110 determines whether the called IP address is successfully checked.

若成功反查到被叫IP位址,則在步驟S308,預設閘道器110根據被叫IP位址與被叫終端設備(即終端設備100b)交換網路協定語音信令。當網路協定語音信令交換完成後,主叫終端設備200a即可經由預設閘道器110與被叫終端設備100b進行語音通話。 If the called IP address is successfully checked, in step S308, the preset gateway 110 exchanges network protocol voice signaling with the called terminal device (ie, the terminal device 100b) according to the called IP address. After the network protocol voice signaling exchange is completed, the calling terminal device 200a can make a voice call with the called terminal device 100b via the preset gateway 110.

若未成功反查到被叫域名對應的被叫IP位址,則在步驟S314,預設閘道器110向公共交換電話網路200拒絕被叫電話號碼的呼叫。 If the called IP address corresponding to the called domain name is not successfully checked, the default gateway 110 rejects the called telephone number to the public switched telephone network 200 in step S314.

圖7為本發明網路協定語音信令交換方法一實施方式的傳輸圖。在本實施方式中,主叫終端設備100a在網路協定語音網路100內呼叫被叫終端設備100b。 FIG. 7 is a transmission diagram of an embodiment of a network protocol voice signaling exchange method according to the present invention. In the present embodiment, the calling terminal device 100a calls the called terminal device 100b within the network protocol voice network 100.

首先,主叫終端設備100a與被叫終端設備100b產生各自的電話號碼,並根據預設規則產生各自的電話號碼對應的域名。舉例來講,假定主叫終端設備100a產生的電話號碼為0944123123,則產生的對應的域名為0944123123.myvoip.net。假定被叫終端設備100b產生的電話號碼為0944456456,則相應產生的域名為0944456456.myvoip.net。 First, the calling terminal device 100a and the called terminal device 100b generate respective telephone numbers, and generate domain names corresponding to the respective telephone numbers according to preset rules. For example, assuming that the telephone number generated by the calling terminal device 100a is 0944123123, the corresponding domain name generated is 0944123123.myvoip.net. Assuming that the telephone number generated by the called terminal device 100b is 0944456456, the corresponding generated domain name is 0944456456.myvoip.net.

接著,主叫終端設備100a與被叫終端設備100b分別將各自的域名與IP位址向動態域名伺服器120進行註冊。在本實施方式中,假定主叫終端設備100a的IP位址為210.59.230.60,則主叫終端設備100a將0944123123.myvoip.net與210.59.230.60向動態域名伺服器120進行註冊。假定被叫終端設備100b的IP位址為119.160.246.23,則被叫終端設備100b將0944456456.myvoip.net與119.160.246.23向動態域名伺服器120進行註冊。 Next, the calling terminal device 100a and the called terminal device 100b register their respective domain names and IP addresses to the dynamic domain name server 120, respectively. In the present embodiment, assuming that the IP address of the calling terminal device 100a is 210.59.230.60, the calling terminal device 100a registers 0944123123.myvoip.net and 210.59.230.60 to the dynamic domain name server 120. Assuming that the IP address of the called terminal device 100b is 119.160.246.23, the called terminal device 100b registers 0944456456.myvoip.net with 119.160.246.23 to the dynamic domain name server 120.

此後,主叫終端設備100a撥打被叫電話號碼,即被叫終端設備100b的電話號碼0944456456。 Thereafter, the calling terminal device 100a dials the called telephone number, that is, the telephone number 0944456456 of the called terminal device 100b.

接著,主叫終端設備100a根據預設規則產生被叫電話號碼對應的被叫域名,即0944456456.myvoip.net。 Next, the calling terminal device 100a generates a called domain name corresponding to the called telephone number according to a preset rule, that is, 0944456456.myvoip.net.

然後,主叫終端設備100a向動態域名伺服器120反查被叫域名對應的被叫IP位址,即被叫終端設備100b的IP位址。 Then, the calling terminal device 100a inverts the dynamic domain name server 120 to check the called IP address corresponding to the called domain name, that is, the IP address of the called terminal device 100b.

接著,主叫終端設備100b從動態域名伺服器120接收動態域名伺服器120回應的被叫IP位址,即119.160.246.23。 Next, the calling terminal device 100b receives the called IP address that the dynamic domain name server 120 responds from the dynamic domain name server 120, that is, 119.160.246.23.

然後,主叫終端設備100a根據被叫IP位址與被叫終端設備100b交換網路協定語音信令。具體而言,主叫終端設備100a發送邀請資訊(Invite)至被叫終端設備100b,並從被叫終端設備100b接收振鈴回應(180 Ringing)與確認回應(200 OK)。 Then, the calling terminal device 100a exchanges network protocol voice signaling with the called terminal device 100b according to the called IP address. Specifically, the calling terminal device 100a transmits the invite information (Invite) to the called terminal device 100b, and receives a ringing response (180 Ringing) and an acknowledgment response (200 OK) from the called terminal device 100b.

此後,主叫終端設備100a與被叫終端設備100b即可進行語音通話,即相互傳送語音串流。 Thereafter, the calling terminal device 100a and the called terminal device 100b can perform a voice call, that is, transmit a voice stream to each other.

當通話完畢後,主叫終端設備100a與被叫終端設備100b結束信令連接,即主叫終端設備100a傳送再見資訊(Bye)至被叫終端設備100b,並從被叫終端設備100b接收再見回應(200 Ok)。 When the call is completed, the calling terminal device 100a terminates the signaling connection with the called terminal device 100b, that is, the calling terminal device 100a transmits the goodbye information (Bye) to the called terminal device 100b, and receives the goodbye response from the called terminal device 100b. (200 Ok).

圖8為本發明網路協定語音信令交換方法另一實施方式的傳輸圖。在本實施方式中,主叫終端設備100a跨越網路協定語音網路100與公共交換電話網路200呼叫被叫終端設備200b。 FIG. 8 is a transmission diagram of another embodiment of a network protocol voice signaling exchange method according to the present invention. In the present embodiment, the calling terminal device 100a calls the called terminal device 200b across the network protocol voice network 100 and the public switched telephone network 200.

首先,主叫終端設備100a產生自己的電話號碼,根據預設規則產生電話號碼對應的域名。舉例來講,假定主叫終端設備100a產生 的電話號碼為0944123123,則相應產生的域名為0944123123.myvoip.net。 First, the calling terminal device 100a generates its own telephone number, and generates a domain name corresponding to the telephone number according to a preset rule. For example, assume that the calling terminal device 100a is generated. The phone number is 0944123123, and the corresponding domain name is 0944123123.myvoip.net.

接著,主叫終端設備100a將自己的域名與IP位址向動態域名伺服器120進行註冊。在本實施方式中,假定主叫終端設備100a的IP位址為210.59.230.60,則主叫終端設備100a將0944123123.myvoip.net與210.59.230.60向動態域名伺服器120進行註冊。 Next, the calling terminal device 100a registers its own domain name and IP address with the dynamic domain name server 120. In the present embodiment, assuming that the IP address of the calling terminal device 100a is 210.59.230.60, the calling terminal device 100a registers 0944123123.myvoip.net and 210.59.230.60 to the dynamic domain name server 120.

同時,預設閘道器110產生自己的域名,並將自己的域名與IP位址向動態域名伺服器120註冊。在本實施方式中,假定預設閘道器110的域名與IP位址分別為0944defaultGW.myvoip.net與119.160.246.23,則預設閘道器110將0944defaultGW.myvoip.net與119.160.246.23向動態域名伺服器120進行註冊。 At the same time, the preset gateway 110 generates its own domain name and registers its own domain name with the IP address to the dynamic domain name server 120. In this embodiment, assuming that the domain name and IP address of the preset gateway 110 are 0094defaultGW.myvoip.net and 119.160.246.23, respectively, the preset gateway 110 moves the 0944defaultGW.myvoip.net and 119.160.246.23 to the dynamic state. The domain name server 120 registers.

此後,主叫終端設備100a撥打被叫電話號碼,即被叫終端設備200b的電話號碼,如88622267511。 Thereafter, the calling terminal device 100a dials the called telephone number, that is, the telephone number of the called terminal device 200b, such as 88622267511.

接著,主叫終端設備100a根據預設規則產生被叫電話號碼對應的被叫域名,即88622267511.myvoip.net。 Next, the calling terminal device 100a generates a called domain name corresponding to the called telephone number according to a preset rule, that is, 88622267511.myvoip.net.

然後,主叫終端設備100a向動態域名伺服器120反查被叫域名對應的被叫IP位址,即被叫終端設備200b的IP位址。 Then, the calling terminal device 100a inverts the dynamic domain name server 120 to check the called IP address corresponding to the called domain name, that is, the IP address of the called terminal device 200b.

由於被叫終端設備200b並未向動態域名伺服器120註冊,所以動態域名伺服器120回應無結果至主叫終端設備100a。 Since the called terminal device 200b is not registered with the dynamic domain name server 120, the dynamic domain name server 120 responds with no result to the calling terminal device 100a.

然後,主叫終端設備100a繼續向動態域名伺服器120反查預設閘道器110的域名對應的IP位址,並從動態域名伺服器120接收動態 域名伺服器120回應的預設閘道器110的IP位址,如60.199.244.6。 Then, the calling terminal device 100a continues to check the IP address corresponding to the domain name of the preset gateway 110 to the dynamic domain name server 120, and receives the dynamic from the dynamic domain name server 120. The IP address of the preset gateway 110 that the domain name server 120 responds to, for example, 60.199.244.6.

然後,主叫終端設備100a根據預設閘道器110的IP位址與預設閘道器110交換網路協定語音信令。具體而言,主叫終端設備100a發送邀請資訊(Invite)至預設閘道器110,並從預設閘道器110接收振鈴回應(180 Ringing)與確認回應(200 OK)。 Then, the calling terminal device 100a exchanges network protocol voice signaling with the preset gateway 110 according to the IP address of the preset gateway 110. Specifically, the calling terminal device 100a transmits the invitation information (Invite) to the preset gateway 110, and receives a ringing response (180 Ringing) and an acknowledgment response (200 OK) from the preset gateway 110.

同時,預設閘道器110與中繼閘道器210交換T1/E1信令,進而跨網呼叫被叫終端設備200b。 At the same time, the preset gateway 110 exchanges T1/E1 signaling with the relay gateway 210, thereby calling the called terminal device 200b across the network.

此後,主叫終端設備100a與被叫終端設備200b即可經由預設閘道器110與中繼閘道器210進行跨網的語音通話,即經由預設閘道器110與中繼閘道器210相互傳送語音串流與語音資料。 Thereafter, the calling terminal device 100a and the called terminal device 200b can perform a voice call across the network via the preset gateway 110 and the relay gateway 210, that is, via the preset gateway 110 and the relay gateway. 210 transmits voice streams and voice data to each other.

當通話完畢後,主叫終端設備100a與預設閘道器110結束信令連接,即主叫終端設備100a傳送再見資訊(Bye)至預設閘道器110,並從預設閘道器110接收再見回應(200 Ok)。同時,預設閘道器110與中繼閘道器210交換T1/E1信令以結束對被叫終端設備200b的呼叫。 When the call is completed, the calling terminal device 100a terminates the signaling connection with the preset gateway 110, that is, the calling terminal device 100a transmits the goodbye information (Bye) to the preset gateway 110, and from the preset gateway 110. Receive a goodbye response (200 Ok). At the same time, the preset gateway 110 exchanges T1/E1 signaling with the relay gateway 210 to end the call to the called terminal device 200b.

綜上所述,本發明實施方式中的預設閘道器110、終端設備100a、100b、100c、400向動態域名伺服器120註冊域名與IP位址,再向動態域名伺服器120反查被叫域名對應的被叫IP位址,最後根據被叫IP位址與被叫終端設備交換網路協定語音信令,因此預設閘道器110、終端設備100a、100b、100c、400不需要借助媒體閘道控制器即可交換網路協定語音信令,從而大大的節省成本。 In summary, the preset gateway 110, the terminal devices 100a, 100b, 100c, and 400 in the embodiment of the present invention register the domain name and the IP address with the dynamic domain name server 120, and then check the dynamic domain name server 120. The called IP address corresponding to the domain name is called, and finally the network protocol voice signaling is exchanged with the called terminal device according to the called IP address, so the preset gateway 110, the terminal devices 100a, 100b, 100c, 400 need not be used. The media gateway controller can exchange network protocol voice signaling, which greatly saves costs.

此外,預設閘道器110、終端設備100a、100b、100c、400還藉由 各自的暫存器存儲曾經成功反查的被叫域名對應的被叫IP位址,從而不必重複向動態域名伺服器120反查被叫域名對應的被叫IP位址,加快了信令交換的速度。 In addition, the preset gateway 110, the terminal devices 100a, 100b, 100c, 400 are also The respective scratchpad stores the called IP address corresponding to the called domain name that has been successfully checked, so that it is not necessary to repeatedly check the called IP address corresponding to the called domain name to the dynamic domain name server 120, thereby speeding up the signaling exchange. speed.

綜上所述,本發明符合發明專利要件,爰依法提出專利申請。惟,以上所述僅為本發明之較佳實施例,舉凡熟悉本案技藝之人士,在爰依本案發明精神所作之等效修飾或變化,皆應包含於以下之申請專利範圍內。 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.

110‧‧‧預設閘道器 110‧‧‧Preset gateway

111‧‧‧閘道註冊模組 111‧‧‧Gateway registration module

112‧‧‧閘道號碼接收模組 112‧‧‧Gateway number receiving module

113‧‧‧閘道位址查找模組 113‧‧‧Chute address search module

114‧‧‧閘道信令交換模組 114‧‧‧Gateway Signaling Switching Module

115‧‧‧閘道暫存器 115‧‧‧Threshold register

116‧‧‧閘道暫存判斷模組 116‧‧‧Chute temporary judgment module

117‧‧‧閘道處理器 117‧‧‧gate processor

Claims (11)

一種預設閘道器,在網路協定語音網路內與多個終端設備及動態域名伺服器通訊連接,該等終端設備產生各自的電話號碼,根據預設規則產生各自的電話號碼對應的域名,並將各自的域名與各自的網路協定位址向該動態域名伺服器註冊,其中該預設閘道器包括:閘道註冊模組,用於產生該預設閘道器的域名,並將該預設閘道器的域名與該預設閘道器的網路協定位址向該動態域名伺服器註冊;閘道號碼接收模組,用於從公共交換電話網路接收被叫電話號碼,該被叫電話號碼為該等終端設備中被叫終端設備的電話號碼;閘道位址查找模組,用於根據該預設規則產生該被叫電話號碼對應的被叫域名,並向該動態域名伺服器反查該被叫域名對應的被叫網路協定位址;閘道信令交換模組,用於當成功反查到該被叫網路協定位址時根據該被叫網路協定位址與該被叫終端設備交換網路協定語音信令,以及當未成功反查到該被叫網路協定位址時向該公共交換電話網路拒絕該被叫電話號碼的呼叫;閘道暫存器,用於存儲曾經成功反查的被叫域名對應的被叫網路協定位址;及閘道暫存判斷模組,用於判斷該閘道暫存器中是否有該被叫域名對應的被叫網路協定位址,當該閘道暫存器中有該被叫域名對應的被叫網路協定位址時直接從該閘道暫存器中獲取該被叫網路協定位址。 A preset gateway device is connected to a plurality of terminal devices and a dynamic domain name server in a network protocol voice network, and the terminal devices generate respective phone numbers, and generate domain names corresponding to respective phone numbers according to preset rules. And registering the respective domain name with the respective network protocol address to the dynamic domain name server, wherein the preset gateway comprises: a gateway registration module, configured to generate a domain name of the preset gateway, and Registering the domain name of the preset gateway with the network protocol address of the preset gateway to the dynamic domain name server; the gateway number receiving module for receiving the called telephone number from the public switched telephone network The called phone number is the phone number of the called terminal device in the terminal device; the gateway address searching module is configured to generate the called domain name corresponding to the called phone number according to the preset rule, and The dynamic domain name server reversely checks the called network protocol address corresponding to the called domain name; the gateway signaling exchange module is configured to use the called network when successfully detecting the called network protocol address Agreement address and the Calling the terminal device to exchange network protocol voice signaling, and rejecting the called telephone number call to the public switched telephone network when the called network protocol address is not successfully checked; the gateway register is used And storing a called network protocol address corresponding to the called domain name that has been successfully checked; and a gateway temporary storage determining module, configured to determine whether the called temporary network corresponds to the called network corresponding to the called domain name The road agreement address, when the gateway register address corresponding to the called domain name corresponding to the called domain name is obtained, the called network protocol address is directly obtained from the gateway register. 如申請專利範圍第1項所述之預設閘道器,其中該閘道註冊模組還用於每當該預設閘道器重新開機或重新接入該網路協定語音網路時,向該動態 域名伺服器更新該預設閘道器的網路協定位址。 The preset gateway according to claim 1, wherein the gateway registration module is further configured to: when the preset gateway is restarted or re-accessed to the network protocol voice network, The dynamic The domain name server updates the network protocol address of the preset gateway. 如申請專利範圍第1項所述之預設閘道器,其中該預設規則包括將電話號碼及預設字串結合組成對應的域名。 The preset gateway according to claim 1, wherein the preset rule comprises combining a phone number and a preset string to form a corresponding domain name. 一種終端設備,在網路協定語音網路中與多個其它終端設備、預設閘道器及動態域名伺服器通訊連接,該預設閘道器產生該預設閘道器的域名,並將該預設閘道器的域名與該預設閘道器的網路協定位址向該動態域名伺服器註冊,多個其它終端設備產生各自的電話號碼,根據預設規則產生各自的電話號碼對應的域名,並將各自的域名與各自的網路協定位址向該動態域名伺服器註冊,其中該終端設備包括:終端註冊模組,用於產生該終端設備的電話號碼,根據該預設規則產生該終端設備的電話號碼對應的域名,並將該終端設備的域名與該終端設備的網路協定位址向該動態域名伺服器註冊;終端號碼接收模組,用於接收用戶輸入的被叫電話號碼,該被叫電話號碼是被叫終端設備的電話號碼;終端位址查找模組,用於根據該預設規則產生該被叫電話號碼對應的被叫域名,並向該動態域名伺服器反查該被叫域名對應的被叫網路協定位址;終端信令交換模組,用於當該被叫終端設備是該網路協定語音網路中多個其它終端設備其中之一時根據該被叫網路協定位址與該被叫終端設備交換網路協定語音信令;終端暫存器,用於存儲曾經成功反查的被叫域名對應的被叫網路協定位址;及終端暫存判斷模組,用於判斷該終端暫存器中是否有該被叫域名對應的被叫網路協定位址,當該終端暫存器中有該被叫域名對應的被叫網路協定位址時直接從該終端暫存器中獲取該被叫網路協定位址。 An end device communicatively communicating with a plurality of other terminal devices, a preset gateway, and a dynamic domain name server in a network protocol voice network, the preset gateway generating a domain name of the preset gateway, and The domain name of the preset gateway and the network protocol address of the preset gateway are registered with the dynamic domain name server, and a plurality of other terminal devices generate respective telephone numbers, and corresponding telephone numbers are generated according to preset rules. Domain name, and register the respective domain name with the respective network protocol address to the dynamic domain name server, wherein the terminal device includes: a terminal registration module, configured to generate a phone number of the terminal device, according to the preset rule Generating a domain name corresponding to the phone number of the terminal device, and registering the domain name of the terminal device with the network protocol address of the terminal device to the dynamic domain name server; the terminal number receiving module is configured to receive the called input by the user a phone number, the called phone number is a phone number of the called terminal device; the terminal address searching module is configured to generate the called phone number pair according to the preset rule The called domain name, and the hosted network protocol address corresponding to the called domain name is back-checked to the dynamic domain name server; the terminal signaling switching module is configured to: when the called terminal device is the network protocol voice network One of a plurality of other terminal devices in the road exchanges network protocol voice signaling with the called terminal device according to the called network protocol address; the terminal register is used to store the called domain name corresponding to the successful reverse check. The called network protocol address; and the terminal temporary storage judging module, configured to determine whether the called network protocol address corresponding to the called domain name is in the terminal register, when the terminal register has The called network protocol address corresponding to the called domain name directly obtains the called network protocol address from the terminal register. 如申請專利範圍第4項所述之終端設備,其中:該終端位址查找模組還用於當該被叫終端設備不是該網路協定語音網路中多個其它終端設備其中之一時向該動態域名伺服器反查該預設閘道器的網路協定位址;及該終端信令交換模組還用於根據該預設閘道器的網路協定位址與該預設閘道器交換網路協定語音信令。 The terminal device of claim 4, wherein: the terminal address lookup module is further configured to: when the called terminal device is not one of a plurality of other terminal devices in the network protocol voice network The dynamic domain name server reversely checks the network protocol address of the preset gateway; and the terminal signaling switching module is further configured to use the network protocol address of the preset gateway and the preset gateway Switch network protocol voice signaling. 如申請專利範圍第4項所述之終端設備,其中該終端註冊模組還用於當未註冊成功時將該終端設備的電話號碼加預設數值,以得到更新後的電話號碼,基於更新後的電話號碼產生更新後的域名,並將該更新後的域名與該終端設備的網路協定位址繼續向該動態域名伺服器註冊,直到註冊成功。 The terminal device of claim 4, wherein the terminal registration module is further configured to add a preset value to the phone number of the terminal device when the registration is not successful, to obtain the updated phone number, based on the update The phone number generates an updated domain name, and the updated domain name and the network device address of the terminal device continue to be registered with the dynamic domain name server until the registration is successful. 如申請專利範圍第4項所述之終端設備,其中該終端註冊模組還用於每當該終端設備重新開機或重新接入該網路協定語音網路時,向該動態域名伺服器更新該終端設備的網路協定位址。 The terminal device of claim 4, wherein the terminal registration module is further configured to update the dynamic domain name server whenever the terminal device is rebooted or re-accessed to the network protocol voice network. The network protocol address of the terminal device. 如申請專利範圍第4項所述之終端設備,其中該終端設備的電話號碼是基於該終端設備的媒體存取控制位址利用雜湊演算法來產生,該雜湊演算法是取該終端設備的媒體存取控制位址的後六位元,該預設規則包括將電話號碼及預設字串結合組成對應的域名。 The terminal device of claim 4, wherein the telephone number of the terminal device is generated by using a hash algorithm based on a media access control address of the terminal device, and the hash algorithm is to take the media of the terminal device. The last six bits of the access control address, the preset rule includes combining the phone number and the preset string to form a corresponding domain name. 一種網路協定語音信令交換方法,應用於預設閘道器中,該預設閘道器與多個終端設備及動態域名伺服器通訊連接,其中該預設閘道器產生該預設閘道器的域名,並將該預設閘道器的域名與該預設閘道器的網路協定位址向該動態域名伺服器註冊,該等終端設備產生各自的電話號碼,根據預設規則產生各自的電話號碼對應的域名,並將各自的域名與各自的網路協定位址向該動態域名伺服器註冊,其中該網路協定語音信令交換方法包括以下步驟: 從公共交換電話網路接收被叫電話號碼,該被叫電話號碼是該等終端設備中被叫終端設備的電話號碼;根據該預設規則產生該被叫電話號碼對應的被叫域名;判斷閘道暫存器中是否有該被叫域名對應的被叫網路協定位址;若該閘道暫存器中有該被叫域名對應的被叫網路協定位址,則直接從該閘道暫存器中獲取該被叫網路協定位址;或若該閘道暫存器中沒有該被叫域名對應的被叫網路協定位址,則向該動態域名伺服器反查該被叫域名對應的被叫網路協定位址;判斷是否成功反查到該被叫網路協定位址;若成功反查到該被叫網路協定位址,則根據該被叫網路協定位址與該被叫終端設備交換網路協定語音信令;或若未成功反查到該被叫網路協定位址,則向該公共交換電話網路拒絕該被叫電話號碼的呼叫。 A network protocol voice signaling exchange method is applied to a preset gateway device, wherein the preset gateway device is communicatively connected with a plurality of terminal devices and a dynamic domain name server, wherein the preset gateway device generates the preset gate The domain name of the router, and registering the domain name of the preset gateway with the network protocol address of the preset gateway to the dynamic domain name server, and the terminal devices generate respective telephone numbers according to preset rules. Generating the domain names corresponding to the respective phone numbers, and registering the respective domain names with the respective network protocol addresses to the dynamic domain name server, wherein the network protocol voice signaling exchange method comprises the following steps: Receiving a called telephone number from a public switched telephone network, the called telephone number being a telephone number of the called terminal device in the terminal devices; generating a called domain name corresponding to the called telephone number according to the preset rule; Whether there is a called network protocol address corresponding to the called domain name in the track register; if the gateway register address corresponding to the called domain name is in the gateway register, directly from the gateway Obtaining the called network protocol address in the temporary storage device; or if the called gateway network address corresponding to the called domain name is not in the gateway register, the dynamic domain name server is inspected to the called party The called network protocol address corresponding to the domain name; determining whether the called network protocol address is successfully detected; if the called network protocol address is successfully detected, the called network protocol address is determined according to the called network protocol address Exchanging network protocol voice signaling with the called terminal device; or rejecting the called telephone number address to the public switched telephone network if the called network protocol address is not successfully checked. 一種網路協定語音信令交換方法,應用於終端設備中,該終端設備與多個其它終端設備、預設閘道器及動態域名伺服器通訊連接,其中該預設閘道器產生該預設閘道器的域名,並將該預設閘道器的域名與該預設閘道器的網路協定位址向該動態域名伺服器註冊,該終端設備與多個其它終端設備產生各自的電話號碼,根據預設規則產生各自的電話號碼對應的域名,並將各自的域名與各自的網路協定位址向該動態域名伺服器註冊,其中該網路協定語音信令交換方法包括以下步驟:接收用戶輸入的被叫電話號碼,該被叫電話號碼是被叫終端設備的電話號碼;根據該預設規則產生該被叫電話號碼對應的被叫域名,並向該動態域名伺服器反查該被叫域名對應的被叫網路協定位址;當該被叫終端設備是該網路協定語音網路中多個其它終端設備其中之一 時根據該被叫網路協定位址與該被叫終端設備交換網路協定語音信令;當被叫終端設備不是該網路協定語音網路中多個其它終端設備其中之一時向該動態域名伺服器反查該預設閘道器的網路協定位址;及根據該預設閘道器的網路協定位址與該預設閘道器交換網路協定語音信令。 A network protocol voice signaling exchange method is applied to a terminal device, wherein the terminal device is in communication connection with a plurality of other terminal devices, a preset gateway device, and a dynamic domain name server, wherein the preset gateway device generates the preset a domain name of the gateway, and registering the domain name of the preset gateway with the network protocol address of the preset gateway to the dynamic domain name server, and the terminal device and the plurality of other terminal devices generate respective telephones The number, the domain name corresponding to the respective phone number is generated according to the preset rule, and the respective domain name is registered with the dynamic domain name server with the respective network protocol address, wherein the network protocol voice signaling exchange method comprises the following steps: Receiving a called telephone number input by the user, the called telephone number is a telephone number of the called terminal device; generating a called domain name corresponding to the called telephone number according to the preset rule, and inspecting the dynamic domain name server The called network protocol address corresponding to the called domain name; when the called terminal device is one of a plurality of other terminal devices in the network protocol voice network Exchange network protocol voice signaling with the called terminal device according to the called network protocol address; and to the dynamic domain name when the called terminal device is not one of a plurality of other terminal devices in the network protocol voice network The server back-checks the network protocol address of the preset gateway; and exchanges network protocol voice signaling with the preset gateway according to the network protocol address of the preset gateway. 如申請專利範圍第10項所述之網路協定語音信令交換方法,還包括以下步驟:判斷終端暫存器中是否有該被叫域名對應的被叫網路協定位址;若該終端暫存器中有該被叫域名對應的被叫網路協定位址,則直接從該終端暫存器中獲取該被叫網路協定位址;或若該終端暫存器中沒有該被叫域名對應的被叫網路協定位址,則向該動態域名伺服器反查該被叫域名對應的被叫網路協定位址。 The method for exchanging a network protocol voice signaling according to claim 10, further comprising the steps of: determining, by the terminal register, whether the called network protocol address corresponding to the called domain name is present; If there is a called network protocol address corresponding to the called domain name in the memory, the called network protocol address is directly obtained from the terminal register; or if the called domain name is not in the terminal register Corresponding called network protocol address, the virtual domain name server is inspected for the called network protocol address corresponding to the called domain name.
TW100104621A 2011-02-11 2011-02-11 Default gateway, terminal device, and method for exchanging voip signaling TWI426745B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW100104621A TWI426745B (en) 2011-02-11 2011-02-11 Default gateway, terminal device, and method for exchanging voip signaling

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW100104621A TWI426745B (en) 2011-02-11 2011-02-11 Default gateway, terminal device, and method for exchanging voip signaling

Publications (2)

Publication Number Publication Date
TW201234813A TW201234813A (en) 2012-08-16
TWI426745B true TWI426745B (en) 2014-02-11

Family

ID=47070188

Family Applications (1)

Application Number Title Priority Date Filing Date
TW100104621A TWI426745B (en) 2011-02-11 2011-02-11 Default gateway, terminal device, and method for exchanging voip signaling

Country Status (1)

Country Link
TW (1) TWI426745B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI486026B (en) 2012-11-21 2015-05-21 Hon Hai Prec Ind Co Ltd Voice over internet protocol system and method

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6847704B1 (en) * 2002-12-23 2005-01-25 At&T Corp. Self-installable and portable voice telecommunication service
US20080198997A1 (en) * 2005-05-23 2008-08-21 Baruch Sterman Efficient Address Caching For Packet Telephony Services
US20100080376A1 (en) * 2008-09-30 2010-04-01 International Business Machines Corporation System and method for routing calls

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6847704B1 (en) * 2002-12-23 2005-01-25 At&T Corp. Self-installable and portable voice telecommunication service
US20080198997A1 (en) * 2005-05-23 2008-08-21 Baruch Sterman Efficient Address Caching For Packet Telephony Services
US20100080376A1 (en) * 2008-09-30 2010-04-01 International Business Machines Corporation System and method for routing calls

Also Published As

Publication number Publication date
TW201234813A (en) 2012-08-16

Similar Documents

Publication Publication Date Title
US20130198269A1 (en) DNS Outage Avoidance Method for Recursive DNS Servers
US8238539B2 (en) Communication system
US20120042081A1 (en) Communication system and method for using a multi-tiered registration session initiation protocol
US20110153809A1 (en) Legal Intercept
US8462773B2 (en) Default gateway, terminal device, and method for exchanging VoIP signaling
WO2014131278A1 (en) Method and device for calling by binding client to terminal
BR112015013080B1 (en) METHOD OF CONNECTING OVER-THE-TOP NETWORKS AND TRADITIONAL TELECOMMUNICATION NETWORKS UNINTERRUPTEDLY
WO2013113213A1 (en) Method and device for controlling user call
KR100814397B1 (en) Voip system supplying optimal intercom service and session connecting method thereof
JP6305786B2 (en) Incoming call control apparatus, incoming call control method, and program
US9923989B2 (en) Customizing network-level settings for a network device on a communication network
TWI426745B (en) Default gateway, terminal device, and method for exchanging voip signaling
US8868759B2 (en) Communication system and server
US20120250676A1 (en) Voip gateway and method for setting up speech communciaiton thereof
CN104469034A (en) Call forwarding method and system
US8812694B2 (en) Dialog establishment over a peer-to-peer architecture
JP5169113B2 (en) IP telephone system, IP telephone terminal and program
JP6509061B2 (en) Incoming call control device, incoming call control method, communication system, and program
CN105791456B (en) Device, system and method for realizing mobile terminal addressing between circuit domain and packet domain
TWI486026B (en) Voice over internet protocol system and method
TWI528776B (en) Terminal device and voice over internet protocol communication method
TWI702821B (en) Local telephone extension system
KR20030062861A (en) Internet Protocol Phone System and Internet Protocol Phone Device and Phone Number Assignment Method
US8396976B2 (en) Admitting calls based on endpoint locations
CN102377742A (en) Voice/ image communication system, terminal and method thereof

Legal Events

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