[go: up one dir, main page]

CN103841093B - terminal device and network protocol voice communication method - Google Patents

terminal device and network protocol voice communication method Download PDF

Info

Publication number
CN103841093B
CN103841093B CN201210490661.8A CN201210490661A CN103841093B CN 103841093 B CN103841093 B CN 103841093B CN 201210490661 A CN201210490661 A CN 201210490661A CN 103841093 B CN103841093 B CN 103841093B
Authority
CN
China
Prior art keywords
terminal device
group
domain name
call
address
Prior art date
Legal status (The legal status 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 status listed.)
Active
Application number
CN201210490661.8A
Other languages
Chinese (zh)
Other versions
CN103841093A (en
Inventor
张耀文
许世欣
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Jiashan Weitang Asset Management Co ltd
Original Assignee
Hongfujin Precision Industry Shenzhen Co Ltd
Hon Hai Precision Industry 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 Hongfujin Precision Industry Shenzhen Co Ltd, Hon Hai Precision Industry Co Ltd filed Critical Hongfujin Precision Industry Shenzhen Co Ltd
Priority to CN201210490661.8A priority Critical patent/CN103841093B/en
Publication of CN103841093A publication Critical patent/CN103841093A/en
Application granted granted Critical
Publication of CN103841093B publication Critical patent/CN103841093B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

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

Abstract

The present invention provides a kind of terminal device, in procotol voice system dynamic domain name server is connected to multiple other-end equipment, the terminal device can constitute a group with other-end equipment, when the terminal device call service group outside group is into one in the terminal device of group, user can select any one and calling terminal equipment in the terminal device of the composition group to set up and converse.The present invention also provides a kind of procotol voice system communication means.

Description

终端设备及网络协议语音通信方法Terminal equipment and network protocol voice communication method

技术领域technical field

本发明涉及网络协议语音(Voice over Internet Protocol,VoIP)领域,特别涉及一种网络协议语音通信系统中的终端设备及网络协议语音通信方法。The present invention relates to the field of Voice over Internet Protocol (VoIP), in particular to a terminal device in a Voice over Internet Protocol communication system and a Voice over Internet Protocol communication method.

背景技术Background technique

一般网络协议语音系统中的网络电话等终端设备与电话号码只能一一对应,也即网络电话之间只能进行一对一的呼叫通话。但在现实使用过程中,当一第一网络电话呼叫一第二网络电话时,该第二网络电话的用户可能不在第二网络电话的旁边,从而不方便接听。因此需要一种通信方法,可以使得多个终端设备组成一个群组共享一个电话号码,当用户不方便接听被叫电话号码对应的网络电话时,可以通过群组内的其他网络电话接听通话,从而实现网络电话的资源共享。Generally, terminal devices such as Internet phones in Internet protocol voice systems can only have one-to-one correspondence with phone numbers, that is, only one-to-one calls can be made between Internet phones. But in actual use, when a first network phone calls a second network phone, the user of the second network phone may not be beside the second network phone, so it is inconvenient to answer. Therefore need a kind of communication method, can make a plurality of terminal devices form a group and share a phone number, when the user is inconvenient to answer the network call corresponding to the called phone number, can answer the call through other network phones in the group, thereby Realize resource sharing of Internet telephony.

发明内容Contents of the invention

为解决上述问题,本发明提供一种终端设备,在网络协议语音系统中与多个其他终端设备以及动态域名服务器通信连接,该终端设备包括一注册模块,用于根据一预设算法产生一电话号码,并在电话号码后根据预设规则产生该电话号码对应的域名,然后将该域名及该终端设备对应的IP地址向该动态域名服务器注册,该终端设备还包括:输入接收模块,用于接收用户的输入操作来确定用户的操作为需要加入一群组时,获取作为需要加入的群组的建立者的终端设备对应的电话号码;IP地址查询模块,用于将输入接收模块获取到的电话号码根据上述预设规则生成对应的域名,然后产生一包含该生成的域名的查询请求并将该查询请求发送至动态域名服务器,用于向该动态服务器查询该生成的域名对应的IP地址;群组建立及注册模块,用于在输入接收模块接收用户的输入操为需要加入一群组时,在接收到动态域名服务器发送的该生成的域名对应的IP地址后,生成一加入群组请求并将该加入群组请求发送至该查询到的IP地址对应的终端设备,其中该加入请求中包括发送该加入群组请求的终端设备的域名和IP地址;该群组注册模块还用于在接收到查询到的IP地址对应的终端设备回传的确认响应后加入该查询到的IP地址对应的终端设备的群组。当群组外的终端设备呼叫组成群组的终端设备中的一个时,用户可以选择该组成群组的终端设备中的任意一个与主叫终端设备建立通话。In order to solve the above problems, the present invention provides a terminal device, which communicates with a plurality of other terminal devices and a dynamic domain name server in an Internet protocol voice system. The terminal device includes a registration module, which is used to generate a phone call according to a preset algorithm number, and generate the domain name corresponding to the phone number according to preset rules after the phone number, and then register the domain name and the IP address corresponding to the terminal device with the dynamic domain name server. The terminal device also includes: an input receiving module for When receiving the user's input operation to determine that the user's operation needs to join a group, obtain the phone number corresponding to the terminal device as the founder of the group that needs to join; the IP address query module is used to input the phone number obtained by the input receiving module The telephone number generates a corresponding domain name according to the above preset rules, and then generates a query request containing the generated domain name and sends the query request to the dynamic domain name server for querying the dynamic server for the IP address corresponding to the generated domain name; The group establishment and registration module are used to generate a request to join the group after receiving the IP address corresponding to the generated domain name sent by the dynamic domain name server when the input receiving module receives the user's input operation as needing to join a group And send the request to join the group to the terminal device corresponding to the queried IP address, wherein the request to join includes the domain name and IP address of the terminal device that sends the request to join the group; the group registration module is also used to After receiving the confirmation response returned by the terminal device corresponding to the queried IP address, join the group of the terminal device corresponding to the queried IP address. When a terminal device outside the group calls one of the terminal devices forming the group, the user may select any one of the terminal devices forming the group to establish a call with the calling terminal device.

本发明还提供一种终端设备,在网络协议语音系统中与多个其他终端设备以及动态域名服务器通信连接,该终端设备包括一注册模块,用于根据一预设算法产生一电话号码,并在电话号码后根据预设规则产生该电话号码对应的域名,然后将该域名及该终端设备对应的IP地址向该动态域名服务器注册,该终端设备还包括:输入接收模块,用于接收用户的输入操作;群组建立注册模块,用于响应输入接收模块接收到的用户的输入操作而建立一群组,并在接收到网络协议语音系统中一其他终端设备发送的加入群组请求时,分析该接收到的加入群组请求,并根据用户的输入操作确认是否同意该加入群组请求,若该输入接收模块接收到用户的输入为拒绝该加入群组请求的命令,则该群组注册模块根据该拒绝命令向发送该加入群组请求的终端设备回传一拒绝信息而拒绝该其他终端设备加入群组;若同意该加入群组请求,则该群组注册模块向发送该加入群组请求的终端设备回传一确认信息而将该其他终端设备加入群组。当群组外的终端设备呼叫组成群组的终端设备中的一个时,用户可以选择该组成群组的终端设备中的任意一个与主叫终端设备建立通话。本发明还提供一种网络协议语音系统中的通信方法。The present invention also provides a terminal device, which communicates with a plurality of other terminal devices and a dynamic domain name server in an Internet protocol voice system. The terminal device includes a registration module, which is used to generate a phone number according to a preset algorithm, and After the telephone number, the domain name corresponding to the telephone number is generated according to preset rules, and then the domain name and the IP address corresponding to the terminal device are registered with the dynamic domain name server. The terminal device also includes: an input receiving module for receiving user input Operation: The group establishes a registration module, which is used to establish a group in response to the user's input operation received by the input receiving module, and when receiving a request to join a group sent by another terminal device in the network protocol voice system, analyze the group Received the request to join the group, and confirm whether to agree to the request to join the group according to the user's input operation, if the input receiving module receives the user's input as an order to reject the request to join the group, then the group registration module according to The rejection command returns a rejection message to the terminal device that sent the request to join the group and rejects the other terminal devices to join the group; if the request to join the group is agreed, the group registration module sends the request to the group to The terminal device returns a confirmation message to add the other terminal device to the group. When a terminal device outside the group calls one of the terminal devices forming the group, the user may select any one of the terminal devices forming the group to establish a call with the calling terminal device. The invention also provides a communication method in the network protocol voice system.

本发明中的终端设备和网络协议语音系统中的通信方法,将多个终端设备组成一个群组,当群组中的一个终端设备被呼叫时,该群组内的任意一个终端设备均可与主叫建立通话,从而方便了用户的使用,更有效的利用了网络电话的资源。In the terminal equipment and the communication method in the network protocol voice system in the present invention, a plurality of terminal equipments are formed into a group, and when a terminal equipment in the group is called, any terminal equipment in the group can communicate with The caller establishes a call, which facilitates the use of the user and more effectively utilizes the resources of the Internet phone.

附图说明Description of drawings

图1为本发明一实施方式中网络协议语音系统架构示意图。FIG. 1 is a schematic diagram of the architecture of the VoIP system in an embodiment of the present invention.

图2为图1所示的网络协议语音系统中终端设备的功能模块示意图。FIG. 2 is a schematic diagram of functional modules of a terminal device in the VoIP system shown in FIG. 1 .

图3为本发明一实施方式中网络协议语音系统中终端设备加入群组过程的信令传输示意图。FIG. 3 is a schematic diagram of signaling transmission in the process of a terminal device joining a group in an Internet protocol voice system according to an embodiment of the present invention.

图4为本发明第一实施方式中网络协议语音系统中终端设备之间呼叫过程的信令传输示意图。FIG. 4 is a schematic diagram of signaling transmission during a call process between terminal devices in the Voice over Internet Protocol system in the first embodiment of the present invention.

图5为本发明第二实施方式中网络协议语音系统终端设备之间呼叫过程的信令传输示意图。FIG. 5 is a schematic diagram of signaling transmission during a call process between terminal devices in an IP voice system in a second embodiment of the present invention.

图6为本发明第三实施方式中网络协议语音系统终端设备之间呼叫过程的信令传输示意图。FIG. 6 is a schematic diagram of signaling transmission during a call process between terminal devices in an IP voice system according to a third embodiment of the present invention.

图7A-7B为本发明一实施方式中网络协议语音通信方法流程图。7A-7B are flow charts of a voice communication method over Internet Protocol in an embodiment of the present invention.

主要元件符号说明Description of main component symbols

网络协议语音系统Voice over Internet Protocol 100100 动态域名服务器Dynamic Domain Name Server 1010 对照表Chart 1111 终端设备Terminal Equipment 20a、20b、20c20a, 20b, 20c 注册模块registration module 21twenty one 输入接收模块input receiving module 22twenty two IP地址查询模块IP address query module 23twenty three 群组建立及注册模块Group creation and registration module 24twenty four 信令交换模块Signaling switching module 2525 存储模块storage module 2626 显示模块display module 2727

如下具体实施方式将结合上述附图进一步说明本发明。The following specific embodiments will further illustrate the present invention in conjunction with the above-mentioned drawings.

具体实施方式detailed description

下面结合附图,对本发明中的终端设备及网络协议语音通信方法作进一步的详细描述。The terminal equipment and the voice communication method over Internet Protocol in the present invention will be further described in detail below in conjunction with the accompanying drawings.

图1为本发明一实施方式中网络协议语音系统架构示意图。在本实施方式中,网络协议语音系统100包括动态域名服务器(DynamicDomain Name Service Server,DDNSServer)10,多个终端设备20以及综合接入设备30。在本实施方式中,以多个终端设备20分别为20a、20b、20c为例进行说明。该综合接入设备30用于将该多个终端设备20a、20b、20c与该动态域名服务器10相连接。在本实施方式中,该多个终端设备20a、20b、20c可以是网络电话、笔记本电脑或台式电脑等。其中,终端设备20a、20b、20c经由该综合接入设备130接入该动态域名服务器10的方式与现有相同。应当注意的是,当终端设备20a、20b、20c自身具有接入网络的功能时,也可不经由该综合接入设备130,而自行接入该动态域名服务器10。FIG. 1 is a schematic diagram of the architecture of the VoIP system in an embodiment of the present invention. In this embodiment, the VoIP system 100 includes a dynamic domain name server (DynamicDomain Name Service Server, DDNSServer) 10 , a plurality of terminal devices 20 and an integrated access device 30 . In this embodiment, description will be made by taking a plurality of terminal devices 20 respectively as 20a, 20b, and 20c as an example. The integrated access device 30 is used to connect the plurality of terminal devices 20 a , 20 b , 20 c with the dynamic domain name server 10 . In this embodiment, the plurality of terminal devices 20a, 20b, 20c may be Internet phones, notebook computers or desktop computers, and the like. Wherein, the way for the terminal devices 20a, 20b, 20c to access the dynamic domain name server 10 via the integrated access device 130 is the same as the conventional one. It should be noted that when the terminal devices 20a, 20b, 20c themselves have the function of accessing the network, they can also access the dynamic domain name server 10 by themselves without going through the integrated access device 130 .

该动态域名服务器10包括对照表11和处理单元12,当该终端设备20a、20b、20c向该动态域名服务器10进行注册时,该处理单元12将该终端设备20a、20b、20c的域名与网络协议(Internet Protocol,IP)地址存储于对照表11中。所述对照表11包括域名字段与IP地址字段,分别用于存储终端设备20a、20b、20c的域名与IP地址。其中,每一存储终端设备20a、20b、20c的IP地址为该终端设备唯一对应且在终端设备出厂时所设置。例如该终端设备20a对应的IP地址为60.199.244.6,终端设备20b对应的IP地址为210.59.230.60,终端设备20c对应的IP地址为119.160.246.23。The dynamic domain name server 10 includes a comparison table 11 and a processing unit 12. When the terminal equipment 20a, 20b, 20c registers with the dynamic domain name server 10, the processing unit 12 matches the domain name of the terminal equipment 20a, 20b, 20c with the network The protocol (Internet Protocol, IP) address is stored in the comparison table 11. The comparison table 11 includes a domain name field and an IP address field, which are respectively used to store the domain names and IP addresses of the terminal devices 20a, 20b, and 20c. Wherein, the IP address of each storage terminal device 20a, 20b, 20c is uniquely corresponding to the terminal device and is set when the terminal device leaves the factory. For example, the IP address corresponding to the terminal device 20a is 60.199.244.6, the IP address corresponding to the terminal device 20b is 210.59.230.60, and the IP address corresponding to the terminal device 20c is 119.160.246.23.

请一并参阅图2和图3,每个终端设备20均包括注册模块21、输入接收模块22、IP地址查询模块23、群组建立及注册模块24、信令交换模块25以及存储模块26。在本实施方式中,以终端设备20a对应包括注册模块21a、输入接收模块22a、IP地址查询模块23a、群组建立及注册模块24a、信令交换模块25a以及存储模块26a来进行说明,终端设备20b相应包括注册模块21b、输入接收模块22b等,终端设备20c相应包括注册模块21c、输入接收模块22c等。Please refer to FIG. 2 and FIG. 3 together. Each terminal device 20 includes a registration module 21 , an input receiving module 22 , an IP address query module 23 , a group establishment and registration module 24 , a signaling exchange module 25 and a storage module 26 . In this embodiment, the terminal device 20a is described as including a registration module 21a, an input receiving module 22a, an IP address query module 23a, a group establishment and registration module 24a, a signaling exchange module 25a, and a storage module 26a. 20b correspondingly includes a registration module 21b, an input receiving module 22b, etc., and the terminal device 20c correspondingly includes a registration module 21c, an input receiving module 22c, etc.

每个终端设备20的注册模块21用于根据一预设算法产生各自的电话号码,并在产生各自的电话号码后根据预设规则产生各自的电话号码对应的域名,然后将各自的域名与各自的IP地址向该动态域名服务器10注册。其中,该电话号码为终端设备20的网络电话号码。在本实施方式中,每个终端设备20a、20b、20c的电话号码是基于各自的MAC(MediaAccess Control)地址利用哈希(HASH)算法来产生,所述哈希算法是取每个终端设备的MAC地址的后六位,所述预设规则是将电话号码结合一预设字串(如:“.myvoip.net”)来组成域名。例如,设终端设备20a的MAC地址为11:12:31:23,则终端设备20a的电话号码为123123,再结合区号0944生成该终端设备20a的完整电话号码为0944123123。相应的,终端设备20a的域名为电话号码0944123123结合该预设字串.myvoip.net,即为:0944123123.myvoip.net。同理,若终端设备20b的MAC地址为11:45:64:56,则终端设备20b的电话号码为0944456456,对应的域名为0944456456.myvoip.net。若终端设备20c的MAC地址为11:78:97:89,则终端设备20c的电话号码可以为0944789789,对应的域名为0944789799.myvoip.net。The registration module 21 of each terminal device 20 is used to generate respective telephone numbers according to a preset algorithm, and after generating respective telephone numbers, generate respective domain names corresponding to respective telephone numbers according to preset rules, and then associate respective domain names with respective The IP address of is registered with this dynamic domain name server 10. Wherein, the phone number is the network phone number of the terminal device 20 . In this embodiment, the telephone number of each terminal device 20a, 20b, 20c is generated based on the respective MAC (Media Access Control) address using a hash (HASH) algorithm, and the hash algorithm is obtained from each terminal device The last six digits of the MAC address. The preset 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 address of the terminal device 20a is 11:12:31:23, then the phone number of the terminal device 20a is 123123, combined with the area code 0944, the complete phone number of the terminal device 20a is 0944123123. Correspondingly, the domain name of the terminal device 20a is the telephone number 0944123123 combined with the preset string .myvoip.net, namely: 0944123123.myvoip.net. Similarly, if the MAC address of the terminal device 20b is 11:45:64:56, the phone number of the terminal device 20b is 0944456456, and the corresponding domain name is 0944456456.myvoip.net. If the MAC address of the terminal device 20c is 11:78:97:89, the phone number of the terminal device 20c may be 0944789789, and the corresponding domain name is 0944789799.myvoip.net.

终端设备20a、20b、20c向动态域名服务器10注册完成后,一第一终端设备20a还可以与一第二终端设备20b组成一个群组,在一第三终端设备20c呼叫组成群组的终端设备20a或20b中的一个时,用户可以选择该组成群组的终端设备20a和20b中的任意一个与终端设备20c建立通话。After the terminal devices 20a, 20b, 20c are registered with the dynamic domain name server 10, a first terminal device 20a can also form a group with a second terminal device 20b, and call the grouped terminal devices at a third terminal device 20c 20a or 20b, the user can select any one of the terminal devices 20a and 20b forming the group to establish a call with the terminal device 20c.

具体的,其中任意一个终端设备20的群组建立及注册模块24可响应用户的操作而建立一个群组,例如终端设备20a的群组建立及注册模块24a响应用户的操作而作为建立者建立一个群组。当终端设备20b的输入接收模块22b接收用户的输入为要加入终端设备20a的群组时,终端设备20b通过输入接收模块22b获取需要加入的群组的建立者对应的电话号码,即终端设备20a对应的电话号码,例如终端设备20b的输入接收模块22b可以接收用户通过数字键盘等输入单元输入需要加入群组的终端设备20a的电话号码0944123123。该终端设备20b中的IP地址查询模块23b将获取到的电话号码通过如前所述的预设规则生成对应的域名:0944123123.myvoip.net。然后该IP地址查询模块23b生成一包含该生成的域名0944123123.myvoip.net的查询请求,并将该查询请求发送至该动态域名服务器10,用于向该动态域名服务器10查询该生成的域名0944123123.myvoip.net对应的IP地址,即请求查询待加入的群组的终端设备20a的IP地址。Specifically, the group establishment and registration module 24 of any terminal device 20 may establish a group in response to the user's operation, for example, the group establishment and registration module 24a of the terminal device 20a responds to the user's operation and establishes a group as the creator. group. When the input receiving module 22b of the terminal device 20b receives the user's input to join the group of the terminal device 20a, the terminal device 20b obtains the phone number corresponding to the founder of the group to be joined through the input receiving module 22b, that is, the terminal device 20a For the corresponding phone number, for example, the input receiving module 22b of the terminal device 20b may receive the user's input of the phone number 0944123123 of the terminal device 20a that needs to join the group through an input unit such as a numeric keypad. The IP address query module 23b in the terminal device 20b generates the corresponding domain name: 0944123123.myvoip.net through the obtained phone number through the preset rules as mentioned above. Then the IP address query module 23b generates a query request that includes the generated domain name 0944123123.myvoip.net, and sends the query request to the dynamic domain name server 10 for querying the generated domain name 0944123123 from the dynamic domain name server 10 The IP address corresponding to .myvoip.net is the IP address of the terminal device 20a requesting to inquire about the group to be joined.

该动态服务器10的处理单元12接收到该终端设备20b发送的查询请求后,在对照表11中存储的终端设备的域名和IP地址中查询该生成的域名对应的IP地址,并将查询到的IP地址回传至发送该请求的终端设备20b,例如,该动态域名服务器10查询到该生成的域名0944123123.myvoip.net对应的IP地址为60.199.244.6后,将该IP地址60.199.244.6发送至终端设备20b。After the processing unit 12 of the dynamic server 10 receives the query request sent by the terminal device 20b, it searches the domain name and IP address of the terminal device stored in the comparison table 11 for the IP address corresponding to the generated domain name, and queries the obtained The IP address is passed back to the terminal device 20b that sent the request. For example, after the dynamic domain name server 10 inquires that the IP address corresponding to the generated domain name 0944123123.myvoip.net is 60.199.244.6, the IP address 60.199.244.6 is sent to Terminal device 20b.

该终端设备20b的群组建立及注册模块24b根据该接收到的动态域名服务器10所发送的终端设备20a的IP地址生成一加入群组请求,并将该加入群组请求发送至该查询到的IP地址对应的终端设备20a,其中该加入群组请求中包含发送该请求的终端设备20b的域名和IP地址。The group establishment and registration module 24b of the terminal device 20b generates a group joining request according to the received IP address of the terminal device 20a sent by the dynamic domain name server 10, and sends the joining group request to the queried The terminal device 20a corresponding to the IP address, wherein the group joining request includes the domain name and IP address of the terminal device 20b sending the request.

终端设备20a中的群组建立及注册模块24a接收到该终端设备20b发送的加入群组请求后,分析该加入群组请求,如分析发送该加入群组请求的终端设备的域名、IP地址等,并根据输入接收模块22a接收的用户的输入确认是否同意该加入群组请求。若不同意该加入群组请求,例如,输入接收模块22a接收用户操作产生的拒绝命令,则该终端设备20a中的群组注册模块24a向发送该加入群组请求的终端设备20b回传一拒绝信息,拒绝该终端设备20b加入该群组。若同意该加入群组请求,该终端设备20a的群组注册模块24a向发送该加入群组请求的终端设备20b回传一确认响应(例如200ok),并将该终端设备20b加入群组,该组成群组的终端设备20a的群组建立及注册模块24a还将加入群组的终端设备20b的域名及IP地址存储在其存储模块26a中中,同样的,该加入群组的终端设备20b的群组建立及注册模块24b也将该终端设备20a的域名及IP地址存储在其存储模块26b中。在本实施方式中,每个终端设备20还均包括一显示模块27,当终端设备之间的群组关系建立后,组成群组的终端设备20a与20b的显示模块将该群组内的所有电话号码显示给任一群组内的终端设备20的用户。After the group establishment and registration module 24a in the terminal device 20a receives the request to join the group sent by the terminal device 20b, it analyzes the request to join the group, such as analyzing the domain name and IP address of the terminal device that sent the request to join the group. , and confirm whether to agree to the group joining request according to the user's input received by the input receiving module 22a. If the request to join the group is not approved, for example, the input receiving module 22a receives a rejection command generated by the user operation, then the group registration module 24a in the terminal device 20a returns a rejection to the terminal device 20b that sent the request to join the group information, rejecting the terminal device 20b from joining the group. If the request to join the group is agreed, the group registration module 24a of the terminal device 20a returns a confirmation response (for example, 200ok) to the terminal device 20b that sent the request to join the group, and the terminal device 20b joins the group, the The group establishment and registration module 24a of the terminal equipment 20a forming the group also stores the domain name and the IP address of the terminal equipment 20b joining the group in its storage module 26a. Similarly, the terminal equipment 20b joining the group The group establishment and registration module 24b also stores the domain name and IP address of the terminal device 20a in its storage module 26b. In this embodiment, each terminal device 20 also includes a display module 27. When the group relationship between the terminal devices is established, the display modules of the terminal devices 20a and 20b that form the group display all the The telephone number is displayed to the users of the terminal devices 20 in any group.

请参阅图4,终端设备20b加入终端设备20a的群组后,当终端设备20c的输入接收模块22c接收用户的输入为需要呼叫群组中的一个终端设备20a时,该终端设备20c首先通过输入接收模块22c获取用户输入的被叫终端设备20a的电话号码,例如接收用户通过数字键盘等输入设备输入的电话号码,该终端设备20c中的IP地址查询模块23c将获取到的被叫终端设备20a的电话号码根据如前所述的预定规则生成对应的域名,例如生成被叫的终端设备20a对应的域名0944123123.myvoip.net,并向该动态域名服务器10发送一包含该生成的域名的查询请求,用于请求该动态域名服务器10查询被叫的电话号码对应的IP地址。Please refer to Fig. 4, after the terminal equipment 20b joins the group of the terminal equipment 20a, when the input receiving module 22c of the terminal equipment 20c receives the user's input and needs to call a terminal equipment 20a in the group, the terminal equipment 20c first passes the input The receiving module 22c obtains the phone number of the called terminal device 20a input by the user, for example, receives the phone number input by the user through an input device such as a numeric keypad, and the IP address query module 23c in the terminal device 20c will obtain the called terminal device 20a The corresponding domain name is generated according to the predetermined rules as mentioned above, for example, the domain name 0944123123.myvoip.net corresponding to the called terminal device 20a is generated, and a query request containing the generated domain name is sent to the dynamic domain name server 10 , which is used to request the dynamic domain name server 10 to query the IP address corresponding to the called phone number.

该动态域名服务器10中的处理单元12接收到该终端设备20c发送的查询请求后,在对照表11中查询被叫终端设备20a对应的IP地址并将该IP地址回传给发送该查询请求的终端设备20c。After the processing unit 12 in the dynamic domain name server 10 receives the query request sent by the terminal device 20c, it searches the corresponding IP address of the called terminal device 20a in the comparison table 11 and sends the IP address back to the person who sent the query request. Terminal device 20c.

该终端设备20c中的信令交换模块25c在输入接收模块22c接收用户的输入为需要呼叫群组中的一个终端设备20a时,根据接收到的该动态域名服务器10发送的被叫终端设备的IP地址生成一邀请信息(invite),并将该邀请信息发送至该接收到的IP地址对应的被叫终端设备20a,用以请求建立通话。其中该邀请信息中包含主叫终端设备20c的标识信息。When the signaling switching module 25c in the terminal device 20c receives the user's input that the input receiving module 22c needs to call a terminal device 20a in the group, according to the received IP address of the called terminal device sent by the dynamic domain name server 10, The address generates invitation information (invite), and sends the invitation information to the called terminal device 20a corresponding to the received IP address, so as to request to establish a call. The invitation information includes the identification information of the calling terminal device 20c.

该被叫终端设备20a内的信令交换模块25a接收到该邀请信息后,响铃并向该主叫终端设备20c发送振铃响应,同时该信令交换模块25a还根据其存储模块26a中存储的群组内的终端设备20b的域名及IP地址向该群组中的终端设备20b发起邀请信息,用于通知群组内的其他终端设备有终端设备20c请求建立通话,其中,该被叫终端设备20a发起的邀请信息中包含主叫终端设备20c的标识信息。After receiving the invitation information, the signaling switching module 25a in the called terminal device 20a rings and sends a ringing response to the calling terminal device 20c. The domain name and IP address of the terminal device 20b in the group to send an invitation message to the terminal device 20b in the group to notify other terminal devices in the group that the terminal device 20c requests to establish a call, wherein the called terminal The invitation information initiated by the device 20a includes identification information of the calling terminal device 20c.

群组中的终端设备20b中的信令交换模块25b接收到该终端设备20a发起的邀请信息后响铃并向被叫终端设备20a发送一振铃响应(180ringing)。该被叫终端设备20a与其群组内的终端设备20b均产生来电提醒信息,例如播放来电铃声或进行闪烁显示提示等。The signaling exchange module 25b in the terminal device 20b in the group rings after receiving the invitation message initiated by the terminal device 20a and sends a ringing response to the called terminal device 20a (180ringing). The called terminal device 20a and the terminal devices 20b in its group both generate incoming call reminder information, such as playing a ringtone or flashing a display prompt.

若在呼叫过程中该主叫终端设备20c取消呼叫,则该主叫终端设备20c中的信令交换模块25c向被叫终端设备20a发送一挂断信息,被叫终端设备20a的信令交换模块25a接收到该挂断信息后,将该取消信息发送群组内的终端设备20b,整个呼叫过程结束。If the calling terminal equipment 20c cancels the call during the calling process, the signaling switching module 25c in the calling terminal equipment 20c sends a hangup message to the called terminal equipment 20a, and the signaling switching module of the called terminal equipment 20a After receiving the hang-up information, 25a sends the cancel information to the terminal device 20b in the group, and the whole call process ends.

如图5所示,若在呼叫过程中用户通过该被叫终端设备20a接听通话,则该被叫终端设备20a的信令交换模块25a向群组内的其他终端设备20,例如终端设备20b发送一取消信息,该群组内的终端设备20b的信令交换模块25b收到该取消信息后不能与主叫终端设备20c建立通话。同时该被叫终端设备20a的信令交换模块25a还向主叫终端设备20c发送一确认响应(200ok),其中,该确认响应中包括有接听通话的被叫终端设备20a的端口信息、IP地址信息等标识信息。该主叫终端设备20c的信令交换模块25c接收到该确认响应后根据该确认响应中的标识信息与该被叫终端设备20a建立语音通话,即相互传送语音串流。当通话完毕后,主叫终端设备20c的信令交换模块25c向被叫终端设备20a发送挂断信息(Bye),主叫终端设备20c与被叫终端设备20a结束信令连接。其中,在本实施方式中,该被叫终端设备20a的信令交换模块25a向群组内的其他终端设备20发送一取消信息后,该群组内的其他终端设备20停止产生来电提醒信息。As shown in Figure 5, if the user answers the call through the called terminal device 20a during the call, the signaling switching module 25a of the called terminal device 20a sends a message to other terminal devices 20 in the group, such as the terminal device 20b Once the cancellation information is received, the signaling exchange module 25b of the terminal equipment 20b in the group cannot establish a call with the calling terminal equipment 20c after receiving the cancellation information. At the same time, the signaling exchange module 25a of the called terminal device 20a also sends a confirmation response (200ok) to the calling terminal device 20c, wherein the confirmation response includes the port information and IP address of the called terminal device 20a answering the call information and other identification information. After receiving the confirmation response, the signaling exchange module 25c of the calling terminal device 20c establishes a voice call with the called terminal device 20a according to the identification information in the confirmation response, that is, transmits voice streams to each other. After the call is completed, the signaling exchange module 25c of the calling terminal device 20c sends a hangup message (Bye) to the called terminal device 20a, and the calling terminal device 20c ends the signaling connection with the called terminal device 20a. Wherein, in this embodiment, after the signaling exchange module 25a of the called terminal device 20a sends a cancel message to other terminal devices 20 in the group, the other terminal devices 20 in the group stop generating call reminder information.

如图6所示,若在呼叫过程中用户通过该被叫终端设备20a群组内的终端设备20b接听通话,则该群组内的终端设备20b的信令交换模块25b向该被叫终端设备20a发送一确认响应(200ok),其中该确认响应中包括有接听通话的终端设备20b的端口信息和IP地址信息等标识信息。该被叫终端设备20a的信令交换模块25a将该确认响应发送至主叫终端设备20c,该主叫终端设备20c的信令交换模块25c接收到该确认响应后,根据该确认响应中的标识信息直接与群组内的终端设备20b建立语音通话,即相互传送语音串流。As shown in Figure 6, if the user answers the call through the terminal equipment 20b in the group of the called terminal equipment 20a during the call, the signaling switching module 25b of the terminal equipment 20b in the group sends the call to the called terminal equipment 20a sends a confirmation response (200ok), wherein the confirmation response includes identification information such as port information and IP address information of the terminal device 20b answering the call. The signaling exchange module 25a of the called terminal equipment 20a sends the confirmation response to the calling terminal equipment 20c, and after receiving the confirmation response, the signaling switching module 25c of the calling terminal equipment 20c, according to the identification in the confirmation response The information directly establishes a voice call with the terminal devices 20b in the group, that is, transmits voice streams to each other.

图7A-7B为本发明一实施方式中网络协议语音通信方法流程图。7A-7B are flow charts of a voice communication method over Internet Protocol in an embodiment of the present invention.

步骤S701:终端设备20a、20b、20c的注册模块21a、21b、21c分别产生自己的电话号码并根据预设规则产生自己的电话号码对应的域名。Step S701: The registration modules 21a, 21b, and 21c of the terminal devices 20a, 20b, and 20c respectively generate their own phone numbers and generate domain names corresponding to their own phone numbers according to preset rules.

步骤S702:终端设备20a、20b、20c的注册模块21a、21b、21c分别将自己的域名与自己的IP地址向动态域名服务器10注册。Step S702: The registration modules 21a, 21b, 21c of the terminal devices 20a, 20b, 20c register their own domain names and their own IP addresses with the dynamic domain name server 10 respectively.

步骤S703:当终端设备20b的输入接收模块22b接收用户的输入为要加入终端设备20a所建立的群组时,终端设备20b的输入接收模块22b获取需要加入的群组的建立者的电话号码,即终端设备20a对应的电话号码,IP地址查询模块23c将获取到的电话号码通过如前所述的预设规则生成对应的域名,并向该动态域名服务器发送一包含该生成的域名的查询请求,用于请求该动态域名服务器10查询该生成的域名对应的IP地址,即请求查询待加入的群组的终端设备20a的IP地址。Step S703: When the input receiving module 22b of the terminal device 20b receives the user's input to join the group established by the terminal device 20a, the input receiving module 22b of the terminal device 20b obtains the phone number of the founder of the group to be joined, That is, the phone number corresponding to the terminal device 20a, the IP address query module 23c will generate the corresponding domain name through the obtained phone number through the preset rules as mentioned above, and send a query request containing the generated domain name to the dynamic domain name server , is used to request the dynamic domain name server 10 to query the IP address corresponding to the generated domain name, that is, to request to query the IP address of the terminal device 20a of the group to be joined.

步骤S704:动态域名服务器10的处理单元12接收到该终端设备20b发送的查询请求后,在对照表11中存储的终端设备的域名和IP地址中查询该生成的域名对应的IP地址,并将查询到的IP地址回传至发送该请求的终端设备20b。Step S704: After the processing unit 12 of the dynamic domain name server 10 receives the query request sent by the terminal device 20b, it queries the domain name and IP address of the terminal device stored in the comparison table 11 for the IP address corresponding to the generated domain name, and sends The queried IP address is sent back to the terminal device 20b that sent the request.

步骤S705:该终端设备20b的群组建立及注册模块24b在输入接收模块22b接收用户的输入为要加入终端设备20a所建立的群组时,根据接收到该动态域名服务器10发送的IP地址,向该查询到的IP地址对应的终端设备20a发送加入群组的请求,其中该加入群组的请求中包含发送该请求的终端设备20b的域名和IP地址。Step S705: When the group establishment and registration module 24b of the terminal device 20b receives the user's input to join the group established by the terminal device 20a when the input receiving module 22b receives the IP address sent by the dynamic domain name server 10, Send a request to join the group to the terminal device 20a corresponding to the queried IP address, wherein the request to join the group includes the domain name and IP address of the terminal device 20b that sends the request.

步骤S706:终端设备20a的群组注册模块24a接收到该终端设备20b发送的加入群组的请求后,分析该加入群组请求,若同意该加入群组请求,该终端设备20a的群组注册模块24a向发送该请求的终端设备20b回传一确认响应而将该终端设备20b加入该群组。Step S706: After the group registration module 24a of the terminal device 20a receives the group joining request sent by the terminal device 20b, it analyzes the group joining request, and if the group joining request is accepted, the group registration module 24a of the terminal device 20a The module 24a returns a confirmation response to the terminal device 20b that sent the request to join the terminal device 20b into the group.

步骤S707:当终端设备20c的输入接收模块22c接收用户的输入为呼叫该群组中的一个终端设备20a时,该终端设备20c通过输入接收模块22c获取用户输入的被叫终端设备20a的电话号码,IP地址查询模块23c将获取到的被叫终端设备20a的电话号码根据如前所述的预定规则生成对应的域名,并向该动态域名服务器10发送一包含该生成的域名的查询请求,用于请求该动态域名服务器10查询被叫的电话号码对应的IP地址。Step S707: When the input receiving module 22c of the terminal device 20c receives the user's input to call a terminal device 20a in the group, the terminal device 20c obtains the phone number of the called terminal device 20a input by the user through the input receiving module 22c , the IP address query module 23c will generate the corresponding domain name according to the predetermined rule as mentioned above with the obtained telephone number of the called terminal device 20a, and send a query request containing the generated domain name to the dynamic domain name server 10, and use To request the dynamic domain name server 10 to query the IP address corresponding to the called phone number.

步骤S708:该动态域名服务器10的处理单元12接收到该终端设备20c发送的查询请求后,在对照表11中查询被叫终端设备20a对应的IP地址并将该IP地址回传给发送该查询请求的终端设备20c。Step S708: After receiving the query request sent by the terminal device 20c, the processing unit 12 of the dynamic domain name server 10 queries the IP address corresponding to the called terminal device 20a in the comparison table 11 and sends the IP address back to send the query The requesting terminal device 20c.

步骤S709:该终端设备20c的输入接收模块22c接收用户的输入为呼叫该群组中的一个终端设备20a时,信令交换模块25c在接收到该动态域名服务器10发送的被叫终端设备的IP地址后,向该被叫终端设备20a的IP地址发送邀请信息(invite)请求建立通话。Step S709: When the input receiving module 22c of the terminal device 20c receives the user's input to call a terminal device 20a in the group, the signaling exchange module 25c receives the IP address of the called terminal device sent by the dynamic domain name server 10. After the address, an invitation message (invite) is sent to the IP address of the called terminal device 20a to request to establish a call.

步骤S710:该被叫终端设备20a的信令交换模块25a接收到该邀请信息后,响铃并向主叫终端设备20c回复振铃响应,同时还根据其存储在存储模块26a中的群组内的终端设备20b的域名及IP地址,向其群组中的终端设备20b发起邀请信息,用于通知群组内的其他终端设备有终端设备20c请求建立通话,其中,该被叫终端设备20a发起的邀请信息中包含主叫终端设备20c的标识信息。Step S710: After the signaling exchange module 25a of the called terminal device 20a receives the invitation information, it rings and replies the ringing response to the calling terminal device 20c, and at the same time, it also sends a ringing response according to the group information stored in the storage module 26a. The domain name and IP address of the terminal device 20b of the user, sends an invitation message to the terminal device 20b in the group, and is used to notify other terminal devices in the group that the terminal device 20c requests to establish a call, wherein the called terminal device 20a initiates a call. The invitation information includes the identification information of the calling terminal device 20c.

步骤S711:群组中的终端设备20b的信令交换模块25b接收到该被叫终端设备20a发起的邀请信息后响铃并向被叫终端设备20a发送一振铃响应(180ringing)该被叫终端设备20a与其群组内的终端设备20b均显示来电铃声。Step S711: The signaling exchange module 25b of the terminal device 20b in the group rings after receiving the invitation message initiated by the called terminal device 20a and sends a ringing response (180ringing) to the called terminal device 20a to the called terminal Both the device 20a and the terminal devices 20b in its group display ringtones for incoming calls.

步骤S712:该组成群组的终端设备20a和20b中的任意一个供用户接听通话从而与终端设备20c建立通话。Step S712: Any one of the terminal devices 20a and 20b forming the group is for the user to answer the call so as to establish a call with the terminal device 20c.

具体的,若在呼叫过程中用户通过该被叫终端设备20a接听通话,则该被叫终端设备20a的信令交换模块25a向群组内的终端设备20b发送一取消信息,该群组内的终端设备20b的信令交换模块25b收到该取消信息后不能与主叫终端设备20c建立通话。同时该被叫终端设备20a的信令交换模块25a还向主叫终端设备20c发送一确认响应(200ok),其中,该确认响应中包括有接听通话的被叫终端设备20a的端口信息、IP地址信息等标识信息。该主叫终端设备20c的信令交换模块25c接收到该确认响应后根据该确认响应中的标识信息与该被叫终端设备20a建立语音通话,即相互传送语音串流。当通话完毕后,主叫终端设备20c的信令交换模块25c向被叫终端设备20a发送挂断信息(Bye),主叫终端设备20c与被叫终端设备20a结束信令连接。Specifically, if the user answers the call through the called terminal device 20a during the call, the signaling switching module 25a of the called terminal device 20a sends a cancel message to the terminal device 20b in the group, and the callees in the group The signaling switching module 25b of the terminal device 20b cannot establish a call with the calling terminal device 20c after receiving the cancellation information. At the same time, the signaling exchange module 25a of the called terminal device 20a also sends a confirmation response (200ok) to the calling terminal device 20c, wherein the confirmation response includes the port information and IP address of the called terminal device 20a answering the call information and other identification information. After receiving the confirmation response, the signaling exchange module 25c of the calling terminal device 20c establishes a voice call with the called terminal device 20a according to the identification information in the confirmation response, that is, transmits voice streams to each other. After the call is completed, the signaling exchange module 25c of the calling terminal device 20c sends a hangup message (Bye) to the called terminal device 20a, and the calling terminal device 20c ends the signaling connection with the called terminal device 20a.

如图6所示,若在呼叫过程中用户通过该被叫终端设备20a群组内的终端设备20b接听通话,则该群组内的终端设备20b的信令交换模块25b向该被叫终端设备20a发送一确认响应,其中该确认响应中包括有接听通话的终端设备20b的端口信息和IP地址信息等标识信息。该被叫终端设备20a的信令交换模块25a将该确认响应发送至主叫终端设备20c,该主叫终端设备20c的信令交换模块25c接收到该确认响应后,根据该确认响应中的标识信息直接与群组内的终端设备20b建立语音通话,即相互传送语音串流。当通话完毕后,主叫终端设备20c的信令交换模块25c向该终端设备20b发送挂断信息(Bye),从而该主叫终端设备20c与终端设备20b结束信令连接。As shown in Figure 6, if the user answers the call through the terminal equipment 20b in the group of the called terminal equipment 20a during the call, the signaling switching module 25b of the terminal equipment 20b in the group sends the call to the called terminal equipment 20a sends a confirmation response, wherein the confirmation response includes identification information such as port information and IP address information of the terminal device 20b answering the call. The signaling exchange module 25a of the called terminal equipment 20a sends the confirmation response to the calling terminal equipment 20c, and after receiving the confirmation response, the signaling switching module 25c of the calling terminal equipment 20c, according to the identification in the confirmation response The information directly establishes a voice call with the terminal devices 20b in the group, that is, transmits voice streams to each other. After the call is completed, the signaling exchange module 25c of the calling terminal device 20c sends a hangup message (Bye) to the terminal device 20b, so that the calling terminal device 20c ends the signaling connection with the terminal device 20b.

其中,该网络协议语音通信方法还包括步骤:任一终端设备20响应输入接收模块22所接收用户的操作建立一群组。Wherein, the voice communication method over Internet Protocol further includes a step: any terminal device 20 establishes a group in response to the user's operation received by the input receiving module 22 .

Claims (11)

1.一种终端设备,在网络协议语音系统中与多个其他终端设备以及动态域名服务器通信连接,该终端设备包括一注册模块,用于根据一预设算法产生一电话号码,并在电话号码后根据预设规则产生该电话号码对应的域名,然后将该域名及该终端设备对应的IP地址向该动态域名服务器注册,其特征在于,该终端设备还包括:1. A terminal device, which communicates with multiple other terminal devices and a dynamic domain name server in an Internet protocol voice system, the terminal device includes a registration module, which is used to generate a phone number according to a preset algorithm, and register the phone number Then generate the domain name corresponding to the phone number according to preset rules, and then register the domain name and the IP address corresponding to the terminal device with the dynamic domain name server, wherein the terminal device also includes: 输入接收模块,用于接收用户的输入操作来确定用户的操作为需要加入一群组时,获取作为需要加入的群组的建立者的终端设备对应的电话号码;The input receiving module is used to receive the user's input operation to determine that when the user's operation needs to join a group, obtain the phone number corresponding to the terminal device as the founder of the group to be added; IP地址查询模块,用于将输入接收模块获取到的电话号码根据上述预设规则生成对应的域名,然后产生一包含该生成的域名的查询请求并将该查询请求发送至动态域名服务器,用于向该动态服务器查询该生成的域名对应的IP地址;The IP address query module is used to generate a corresponding domain name according to the above-mentioned preset rules from the telephone number obtained by the input receiving module, and then generate a query request including the generated domain name and send the query request to a dynamic domain name server for Query the dynamic server for the IP address corresponding to the generated domain name; 群组建立及注册模块,用于在所述输入接收模块接收用户的输入操作,确定所述用户的输入操作为需要加入一群组时,在接收到动态域名服务器发送的该生成的域名对应的IP地址后,生成一加入群组请求并将该加入群组请求发送至该查询到的IP地址对应的终端设备,其中该加入请求中包括发送该加入群组请求的终端设备的域名和IP地址;该群组注册模块还用于在接收到查询到的IP地址对应的终端设备回传的确认响应后加入该查询到的IP地址对应的终端设备的群组;The group establishment and registration module is used to receive the user's input operation in the input receiving module, and when it is determined that the user's input operation needs to join a group, when receiving the domain name corresponding to the generated domain name sent by the dynamic domain name server After the IP address, generate a join group request and send the join group request to the terminal device corresponding to the queried IP address, wherein the join request includes the domain name and IP address of the terminal device that sent the join group request The group registration module is also used to join the group of the terminal device corresponding to the queried IP address after receiving the confirmation response returned by the terminal device corresponding to the queried IP address; 存储模块,用于存储加入群组的终端设备的域名和IP地址;及A storage module, configured to store domain names and IP addresses of terminal devices joining the group; and 信令交换模块,当有群组外的终端设备作为主叫呼叫该终端设备时,该信令交换模块接收来自主叫终端设备发送的邀请信息后响铃并向主叫终端设备回 传振铃响应,同时还根据存储模块存储的群组内的终端设备的域名和IP地址向群组内的其他终端设备发起邀请信息;该信令交换模块还用于接收该群组内的终端设备回传的振铃响应。Signaling switching module, when a terminal device outside the group calls the terminal device as a caller, the signaling switching module rings after receiving the invitation information sent from the calling terminal device and sends the ringing back to the calling terminal device Respond, and at the same time initiate invitation information to other terminal devices in the group according to the domain names and IP addresses of the terminal devices in the group stored by the storage module; ringing response. 2.如权利要求1所述的终端设备,其特征在于,当用户通过该终端设备接听通话时,该信令交换模块向群组内的终端设备发送一取消信息,则该群组内的终端设备接收到该取消信息后不能与主叫终端设备建立通话,同时该信令交换模块向该主叫终端设备发送一确认信息,使得该主叫终端设备接收到该确认信息后与该信令交换模块互相传送语音串流,从而建立通话。2. The terminal device according to claim 1, wherein when the user answers the call through the terminal device, the signaling exchange module sends a cancellation message to the terminal devices in the group, and the terminals in the group The device cannot establish a call with the calling terminal device after receiving the cancellation information, and at the same time, the signaling exchange module sends a confirmation message to the calling terminal device, so that the calling terminal device exchanges the signaling with the calling terminal device after receiving the confirmation message. The modules transmit voice streams to each other to establish a call. 3.如权利要求1所述的终端设备,其特征在于,当用户通过该群组内的其他终端设备接听通话时,该信令交换模块接收接听通话的终端设备发送的确认信息,并将该确认信息转发给主叫终端设备,从而使得该主叫终端设备能够与群组内接听电话的终端设备建立通话。3. The terminal device according to claim 1, wherein when the user answers the call through other terminal devices in the group, the signaling exchange module receives the confirmation information sent by the terminal device that answers the call, and sends the The confirmation information is forwarded to the calling terminal device, so that the calling terminal device can establish a call with the terminal device answering the call in the group. 4.如权利要求2或3所述的终端设备,其特征在于,该确认信息中包含接听通话的终端设备的标识信息,该标识信息至少包括发送该确认信息的终端设备的IP地址、端口号。4. The terminal device according to claim 2 or 3, wherein the confirmation information includes identification information of the terminal device answering the call, and the identification information includes at least the IP address and port number of the terminal device sending the confirmation information . 5.一种终端设备,在网络协议语音系统中与多个其他终端设备以及动态域名服务器通信连接,该终端设备包括一注册模块,用于根据一预设算法产生一电话号码,并在电话号码后根据预设规则产生该电话号码对应的域名,然后将该域名及该终端设备对应的IP地址向该动态域名服务器注册,其特征在于,该终 端设备还包括:5. A terminal device that communicates with a plurality of other terminal devices and a dynamic domain name server in an Internet protocol voice system, the terminal device includes a registration module for generating a phone number according to a preset algorithm, and registering the phone number Then generate the domain name corresponding to the phone number according to preset rules, and then register the domain name and the IP address corresponding to the terminal device with the dynamic domain name server, wherein the terminal device also includes: 输入接收模块,用于接收用户的输入操作;The input receiving module is used to receive the user's input operation; 群组建立注册模块,用于响应输入接收模块接收到的用户的输入操作而建立一群组,并在接收到网络协议语音系统中一其他终端设备发送的加入群组请求时,分析该接收到的加入群组请求,并根据用户的输入操作确认是否同意该加入群组请求,若该输入接收模块接收到用户的输入为拒绝该加入群组请求的命令,则该群组注册模块根据该拒绝命令向发送该加入群组请求的终端设备回传一拒绝信息而拒绝该其他终端设备加入群组;若同意该加入群组请求,则该群组注册模块向发送该加入群组请求的终端设备回传一确认信息而将该其他终端设备加入群组;及The group establishment registration module is used to establish a group in response to the user's input operation received by the input receiving module, and when receiving a request to join a group sent by another terminal device in the network protocol voice system, analyze the received The request to join the group, and confirm whether to agree to the request to join the group according to the user's input operation. If the input receiving module receives the user's input as an order to reject the request to join the group, the group registration module will The command sends back a rejection message to the terminal device that sent the request to join the group and rejects the other terminal devices to join the group; returning a confirmation message to add the other terminal device to the group; and 信令交换模块,当有群组外的终端设备作为主叫呼叫该终端设备所在群组内的其他终端设备时,该信令交换模块接收该被叫终端设备发起的邀请信息,然后响铃并向该被叫终端设备发送振铃响应。The signaling switching module, when a terminal device outside the group acts as a caller to call other terminal devices in the group where the terminal device is located, the signaling switching module receives the invitation message initiated by the called terminal device, then rings and A ringing response is sent to the called terminal device. 6.如权利要求5所述的终端设备,其特征在于,当用户通过被叫终端设备接听通话时,该信令交换模块接收该被叫终端设备发送的取消信息,不与该主叫终端设备建立通话。6. The terminal device according to claim 5, wherein when the user answers the call through the called terminal device, the signaling exchange module receives the cancellation information sent by the called terminal device, and does not communicate with the calling terminal device Establish a call. 7.如权利要求5所述的终端设备,其特征在于,当用户通过该终端设备接听通话时,该信令交换模块向该群组内的被叫终端设备发送一确认响应,其中该确认响应中包含该终端设备的标识信息,使得该被叫终端将该确认信息转发给 主叫终端设备,该主叫终端设备直接与该终端设备建立通话。7. The terminal device according to claim 5, wherein when the user answers the call through the terminal device, the signaling exchange module sends a confirmation response to the called terminal device in the group, wherein the confirmation response contains the identification information of the terminal device, so that the called terminal forwards the confirmation information to the calling terminal device, and the calling terminal device directly establishes a call with the terminal device. 8.一种网络协议语音通信方法,用于一网络协议语音系统中,该网络协议语音包括一个动态域名服务器和多个接入该动态域名服务器的终端设备,其特征在于,该方法包括步骤:8. A voice over network protocol communication method, used in a voice over network protocol system, the voice over network protocol includes a dynamic domain name server and a plurality of terminal devices that access the dynamic domain name server, it is characterized in that the method comprises steps: 多个终端设备产生自己的电话号码并根据预设规则产生自己的电话号码对应的域名;Multiple terminal devices generate their own phone numbers and generate the domain names corresponding to their own phone numbers according to preset rules; 每个终端设备将自己的域名与自己的IP地址向动态域名服务器注册;Each terminal device registers its own domain name and its own IP address with the dynamic domain name server; 当注册完成的多个终端设备中的一第一终端设备响应用户的输入操作要加入一第二终端设备所建立的群组时,该第一终端设备获取该第二终端设备的电话号码,将获取到的电话号码通过上述预设规则生成对应的域名,并向该动态域名服务器发送一包含该生成的域名的查询请求,用于请求该动态域名服务器查询该生成的域名对应的IP地址;When a first terminal device among the plurality of registered terminal devices responds to the user's input operation and wants to join a group established by a second terminal device, the first terminal device obtains the phone number of the second terminal device, and The obtained phone number generates a corresponding domain name through the above preset rules, and sends a query request containing the generated domain name to the dynamic domain name server, for requesting the dynamic domain name server to query the IP address corresponding to the generated domain name; 该动态域名服务器在接收到该第一终端设备发送的查询请求后,查询该查询请求中包含的域名对应的IP地址并将查询到的IP地址发送给该第一终端设备;After receiving the query request sent by the first terminal device, the dynamic domain name server queries the IP address corresponding to the domain name contained in the query request and sends the queried IP address to the first terminal device; 该第一终端设备在接收到该动态域名服务器发送的IP地址后,向该动态域名服务器发送的IP地址对应的第二终端设备发送加入群组的请求;After receiving the IP address sent by the dynamic domain name server, the first terminal device sends a request to join the group to the second terminal device corresponding to the IP address sent by the dynamic domain name server; 该第二终端设备在接收到该加入群组的请求后,分析该加入群组请求并根据用户的输入确认是否同意该第一终端设备加入,若该第二终端设备确定用户的输入为同意该第一终端设备加入群组,则该第二终端设备存储该第一终端设 备的域名及IP地址并向该第一终端设备回传一确认响应而将该第一终端设备加入群组;及After receiving the request to join the group, the second terminal device analyzes the request to join the group and confirms whether the first terminal device agrees to join according to the user's input. When the first terminal device joins the group, the second terminal device stores the domain name and IP address of the first terminal device and returns a confirmation response to the first terminal device to join the first terminal device into the group; and 若在呼叫过程中作为主叫的第三终端设备取消呼叫,则该第三终端设备向作为被叫的第二终端设备发送一挂断信息,该第二终端设备接收到该挂断信息后,将该取消信息发送群组内的第一终端设备,整个呼叫过程结束。If the third terminal device as the calling party cancels the call during the call, the third terminal device sends a hangup message to the second terminal device as the called party, and after receiving the hangup message, the second terminal device The cancellation information is sent to the first terminal device in the group, and the whole call process ends. 9.如权利要求8所述的网络协议语音通信方法,其特征在于,该方法还包括:9. voice over network protocol method as claimed in claim 8 is characterized in that, the method also comprises: 该第一终端设备加入该第二终端设备所在的群组后,当群组外的终端设备作为主叫呼叫该群组中的第二终端设备时,若在呼叫过程中用户通过该第二终端设备接听通话,则该第二终端设备向群组内的第一终端设备发送一取消信息,该群组内的第一终端设备收到该取消信息后取消与第三终端设备建立通话,同时该第二终端设备还向第三终端设备发送一确认响应,其中该确认响应中包含标识该第二终端的标识信息,该第三终端设备接收到该确认响应后与该第二终端设备建立语音通话;After the first terminal device joins the group where the second terminal device belongs, when a terminal device outside the group serves as the calling party to call the second terminal device in the group, if the user passes the second terminal device during the call When the device answers the call, the second terminal device sends a cancel message to the first terminal device in the group, and the first terminal device in the group cancels the establishment of the call with the third terminal device after receiving the cancel message, and at the same time the The second terminal device also sends a confirmation response to the third terminal device, wherein the confirmation response includes identification information identifying the second terminal device, and the third terminal device establishes a voice call with the second terminal device after receiving the confirmation response ; 若在呼叫过程中该群组内的第一终端接听电话,则该第一终端设备向该第二终端设备发送一确认响应,其中该确认响应中包含有标识该第一终端设备的标识信息,该第二终端将该确认响应发送至作为主叫的第三终端设备,该第三终端设备接收到该确认响应后,根据该确认响应中的标识信息与该第一终端建立通话。If the first terminal in the group answers the call during the calling process, the first terminal device sends a confirmation response to the second terminal device, wherein the confirmation response includes identification information identifying the first terminal device, The second terminal sends the confirmation response to the calling third terminal device, and after receiving the confirmation response, the third terminal device establishes a conversation with the first terminal according to the identification information in the confirmation response. 10.如权利要求9所述的网络协议语音通信方法,其特征在于,该确认响应 中包括有接听通话的终端设备的标识信息,其中该标识信息包括端口信息、IP地址,该作为主叫的第三终端设备根据该确认响应中的标识信息与接听通话的终端设备建立语音通话。10. The method for voice over network protocol communication according to claim 9, wherein the confirmation response includes identification information of the terminal equipment that answers the call, wherein the identification information includes port information, an IP address, and the calling party The third terminal device establishes a voice call with the terminal device answering the call according to the identification information in the confirmation response. 11.如权利要求8所述的网络协议语音通信方法,其特征在于,任一终端设备响应用户的输入操作建立一群组。11. The voice communication method over Internet protocol according to claim 8, wherein any terminal device establishes a group in response to a user's input operation.
CN201210490661.8A 2012-11-27 2012-11-27 terminal device and network protocol voice communication method Active CN103841093B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210490661.8A CN103841093B (en) 2012-11-27 2012-11-27 terminal device and network protocol voice communication method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210490661.8A CN103841093B (en) 2012-11-27 2012-11-27 terminal device and network protocol voice communication method

Publications (2)

Publication Number Publication Date
CN103841093A CN103841093A (en) 2014-06-04
CN103841093B true CN103841093B (en) 2017-09-12

Family

ID=50804227

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210490661.8A Active CN103841093B (en) 2012-11-27 2012-11-27 terminal device and network protocol voice communication method

Country Status (1)

Country Link
CN (1) CN103841093B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106161815B (en) * 2015-03-31 2019-06-21 华为技术有限公司 A method, device and system for calling an Internet phone
CN107172211A (en) * 2017-07-07 2017-09-15 北京奇艺世纪科技有限公司 Communication connection request method for building up and server

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1643969A (en) * 2002-02-14 2005-07-20 高通股份有限公司 A communication device for joining a user to a group call in a group communication network
CN1643948A (en) * 2002-02-14 2005-07-20 高通股份有限公司 A method and an apparatus for terminating a user from a group call in a group communication network
CN1671242A (en) * 2004-03-16 2005-09-21 传宇科技股份有限公司 Method of sending a paging announcement over a roaming telephone network
CN101141532A (en) * 2006-09-06 2008-03-12 深圳市泉龙科技有限公司 Network telephone system and network telephone point-to-point online method
EP1956818A1 (en) * 2005-11-04 2008-08-13 Sharp Kabushiki Kaisha PoC SERVER AUTOMATIC-SEARCH METHOD, QUALITY ADJUSTING METHOD, AND COMMUNICATION SYSTEM USING THESE METHODS
CN102026162A (en) * 2009-09-15 2011-04-20 中兴通讯股份有限公司 Method and system for initiating video auxiliary voice call
CN102638627A (en) * 2011-02-10 2012-08-15 鸿富锦精密工业(深圳)有限公司 Default gateway, terminal equipment and networking protocol speech signaling switching method

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1643969A (en) * 2002-02-14 2005-07-20 高通股份有限公司 A communication device for joining a user to a group call in a group communication network
CN1643948A (en) * 2002-02-14 2005-07-20 高通股份有限公司 A method and an apparatus for terminating a user from a group call in a group communication network
CN1671242A (en) * 2004-03-16 2005-09-21 传宇科技股份有限公司 Method of sending a paging announcement over a roaming telephone network
EP1956818A1 (en) * 2005-11-04 2008-08-13 Sharp Kabushiki Kaisha PoC SERVER AUTOMATIC-SEARCH METHOD, QUALITY ADJUSTING METHOD, AND COMMUNICATION SYSTEM USING THESE METHODS
CN101141532A (en) * 2006-09-06 2008-03-12 深圳市泉龙科技有限公司 Network telephone system and network telephone point-to-point online method
CN102026162A (en) * 2009-09-15 2011-04-20 中兴通讯股份有限公司 Method and system for initiating video auxiliary voice call
CN102638627A (en) * 2011-02-10 2012-08-15 鸿富锦精密工业(深圳)有限公司 Default gateway, terminal equipment and networking protocol speech signaling switching method

Also Published As

Publication number Publication date
CN103841093A (en) 2014-06-04

Similar Documents

Publication Publication Date Title
KR100921846B1 (en) Using pstn to communicate ip addresses for point-to-point text, voice, video, or data communication
US9350769B2 (en) SIP device-level call/session/service management
KR101470683B1 (en) Accommodation of two independent telephony systems
US20130183949A1 (en) Systems and methods for hosting anonymous virtual phone calls, text (sms) messages, and multi-media (mms) messages
BRPI0610718A2 (en) electronic numbering port and method and to temporarily associate an electronic numbering with a given communication
US20160301805A1 (en) Government enterprise network communication device and communication method, and computer storage medium
CN102638627B (en) Default gateway, terminal equipment and networking protocol speech signaling switching method
US20240396994A1 (en) Automatic caller identification translation
US9854003B2 (en) System and method for initiating telecommunications sessions through an electronic mail address
CN103841093B (en) terminal device and network protocol voice communication method
CN101282388A (en) Telephone system and gateway device
CA2805058C (en) Video calls for external networks
US9560192B2 (en) Methods and apparatus for provisioning and using IP clients which can be arranged according to groups and share a common telephone number
JP4740735B2 (en) Dynamic control method and apparatus for multiple communication terminals
JP4864999B2 (en) Caller information notification request service system, session control server, call control method, and program
CN104125093B (en) Communication failure transfer in distributed network
TWI528776B (en) Terminal device and voice over internet protocol communication method
EP3962052A2 (en) Devices, systems and methods for communications that include social media clients
CN103841280B (en) Procotol voice system and Internet phone-calling method
JP6891771B2 (en) Telephone system and telephone controller
JP6397233B2 (en) Incoming call control system and incoming call control method
TWI276335B (en) System and method for sharing SIP sessions
TW201421940A (en) Voice over internet protocol system and method
JP2006229418A (en) Cti multisite system
US20080123631A1 (en) Telephone system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20191114

Address after: Room 2, west of the second floor, No. 355, Huanbei West Road, Weitang street, Jiashan County, Jiaxing City, Zhejiang Province

Patentee after: Jiashan Weitang Asset Management Co.,Ltd.

Address before: 518109, No. two, No. tenth, East Ring Road, Pinus tabulaeformis Industrial Zone, Longhua Town, Baoan District, Guangdong, Shenzhen, 2

Co-patentee before: HON HAI PRECISION INDUSTRY Co.,Ltd.

Patentee before: HONG FU JIN PRECISION INDUSTRY (SHENZHEN) Co.,Ltd.

PE01 Entry into force of the registration of the contract for pledge of patent right
PE01 Entry into force of the registration of the contract for pledge of patent right

Denomination of invention: Voice communication method of terminal equipment and network protocol

Effective date of registration: 20210531

Granted publication date: 20170912

Pledgee: Weitang sub branch of Zhejiang Jiashan Rural Commercial Bank Co.,Ltd.

Pledgor: Jiashan Weitang Asset Management Co.,Ltd.

Registration number: Y2021980004130

PC01 Cancellation of the registration of the contract for pledge of patent right
PC01 Cancellation of the registration of the contract for pledge of patent right

Date of cancellation: 20231018

Granted publication date: 20170912

Pledgee: Weitang sub branch of Zhejiang Jiashan Rural Commercial Bank Co.,Ltd.

Pledgor: Jiashan Weitang Asset Management Co.,Ltd.

Registration number: Y2021980004130

EE01 Entry into force of recordation of patent licensing contract
EE01 Entry into force of recordation of patent licensing contract

Application publication date: 20140604

Assignee: Zhejiang Sanming Electric Appliance Co.,Ltd.

Assignor: Jiashan Weitang Asset Management Co.,Ltd.

Contract record no.: X2023330000805

Denomination of invention: Terminal devices and network protocol voice communication methods

Granted publication date: 20170912

License type: Common License

Record date: 20231027

EE01 Entry into force of recordation of patent licensing contract
EE01 Entry into force of recordation of patent licensing contract

Application publication date: 20140604

Assignee: Great Wall Suwangyou Gloves Co.,Ltd.

Assignor: Jiashan Weitang Asset Management Co.,Ltd.

Contract record no.: X2024330001383

Denomination of invention: Terminal devices and network protocol voice communication methods

Granted publication date: 20170912

License type: Common License

Record date: 20241210

Application publication date: 20140604

Assignee: Jiashan Yuantai Electronic Manufacturing Co.,Ltd.

Assignor: Jiashan Weitang Asset Management Co.,Ltd.

Contract record no.: X2024330001382

Denomination of invention: Terminal devices and network protocol voice communication methods

Granted publication date: 20170912

License type: Common License

Record date: 20241210

Application publication date: 20140604

Assignee: Zhejiang Jiuyuan Industrial Co.,Ltd.

Assignor: Jiashan Weitang Asset Management Co.,Ltd.

Contract record no.: X2024330001389

Denomination of invention: Terminal devices and network protocol voice communication methods

Granted publication date: 20170912

License type: Common License

Record date: 20241211

Application publication date: 20140604

Assignee: Jiashan Fudman Hydraulic Machinery Co.,Ltd.

Assignor: Jiashan Weitang Asset Management Co.,Ltd.

Contract record no.: X2024330001388

Denomination of invention: Terminal devices and network protocol voice communication methods

Granted publication date: 20170912

License type: Common License

Record date: 20241211

Application publication date: 20140604

Assignee: Jiashan Greenline Outdoor Products Co.,Ltd.

Assignor: Jiashan Weitang Asset Management Co.,Ltd.

Contract record no.: X2024330001387

Denomination of invention: Terminal devices and network protocol voice communication methods

Granted publication date: 20170912

License type: Common License

Record date: 20241211

Application publication date: 20140604

Assignee: Jiashan Yijin Hardware Products Co.,Ltd.

Assignor: Jiashan Weitang Asset Management Co.,Ltd.

Contract record no.: X2024330001386

Denomination of invention: Terminal devices and network protocol voice communication methods

Granted publication date: 20170912

License type: Common License

Record date: 20241211

Application publication date: 20140604

Assignee: Junxing Precision Machinery Industry (Jiaxing) Co.,Ltd.

Assignor: Jiashan Weitang Asset Management Co.,Ltd.

Contract record no.: X2024330001385

Denomination of invention: Terminal devices and network protocol voice communication methods

Granted publication date: 20170912

License type: Common License

Record date: 20241210

Application publication date: 20140604

Assignee: Jiashan Xingcheng Machinery Co.,Ltd.

Assignor: Jiashan Weitang Asset Management Co.,Ltd.

Contract record no.: X2024330001384

Denomination of invention: Terminal devices and network protocol voice communication methods

Granted publication date: 20170912

License type: Common License

Record date: 20241210