WO2021179964A1 - Communication terminal and voip multi-account registration dynamic adjustment system and method therefor - Google Patents
Communication terminal and voip multi-account registration dynamic adjustment system and method therefor Download PDFInfo
- Publication number
- WO2021179964A1 WO2021179964A1 PCT/CN2021/078802 CN2021078802W WO2021179964A1 WO 2021179964 A1 WO2021179964 A1 WO 2021179964A1 CN 2021078802 W CN2021078802 W CN 2021078802W WO 2021179964 A1 WO2021179964 A1 WO 2021179964A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- registration
- accounts
- voip
- communication terminal
- server
- Prior art date
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L65/00—Network arrangements, protocols or services for supporting real-time applications in data packet communication
- H04L65/1066—Session management
- H04L65/1073—Registration or de-registration
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L69/00—Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
- H04L69/16—Implementation or adaptation of Internet protocol [IP], of transmission control protocol [TCP] or of user datagram protocol [UDP]
- H04L69/161—Implementation details of TCP/IP or UDP/IP stack architecture; Specification of modified or new header fields
- H04L69/162—Implementation details of TCP/IP or UDP/IP stack architecture; Specification of modified or new header fields involving adaptations of sockets based mechanisms
Definitions
- the invention relates to the technical field of network communication, in particular to a communication terminal and a system and method for dynamic adjustment and registration under multiple VOIP accounts.
- VoIP Voice over Internet Protocol
- voice digitization protocol is an IP packet-based switching network. Through a series of processing such as digitization, compression, packaging, and encapsulation of traditional analog voice signals, voice services can be carried over the IP network. .
- VoIP refers to carrying multimedia services such as data, voice, fax, and images on a data network, and in a narrow sense refers to transmitting voice services over IP.
- RTP Real-time Transfer Protocol
- VoIP refers to carrying multimedia services such as data, voice, fax, and images on a data network
- VoIP refers to transmitting voice services over IP.
- RTP Real-time Transfer Protocol
- VoIP refers to carrying multimedia services such as data, voice, fax, and images on a data network
- RTP Real-time Transfer Protocol
- VoIP Voice over Internet Protocol
- VoIP terminals need to register their own IP addresses and corresponding phone numbers with the VoIP server.
- the VoIP terminal sends the call to the VoIP server.
- the VoIP server finds the IP address corresponding to the phone number of the called terminal, it addresses the call through the IP address and sends the call to the calling terminal to establish the VoIP call. Link.
- the purpose of the present invention is to provide a communication terminal and its VOIP multi-account dynamic adjustment registration system and method, so as to achieve the best VOIP registration without increasing the terminal hardware cost. plan.
- a communication terminal including:
- Account configuration unit used to configure multiple VOIP accounts
- the registration signaling interaction unit is used to randomly select a VOIP account from the configured multiple VOIP accounts, interact with the server for registration requests, and activate the timing function for timing when sending the registration request to the server;
- the dynamic adjustment unit is used to determine the registration strategy according to the round-trip time of the registration response, so as to dynamically adjust the registration of other accounts.
- the registration signaling interaction unit randomly selects a VOIP account from a plurality of configured VOIP accounts to apply for registration, sends a registration register signaling to the server, and activates the timing function for timing, and waits for the server's
- the registration signaling interaction unit randomly selects a VOIP account from a plurality of configured VOIP accounts to apply for registration, sends a registration register signaling to the server, and activates the timing function for timing, and waits for the server's
- send an authenticated registration packet to the server wait for the server to respond, and receive the server.
- the returned authentication confirmation instruction is randomly selects a VOIP account from a plurality of configured VOIP accounts to apply for registration, sends a registration register signaling to the server, and activates the timing function for timing, and waits for the server's
- the dynamic adjustment unit is used for:
- the round-trip delay of the registration signaling obtained according to the timing time is greater than the preset time, select some of the configured VOIP accounts to initiate registration, when the part of the VOIP accounts can be successfully registered or the average delay of all current account registrations is less than the preset Time, the remaining configured VOIP accounts will initiate registration.
- the corresponding configured account is selected to initiate registration according to the set configuration parameters.
- the selected account can be successfully registered or the average of the current account registration If the delay is less than the preset time, the other remaining configured VOIP accounts will initiate registration.
- the dynamic adjustment unit is specifically configured to:
- the registration round-trip time obtained by the timing time select multiple accounts to reuse the same tcp connection or use separate tcp connections between accounts.
- the registration round-trip delay obtained according to the timing time is greater than the preset time, multiple accounts of the communication terminal are made to multiplex the same tcp socket connection to initiate registration; when the registration round-trip delay obtained according to the timing time is less than the preset time Set time so that other accounts of the communication terminal independently initiate a tcp connection for registration.
- the present invention also provides a dynamic adjustment registration system under multiple VOIP accounts of a communication terminal, which includes:
- the communication terminal is configured with multiple VOIP accounts, a VOIP account is randomly selected to interact with the server, and the registration of other VOIP accounts is dynamically adjusted according to the round-trip time of the registration response;
- the server is used to respond to the instructions sent by the communication terminal.
- the present invention also provides a method for dynamic adjustment and registration under multiple VOIP accounts of a communication terminal, which includes the following steps:
- Step S1 Configure multiple VOIP accounts on the communication terminal, and randomly select a VOIP account to interact with the server for registration;
- step S2 the registration of other VOIP accounts is dynamically adjusted according to the round-trip time of the registration response.
- step S2 if the registered transmission protocol is the UDP protocol, the dynamic adjustment step is as follows:
- the round-trip delay of the registration signaling obtained according to the timing time is greater than the preset time, select some of the configured VOIP accounts to initiate registration, when the part of the VOIP accounts can be successfully registered or the average delay of all current account registrations is less than the preset Time, the remaining configured VOIP accounts will initiate registration.
- step S2 if the registered transmission protocol is the TCP protocol or the TLS protocol, the dynamic adjustment step is as follows:
- the registration round-trip time obtained by the timing time select multiple accounts to reuse the same tcp connection or use separate tcp connections between accounts.
- the communication terminal and its system and method for dynamically adjusting registration under multiple VOIP accounts of the present invention configure multiple VOIP accounts on the communication terminal, randomly select a VOIP account to interact with the server for registration, and then register and interact according to the registration.
- the round-trip time of the response is dynamically adjusted for the registration of other VOIP accounts to achieve the best VOIP registration scheme without increasing the cost of terminal hardware, effectively reducing unnecessary registration attempts, and saving phone memory consumption and network bandwidth resources ;
- the present invention can save memory resources to a certain extent by adjusting the registration mode of multiple accounts, and ensure the stability of the terminal during registration.
- Figure 1 is a system architecture diagram of a system for dynamic adjustment and registration under multiple VOIP accounts of a communication terminal according to the present invention
- FIG. 2 is a flow chart of the steps of a method for dynamically adjusting and registering under multiple VOIP accounts of a communication terminal according to the present invention
- Fig. 3 is a signaling interaction diagram of multi-account registration of a communication terminal in an embodiment of the present invention.
- FIG. 1 is a system architecture diagram of a dynamic adjustment registration system under VOIP multiple accounts of a communication terminal according to the present invention.
- a system for dynamically adjusting and registering a communication terminal under VOIP multiple accounts of the present invention includes:
- the communication terminal 10 is configured with multiple VOIP accounts, a VOIP account is randomly selected for registration interaction with the server, and the registration of other accounts is dynamically adjusted according to the round-trip time of the registration response.
- the communication terminal 10 further includes:
- the account configuration unit 101 is used to configure multiple VOIP accounts.
- the registration signaling interaction unit 102 is configured to randomly select a VOIP account from the configured multiple VOIP accounts to apply for registration, send a registration register signaling to the server 20, start the timing function for timing, and wait for the response of the server 20, After receiving the reply signaling to the register signaling sent by the server, it sends a registration packet with authentication to the server 20, waits for the server 20 to respond, and receives the authentication confirmation instruction returned by the server 20.
- the communication terminal is configured to configure multiple VOIP accounts through the account configuration unit, and the registration signaling interaction unit 102 randomly selects a VOIP account for registration. After receiving the registration register signaling, the terminal 20 replies with the reply signaling of 401.
- the registration signaling interaction unit 102 After receiving the reply signaling of 401, the registration signaling interaction unit 102 immediately replies with the registration packet with authentication, and the server 20 receives the authentication packet with authentication. After registering the package, reply the 200 authentication confirmation instruction. It should be noted here that if the registered transmission protocol is TCP, according to the specifications of TCP protocol, a three-way handshake connection should be sent before registration, which will not be described here.
- the dynamic adjustment unit 103 is configured to determine a registration strategy according to the round-trip time of the registration response, so as to dynamically adjust the registration of other accounts.
- the dynamic adjustment unit 103 determines the registration strategy according to the round-trip time of the registration response between the communication terminal and the server based on the type of the registration transfer protocol, and realizes the dynamic adjustment of the registration of other accounts, specifically:
- the dynamic adjustment unit 103 is specifically configured to:
- the maximum timeout time can be the F timer according to the RFC protocol. Normally, if 32s is unsuccessful, the registration is deemed to have failed;
- the round-trip delay of the registration signaling obtained according to the timing time is less than the preset time (for example, 30ms), that is, when the network is in a good state, all the configured accounts of the communication terminal are made to initiate registration, and each terminal initiates simultaneously and sequentially
- the registration is determined by the terminal code framework.
- the multi-threaded architecture supports simultaneous initiation. A single thread can only be initiated sequentially, and most of the terminals are initiated sequentially.
- the round-trip delay of the registration signaling obtained according to the timing time is greater than the preset time (for example, 30ms), it means that the network is in congestion and filling, and then select some of the configured accounts to initiate registration (similarly, each terminal initiates registration at the same time and in turn (It is also determined by the terminal code framework).
- the partial accounts can be successfully registered or the average delay of all current account registrations is less than the preset time (for example, 30ms)
- the remaining configured accounts are made to initiate registration.
- the user can configure the parameters according to the speed of the network response, so as to select the corresponding account according to the configuration parameters to initiate registration first, for example, select one-half, one-third, or one-quarter, etc.
- the value is one-half), if the configuration parameter is one-half, when the network is in congestion and filling, select one-half of the configured account to initiate registration, when the one-half of the configured account can be successfully registered Or the average time delay of the current account registration is less than the preset time (for example, 30ms), and the other half of the configured accounts are made to initiate registration.
- TCP is a connected network layer protocol, built on top of the IP layer, through the conflict, error detection and retransmission of the lower layer IP packets, the final reception is guaranteed
- TCP is a connected network layer protocol, built on top of the IP layer, through the conflict, error detection and retransmission of the lower layer IP packets, the final reception is guaranteed
- the data is reliable.
- TLS is a higher-level protocol, it must be built on the basis of reliable data transmission, so it is generally on top of TCP, of course, it can also be built on top of SCTP, but it must not be based on UDP ), the dynamic adjustment unit 103 is specifically configured to:
- the registration round-trip time obtained by the timing time select multiple accounts to reuse the same tcp connection or use separate tcp connections between accounts. Specifically, when the registration round-trip delay obtained according to the timing time is greater than the preset time (for example, 30ms), multiple accounts of the communication terminal are made to multiplex the same tcp socket connection to initiate registration, so as to avoid repeatedly initiating tcp connections to consume the network The problem of bandwidth and slow terminal registration; when the round-trip delay of registration obtained according to the timing time is less than a preset time (for example, 30 ms), other accounts of the communication terminal are made to initiate a tcp connection to register separately.
- the preset time for example, 30 ms
- the server 20 is used to respond to the instructions sent by the communication terminal 10 accordingly. In other words, when receiving the register signaling sent by the communication terminal 10, the server 20 will respond to the reply signaling 401. When receiving the authenticated registration packet sent by the communication terminal 10, the server 20 will reply with a 200 Authentication confirmation instructions.
- Fig. 2 is a flow chart of the steps of a method for dynamically adjusting and registering under a VOIP multi-account of a communication terminal according to the present invention.
- a method for dynamic adjustment and registration under multiple VOIP accounts of a communication terminal according to the present invention includes the following steps:
- Step S1 Configure multiple VOIP accounts on the communication terminal, and randomly select a VOIP account to interact with the server for registration.
- step S1 further includes:
- Step S100 randomly select a VOIP account from the configured multiple VOIP accounts to apply for registration, send a register signaling to the server, and start the timing function for timing, for example, start the timing function by starting a timer, and wait for the server side 20
- the response; the communication terminal is configured to configure multiple VOIP accounts through the account configuration unit, from which a VOIP account is randomly selected for registration, and the register signaling is sent to the server.
- Step S101 After receiving the reply signaling to the register signaling sent by the server, it sends an authenticated registration packet to the server, and waits for the server to respond; when the server receives the register signaling, it will Reply to the reply signaling of 401, and then the communication terminal sends a registration packet with authentication to the server.
- Step S102 Receive an authentication confirmation instruction returned by the server.
- the server side when the server side receives the authenticated registration packet of the communication terminal, it will reply with an authentication confirmation instruction of 200.
- step S2 the registration of other VOIP accounts is dynamically adjusted according to the round-trip time of the registration response.
- the registration strategy is determined according to the round-trip time of the registration response between the communication terminal and the server, so as to realize the dynamic adjustment of the registration of other accounts.
- the registration transfer protocol is the UDP protocol (UDP is a connectionless network layer protocol, built on top of the IP layer)
- the dynamic adjustment steps are as follows:
- the round-trip delay of the registration signaling obtained according to the timing time is less than the preset time (for example, 30 ms), that is, when the network is in a good state, all the configured accounts of the communication terminal are caused to initiate registration.
- the round-trip delay of the registration signaling obtained according to the timing time is greater than the preset time (for example, 30ms), it means that the network is congested and filled, and then select some of the configured accounts to initiate registration. When this part of the accounts can be successfully registered or all current accounts The average time delay of account registration is less than the preset time (for example, 30ms), then the remaining configured accounts are allowed to initiate registration.
- the user can configure the parameters according to the speed of the network response, so as to select the corresponding account according to the configuration parameters to initiate registration first, for example, select one-half, one-third, or one-quarter, etc. (default settings can be set) The value is one-half).
- the configuration parameter is one-half, when the network is in congestion and filling, select one-half of the configured account to initiate registration, when the one-half of the account can be successfully registered or the average delay of the current account registration is less than the preset Time (for example, 30ms), the other half of the configured accounts will initiate registration.
- the preset Time for example, 30ms
- TCP is a connected network layer protocol, built on top of the IP layer, through the conflict, error detection and retransmission of the lower layer IP packets, the final reception is guaranteed
- TCP is a connected network layer protocol, built on top of the IP layer, through the conflict, error detection and retransmission of the lower layer IP packets, the final reception is guaranteed
- the data is reliable.
- TLS is a higher-level protocol, it must be built on the basis of reliable data transmission, so it is generally on top of TCP, of course, it can also be built on top of SCTP, but it must not be based on UDP ), the dynamic adjustment steps are as follows:
- the registration round-trip time obtained by the timing time select multiple accounts to reuse the same tcp connection or use separate tcp connections between accounts. Specifically, when the registration round-trip delay obtained according to the timing time is greater than the preset time (for example, 30ms), multiple accounts of the communication terminal are made to multiplex the same tcp socket connection to initiate registration, so as to avoid repeatedly initiating tcp connections to consume the network The problem of bandwidth and slow terminal registration; when the round-trip delay of registration obtained according to the timing time is less than a preset time (for example, 30 ms), other accounts of the communication terminal are made to initiate a tcp connection to register separately.
- the preset time for example, 30 ms
- a communication terminal and its VOIP multi-account dynamic adjustment registration system and method of the present invention are configured to configure multiple VOIP accounts on the communication terminal, randomly select a VOIP account to interact with the server for registration, and then register according to the registration response.
- the round-trip time is dynamically adjusted for the registration of other VOIP accounts to achieve the best VOIP registration scheme without increasing the cost of terminal hardware, effectively reducing unnecessary registration attempts, and saving phone memory consumption and network bandwidth resources.
- the invention can save memory resources to a certain extent by adjusting the registration method of multiple accounts, and ensure the stability of the terminal during registration.
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Computer Security & Cryptography (AREA)
- Business, Economics & Management (AREA)
- General Business, Economics & Management (AREA)
- Multimedia (AREA)
- Telephonic Communication Services (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
Provided are a communication terminal and a VOIP multi-account registration dynamic adjustment system and method therefor. The method comprises the following steps: step S1, configuring multiple VOIP accounts at a communication terminal, and randomly selecting one VOIP account to perform registration interaction with a server; and step S2, dynamically adjusting registration of other VOIP accounts according to the round-trip time of a registration response, so that the present invention can achieve an optimal VOIP registration scheme under the condition that hardware costs of the terminal are not increased.
Description
本发明涉及网络通信技术领域,特别是涉及一种通信终端及其VOIP多账号下动态调节注册***、方法。The invention relates to the technical field of network communication, in particular to a communication terminal and a system and method for dynamic adjustment and registration under multiple VOIP accounts.
当今网络飞速发展,网络带宽越来越高,网络数据传输成本越来越低。加上近几年WLAN的普及,3G/4G带宽越来越高,以及智能终端的超高速发展。相比于传统运营商的高收费,“免费”的VoIP通话在竞争中有着非常巨大的优势。人们对VoIP业务的需求也随网络的发展越来越高。VoIP(Voice over Internet Protocol,语音数字化协议)是基于IP分组的交换网络,通过对传统的模拟语音信号进行数字化、压缩、打包,封装成帧等一系列处理,使得语音业务可以通过IP网进行承载。广义上讲,VoIP是指在数据网络上承载数据、语音、传真和图像等多媒体业务,而在狭义上即是指在IP上传送语音业务。RTP(Real-time Transfer Protocol,实时传输协议)是VoIP中传输媒体信息的主要协议,包括语音、图像等。With the rapid development of today's network, network bandwidth is getting higher and higher, and the cost of network data transmission is getting lower and lower. Coupled with the popularity of WLAN in recent years, 3G/4G bandwidth has become higher and higher, and the ultra-high-speed development of smart terminals. Compared with the high charges of traditional operators, "free" VoIP calls have a huge advantage in the competition. People's demand for VoIP services is getting higher and higher with the development of the network. VoIP (Voice over Internet Protocol, voice digitization protocol) is an IP packet-based switching network. Through a series of processing such as digitization, compression, packaging, and encapsulation of traditional analog voice signals, voice services can be carried over the IP network. . Broadly speaking, VoIP refers to carrying multimedia services such as data, voice, fax, and images on a data network, and in a narrow sense refers to transmitting voice services over IP. RTP (Real-time Transfer Protocol) is the main protocol for transmitting media information in VoIP, including voice and image.
VoIP(Voice over Internet Protocol,语音数字化协议)***中,诸如IP电话、软电话以及语音网关等,VoIP终端需要向VoIP服务器进行注册自身的IP地址和对应的电话号码。在进行VoIP呼叫时,VoIP终端将呼叫发送到VoIP服务器上,VoIP服务器查找到被叫端的电话号码对应的IP地址后,通过该IP地址进行寻址,将呼叫发送至呼叫端,从而建立VoIP呼叫链接。In VoIP (Voice over Internet Protocol) systems, such as IP phones, soft phones, and voice gateways, VoIP terminals need to register their own IP addresses and corresponding phone numbers with the VoIP server. When making a VoIP call, the VoIP terminal sends the call to the VoIP server. After the VoIP server finds the IP address corresponding to the phone number of the called terminal, it addresses the call through the IP address and sends the call to the calling terminal to establish the VoIP call. Link.
然而,目前市面上通信终端受限于成本问题,大多数终端内存较小,而大批量配置账号,对于内存要求较高,因此目前的大多数终端无法适应大批量VoIP账号注册场景。另一方面,当通信服务器宕机时,通信终端大量账号以固定时 间间隔发起注册尝试,会占用大量网络带宽以及话机内存资源。However, the current communication terminals on the market are limited by cost issues. Most of the terminals have a small memory, and a large number of accounts are configured with high memory requirements. Therefore, most of the current terminals cannot adapt to a large number of VoIP account registration scenarios. On the other hand, when the communication server is down, a large number of communication terminal accounts initiate registration attempts at fixed time intervals, which will consume a large amount of network bandwidth and phone memory resources.
发明内容Summary of the invention
为克服上述现有技术存在的不足,本发明之目的在于提供一种通信终端及其VOIP多账号下动态调节注册***、方法,以在不提高终端硬件成本的情况下,实现最佳的VOIP注册方案。In order to overcome the above-mentioned shortcomings of the prior art, the purpose of the present invention is to provide a communication terminal and its VOIP multi-account dynamic adjustment registration system and method, so as to achieve the best VOIP registration without increasing the terminal hardware cost. plan.
为达上述及其它目的,本发明提出一种通信终端,包括:To achieve the above and other objectives, the present invention provides a communication terminal, including:
账号配置单元,用于配置多个VOIP账号;Account configuration unit, used to configure multiple VOIP accounts;
注册信令交互单元,用于于配置的多个VOIP账号中随机选择一VOIP账号,与服务器端进行注册请求交互,并于向所述服务器端发送注册请求时,启动定时功能进行计时;The registration signaling interaction unit is used to randomly select a VOIP account from the configured multiple VOIP accounts, interact with the server for registration requests, and activate the timing function for timing when sending the registration request to the server;
动态调节单元,用于根据注册响应的往返时间确定注册策略,以对其他账号的注册进行动态调节。The dynamic adjustment unit is used to determine the registration strategy according to the round-trip time of the registration response, so as to dynamically adjust the registration of other accounts.
优选地,所述注册信令交互单元于配置的多个VOIP账号中随机选择一VOIP账号进行注册申请,向所述服务器端发送注册register信令,并启动定时功能进行计时,等待所述服务器端的响应,于接收到所述服务器端发送的对所述注册register信令的回复信令后,发送带鉴权的注册包至所述服务器端,并等待所述服务器端响应,接收所述服务器端返回的认证确认指令。Preferably, the registration signaling interaction unit randomly selects a VOIP account from a plurality of configured VOIP accounts to apply for registration, sends a registration register signaling to the server, and activates the timing function for timing, and waits for the server's In response, after receiving the reply signaling to the register signaling sent by the server, send an authenticated registration packet to the server, wait for the server to respond, and receive the server. The returned authentication confirmation instruction.
优选地,若注册传输协议为UDP协议,所述动态调节单元用于:Preferably, if the registration transmission protocol is the UDP protocol, the dynamic adjustment unit is used for:
当计时时间超过预设值而服务器端都无响应时,则其他注册相同服务器的VOIP账号不再发起注册,发起注册的当前VOIP账号根据RFC标准协议进行重传,直到最大超时时间;When the timer exceeds the preset value and the server does not respond, other VOIP accounts registered with the same server will no longer initiate registration, and the current VOIP account that initiated the registration will be retransmitted according to the RFC standard protocol until the maximum timeout period;
当根据计时时间获得的注册信令往返时延小于预设时间时,令所述通信终端所有已配置的VOIP账号发起注册。When the round-trip delay of the registration signaling obtained according to the timing time is less than the preset time, all the configured VOIP accounts of the communication terminal are caused to initiate registration.
当根据计时时间获得的注册信令往返时延大于预设时间时,则选择部分已配置的VOIP账号发起注册,当该部分VOIP账号都能成功注册或者当前所有账 号注册的平均时延小于预设时间,则令剩余已配置VOIP账号发起注册。When the round-trip delay of the registration signaling obtained according to the timing time is greater than the preset time, select some of the configured VOIP accounts to initiate registration, when the part of the VOIP accounts can be successfully registered or the average delay of all current account registrations is less than the preset Time, the remaining configured VOIP accounts will initiate registration.
优选地,当根据计时时间获得的注册信令往返时延大于预设时间时,根据设置的配置参数选择相应的已配置的账号发起注册,当所选择的账号都能成功注册或者当前账号注册的平均时延小于预设时间,则令另外剩余的已配置VOIP账号发起注册。Preferably, when the round-trip delay of the registration signaling obtained according to the timing time is greater than the preset time, the corresponding configured account is selected to initiate registration according to the set configuration parameters. When the selected account can be successfully registered or the average of the current account registration If the delay is less than the preset time, the other remaining configured VOIP accounts will initiate registration.
优选地,若注册传输协议为TCP协议或者TLS协议时,所述动态调节单元具体用于:Preferably, if the registration transfer protocol is the TCP protocol or the TLS protocol, the dynamic adjustment unit is specifically configured to:
当计时时间超过预设值而服务器端都无响应时,更换所述通信终端的注册端口重新发起新的注册;When the timing time exceeds the preset value and the server does not respond, the registration port of the communication terminal is replaced and a new registration is initiated again;
根据计时时间获得的注册往返时间,选择多个账号复用同一个tcp连接或者账号之间单独使用tcp连接。According to the registration round-trip time obtained by the timing time, select multiple accounts to reuse the same tcp connection or use separate tcp connections between accounts.
优选地,当根据计时时间获得的注册往返时延大于预设时间时,令所述通信终端的多个账号复用同一个tcp socket连接发起注册;当根据计时时间获得的注册往返时延小于预设时间,令所述通信终端的其他账号单独发起tcp连接进行注册。Preferably, when the registration round-trip delay obtained according to the timing time is greater than the preset time, multiple accounts of the communication terminal are made to multiplex the same tcp socket connection to initiate registration; when the registration round-trip delay obtained according to the timing time is less than the preset time Set time so that other accounts of the communication terminal independently initiate a tcp connection for registration.
为达到上述目的,本发明还提供一种通信终端VOIP多账号下动态调节注册***,包括:In order to achieve the above objective, the present invention also provides a dynamic adjustment registration system under multiple VOIP accounts of a communication terminal, which includes:
通信终端,配置多个VOIP账号,随机选择一VOIP账号与服务器端进行注册交互,根据注册响应的往返时间,对其他VOIP账号的注册进行动态调节;The communication terminal is configured with multiple VOIP accounts, a VOIP account is randomly selected to interact with the server, and the registration of other VOIP accounts is dynamically adjusted according to the round-trip time of the registration response;
服务器端,用于根据通信终端发送的指令对其进行相应的响应。The server is used to respond to the instructions sent by the communication terminal.
为达到上述目的,本发明还提供一种通信终端VOIP多账号下动态调节注册方法,包括如下步骤:To achieve the above objective, the present invention also provides a method for dynamic adjustment and registration under multiple VOIP accounts of a communication terminal, which includes the following steps:
步骤S1,于通信终端配置多个VOIP账号,随机选择一VOIP账号与服务器端进行注册交互;Step S1: Configure multiple VOIP accounts on the communication terminal, and randomly select a VOIP account to interact with the server for registration;
步骤S2,根据注册响应的往返时间,对其他VOIP账号的注册进行动态调节。In step S2, the registration of other VOIP accounts is dynamically adjusted according to the round-trip time of the registration response.
优选地,于步骤S2中,若注册传输协议为UDP协议,所述动态调节步骤如下:Preferably, in step S2, if the registered transmission protocol is the UDP protocol, the dynamic adjustment step is as follows:
当计时时间超过预设值而服务器端都无响应时,则其他注册相同服务器的VOIP账号不再发起注册,发起注册的当前VOIP账号根据RFC标准协议进行重传,直到最大超时时间;When the timer exceeds the preset value and the server does not respond, other VOIP accounts registered with the same server will no longer initiate registration, and the current VOIP account that initiated the registration will be retransmitted according to the RFC standard protocol until the maximum timeout period;
当根据计时时间获得的注册信令往返时延小于预设时间时,令所述通信终端所有已配置的VOIP账号发起注册。When the round-trip delay of the registration signaling obtained according to the timing time is less than the preset time, all the configured VOIP accounts of the communication terminal are caused to initiate registration.
当根据计时时间获得的注册信令往返时延大于预设时间时,则选择部分已配置的VOIP账号发起注册,当该部分VOIP账号都能成功注册或者当前所有账号注册的平均时延小于预设时间,则令剩余已配置VOIP账号发起注册。When the round-trip delay of the registration signaling obtained according to the timing time is greater than the preset time, select some of the configured VOIP accounts to initiate registration, when the part of the VOIP accounts can be successfully registered or the average delay of all current account registrations is less than the preset Time, the remaining configured VOIP accounts will initiate registration.
优选地,于步骤S2中,若注册传输协议为TCP协议或者TLS协议时,所述动态调节步骤如下:Preferably, in step S2, if the registered transmission protocol is the TCP protocol or the TLS protocol, the dynamic adjustment step is as follows:
当计时时间超过预设值而服务器端都无响应时,更换所述通信终端的注册端口重新发起新的注册;When the timing time exceeds the preset value and the server does not respond, the registration port of the communication terminal is replaced and a new registration is initiated again;
根据计时时间获得的注册往返时间,选择多个账号复用同一个tcp连接或者账号之间单独使用tcp连接。According to the registration round-trip time obtained by the timing time, select multiple accounts to reuse the same tcp connection or use separate tcp connections between accounts.
与现有技术相比,本发明一种通信终端及其VOIP多账号下动态调节注册***、方法通过于通信终端配置多个VOIP账号,随机选择一VOIP账号与服务器端进行注册交互,然后根据注册响应的往返时间,对其他VOIP账号的注册进行动态调节,以在不提高终端硬件成本的情况下,实现最佳的VOIP注册方案,有效减少不必要的注册尝试,节约话机内存消耗以及网络带宽资源;本发明通过调整多账号的注册方式,可在一定程度上节约内存资源,在注册时保证终端稳定性。Compared with the prior art, the communication terminal and its system and method for dynamically adjusting registration under multiple VOIP accounts of the present invention configure multiple VOIP accounts on the communication terminal, randomly select a VOIP account to interact with the server for registration, and then register and interact according to the registration. The round-trip time of the response is dynamically adjusted for the registration of other VOIP accounts to achieve the best VOIP registration scheme without increasing the cost of terminal hardware, effectively reducing unnecessary registration attempts, and saving phone memory consumption and network bandwidth resources ; The present invention can save memory resources to a certain extent by adjusting the registration mode of multiple accounts, and ensure the stability of the terminal during registration.
图1为本发明一种通信终端VOIP多账号下动态调节注册***的***架构 图;Figure 1 is a system architecture diagram of a system for dynamic adjustment and registration under multiple VOIP accounts of a communication terminal according to the present invention;
图2为本发明一种通信终端VOIP多账号下动态调节注册方法的步骤流程图;2 is a flow chart of the steps of a method for dynamically adjusting and registering under multiple VOIP accounts of a communication terminal according to the present invention;
图3为本发明实施例中通信终端多账号注册信令交互图。Fig. 3 is a signaling interaction diagram of multi-account registration of a communication terminal in an embodiment of the present invention.
以下通过特定的具体实例并结合附图说明本发明的实施方式,本领域技术人员可由本说明书所揭示的内容轻易地了解本发明的其它优点与功效。本发明亦可通过其它不同的具体实例加以施行或应用,本说明书中的各项细节亦可基于不同观点与应用,在不背离本发明的精神下进行各种修饰与变更。The following describes the implementation of the present invention through specific specific examples in conjunction with the accompanying drawings. Those skilled in the art can easily understand other advantages and effects of the present invention from the content disclosed in this specification. The present invention can also be implemented or applied through other different specific examples, and various details in this specification can also be based on different viewpoints and applications, and various modifications and changes can be made without departing from the spirit of the present invention.
图1为本发明一种通信终端VOIP多账号下动态调节注册***的***架构图。如图1所示,本发明一种通信终端VOIP多账号下动态调节注册***,包括:FIG. 1 is a system architecture diagram of a dynamic adjustment registration system under VOIP multiple accounts of a communication terminal according to the present invention. As shown in Figure 1, a system for dynamically adjusting and registering a communication terminal under VOIP multiple accounts of the present invention includes:
通信终端10,配置多个VOIP账号,随机选择一VOIP账号与服务器端进行注册交互,根据注册响应的往返时间,对其他账号的注册进行动态调节。The communication terminal 10 is configured with multiple VOIP accounts, a VOIP account is randomly selected for registration interaction with the server, and the registration of other accounts is dynamically adjusted according to the round-trip time of the registration response.
具体地,通信终端10进一步包括:Specifically, the communication terminal 10 further includes:
账号配置单元101,用于配置多个VOIP账号。The account configuration unit 101 is used to configure multiple VOIP accounts.
注册信令交互单元102,用于于配置的多个VOIP账号中随机选择一VOIP账号进行注册申请,向服务器端20发送注册register信令,并启动定时功能进行计时,等待服务器端20的响应,于接收到服务器端发送的对register信令的回复信令后,发送带鉴权的注册包至服务器端20,并等待服务器端20响应,接收服务器端20返回的认证确认指令。在本发明具体实施例中,所述通信终端配通过账号配置单元配置多个VOIP账号,注册信令交互单元102从中随机选择一个VOIP账号进行注册,首先向服务器端20发送注册register信令,服务器端20收到该注册register信令后回复401的回复信令,注册信令交互单元102于接收到401的回复信令后,随即回复带鉴权的注册包,服务器端20接收到带鉴权的注册包后,回复200的认证确认指令。这里需说明的是,如果注册传输协议 为TCP协议,根据TCP协议的规范,于注册前应会先发三次握手连接,在此不予追述。动态调节单元103,用于根据注册响应的往返时间确定注册策略,以对其他账号的注册进行动态调节。The registration signaling interaction unit 102 is configured to randomly select a VOIP account from the configured multiple VOIP accounts to apply for registration, send a registration register signaling to the server 20, start the timing function for timing, and wait for the response of the server 20, After receiving the reply signaling to the register signaling sent by the server, it sends a registration packet with authentication to the server 20, waits for the server 20 to respond, and receives the authentication confirmation instruction returned by the server 20. In the specific embodiment of the present invention, the communication terminal is configured to configure multiple VOIP accounts through the account configuration unit, and the registration signaling interaction unit 102 randomly selects a VOIP account for registration. After receiving the registration register signaling, the terminal 20 replies with the reply signaling of 401. After receiving the reply signaling of 401, the registration signaling interaction unit 102 immediately replies with the registration packet with authentication, and the server 20 receives the authentication packet with authentication. After registering the package, reply the 200 authentication confirmation instruction. It should be noted here that if the registered transmission protocol is TCP, according to the specifications of TCP protocol, a three-way handshake connection should be sent before registration, which will not be described here. The dynamic adjustment unit 103 is configured to determine a registration strategy according to the round-trip time of the registration response, so as to dynamically adjust the registration of other accounts.
在本发明具体实施例中,动态调节单元103基于注册传输协议类型,根据通信终端与服务器端之间注册响应的往返时间确定注册策略,实现对其他账号注册的动态调节,具体地:In the specific embodiment of the present invention, the dynamic adjustment unit 103 determines the registration strategy according to the round-trip time of the registration response between the communication terminal and the server based on the type of the registration transfer protocol, and realizes the dynamic adjustment of the registration of other accounts, specifically:
若注册传输协议为UDP协议(UDP为无连接的网络层协议,建立在IP层之上),动态调节单元103具体用于:If the registered transmission protocol is the UDP protocol (UDP is a connectionless network layer protocol, built on the IP layer), the dynamic adjustment unit 103 is specifically configured to:
当计时时间超过预设值而服务器端都无响应时,则其他注册相同服务器的账号不再发起注册,发起注册的当前账号根据RFC标准协议进行重传,直到最大超时时间,在本发明中,最大超时时间可以是根据RFC协议的F定时器,正常是32s未成功则认定注册失败;When the timing time exceeds the preset value and the server does not respond, other accounts registered with the same server will no longer initiate registration, and the current account that initiated the registration will be retransmitted according to the RFC standard protocol until the maximum timeout period. In the present invention, The maximum timeout time can be the F timer according to the RFC protocol. Normally, if 32s is unsuccessful, the registration is deemed to have failed;
当根据计时时间获得的注册信令往返时延小于预设时间(例如30ms)时,即网络良好的状态下,则令所述通信终端所有已配置的账号发起注册,各终端同时发起和依次发起注册由终端代码框架决定,一般来说,多线程架构支持同时发起,单线程只能是依次发起,各终端大多数都是依次发起的。When the round-trip delay of the registration signaling obtained according to the timing time is less than the preset time (for example, 30ms), that is, when the network is in a good state, all the configured accounts of the communication terminal are made to initiate registration, and each terminal initiates simultaneously and sequentially The registration is determined by the terminal code framework. Generally speaking, the multi-threaded architecture supports simultaneous initiation. A single thread can only be initiated sequentially, and most of the terminals are initiated sequentially.
当根据计时时间获得的注册信令往返时延大于预设时间(例如30ms)时,即表示网络处于拥塞装填,则选择部分已配置的账号发起注册(同理,各终端同时发起和依次发起注册也是由终端代码框架决定的),当该部分账号都能成功注册或者当前所有账号注册的平均时延小于预设时间(例如30ms),则令剩余已配置账号发起注册。在本发明具体实施例中,用户可根据网络响应快慢配置参数,以便根据配置参数选择相应的账号先发起注册,例如选择二分之一或三分之一或四分之一等(可设置默认值为二分之一),若配置参数为二分之一,当网络处于拥塞装填,则选择二分之一已配置的账号发起注册,当该二分之一的已配置账号都能成功注册或者当前账号注册的平均时延小于预设时间(例如30ms),则令另外二分之一已配置账号发起注册。When the round-trip delay of the registration signaling obtained according to the timing time is greater than the preset time (for example, 30ms), it means that the network is in congestion and filling, and then select some of the configured accounts to initiate registration (similarly, each terminal initiates registration at the same time and in turn (It is also determined by the terminal code framework). When the partial accounts can be successfully registered or the average delay of all current account registrations is less than the preset time (for example, 30ms), the remaining configured accounts are made to initiate registration. In the specific embodiment of the present invention, the user can configure the parameters according to the speed of the network response, so as to select the corresponding account according to the configuration parameters to initiate registration first, for example, select one-half, one-third, or one-quarter, etc. (default settings can be set) The value is one-half), if the configuration parameter is one-half, when the network is in congestion and filling, select one-half of the configured account to initiate registration, when the one-half of the configured account can be successfully registered Or the average time delay of the current account registration is less than the preset time (for example, 30ms), and the other half of the configured accounts are made to initiate registration.
当注册传输协议使用的是TCP协议或者TLS协议(TCP为有连接的网络层协议,建立在IP层之上的,通过对它下层IP包的冲突、错误检测和重传,保证了最终接收到的数据是可靠的。TLS是在更上一层的协议,他必须建立在可靠的数据传输基础上,所以一般是在TCP之上,当然也可以建立在SCTP之上,但是一定不是UDP之上)时,动态调节单元103具体用于:When the registration transfer protocol uses the TCP protocol or the TLS protocol (TCP is a connected network layer protocol, built on top of the IP layer, through the conflict, error detection and retransmission of the lower layer IP packets, the final reception is guaranteed The data is reliable. TLS is a higher-level protocol, it must be built on the basis of reliable data transmission, so it is generally on top of TCP, of course, it can also be built on top of SCTP, but it must not be based on UDP ), the dynamic adjustment unit 103 is specifically configured to:
当计时时间超过预设值而服务器端都无响应时,更换所述通信终端的注册端口重新发起新的注册;When the timing time exceeds the preset value and the server does not respond, the registration port of the communication terminal is replaced and a new registration is initiated again;
根据计时时间获得的注册往返时间,选择多个账号复用同一个tcp连接或者账号之间单独使用tcp连接。具体地说,当根据计时时间获得的注册往返时延大于预设时间(例如30ms)时,令所述通信终端的多个账号复用同一个tcp socket连接发起注册,避免重复发起tcp连接消耗网络带宽以及终端注册慢的问题;当根据计时时间获得的注册往返时延小于预设时间(例如30ms),令所述通信终端的其他账号单独发起tcp连接进行注册。According to the registration round-trip time obtained by the timing time, select multiple accounts to reuse the same tcp connection or use separate tcp connections between accounts. Specifically, when the registration round-trip delay obtained according to the timing time is greater than the preset time (for example, 30ms), multiple accounts of the communication terminal are made to multiplex the same tcp socket connection to initiate registration, so as to avoid repeatedly initiating tcp connections to consume the network The problem of bandwidth and slow terminal registration; when the round-trip delay of registration obtained according to the timing time is less than a preset time (for example, 30 ms), other accounts of the communication terminal are made to initiate a tcp connection to register separately.
服务器端20,用于根据通信终端10发送的指令对其进行相应的响应。也就是说,当接收到通信终端10发送的注册register信令,服务器端20会响应401的回复信令,当接收到通信终端10发送的带鉴权的注册包,则服务器端20回复200的认证确认指令。The server 20 is used to respond to the instructions sent by the communication terminal 10 accordingly. In other words, when receiving the register signaling sent by the communication terminal 10, the server 20 will respond to the reply signaling 401. When receiving the authenticated registration packet sent by the communication terminal 10, the server 20 will reply with a 200 Authentication confirmation instructions.
图2为本发明一种通信终端VOIP多账号下动态调节注册方法的步骤流程图。如图2所示,本发明一种通信终端VOIP多账号下动态调节注册方法,包括如下步骤:Fig. 2 is a flow chart of the steps of a method for dynamically adjusting and registering under a VOIP multi-account of a communication terminal according to the present invention. As shown in Fig. 2, a method for dynamic adjustment and registration under multiple VOIP accounts of a communication terminal according to the present invention includes the following steps:
步骤S1,于通信终端配置多个VOIP账号,随机选择一VOIP账号与服务器端进行注册交互。Step S1: Configure multiple VOIP accounts on the communication terminal, and randomly select a VOIP account to interact with the server for registration.
具体地,如图3所示,步骤S1进一步包括:Specifically, as shown in FIG. 3, step S1 further includes:
步骤S100,于配置的多个VOIP账号中随机选择一VOIP账号进行注册申请,向服务器端发送注册register信令,并启动定时功能进行计时,例如通过启动一定时器启动定时功能,等待服务器端20的响应;所述通信终端配通过账号 配置单元配置多个VOIP账号,从中随机选择一个VOIP账号进行注册,向服务器端发送注册register信令。Step S100, randomly select a VOIP account from the configured multiple VOIP accounts to apply for registration, send a register signaling to the server, and start the timing function for timing, for example, start the timing function by starting a timer, and wait for the server side 20 The response; the communication terminal is configured to configure multiple VOIP accounts through the account configuration unit, from which a VOIP account is randomly selected for registration, and the register signaling is sent to the server.
步骤S101,于接收到服务器端发送的对register信令的回复信令后,发送带鉴权的注册包至服务器端,并等待服务器端响应;当服务器端收到该注册register信令后则会回复401的回复信令,然后通信终端则发送带鉴权的注册包至服务器端。Step S101: After receiving the reply signaling to the register signaling sent by the server, it sends an authenticated registration packet to the server, and waits for the server to respond; when the server receives the register signaling, it will Reply to the reply signaling of 401, and then the communication terminal sends a registration packet with authentication to the server.
步骤S102,接收服务器端返回的认证确认指令。在本发明具体实施例中,当服务器端接收到通信终端的带鉴权的注册包后,则会回复200的认证确认指令。Step S102: Receive an authentication confirmation instruction returned by the server. In the specific embodiment of the present invention, when the server side receives the authenticated registration packet of the communication terminal, it will reply with an authentication confirmation instruction of 200.
步骤S2,根据注册响应的往返时间,对其他VOIP账号的注册进行动态调节。In step S2, the registration of other VOIP accounts is dynamically adjusted according to the round-trip time of the registration response.
在本发明具体实施例中,基于注册传输协议类型,根据通信终端与服务器端之间注册响应的往返时间确定注册策略,实现对其他账号注册的动态调节,具体地,若注册传输协议为UDP协议(UDP为无连接的网络层协议,建立在IP层之上),动态调节步骤如下:In the specific embodiment of the present invention, based on the type of the registration transfer protocol, the registration strategy is determined according to the round-trip time of the registration response between the communication terminal and the server, so as to realize the dynamic adjustment of the registration of other accounts. Specifically, if the registration transfer protocol is the UDP protocol (UDP is a connectionless network layer protocol, built on top of the IP layer), the dynamic adjustment steps are as follows:
当计时时间超过预设值而服务器端都无响应时,则其他注册相同服务器的账号不再发起注册,发起注册的当前账号根据RFC标准协议进行重传,直到最大超时时间;When the timer exceeds the preset value and the server does not respond, other accounts registered with the same server will no longer initiate registration, and the current account that initiated the registration will be retransmitted according to the RFC standard protocol until the maximum timeout period;
当根据计时时间获得的注册信令往返时延小于预设时间(例如30ms)时,即网络良好的状态下,则令所述通信终端所有已配置的账号发起注册。When the round-trip delay of the registration signaling obtained according to the timing time is less than the preset time (for example, 30 ms), that is, when the network is in a good state, all the configured accounts of the communication terminal are caused to initiate registration.
当根据计时时间获得的注册信令往返时延大于预设时间(例如30ms)时,即表示网络处于拥塞装填,则选择部分已配置的账号发起注册,当该部分账号都能成功注册或者当前所有账号注册的平均时延小于预设时间(例如30ms),则令剩余已配置账号发起注册。在本发明具体实施例中,用户可根据网络响应快慢配置参数,以便根据配置参数选择相应的账号先发起注册,例如选择二分之一或三分之一或四分之一等(可设置默认值为二分之一)。若配置参数为二分 之一,当网络处于拥塞装填,则选择二分之一已配置的账号发起注册,当该二分之一账号都能成功注册或者当前账号注册的平均时延小于预设时间(例如30ms),则令另外二分之一已配置账号发起注册。When the round-trip delay of the registration signaling obtained according to the timing time is greater than the preset time (for example, 30ms), it means that the network is congested and filled, and then select some of the configured accounts to initiate registration. When this part of the accounts can be successfully registered or all current accounts The average time delay of account registration is less than the preset time (for example, 30ms), then the remaining configured accounts are allowed to initiate registration. In the specific embodiment of the present invention, the user can configure the parameters according to the speed of the network response, so as to select the corresponding account according to the configuration parameters to initiate registration first, for example, select one-half, one-third, or one-quarter, etc. (default settings can be set) The value is one-half). If the configuration parameter is one-half, when the network is in congestion and filling, select one-half of the configured account to initiate registration, when the one-half of the account can be successfully registered or the average delay of the current account registration is less than the preset Time (for example, 30ms), the other half of the configured accounts will initiate registration.
当注册传输协议使用的是TCP协议或者TLS协议(TCP为有连接的网络层协议,建立在IP层之上的,通过对它下层IP包的冲突、错误检测和重传,保证了最终接收到的数据是可靠的。TLS是在更上一层的协议,他必须建立在可靠的数据传输基础上,所以一般是在TCP之上,当然也可以建立在SCTP之上,但是一定不是UDP之上)时,动态调节步骤如下:When the registration transfer protocol uses the TCP protocol or the TLS protocol (TCP is a connected network layer protocol, built on top of the IP layer, through the conflict, error detection and retransmission of the lower layer IP packets, the final reception is guaranteed The data is reliable. TLS is a higher-level protocol, it must be built on the basis of reliable data transmission, so it is generally on top of TCP, of course, it can also be built on top of SCTP, but it must not be based on UDP ), the dynamic adjustment steps are as follows:
当计时时间超过预设值而服务器端都无响应时,更换所述通信终端的注册端口重新发起新的注册;When the timing time exceeds the preset value and the server does not respond, the registration port of the communication terminal is replaced and a new registration is initiated again;
根据计时时间获得的注册往返时间,选择多个账号复用同一个tcp连接或者账号之间单独使用tcp连接。具体地说,当根据计时时间获得的注册往返时延大于预设时间(例如30ms)时,令所述通信终端的多个账号复用同一个tcp socket连接发起注册,避免重复发起tcp连接消耗网络带宽以及终端注册慢的问题;当根据计时时间获得的注册往返时延小于预设时间(例如30ms),令所述通信终端的其他账号单独发起tcp连接进行注册。According to the registration round-trip time obtained by the timing time, select multiple accounts to reuse the same tcp connection or use separate tcp connections between accounts. Specifically, when the registration round-trip delay obtained according to the timing time is greater than the preset time (for example, 30ms), multiple accounts of the communication terminal are made to multiplex the same tcp socket connection to initiate registration, so as to avoid repeatedly initiating tcp connections to consume the network The problem of bandwidth and slow terminal registration; when the round-trip delay of registration obtained according to the timing time is less than a preset time (for example, 30 ms), other accounts of the communication terminal are made to initiate a tcp connection to register separately.
综上所述,本发明一种通信终端及其VOIP多账号下动态调节注册***、方法通过于通信终端配置多个VOIP账号,随机选择一VOIP账号与服务器端进行注册交互,然后根据注册响应的往返时间,对其他VOIP账号的注册进行动态调节,以在不提高终端硬件成本的情况下,实现最佳的VOIP注册方案,有效减少不必要的注册尝试,节约话机内存消耗以及网络带宽资源,本发明通过调整多账号的注册方式,可在一定程度上节约内存资源,在注册时保证终端稳定性。In summary, a communication terminal and its VOIP multi-account dynamic adjustment registration system and method of the present invention are configured to configure multiple VOIP accounts on the communication terminal, randomly select a VOIP account to interact with the server for registration, and then register according to the registration response. The round-trip time is dynamically adjusted for the registration of other VOIP accounts to achieve the best VOIP registration scheme without increasing the cost of terminal hardware, effectively reducing unnecessary registration attempts, and saving phone memory consumption and network bandwidth resources. The invention can save memory resources to a certain extent by adjusting the registration method of multiple accounts, and ensure the stability of the terminal during registration.
上述实施例仅例示性说明本发明的原理及其功效,而非用于限制本发明。任何本领域技术人员均可在不违背本发明的精神及范畴下,对上述实施例进行修饰与改变。因此,本发明的权利保护范围,应如权利要求书所列。The above-mentioned embodiments only exemplarily illustrate the principles and effects of the present invention, but are not used to limit the present invention. Any person skilled in the art can modify and change the above-mentioned embodiments without departing from the spirit and scope of the present invention. Therefore, the protection scope of the present invention should be as listed in the claims.
Claims (10)
- 一种通信终端,包括:A communication terminal, including:账号配置单元,用于配置多个VOIP账号;Account configuration unit, used to configure multiple VOIP accounts;注册信令交互单元,用于于配置的多个VOIP账号中随机选择一VOIP账号,与服务器端进行注册请求交互,并于向所述服务器端发送注册请求时,启动定时功能进行计时;The registration signaling interaction unit is used to randomly select a VOIP account from the configured multiple VOIP accounts, interact with the server for registration requests, and activate the timing function for timing when sending the registration request to the server;动态调节单元,用于根据注册响应的往返时间确定注册策略,以对其他账号的注册进行动态调节。The dynamic adjustment unit is used to determine the registration strategy according to the round-trip time of the registration response, so as to dynamically adjust the registration of other accounts.
- 如权利要求1所述的一种通信终端,其特征在于:所述注册信令交互单元于配置的多个VOIP账号中随机选择一VOIP账号进行注册申请,向所述服务器端发送注册register信令,并启动定时功能进行计时,等待所述服务器端的响应,于接收到所述服务器端发送的对所述注册register信令的回复信令后,发送带鉴权的注册包至所述服务器端,并等待所述服务器端响应,接收所述服务器端返回的认证确认指令。The communication terminal according to claim 1, wherein the registration signaling interaction unit randomly selects a VOIP account among the configured multiple VOIP accounts to apply for registration, and sends a registration signaling to the server. , And start the timing function for timing, wait for the response from the server, and after receiving the reply signaling to the register signaling sent by the server, send an authenticated registration package to the server, And wait for the server side to respond, and receive the authentication confirmation instruction returned by the server side.
- 如权利要求2所述的一种通信终端,其特征在于:若注册传输协议为UDP协议,所述动态调节单元用于:The communication terminal according to claim 2, wherein if the registered transmission protocol is UDP, the dynamic adjustment unit is used for:当计时时间超过预设值而服务器端都无响应时,则其他注册相同服务器的VOIP账号不再发起注册,发起注册的当前VOIP账号根据RFC标准协议进行重传,直到最大超时时间;When the timer exceeds the preset value and the server does not respond, other VOIP accounts registered with the same server will no longer initiate registration, and the current VOIP account that initiated the registration will be retransmitted according to the RFC standard protocol until the maximum timeout period;当根据计时时间获得的注册信令往返时延小于预设时间时,令所述通信终端所有已配置的VOIP账号发起注册。When the round-trip delay of the registration signaling obtained according to the timing time is less than the preset time, all the configured VOIP accounts of the communication terminal are caused to initiate registration.当根据计时时间获得的注册信令往返时延大于预设时间时,则选择部分已配置的VOIP账号发起注册,当该部分VOIP账号都能成功注册或者当前所有账号注册的平均时延小于预设时间,则令剩余已配置VOIP账号发起注册。When the round-trip delay of the registration signaling obtained according to the timing time is greater than the preset time, select some of the configured VOIP accounts to initiate registration, when the part of the VOIP accounts can be successfully registered or the average delay of all current account registrations is less than the preset Time, the remaining configured VOIP accounts will initiate registration.
- 如权利要求3所述的一种通信终端,其特征在于:当根据计时时间获得的注册信令往返时延大于预设时间时,根据设置的配置参数选择相应的已配 置的账号发起注册,当所选择的账号都能成功注册或者当前账号注册的平均时延小于预设时间,则令另外剩余的已配置VOIP账号发起注册。A communication terminal according to claim 3, characterized in that: when the round-trip delay of the registration signaling obtained according to the timing time is greater than the preset time, the corresponding configured account is selected according to the set configuration parameters to initiate registration, and when all The selected account can be successfully registered or the average delay of the current account registration is less than the preset time, then the remaining configured VOIP accounts will initiate registration.
- 如权利要求2所述的一种通信终端,其特征在于:若注册传输协议为TCP协议或者TLS协议时,所述动态调节单元具体用于:The communication terminal according to claim 2, wherein if the registration transfer protocol is the TCP protocol or the TLS protocol, the dynamic adjustment unit is specifically configured to:当计时时间超过预设值而服务器端都无响应时,更换所述通信终端的注册端口重新发起新的注册;When the timing time exceeds the preset value and the server does not respond, the registration port of the communication terminal is replaced and a new registration is initiated again;根据计时时间获得的注册往返时间,选择多个账号复用同一个tcp连接或者账号之间单独使用tcp连接。According to the registration round-trip time obtained by the timing time, select multiple accounts to reuse the same tcp connection or use separate tcp connections between accounts.
- 如权利要求5所述的一种通信终端,其特征在于:当根据计时时间获得的注册往返时延大于预设时间时,令所述通信终端的多个账号复用同一个tcp socket连接发起注册;当根据计时时间获得的注册往返时延小于预设时间,令所述通信终端的其他账号单独发起tcp连接进行注册。The communication terminal according to claim 5, characterized in that: when the round-trip delay of registration obtained according to the timing time is greater than a preset time, multiple accounts of the communication terminal are made to multiplex the same tcp socket connection to initiate registration ; When the registration round-trip delay obtained according to the timing time is less than the preset time, make other accounts of the communication terminal independently initiate a tcp connection for registration.
- 一种通信终端VOIP多账号下动态调节注册***,包括:A system for dynamic adjustment and registration under multiple VOIP accounts of a communication terminal, including:通信终端,配置多个VOIP账号,随机选择一VOIP账号与服务器端进行注册交互,根据注册响应的往返时间,对其他VOIP账号的注册进行动态调节;The communication terminal is configured with multiple VOIP accounts, a VOIP account is randomly selected to interact with the server, and the registration of other VOIP accounts is dynamically adjusted according to the round-trip time of the registration response;服务器端,用于根据通信终端发送的指令对其进行相应的响应。The server is used to respond to the instructions sent by the communication terminal.
- 一种通信终端VOIP多账号下动态调节注册方法,包括如下步骤:A method for dynamic adjustment and registration under multiple VOIP accounts of a communication terminal includes the following steps:步骤S1,于通信终端配置多个VOIP账号,随机选择一VOIP账号与服务器端进行注册交互;Step S1: Configure multiple VOIP accounts on the communication terminal, and randomly select a VOIP account to interact with the server for registration;步骤S2,根据注册响应的往返时间,对其他VOIP账号的注册进行动态调节。In step S2, the registration of other VOIP accounts is dynamically adjusted according to the round-trip time of the registration response.
- 如权利要求8所述的一种通信终端VOIP多账号下动态调节注册方法,其特征在于,于步骤S2中,若注册传输协议为UDP协议,所述动态调节步骤如下:The method for dynamic adjustment and registration under multiple VOIP accounts of a communication terminal according to claim 8, wherein, in step S2, if the registration transmission protocol is UDP, the dynamic adjustment step is as follows:当计时时间超过预设值而服务器端都无响应时,则其他注册相同服务器的VOIP账号不再发起注册,发起注册的当前VOIP账号根据RFC标准协议进行重 传,直到最大超时时间;When the timer exceeds the preset value and the server does not respond, other VOIP accounts registered with the same server will no longer initiate registration, and the current VOIP account that initiated the registration will be retransmitted according to the RFC standard protocol until the maximum timeout period;当根据计时时间获得的注册信令往返时延小于预设时间时,令所述通信终端所有已配置的VOIP账号发起注册。When the round-trip delay of the registration signaling obtained according to the timing time is less than the preset time, all the configured VOIP accounts of the communication terminal are caused to initiate registration.当根据计时时间获得的注册信令往返时延大于预设时间时,则选择部分已配置的VOIP账号发起注册,当该部分VOIP账号都能成功注册或者当前所有账号注册的平均时延小于预设时间,则令剩余已配置VOIP账号发起注册。When the round-trip delay of the registration signaling obtained according to the timing time is greater than the preset time, select some of the configured VOIP accounts to initiate registration, when the part of the VOIP accounts can be successfully registered or the average delay of all current account registrations is less than the preset Time, the remaining configured VOIP accounts will initiate registration.
- 如权利要求8所述的一种通信终端VOIP多账号下动态调节注册方法,其特征在于,于步骤S2中,若注册传输协议为TCP协议或者TLS协议时,所述动态调节步骤如下:The method for dynamic adjustment and registration under multiple VOIP accounts of a communication terminal according to claim 8, wherein, in step S2, if the registration transmission protocol is the TCP protocol or the TLS protocol, the dynamic adjustment step is as follows:当计时时间超过预设值而服务器端都无响应时,更换所述通信终端的注册端口重新发起新的注册;When the timing time exceeds the preset value and the server does not respond, the registration port of the communication terminal is replaced and a new registration is initiated again;根据计时时间获得的注册往返时间,选择多个账号复用同一个tcp连接或者账号之间单独使用tcp连接。According to the registration round-trip time obtained by the timing time, select multiple accounts to reuse the same tcp connection or use separate tcp connections between accounts.
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010171427.3A CN111404922B (en) | 2020-03-12 | 2020-03-12 | Communication terminal and VOIP multi-account dynamic adjustment registration system and method thereof |
CN202010171427.3 | 2020-03-12 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2021179964A1 true WO2021179964A1 (en) | 2021-09-16 |
Family
ID=71432384
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2021/078802 WO2021179964A1 (en) | 2020-03-12 | 2021-03-03 | Communication terminal and voip multi-account registration dynamic adjustment system and method therefor |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN111404922B (en) |
WO (1) | WO2021179964A1 (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111404922B (en) * | 2020-03-12 | 2022-04-26 | 厦门亿联网络技术股份有限公司 | Communication terminal and VOIP multi-account dynamic adjustment registration system and method thereof |
CN113163029B (en) * | 2021-05-20 | 2023-06-30 | 厦门亿联网络技术股份有限公司 | Network session account deployment method, device, terminal, server and storage medium |
Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20090225746A1 (en) * | 2008-03-07 | 2009-09-10 | James Jackson | Methods and apparatus to control a flash crowd event in avoice over internet protocol (voip) network |
CN101729589A (en) * | 2008-10-14 | 2010-06-09 | 北京大学 | Method and system for improving end-to-end data transmission rate |
CN102026365A (en) * | 2009-09-10 | 2011-04-20 | 中兴通讯股份有限公司 | Group registration method, IP multimedia sub-system and multiuser access equipment |
CN102090042A (en) * | 2008-05-01 | 2011-06-08 | 阿尔卡特朗讯美国公司 | Message restriction for Diameter servers |
CN102624730A (en) * | 2012-03-13 | 2012-08-01 | 网经科技(苏州)有限公司 | Implementation method for preventing avalanche effect of IMS (IP Multimedia Subsystem) registration |
US20150281923A1 (en) * | 2014-03-31 | 2015-10-01 | T-Mobile Usa, Inc. | Handling of Messages in a Partially Deployed IMS Network |
CN105763524A (en) * | 2014-12-19 | 2016-07-13 | 华为技术有限公司 | Registration method in IP multimedia subsystem, device and system |
CN108512634A (en) * | 2017-02-28 | 2018-09-07 | 北京华为数字技术有限公司 | A kind of method and relevant device of data processing |
CN111404922A (en) * | 2020-03-12 | 2020-07-10 | 厦门亿联网络技术股份有限公司 | Communication terminal and VOIP multi-account dynamic adjustment registration system and method thereof |
CN111404880A (en) * | 2020-02-28 | 2020-07-10 | 深圳震有科技股份有限公司 | Registration management method of IMS (IP multimedia subsystem), storage medium and intelligent terminal |
Family Cites Families (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20080037459A1 (en) * | 2006-08-14 | 2008-02-14 | Mingshen Gao | Enabling dynamic registration of mobile stations at an access network in a high data rate wireless network |
US8355395B2 (en) * | 2009-10-20 | 2013-01-15 | At&T Intellectual Property I, L.P. | Controlling registration floods in VoIP networks via DNS |
CN102685341B (en) * | 2012-04-28 | 2014-10-15 | 中国南方电网有限责任公司 | Voice over Internet protocol (VOIP) call method and system |
CN103813038B (en) * | 2013-11-13 | 2016-08-17 | 深圳市共进电子股份有限公司 | A kind of method realizing multiple VOIP service by single voice physical port |
CN105956435A (en) * | 2016-06-07 | 2016-09-21 | 微梦创科网络科技(中国)有限公司 | Mobile APP registration method and device and mobile APP registration login method and device |
-
2020
- 2020-03-12 CN CN202010171427.3A patent/CN111404922B/en active Active
-
2021
- 2021-03-03 WO PCT/CN2021/078802 patent/WO2021179964A1/en active Application Filing
Patent Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20090225746A1 (en) * | 2008-03-07 | 2009-09-10 | James Jackson | Methods and apparatus to control a flash crowd event in avoice over internet protocol (voip) network |
CN102090042A (en) * | 2008-05-01 | 2011-06-08 | 阿尔卡特朗讯美国公司 | Message restriction for Diameter servers |
CN101729589A (en) * | 2008-10-14 | 2010-06-09 | 北京大学 | Method and system for improving end-to-end data transmission rate |
CN102026365A (en) * | 2009-09-10 | 2011-04-20 | 中兴通讯股份有限公司 | Group registration method, IP multimedia sub-system and multiuser access equipment |
CN102624730A (en) * | 2012-03-13 | 2012-08-01 | 网经科技(苏州)有限公司 | Implementation method for preventing avalanche effect of IMS (IP Multimedia Subsystem) registration |
US20150281923A1 (en) * | 2014-03-31 | 2015-10-01 | T-Mobile Usa, Inc. | Handling of Messages in a Partially Deployed IMS Network |
CN105763524A (en) * | 2014-12-19 | 2016-07-13 | 华为技术有限公司 | Registration method in IP multimedia subsystem, device and system |
CN108512634A (en) * | 2017-02-28 | 2018-09-07 | 北京华为数字技术有限公司 | A kind of method and relevant device of data processing |
CN111404880A (en) * | 2020-02-28 | 2020-07-10 | 深圳震有科技股份有限公司 | Registration management method of IMS (IP multimedia subsystem), storage medium and intelligent terminal |
CN111404922A (en) * | 2020-03-12 | 2020-07-10 | 厦门亿联网络技术股份有限公司 | Communication terminal and VOIP multi-account dynamic adjustment registration system and method thereof |
Non-Patent Citations (1)
Title |
---|
XIANG YANPING, YI JIANQIANG, ZHAO DONGBIN, WEN TINGYONG: "Advances on TCP Congestion Control in High Speed Networks", 2006 CHINA CONTROL AND DECISION ACADEMIC ANNUAL CONFERENCE, NORTHEASTERN UNIVERSITY PRESS, CN, 1 May 2006 (2006-05-01) - 1 July 2006 (2006-07-01), CN, pages 715 - 718, XP055846247 * |
Also Published As
Publication number | Publication date |
---|---|
CN111404922A (en) | 2020-07-10 |
CN111404922B (en) | 2022-04-26 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US7286551B2 (en) | Media access control device guaranteeing communication quality in wireless LAN for VoIP | |
US8982713B2 (en) | Quality of service configuration for wireless communication | |
WO2021179964A1 (en) | Communication terminal and voip multi-account registration dynamic adjustment system and method therefor | |
JP4350899B2 (en) | How to restore data communication while responding to paging notifications | |
KR100605837B1 (en) | Multiple service method and apparatus in data only mobile telecommunication system | |
US20130294283A1 (en) | Facilitating device-to-device communication | |
US20040081159A1 (en) | Method and apparatus for multi-media communication over multiple networks | |
US20030156578A1 (en) | Packet-based conversational service for a multimedia session in a mobile communications system | |
US7839841B2 (en) | Apparatus and method for providing VoIP service based on IP multimedia subsystem | |
AU2007202859B2 (en) | VoIP communication control method and access point apparatus | |
US20080101356A1 (en) | Data routing via lower layers in a communication system | |
JP2000224261A (en) | Data link control protocol directly supporting network layer protocol and its method | |
US6571109B1 (en) | Wireless local loop system enabling FAX service and method of performing FAX data service | |
JP2001160842A (en) | Data communication system and method | |
US20030169768A1 (en) | Call initiation for legacy mobile circuit switched domain wireless systems | |
JP2003527009A (en) | Method and system for activating a packet data subscriber context for packet data | |
US9083847B2 (en) | Video communication method and terminal | |
JP7012727B2 (en) | Packet switching method and related equipment | |
EP3783953B1 (en) | Method and system for automatically resuming call after network handover | |
CN110753360B (en) | Time delay optimization method and device | |
WO2018129728A1 (en) | Management method and device for discontinuous reception | |
US8971310B2 (en) | Apparatus and method for end-to-end adaptive frame packing and redundancy in a heterogeneous network environment | |
WO2010012141A1 (en) | A method and a system for negotiating parameter of a dual tone multi-frequency signal between media gateways | |
US20100262698A1 (en) | Method for negotiating redundant transmission | |
WO2005091575A1 (en) | Packet data serving node and communication method using the same |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 21768515 Country of ref document: EP Kind code of ref document: A1 |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 21768515 Country of ref document: EP Kind code of ref document: A1 |