[go: up one dir, main page]

TWI732721B - Method for dynamically configuring sip accounts on voip and voip server - Google Patents

Method for dynamically configuring sip accounts on voip and voip server Download PDF

Info

Publication number
TWI732721B
TWI732721B TW109143170A TW109143170A TWI732721B TW I732721 B TWI732721 B TW I732721B TW 109143170 A TW109143170 A TW 109143170A TW 109143170 A TW109143170 A TW 109143170A TW I732721 B TWI732721 B TW I732721B
Authority
TW
Taiwan
Prior art keywords
terminal device
sip
account
voip server
available
Prior art date
Application number
TW109143170A
Other languages
Chinese (zh)
Other versions
TW202224393A (en
Inventor
張峻嘉
劉連寬
謝佳育
李俊儒
涂雅晴
Original Assignee
中華電信股份有限公司
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 中華電信股份有限公司 filed Critical 中華電信股份有限公司
Priority to TW109143170A priority Critical patent/TWI732721B/en
Application granted granted Critical
Publication of TWI732721B publication Critical patent/TWI732721B/en
Publication of TW202224393A publication Critical patent/TW202224393A/en

Links

Images

Landscapes

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

Abstract

The disclosure provides a method for dynamically configuring SIP accounts on VoIP and a VoIP server. The method includes: sending a VoIP call request from a terminal device to a VoIP server; verifying, by the VoIP server, the terminal device based on a temporary token in the VoIP call request; in response to determining that the terminal device has passed the verification, estimating, by the VoIP server, a priority of each available SIP account and obtaining N specific SIP accounts from the multiple available SIP accounts accordingly; pushing, by the VoIP server, the N specific SIP accounts to the terminal device and other terminal devices, wherein the terminal device and the other terminal devices individually communicate with each other based on the corresponding specific SIP account.

Description

在VoIP上動態配置SIP帳號的方法及VoIP系統Method for dynamically configuring SIP account on VoIP and VoIP system

本發明是有關於一種基於IP的語音傳輸(Voice over Internet Protocol,VoIP)技術,且特別是有關於一種在VoIP上動態配置SIP帳號的方法及VoIP系統。The present invention relates to an IP-based voice transmission (Voice over Internet Protocol, VoIP) technology, and particularly relates to a method for dynamically configuring SIP accounts on VoIP and a VoIP system.

在現有的VoIP系統上,一般採用固定式的配號技術。亦即,VoIP伺服器可對每個欲進行通話的終端裝置固定地分配一對話啟動協定(Session Initiation Protocol,SIP)帳號。然而,此種固定式配號技術一般會造成以下缺點:(1)會造成伺服器及後續維運成本的增加;(2)若VoIP伺服器沒做好通話數量控管,導致超過VoIP伺服器可容納的極限,容易造成系統服務障礙;(3)資料儲存量較大;(4)SIP密碼更容易被破解。In the existing VoIP system, a fixed number allocation technology is generally used. That is, the VoIP server can permanently assign a Session Initiation Protocol (SIP) account to each terminal device that wants to make a call. However, this kind of fixed number allocation technology generally causes the following shortcomings: (1) It will increase the cost of the server and subsequent maintenance; (2) If the VoIP server does not properly control the number of calls, it will exceed the VoIP server The limit that can be accommodated is likely to cause system service obstacles; (3) Larger data storage; (4) SIP passwords are easier to crack.

有鑑於此,本發明提供一種動態配置SIP帳號的方法及VoIP系統,其可用於解決上述技術問題。In view of this, the present invention provides a method for dynamically configuring a SIP account and a VoIP system, which can be used to solve the above technical problems.

本發明提供一種在VoIP上動態配置SIP帳號的方法,包括:由一第一終端裝置發送一VoIP發話請求至一VoIP伺服器,其中VoIP發話請求包括一暫時性令牌及第一終端裝置欲通話的至少一其他終端裝置,且第一終端裝置與至少一其他終端裝置的總數為N;由VoIP伺服器基於VoIP發話請求中的暫時性令牌驗證第一終端裝置,其中VoIP伺服器維護有多個可用SIP帳號;反應於判定第一終端裝置通過驗證,由VoIP伺服器基於各可用SIP帳號的一使用情形及一異常情形估計各可用SIP帳號的一優先順序;由VoIP伺服器依據各可用SIP帳號的優先順序從所述多個可用SIP帳號中取得N個特定SIP帳號;由VoIP伺服器將所述N個特定SIP帳號推送予第一終端裝置及至少一其他終端裝置,其中第一終端裝置及至少一其他終端裝置個別基於對應的特定SIP帳號彼此進行通話。The present invention provides a method for dynamically configuring a SIP account on VoIP, including: a first terminal device sends a VoIP call request to a VoIP server, wherein the VoIP call request includes a temporary token and the first terminal device wants to talk And the total number of the first terminal device and the at least one other terminal device is N; the VoIP server verifies the first terminal device based on the temporary token in the VoIP call request, and how much is the VoIP server maintained? Available SIP accounts; in response to determining that the first terminal device has passed the verification, the VoIP server estimates a priority order of each available SIP account based on a usage situation and an abnormal situation of each available SIP account; the VoIP server determines the priority of each available SIP account based on each available SIP account The priority order of the accounts obtains N specific SIP accounts from the plurality of available SIP accounts; the VoIP server pushes the N specific SIP accounts to the first terminal device and at least one other terminal device, wherein the first terminal device And at least one other terminal device individually communicates with each other based on the corresponding specific SIP account.

本發明提供一種VoIP系統,其包括第一終端裝置及VoIP伺服器。第一終端裝置發送一VoIP發話請求至VoIP伺服器,其中VoIP發話請求包括一暫時性令牌及第一終端裝置欲通話的至少一其他終端裝置,且第一終端裝置與至少一其他終端裝置的總數為N。VoIP伺服器基於VoIP發話請求中的暫時性令牌驗證第一終端裝置,其中VoIP伺服器維護有多個可用SIP帳號。反應於判定第一終端裝置通過驗證,VoIP伺服器基於各可用SIP帳號的一使用情形及一異常情形估計各可用SIP帳號的一優先順序。VoIP伺服器依據各可用SIP帳號的優先順序從所述多個可用SIP帳號中取得N個特定SIP帳號。VoIP伺服器將所述N個特定SIP帳號推送予第一終端裝置及至少一其他終端裝置,其中第一終端裝置及至少一其他終端裝置個別基於對應的特定SIP帳號彼此進行通話。The present invention provides a VoIP system, which includes a first terminal device and a VoIP server. The first terminal device sends a VoIP call request to the VoIP server, where the VoIP call request includes a temporary token and at least one other terminal device that the first terminal device wants to talk to, and the connection between the first terminal device and the at least one other terminal device The total is N. The VoIP server authenticates the first terminal device based on the temporary token in the VoIP call request, wherein the VoIP server maintains multiple available SIP accounts. In response to determining that the first terminal device passes the verification, the VoIP server estimates a priority order of each available SIP account based on a usage situation and an abnormal situation of each available SIP account. The VoIP server obtains N specific SIP accounts from the plurality of available SIP accounts according to the priority order of the available SIP accounts. The VoIP server pushes the N specific SIP accounts to the first terminal device and at least one other terminal device, where the first terminal device and the at least one other terminal device respectively communicate with each other based on the corresponding specific SIP account.

請參照圖1,其是依據本發明之一實施例繪示的VoIP系統示意圖。在圖1中,VoIP系統100包括VoIP伺服器110及終端裝置TD1~TDM,其中VoIP伺服器110及終端裝置TD1~TDM彼此可透過網路199進行資料交換。Please refer to FIG. 1, which is a schematic diagram of a VoIP system according to an embodiment of the present invention. In FIG. 1, the VoIP system 100 includes a VoIP server 110 and terminal devices TD1 ˜TDM, wherein the VoIP server 110 and the terminal devices TD1 ˜TDM can exchange data with each other through a network 199.

在本發明的實施例中,VoIP伺服器110可包括控制單元111、配號單元112、認證單元113及訊息推送單元114,而其可與終端裝置TD1~TDM協同運作以實現本發明的動態配置SIP帳號的方法,其相關細節將在之後詳述。In the embodiment of the present invention, the VoIP server 110 may include a control unit 111, a number allocation unit 112, an authentication unit 113, and a message push unit 114, and it may cooperate with the terminal devices TD1~TDM to realize the dynamic configuration of the present invention. The details of the SIP account method will be detailed later.

在不同的實施例中,終端裝置TD1~TDM可以是各式網路通訊裝置(例如智慧型手機、平板電腦等),且個別可安裝有一特定VoIP應用程式,而此特定VoIP應用程式可用於向VoIP伺服器110要求與其他終端裝置進行VoIP通話。In different embodiments, the terminal devices TD1~TDM can be various network communication devices (such as smart phones, tablet computers, etc.), and each can be installed with a specific VoIP application, and this specific VoIP application can be used to The VoIP server 110 requests a VoIP call with other terminal devices.

為便於說明,以下皆假設終端裝置TD1為發起VoIP通話的發話裝,但可不限於此。在一實施例中,假設終端裝置TD1的使用者欲向其他的終端裝置TD2~TDM中的一或多者發起VoIP通話,則使用者例如可在終端裝置TD1的特定VoIP應用程式中選取終端裝置TD2~TDM中的一或多者作為受話裝置。相應地,VoIP伺服器110即可與終端裝置TD1協同執行本發明的動態配置SIP帳號的方法,以實現終端裝置TD1與上述受話裝置之間的VoIP通話,而其細節將輔以圖2詳述如下。For the convenience of description, the following assumes that the terminal device TD1 is a transmitter device for initiating a VoIP call, but it is not limited to this. In one embodiment, assuming that the user of the terminal device TD1 wants to initiate a VoIP call to one or more of the other terminal devices TD2~TDM, the user can, for example, select the terminal device from the specific VoIP application of the terminal device TD1 One or more of TD2~TDM are used as receivers. Correspondingly, the VoIP server 110 can cooperate with the terminal device TD1 to execute the method for dynamically configuring a SIP account of the present invention to implement a VoIP call between the terminal device TD1 and the above-mentioned receiving device, and the details will be detailed with reference to FIG. 2 as follows.

請參照圖2,其是依據本發明之一實施例繪示的在VoIP上動態配置SIP帳號的方法流程圖。本實施例的方法可由圖1的VoIP系統100執行,以下即搭配圖1所示的元件說明圖2各步驟的細節。此外,為使本發明的概念更易於理解,以下將另輔以圖3作進一步說明,其中圖3是依據本發明第一實施例繪示的一對一通話應用情境圖。Please refer to FIG. 2, which is a flowchart of a method for dynamically configuring a SIP account on VoIP according to an embodiment of the present invention. The method of this embodiment can be executed by the VoIP system 100 in FIG. 1. The details of each step in FIG. 2 will be described below in conjunction with the components shown in FIG. 1. In addition, in order to make the concept of the present invention easier to understand, the following will be supplemented with FIG. 3 for further explanation, in which FIG. 3 is a diagram of a one-to-one call application scenario drawn according to the first embodiment of the present invention.

首先,在步驟S210中,終端裝置TD1可發送VoIP發話請求M1至VoIP伺服器110,其中VoIP發話請求M1可包括一暫時性令牌(token)及終端裝置TD1欲通話的至少一其他終端裝置,且終端裝置TD1與所述至少一其他終端裝置的總數為N。First, in step S210, the terminal device TD1 may send a VoIP call request M1 to the VoIP server 110, where the VoIP call request M1 may include a temporary token and at least one other terminal device that the terminal device TD1 wants to call. And the total number of the terminal device TD1 and the at least one other terminal device is N.

在一實施例中,在發送VoIP發話請求M1至VoIP伺服器110之前,終端裝置TD1可發送令牌請求訊息至VoIP伺服器110,而VoIP伺服器110的認證單元113可因應於此令牌請求訊息而提供上述暫時性令牌至終端裝置110,但本發明可不限於此。In one embodiment, before sending the VoIP call request M1 to the VoIP server 110, the terminal device TD1 may send a token request message to the VoIP server 110, and the authentication unit 113 of the VoIP server 110 may respond to the token request The above-mentioned temporary token is provided to the terminal device 110 as a message, but the present invention is not limited to this.

在第一實施例中,假設終端裝置TD1的使用者僅欲與終端裝置TD2進行通話,則終端裝置TD1的使用者可在終端裝置TD1的特定VoIP應用程式中選取終端裝置TD2(或對應於終端裝置TD2的另一使用者)。相應地,終端裝置TD1所發送VoIP發話請求M1即可包括上述暫時性令牌及終端裝置TD2,但可不限於此。此外,由於第一實施例中的終端裝置TD1的使用者僅欲與終端裝置TD2進行通話,故N為終端裝置TD1及終端裝置TD2的總數,即2。In the first embodiment, assuming that the user of the terminal device TD1 only wants to talk to the terminal device TD2, the user of the terminal device TD1 can select the terminal device TD2 (or corresponding to the terminal device TD2) from the specific VoIP application of the terminal device TD1. Another user of device TD2). Correspondingly, the VoIP call request M1 sent by the terminal device TD1 may include the above-mentioned temporary token and the terminal device TD2, but it may not be limited to this. In addition, since the user of the terminal device TD1 in the first embodiment only wants to talk with the terminal device TD2, N is the total number of the terminal device TD1 and the terminal device TD2, that is, 2.

在步驟S220中,VoIP伺服器110的認證單元113可基於VoIP發話請求M1中的暫時性令牌驗證終端裝置TD1。在本發明的實施例中,VoIP伺服器110可維護有多個SIP帳號,其可包括多個使用中的SIP帳號及多個可用SIP帳號。在一實施例中,所述多個使用中的SIP帳號個別可以是已分配予某個通話中終端裝置的SIP帳號,而所述多個可用SIP帳號個別可以是暫未分配予任何終端裝置的SIP帳號。換言之,各個使用中的SIP帳號可理解為已被某個通話中的終端裝置所佔用,故暫無法用於進行其他的通話。相反地,各個可用SIP帳號則可用於分配予欲進行通話的任何終端裝置,但可不限於此。In step S220, the authentication unit 113 of the VoIP server 110 may verify the terminal device TD1 based on the temporary token in the VoIP call request M1. In the embodiment of the present invention, the VoIP server 110 may maintain multiple SIP accounts, which may include multiple SIP accounts in use and multiple available SIP accounts. In one embodiment, each of the multiple SIP accounts in use may be SIP accounts that have been allocated to a certain terminal device in a call, and each of the multiple available SIP accounts may be those that have not been allocated to any terminal device yet. SIP account. In other words, each SIP account in use can be understood as being occupied by a terminal device in a call, so it cannot be used for other calls temporarily. On the contrary, each available SIP account can be used to assign to any terminal device that wants to make a call, but it is not limited to this.

在步驟S230中,反應於判定終端裝置TD1通過驗證,VoIP伺服器110的配號單元112可基於各可用SIP帳號的使用情形及異常情形估計各可用SIP帳號的優先順序。In step S230, in response to determining that the terminal device TD1 has passed the verification, the number allocation unit 112 of the VoIP server 110 may estimate the priority order of each available SIP account based on the use situation and abnormal situation of each available SIP account.

在第一實施例中,配號單元112可基於各可用SIP帳號的使用情形及異常情形估計各可用SIP帳號的危險性分數,並基於各可用SIP帳號的危險性分數將上述可用SIP帳號進行升冪排序,以取得各可用SIP帳號的優先順序。In the first embodiment, the number allocation unit 112 can estimate the risk score of each available SIP account based on the use situation and abnormal situation of each available SIP account, and upgrade the aforementioned available SIP account based on the risk score of each available SIP account. Power sorting to get the priority order of each available SIP account.

舉例而言,假設上述可用SIP帳號包括一第一可用SIP帳號,則第一可用SIP帳號的使用情形例如可包括第一可用SIP帳號在預設時間區間(例如當日、當週、當月或其他指定的時間區間)內的累計使用時間及累計使用次數。另外,第一可用SIP帳號的異常情形例如可包括第一可用SIP帳號在預設時間區間內的累計異常次數。For example, assuming that the aforementioned available SIP account includes a first available SIP account, the use situation of the first available SIP account may include, for example, that the first available SIP account is in a preset time interval (such as the current day, the current week, the current month, or other designated Time interval) within the cumulative use time and cumulative use times. In addition, the abnormal situation of the first available SIP account may include, for example, the cumulative number of abnormalities of the first available SIP account within a preset time interval.

在第一實施例中,假設第一可用SIP帳號的累計使用時間可表徵為

Figure 02_image001
,累計使用次數可表徵為
Figure 02_image003
,而累計異常次數可表徵為
Figure 02_image005
,則第一可用SIP帳號的危險性分數可表徵為:
Figure 02_image007
,其中
Figure 02_image009
Figure 02_image011
為分別對應於累計使用時間、累計使用次數及累計異常次數的權重。 In the first embodiment, it is assumed that the cumulative use time of the first available SIP account can be characterized as
Figure 02_image001
, The cumulative use times can be characterized as
Figure 02_image003
, And the cumulative number of abnormalities can be characterized as
Figure 02_image005
, Then the risk score of the first available SIP account can be characterized as:
Figure 02_image007
,among them
Figure 02_image009
to
Figure 02_image011
These are the weights corresponding to the accumulated use time, accumulated use times, and accumulated abnormal times respectively.

為便於說明,以下假設

Figure 02_image009
Figure 02_image011
分別為50%、30%及20%,但本發明可不限於此。在一實施例中,假設1000@ngnast.cht.com.tw、2060@nanast.cht.com.tw及1002@nanast.cht.com.tw等三個可用SIP帳號的累計使用時間、累計使用次數及累計異常次數如下表1所例示。 可用SIP帳號 SIP密碼 累計使用時間(
Figure 02_image001
累計使用次數(
Figure 02_image003
累計異常次數(
Figure 02_image005
1000@ngnast.cht.com.tw 1234 0.7 4 0 2060@nanast.cht.com.tw 3345 2.5 3 0 1002@nanast.cht.com.tw 6368 23.5 10 3
表1 For ease of illustration, the following assumptions
Figure 02_image009
to
Figure 02_image011
They are 50%, 30%, and 20%, respectively, but the present invention may not be limited thereto. In one embodiment, suppose that the cumulative use time and cumulative use times of three available SIP accounts such as 1000@ngnast.cht.com.tw, 2060@nanast.cht.com.tw, and 1002@nanast.cht.com.tw And the cumulative number of abnormalities are shown in Table 1 below. Available SIP accounts SIP password Cumulative use time (
Figure 02_image001
)
Cumulative use times (
Figure 02_image003
)
Cumulative number of exceptions (
Figure 02_image005
)
1000@ngnast.cht.com.tw 1234 0.7 4 0 2060@nanast.cht.com.tw 3345 2.5 3 0 1002@nanast.cht.com.tw 6368 23.5 10 3
Table 1

在表1情境中,1000@ngnast.cht.com.tw的危險性分數可經計算為1.55(即,50%

Figure 02_image013
0.7+30%
Figure 02_image013
4+20%
Figure 02_image013
0),2060@nanast.cht.com.tw的危險性分數可經計算為2.15(即,50%
Figure 02_image013
2.5+30%
Figure 02_image013
3+20%
Figure 02_image013
0),而1002@nanast.cht.com.tw的危險性分數可經計算為15.2(即,50%
Figure 02_image013
23.2+30%
Figure 02_image013
10+20%
Figure 02_image013
3)。在此情況下,配號單元112可基於表1中各可用SIP帳號的危險性分數將這些可用SIP帳號進行升冪排序,以取得各可用SIP帳號的優先順序。因此,表1中3個可用SIP帳號的優先順序由高至低依序為1000@ngnast.cht.com.tw、2060@nanast.cht.com.tw及1002@nanast.cht.com.tw。 In the scenario in Table 1, the risk score of 1000@ngnast.cht.com.tw can be calculated as 1.55 (ie, 50%
Figure 02_image013
0.7+30%
Figure 02_image013
4+20%
Figure 02_image013
0), the risk score of 2060@nanast.cht.com.tw can be calculated as 2.15 (ie, 50%
Figure 02_image013
2.5+30%
Figure 02_image013
3+20%
Figure 02_image013
0), and the risk score of 1002@nanast.cht.com.tw can be calculated as 15.2 (that is, 50%
Figure 02_image013
23.2+30%
Figure 02_image013
10+20%
Figure 02_image013
3). In this case, the number allocation unit 112 may sort the available SIP accounts in ascending order based on the risk scores of the available SIP accounts in Table 1, so as to obtain the priority order of the available SIP accounts. Therefore, the priority of the three available SIP accounts in Table 1 is 1000@ngnast.cht.com.tw, 2060@nanast.cht.com.tw and 1002@nanast.cht.com.tw in descending order.

在其他實施例中,對於具有更多/更少的可用SIP帳號的情境,配號單元112皆可基於上述教示估計各可用SIP帳號的危險性分數,並據以取得各可用SIP帳號的優先順序,但可不限於此。In other embodiments, for scenarios with more/fewer available SIP accounts, the number allocation unit 112 can estimate the risk score of each available SIP account based on the above teaching, and obtain the priority order of each available SIP account accordingly. , But not limited to this.

之後,在步驟S240中,VoIP伺服器110的配號單元112可依據各可用SIP帳號的優先順序從所述多個可用SIP帳號中取得N個特定SIP帳號,其中所述N個特定SIP帳號例如是上述可用SIP帳號中排序在前的N個可用SIP帳號。 優先順序 可用SIP帳號 SIP密碼 累計使用時間(

Figure 02_image001
累計使用次數(
Figure 02_image003
累計異常次數(
Figure 02_image005
1 1000@ngnast.cht.com.tw 1234 0.7 4 0 2 2060@nanast.cht.com.tw 3345 2.5 3 0 3 1002@nanast.cht.com.tw 6368 23.5 10 3 64 2003@ngnast.cht.com.tw 1789 17.3 30 3 65 2000@ngnast.cht.com.tw 4325 18.5 56 2 表2 Afterwards, in step S240, the number allocation unit 112 of the VoIP server 110 may obtain N specific SIP accounts from the plurality of available SIP accounts according to the priority order of the available SIP accounts, where the N specific SIP accounts are, for example, Are the top N available SIP accounts among the above-mentioned available SIP accounts. Priority Available SIP accounts SIP password Cumulative use time (
Figure 02_image001
)
Cumulative use times (
Figure 02_image003
)
Cumulative number of exceptions (
Figure 02_image005
)
1 1000@ngnast.cht.com.tw 1234 0.7 4 0 2 2060@nanast.cht.com.tw 3345 2.5 3 0 3 1002@nanast.cht.com.tw 6368 23.5 10 3 64 2003@ngnast.cht.com.tw 1789 17.3 30 3 65 2000@ngnast.cht.com.tw 4325 18.5 56 2
Table 2

在第一實施例中,假設各可用SIP帳號的優先順序如上表2所例示。在此情況下,由於N為2,則配號單元112例如可選擇排序在前的2個可用SIP帳號(即1000@ngnast.cht.com.tw及2060@nanast.cht.com.tw)作為特定SIP帳號,並可將這些特定SIP帳號記錄為使用中的SIP帳號,但可不限於此。In the first embodiment, it is assumed that the priority order of the available SIP accounts is as illustrated in Table 2 above. In this case, since N is 2, the number allocation unit 112, for example, can select the top two available SIP accounts (ie 1000@ngnast.cht.com.tw and 2060@nanast.cht.com.tw) as Specific SIP accounts, and these specific SIP accounts can be recorded as SIP accounts in use, but it is not limited to this.

在其他實施例中,反應於判定可用SIP帳號的數量小於N,則配號單元112可相應地提供一警示訊息,以告知相關維運人員目前的可用SIP帳號有不足的情形,而維運人員則可據以採取例如增加可用SIP帳號等手段,但可不限於此。In other embodiments, in response to determining that the number of available SIP accounts is less than N, the number allocation unit 112 may provide a warning message accordingly to inform the relevant maintenance personnel that the current available SIP accounts are insufficient, and the maintenance personnel Then, measures such as increasing the available SIP accounts can be taken accordingly, but it is not limited to this.

在決定特定SIP帳號之後,在步驟S250中,VoIP伺服器110的訊息推送單元114可將所述N個特定SIP帳號推送予終端裝置TD1及其他終端裝置TD2。為便於說明,以下假設配號單元112在第一實施例中所取得的特定SIP帳號包括第一SIP帳號A1及第二SIP帳號A2,則訊息推送單元114可將第一SIP帳號A1、對應於第一SIP帳號A1的第一密碼及第二SIP帳號A2推送至終端裝置TD1。另外,訊息推送單元114還可將第二SIP帳號A2及對應於第二SIP帳號A2的第二密碼推送至終端裝置TD2。After determining the specific SIP account, in step S250, the message pushing unit 114 of the VoIP server 110 may push the N specific SIP accounts to the terminal device TD1 and other terminal devices TD2. For ease of description, it is assumed below that the specific SIP account obtained by the number allocation unit 112 in the first embodiment includes the first SIP account A1 and the second SIP account A2, and the message pushing unit 114 may assign the first SIP account A1 to The first password of the first SIP account A1 and the second SIP account A2 are pushed to the terminal device TD1. In addition, the message pushing unit 114 can also push the second SIP account A2 and the second password corresponding to the second SIP account A2 to the terminal device TD2.

之後,終端裝置TD1及終端裝置TD2可分別基於第一SIP帳號A1及第二SIP帳號A2向VoIP伺服器110的控制單元111進行註冊。在一實施例中,在終端裝置TD1及終端裝置TD2完成註冊之後,終端裝置TD1向終端裝置TD2發送SIP邀請訊息,其中終端裝置TD2可因應於此SIP邀請訊息與終端裝置TD1進行通話。After that, the terminal device TD1 and the terminal device TD2 can register with the control unit 111 of the VoIP server 110 based on the first SIP account A1 and the second SIP account A2, respectively. In one embodiment, after the terminal device TD1 and the terminal device TD2 complete registration, the terminal device TD1 sends a SIP invitation message to the terminal device TD2, and the terminal device TD2 can communicate with the terminal device TD1 in response to the SIP invitation message.

在其他實施例中,反應於終端裝置TD1因故(例如通訊環境不佳)而無法完成註冊,終端裝置TD1可發送註冊失敗訊息至VoIP伺服器110,其中VoIP伺服器110的配單元112可因應於來自終端裝置TD1的註冊失敗訊息而回收第一SIP帳號A1。相應地,配號單元112可將第一SIP帳號A1標示/記錄為可用SIP帳號之一。In other embodiments, in response to the terminal device TD1 being unable to complete the registration due to some reasons (such as poor communication environment), the terminal device TD1 may send a registration failure message to the VoIP server 110, and the configuration unit 112 of the VoIP server 110 may respond The first SIP account A1 is retrieved in response to the registration failure message from the terminal device TD1. Correspondingly, the number allocation unit 112 can mark/record the first SIP account A1 as one of the available SIP accounts.

相似地,反應於終端裝置TD2無法完成註冊,終端裝置TD2發送註冊失敗訊息至VoIP伺服器110,其中VoIP伺服器110的配號單元112可因應於來自終端裝置TD2的註冊失敗訊息而回收第二SIP帳號A2。相應地,配號單元112可將第二SIP帳號A2標非/記錄為可用SIP帳號之一。Similarly, in response to the terminal device TD2 being unable to complete the registration, the terminal device TD2 sends a registration failure message to the VoIP server 110, where the number allocation unit 112 of the VoIP server 110 can retrieve the second registration in response to the registration failure message from the terminal device TD2 SIP account A2. Correspondingly, the number allocation unit 112 can mark/record the second SIP account A2 as one of the available SIP accounts.

此外,在本發明的實施例中,通話中的終端裝置TD1及終端裝置TD2可個別定時或不定時地發送帳號活躍訊息至VoIP伺服器110,其中反應於VoIP伺服器110的配號單元112判定未從終端裝置TD1收到帳號活躍訊息,VoIP伺服器110的配號單元112可回收第一SIP帳號A1,並將第一SIP帳號A1標示/記錄為可用SIP帳號之一。另外,反應於VoIP伺服器110的配號單元112判定未從終端裝置TD2收到帳號活躍訊息,VoIP伺服器110的配號單元112回收第二SIP帳號A2,並將第二SIP帳號A2標示/記錄為可用SIP帳號之一。In addition, in the embodiment of the present invention, the terminal device TD1 and the terminal device TD2 in the call can send account activation messages to the VoIP server 110 individually or from time to time, which is reflected in the determination of the number allocation unit 112 of the VoIP server 110 If the account activation message is not received from the terminal device TD1, the number allocation unit 112 of the VoIP server 110 can retrieve the first SIP account A1, and mark/record the first SIP account A1 as one of the available SIP accounts. In addition, in response to the determination that the number allocation unit 112 of the VoIP server 110 has not received the account activation message from the terminal device TD2, the number allocation unit 112 of the VoIP server 110 retrieves the second SIP account A2 and marks the second SIP account A2. Recorded as one of the available SIP accounts.

請參照圖4,其是依據本發明第二實施例繪示的群組通話情境圖。在第二實施例中,假設終端裝置TD1的使用者欲與終端裝置TD2及TD3進行通話,則終端裝置TD1的使用者可在終端裝置TD1的特定VoIP應用程式中選取終端裝置TD2及TD3。相應地,終端裝置TD1在步驟S210中所發送VoIP發話請求M1即可包括上述暫時性令牌及終端裝置TD2及TD3,但可不限於此。此外,由於第二實施例中的終端裝置TD1的使用者欲與終端裝置TD2及TD3進行通話,故N為終端裝置TD1~TD3的總數,即3。Please refer to FIG. 4, which is a diagram of a group call scenario according to the second embodiment of the present invention. In the second embodiment, assuming that the user of the terminal device TD1 wants to talk with the terminal devices TD2 and TD3, the user of the terminal device TD1 can select the terminal devices TD2 and TD3 from the specific VoIP application of the terminal device TD1. Correspondingly, the VoIP call request M1 sent by the terminal device TD1 in step S210 may include the aforementioned temporary token and the terminal devices TD2 and TD3, but it may not be limited thereto. In addition, since the user of the terminal device TD1 in the second embodiment wants to talk with the terminal devices TD2 and TD3, N is the total number of the terminal devices TD1 to TD3, which is 3.

之後,VoIP伺服器110即可執行步驟S220~S240以從所述多個可用SIP帳號中取得N個(即,3)特定SIP帳號,而其相關細節可參照第一實施例中的說明,於此不另贅述。之後,VoIP伺服器110的訊息推送單元114可在步驟S250中將所述N個特定SIP帳號推送予終端裝置TD1~TD3。After that, the VoIP server 110 can perform steps S220 to S240 to obtain N (ie, 3) specific SIP accounts from the plurality of available SIP accounts, and the relevant details can refer to the description in the first embodiment. This will not be repeated here. After that, the message pushing unit 114 of the VoIP server 110 can push the N specific SIP accounts to the terminal devices TD1 to TD3 in step S250.

為便於說明,以下假設配號單元112在第二實施例中所取得的特定SIP帳號包括第一SIP帳號A1、第二SIP帳號A2及第三SIP帳號A3,則訊息推送單元114可將第一SIP帳號A1、對應於第一SIP帳號A1的第一密碼、第二SIP帳號A2及第三SIP帳號A3推送至終端裝置TD1。另外,訊息推送單元114還可將第二SIP帳號A2及對應於第二SIP帳號A2的第二密碼推送至終端裝置TD2。並且,訊息推送單元114還可將第三SIP帳號A3及對應於第三SIP帳號A3的第三密碼推送至終端裝置TD3。For ease of description, it is assumed below that the specific SIP account obtained by the number allocation unit 112 in the second embodiment includes the first SIP account A1, the second SIP account A2, and the third SIP account A3, and the message pushing unit 114 may assign the first SIP account A1, the second SIP account A2, and the third SIP account A3. The SIP account A1, the first password corresponding to the first SIP account A1, the second SIP account A2, and the third SIP account A3 are pushed to the terminal device TD1. In addition, the message pushing unit 114 can also push the second SIP account A2 and the second password corresponding to the second SIP account A2 to the terminal device TD2. In addition, the message pushing unit 114 can also push the third SIP account A3 and the third password corresponding to the third SIP account A3 to the terminal device TD3.

之後,終端裝置TD1、終端裝置TD2及終端裝置TD3可分別基於第一SIP帳號A1、第二SIP帳號A2及第三SIP帳號A3向VoIP伺服器110的控制單元111進行註冊。並且,在終端裝置TD1、終端裝置TD2及終端裝置TD3完成註冊之後,VoIP伺服器110的控制單元111可向終端裝置TD1、終端裝置TD2及終端裝置TD3個別發送SIP邀請訊息。相應地,終端裝置TD1、終端裝置TD2及終端裝置TD3可因應於對應的SIP邀請訊息進行群組通話。After that, the terminal device TD1, the terminal device TD2, and the terminal device TD3 can register with the control unit 111 of the VoIP server 110 based on the first SIP account A1, the second SIP account A2, and the third SIP account A3, respectively. Moreover, after the terminal device TD1, the terminal device TD2, and the terminal device TD3 complete registration, the control unit 111 of the VoIP server 110 may individually send SIP invitation messages to the terminal device TD1, the terminal device TD2, and the terminal device TD3. Correspondingly, the terminal device TD1, the terminal device TD2, and the terminal device TD3 can perform a group call in response to the corresponding SIP invitation message.

在第二實施例中,配號單元112同樣可依據第一實施例中的註冊失敗情況或是未如期舐到帳號活躍訊息而相應地回收第一SIP帳號A1、第二SIP帳號A2及/或第三SIP帳號A3,而相關細節可參照第一實施例中的說明,於此不另贅述。In the second embodiment, the number allocation unit 112 can also recover the first SIP account A1, the second SIP account A2, and/or according to the registration failure in the first embodiment or the account activation message is not received as scheduled. The third SIP account A3, and the related details can refer to the description in the first embodiment, which will not be repeated here.

此外,在第二實施例中,VoIP伺服器110的控制單元111可向終端裝置TD1發送對應於上述群組通話的群組通話識別符SID,以令終端裝置TD1可據以邀請其他的終端裝置加入上述群組通話。In addition, in the second embodiment, the control unit 111 of the VoIP server 110 can send the group call identifier SID corresponding to the aforementioned group call to the terminal device TD1, so that the terminal device TD1 can invite other terminal devices accordingly Join the above group call.

請參照圖5,其是依據本發明第三實施例繪示的邀請終端裝置的情境圖。在第三實施例中,假設終端裝置TD1的使用者欲在與終端裝置TD2及TD3進行群組通話的過程中,另外邀請終端裝置TD4加入此群組通話。在此情況下,終端裝置TD1可發送成員邀請訊息M2至VoIP伺服器110的配號單元112,其中成員邀請訊息M2可包括欲加入上述群組通話的終端裝置TD4。Please refer to FIG. 5, which is a scene diagram of an inviting terminal device according to a third embodiment of the present invention. In the third embodiment, it is assumed that the user of the terminal device TD1 wants to additionally invite the terminal device TD4 to join the group call during the group call with the terminal devices TD2 and TD3. In this case, the terminal device TD1 may send a member invitation message M2 to the number allocation unit 112 of the VoIP server 110, wherein the member invitation message M2 may include the terminal device TD4 that wants to join the group call.

相應地,VoIP伺服器110的配號單元112可因應於成員邀請訊息M2而從可用SIP帳號中選擇第四SIP帳號A4,並將第四SIP帳號A4推送予終端裝置TD1,以及將第四IP帳號A4及對應於第四SIP帳號A4的第四密碼推送至終端裝置TD4。之後,終端裝置TD4可基於第四SIP帳號A4向VoIP伺服器110的控制單元111進行註冊。Correspondingly, the number allocation unit 112 of the VoIP server 110 can select the fourth SIP account A4 from the available SIP accounts in response to the member invitation message M2, push the fourth SIP account A4 to the terminal device TD1, and send the fourth IP account A4 to the terminal device TD1. The account number A4 and the fourth password corresponding to the fourth SIP account number A4 are pushed to the terminal device TD4. After that, the terminal device TD4 can register with the control unit 111 of the VoIP server 110 based on the fourth SIP account A4.

之後,終端裝置TD1可發送新增成員訊息M3至VoIP伺服器110的控制單元111,其中新增成員訊息M3可包括第四SIP帳號A4及群組通話識別符SID。相應地,VoIP伺服器110的控制單元111可因應於新增成員訊息M3而發送另一SIP邀請訊息至終端裝置TD4,而終端裝置TD4可因應於此另一SIP邀請訊息而加入上述群組通話。After that, the terminal device TD1 can send a new member message M3 to the control unit 111 of the VoIP server 110, where the new member message M3 can include the fourth SIP account A4 and the group call identifier SID. Correspondingly, the control unit 111 of the VoIP server 110 can send another SIP invitation message to the terminal device TD4 in response to the new member message M3, and the terminal device TD4 can join the group call in response to this other SIP invitation message. .

綜上所述,本發明至少具備以下特點:(1)採用嚴謹的配號與回收機制,能避免因有心人士故意占用大量SIP帳號所造成的系統癱瘓,進而提高安全性;(2)透過配號單元動態指定特定SIP帳號,使用戶在需要通話時,才向配號單元要求配置SIP帳號,避免造成SIP帳號資源浪費;(3)可降低VoIP伺服器的硬體及維運成本。In summary, the present invention has at least the following features: (1) A rigorous number allocation and recovery mechanism can be used to avoid system paralysis caused by deliberately occupying a large number of SIP accounts, thereby improving security; (2) Through allocation The number unit dynamically assigns a specific SIP account, so that the user will only request a SIP account to the number allocation unit when they need to make a call, so as to avoid waste of SIP account resources; (3) It can reduce the hardware and maintenance costs of the VoIP server.

雖然本發明已以實施例揭露如上,然其並非用以限定本發明,任何所屬技術領域中具有通常知識者,在不脫離本發明的精神和範圍內,當可作些許的更動與潤飾,故本發明的保護範圍當視後附的申請專利範圍所界定者為準。Although the present invention has been disclosed in the above embodiments, it is not intended to limit the present invention. Anyone with ordinary knowledge in the relevant technical field can make some changes and modifications without departing from the spirit and scope of the present invention. The protection scope of the present invention shall be subject to those defined by the attached patent application scope.

100:VoIP系統 110:VoIP伺服器 111:控制單元 112:配號單元 113:認證單元 114:訊息推送單元 199:網路 A1:第一SIP帳號 A2:第二SIP帳號 A3:第三SIP帳號 A4:第四SIP帳號 M1:VoIP發話請求 M2:成員邀請訊息 M3:新增成員訊息 S210~S250:步驟 TD1~TDM:終端裝置100: VoIP system 110: VoIP server 111: control unit 112: Number matching unit 113: Certification Unit 114: Message Push Unit 199: Network A1: The first SIP account A2: The second SIP account A3: Third SIP account A4: Fourth SIP account M1: VoIP call request M2: Member invitation message M3: Add member message S210~S250: steps TD1~TDM: terminal device

圖1是依據本發明之一實施例繪示的VoIP系統示意圖。 圖2是依據本發明之一實施例繪示的在VoIP上動態配置SIP帳號的方法流程圖。 圖3是依據本發明第一實施例繪示的一對一通話應用情境圖。 圖4是依據本發明第二實施例繪示的群組通話情境圖。 圖5是依據本發明第三實施例繪示的邀請終端裝置的情境圖。 Fig. 1 is a schematic diagram of a VoIP system according to an embodiment of the present invention. Fig. 2 is a flowchart of a method for dynamically configuring a SIP account on VoIP according to an embodiment of the present invention. Fig. 3 is a diagram illustrating a one-to-one call application scenario according to the first embodiment of the present invention. Fig. 4 is a diagram of a group call scenario according to a second embodiment of the present invention. FIG. 5 is a schematic diagram of an inviting terminal device according to a third embodiment of the present invention.

S210~S250:步驟 S210~S250: steps

Claims (13)

一種在VoIP上動態配置對話啟動協定(Session Initiation Protocol,SIP)帳號的方法,包括: 由一第一終端裝置發送一VoIP發話請求至一VoIP伺服器,其中該VoIP發話請求包括一暫時性令牌及該第一終端裝置欲通話的至少一其他終端裝置,且該第一終端裝置與該至少一其他終端裝置的總數為N; 由該VoIP伺服器基於該VoIP發話請求中的該暫時性令牌驗證該第一終端裝置,其中該VoIP伺服器維護有多個可用SIP帳號; 反應於判定該第一終端裝置通過驗證,由該VoIP伺服器基於各該可用SIP帳號的一使用情形及一異常情形估計各該可用SIP帳號的一優先順序; 由該VoIP伺服器依據各該可用SIP帳號的該優先順序從該些可用SIP帳號中取得N個特定SIP帳號; 由該VoIP伺服器將所述N個特定SIP帳號推送予該第一終端裝置及該至少一其他終端裝置,其中該第一終端裝置及該至少一其他終端裝置個別基於對應的該特定SIP帳號彼此進行通話。 A method for dynamically configuring Session Initiation Protocol (SIP) accounts on VoIP, including: A VoIP call request is sent from a first terminal device to a VoIP server, where the VoIP call request includes a temporary token and at least one other terminal device that the first terminal device wants to talk to, and the first terminal device and The total number of the at least one other terminal device is N; The VoIP server verifies the first terminal device based on the temporary token in the VoIP call request, wherein the VoIP server maintains a plurality of available SIP accounts; In response to determining that the first terminal device passes the verification, the VoIP server estimates a priority order of each available SIP account based on a usage situation and an abnormal situation of each available SIP account; The VoIP server obtains N specific SIP accounts from the available SIP accounts according to the priority order of the available SIP accounts; The VoIP server pushes the N specific SIP accounts to the first terminal device and the at least one other terminal device, wherein the first terminal device and the at least one other terminal device are each based on the corresponding specific SIP account. Make a call. 如請求項1所述的方法,更包括: 由該第一終端裝置發送一令牌請求訊息至該VoIP伺服器,其中該VoIP伺服器因應於該令牌請求訊息而提供該暫時性令牌至該第一終端裝置。 The method described in claim 1, further including: The first terminal device sends a token request message to the VoIP server, wherein the VoIP server provides the temporary token to the first terminal device in response to the token request message. 如請求項1所述的方法,其中該些可用SIP帳號包括一第一可用SIP帳號,該第一可用SIP帳號的該使用情形包括該第一可用SIP帳號在一預設時間區間內的累計使用時間及累計使用次數,該第一可用SIP帳號的該異常情形包括該第一可用SIP帳號在該預設時間區間內的累計異常次數。The method according to claim 1, wherein the available SIP accounts include a first available SIP account, and the use situation of the first available SIP account includes the cumulative use of the first available SIP account in a preset time interval Time and cumulative use times, the abnormal situation of the first available SIP account includes the cumulative abnormal times of the first available SIP account within the preset time interval. 如請求項3所述的方法,其中由該VoIP伺服器基於各該可用SIP帳號的該使用情形及該異常情形估計各該可用SIP帳號的該優先順序的步驟包括: 由該VoIP伺服器基於各該可用SIP帳號的該使用情形及該異常情形估計各該可用SIP帳號的一危險性分數; 基於各該可用SIP帳號的該危險性分數將該些可用SIP帳號進行升冪排序,以取得各該可用SIP帳號的該優先順序。 The method according to claim 3, wherein the step of estimating the priority order of each available SIP account by the VoIP server based on the use situation and the abnormal situation of each available SIP account includes: The VoIP server estimates a risk score of each available SIP account based on the use situation and the abnormal situation of each available SIP account; The available SIP accounts are sorted in ascending order based on the risk score of each available SIP account to obtain the priority order of each available SIP account. 如請求項4所述的方法,其中該第一可用SIP帳號的該累計使用時間表徵為
Figure 03_image015
,該累計使用次數表徵為
Figure 03_image017
,該累計異常次數表徵為
Figure 03_image019
,且該第一可用SIP帳號的該危險性分數表徵為:
Figure 03_image021
,其中
Figure 03_image023
Figure 03_image025
為分別對應於該累計使用時間、該累計使用次數及該累計異常次數的權重。
The method according to claim 4, wherein the cumulative use time of the first available SIP account is characterized as
Figure 03_image015
, The cumulative use times is characterized as
Figure 03_image017
, The cumulative number of abnormalities is characterized as
Figure 03_image019
, And the risk score of the first available SIP account is characterized as:
Figure 03_image021
,among them
Figure 03_image023
to
Figure 03_image025
It is the weight corresponding to the cumulative use time, the cumulative use count, and the cumulative abnormal count respectively.
如請求項1所述的方法,其中該至少一其他終端裝置包括一第二終端裝置,所述N個特定SIP帳號包括一第一SIP帳號及一第二SIP帳號,且由該VoIP伺服器將所述N個特定SIP帳號推送予該第一終端裝置及該至少一其他終端裝置的步驟包括: 將該第一SIP帳號、對應於該第一SIP帳號的一第一密碼及該第二SIP帳號推送至該第一終端裝置; 將該第二SIP帳號及對應於該第二SIP帳號的一第二密碼推送至該第二終端裝置。 The method according to claim 1, wherein the at least one other terminal device includes a second terminal device, the N specific SIP accounts include a first SIP account and a second SIP account, and the VoIP server will The step of pushing the N specific SIP accounts to the first terminal device and the at least one other terminal device includes: Pushing the first SIP account, a first password corresponding to the first SIP account, and the second SIP account to the first terminal device; Push the second SIP account and a second password corresponding to the second SIP account to the second terminal device. 如請求項6所述的方法,其中所述方法更包括: 由該第一終端裝置及該第二終端裝置分別基於該第一SIP帳號及該第二SIP帳號向該VoIP伺服器進行註冊; 在該第一終端裝置及該第二終端裝置完成註冊之後,由該第一終端裝置向該第二終端裝置發送一SIP邀請訊息,其中該第二終端裝置因應於該SIP邀請訊息與該第一終端裝置進行通話。 The method according to claim 6, wherein the method further includes: Registering with the VoIP server by the first terminal device and the second terminal device based on the first SIP account and the second SIP account respectively; After the first terminal device and the second terminal device are registered, the first terminal device sends a SIP invitation message to the second terminal device. The second terminal device responds to the SIP invitation message and the first terminal device. The terminal device makes a call. 如請求項7所述的方法,更包括: 反應於該第一終端裝置無法完成註冊,由該第一終端裝置發送一註冊失敗訊息至該VoIP伺服器,其中該VoIP伺服器因應於來自該第一終端裝置的該註冊失敗訊息而回收該第一SIP帳號; 反應於該第二終端裝置無法完成註冊,由該第二終端裝置發送該註冊失敗訊息至該VoIP伺服器,其中該VoIP伺服器因應於來自該第二終端裝置的該註冊失敗訊息而回收該第二SIP帳號。 The method described in claim 7 further includes: In response to the failure of the first terminal device to complete the registration, the first terminal device sends a registration failure message to the VoIP server, where the VoIP server retrieves the first terminal device in response to the registration failure message from the first terminal device. A SIP account; In response to the second terminal device being unable to complete the registration, the second terminal device sends the registration failure message to the VoIP server, and the VoIP server retrieves the second terminal device in response to the registration failure message from the second terminal device. 2. SIP account. 如請求項7所述的方法,其中通話中的該第一終端裝置及該第二終端裝置個別發送一帳號活躍訊息至該VoIP伺服器,其中反應於該VoIP伺服器判定未從該第一終端裝置收到該帳號活躍訊息,由該VoIP伺服器回收該第一SIP帳號; 反應於該VoIP伺服器判定未從該第二終端裝置收到該帳號活躍訊息,由該VoIP伺服器回收該第二SIP帳號。 The method according to claim 7, wherein the first terminal device and the second terminal device in the call separately send an account activation message to the VoIP server, wherein the response is that the VoIP server determines that the first terminal has not been sent from the first terminal The device receives the account activation message, and the VoIP server retrieves the first SIP account; In response to the VoIP server determining that the account activation message has not been received from the second terminal device, the VoIP server retrieves the second SIP account. 如請求項6所述的方法,其中該至少一其他終端裝置更包括一第三終端裝置,所述N個特定SIP帳號更包括對應於該第三終端裝置的一第三SIP帳號,且所述方法更包括: 將該第三SIP帳號推送至該第一終端裝置; 將該第三SIP帳號及對應於該第三SIP帳號的一第三密碼推送至該第三終端裝置; 由該第一終端裝置、該第二終端裝置及該第三終端裝置分別基於該第一SIP帳號、該第二SIP帳號及該第三SIP帳號向該VoIP伺服器進行註冊; 在該第一終端裝置、該第二終端裝置及該第三終端裝置完成註冊之後,由該VoIP伺服器向該第一終端裝置、該第二終端裝置及該第三終端裝置個別發送一SIP邀請訊息,其中該第一終端裝置、該第二終端裝置及該第三終端裝置因應於對應的該SIP邀請訊息進行一群組通話。 The method according to claim 6, wherein the at least one other terminal device further includes a third terminal device, the N specific SIP accounts further include a third SIP account corresponding to the third terminal device, and the Methods include: Pushing the third SIP account to the first terminal device; Pushing the third SIP account and a third password corresponding to the third SIP account to the third terminal device; The first terminal device, the second terminal device, and the third terminal device respectively register with the VoIP server based on the first SIP account, the second SIP account, and the third SIP account; After the first terminal device, the second terminal device, and the third terminal device are registered, the VoIP server sends a SIP invitation to the first terminal device, the second terminal device, and the third terminal device. Message, wherein the first terminal device, the second terminal device, and the third terminal device perform a group call in response to the corresponding SIP invitation message. 如請求項10所述的方法,其中該群組通話對應於一群組通話識別符,且所述方法更包括: 由該VoIP伺服器提供該群組通話識別符至該第一終端裝置; 由該第一終端裝置發送一成員邀請訊息至該VoIP伺服器,其中該成員邀請訊息包括欲加入該群組通話的一第四終端裝置; 由該VoIP伺服器因應於該成員邀請訊息從該些可用SIP帳號選擇一第四SIP帳號,並將該第四SIP帳號推送予該第一終端裝置,以及將該第四IP帳號及對應於該第四SIP帳號的一第四密碼推送至該第四終端裝置; 由該第四終端裝置基於該第四SIP帳號向該VoIP伺服器進行註冊; 由該第一終端裝置發送一新增成員訊息至該VoIP伺服器,其中該新增成員訊息包括該第四SIP帳號及該群組通話識別符; 由該VoIP伺服器因應於該新增成員訊息而發送另一SIP邀請訊息至該第四終端裝置,其中該第四終端裝置因應於該另一SIP邀請訊息而加入該群組通話。 The method according to claim 10, wherein the group call corresponds to a group call identifier, and the method further includes: Providing the group call identifier to the first terminal device by the VoIP server; Sending a member invitation message from the first terminal device to the VoIP server, wherein the member invitation message includes a fourth terminal device that wants to join the group call; The VoIP server selects a fourth SIP account from the available SIP accounts in response to the member invitation message, and pushes the fourth SIP account to the first terminal device, and the fourth IP account and the corresponding Push a fourth password of the fourth SIP account to the fourth terminal device; Registering with the VoIP server by the fourth terminal device based on the fourth SIP account; Sending a new member message to the VoIP server from the first terminal device, wherein the new member message includes the fourth SIP account and the group call identifier; The VoIP server sends another SIP invitation message to the fourth terminal device in response to the new member message, wherein the fourth terminal device joins the group call in response to the other SIP invitation message. 如請求項1所述的方法,其中所述N個特定SIP帳號為該些可用SIP帳號中排序在前的N個可用SIP帳號。The method according to claim 1, wherein the N specific SIP accounts are the top N available SIP accounts among the available SIP accounts. 一種VoIP系統,包括: 一第一終端裝置;以及 一VoIP伺服器,其中: 該第一終端裝置發送一VoIP發話請求至該VoIP伺服器,其中該VoIP發話請求包括一暫時性令牌及該第一終端裝置欲通話的至少一其他終端裝置,且該第一終端裝置與該至少一其他終端裝置的總數為N; 該VoIP伺服器基於該VoIP發話請求中的該暫時性令牌驗證該第一終端裝置,其中該VoIP伺服器維護有多個可用SIP帳號; 反應於判定該第一終端裝置通過驗證,該VoIP伺服器基於各該可用SIP帳號的一使用情形及一異常情形估計各該可用SIP帳號的一優先順序; 該VoIP伺服器依據各該可用SIP帳號的該優先順序從該些可用SIP帳號中取得N個特定SIP帳號,其中所述N個特定SIP帳號為該些可用SIP帳號中排序在前的N個可用SIP帳號; 該VoIP伺服器將所述N個特定SIP帳號推送予該第一終端裝置及該至少一其他終端裝置,其中該第一終端裝置及該至少一其他終端裝置個別基於對應的該特定SIP帳號彼此進行通話。 A VoIP system, including: A first terminal device; and A VoIP server, where: The first terminal device sends a VoIP call request to the VoIP server, wherein the VoIP call request includes a temporary token and at least one other terminal device that the first terminal device wants to talk to, and the first terminal device and the VoIP server The total number of at least one other terminal device is N; The VoIP server authenticates the first terminal device based on the temporary token in the VoIP call request, wherein the VoIP server maintains a plurality of available SIP accounts; In response to determining that the first terminal device passes the verification, the VoIP server estimates a priority order of each available SIP account based on a usage situation and an abnormal situation of each available SIP account; The VoIP server obtains N specific SIP accounts from the available SIP accounts according to the priority order of the available SIP accounts, where the N specific SIP accounts are the first N available SIP accounts in the order of the available SIP accounts. SIP account; The VoIP server pushes the N specific SIP accounts to the first terminal device and the at least one other terminal device, wherein the first terminal device and the at least one other terminal device perform each other based on the corresponding specific SIP account. call.
TW109143170A 2020-12-08 2020-12-08 Method for dynamically configuring sip accounts on voip and voip server TWI732721B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW109143170A TWI732721B (en) 2020-12-08 2020-12-08 Method for dynamically configuring sip accounts on voip and voip server

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW109143170A TWI732721B (en) 2020-12-08 2020-12-08 Method for dynamically configuring sip accounts on voip and voip server

Publications (2)

Publication Number Publication Date
TWI732721B true TWI732721B (en) 2021-07-01
TW202224393A TW202224393A (en) 2022-06-16

Family

ID=77911335

Family Applications (1)

Application Number Title Priority Date Filing Date
TW109143170A TWI732721B (en) 2020-12-08 2020-12-08 Method for dynamically configuring sip accounts on voip and voip server

Country Status (1)

Country Link
TW (1) TWI732721B (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1643740A1 (en) * 2004-09-29 2006-04-05 Lucent Technologies Inc. System and method for enabling callback for VoIP emergency calls
CN101515949A (en) * 2008-02-20 2009-08-26 捷讯研究有限公司 Methods and systems for facilitating transfer of sessions between user devices
TW201004247A (en) * 2008-05-29 2010-01-16 Qualcomm Inc Fixed mobile convergence (FMC) architectures
CN101911645A (en) * 2008-01-07 2010-12-08 西门子企业通讯有限责任两合公司 Method for authenticating key information between terminals of a communication link
TW201238384A (en) * 2011-03-03 2012-09-16 Hon Hai Prec Ind Co Ltd Mobile phone and method for receiving calls thereof
CN103442150A (en) * 2013-08-28 2013-12-11 深圳市宏电技术股份有限公司 Conversation method and system based on VOIP voice gateway and VOIP voice gateway
US9462036B2 (en) * 2004-07-02 2016-10-04 Broadsoft Casabi, Llc Method and apparatus for using the web to select a VoIP provider and for attaching the provider to a generic VoIP resource
TWI561029B (en) * 2015-03-16 2016-12-01 Chunghwa Telecom Co Ltd

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9462036B2 (en) * 2004-07-02 2016-10-04 Broadsoft Casabi, Llc Method and apparatus for using the web to select a VoIP provider and for attaching the provider to a generic VoIP resource
EP1643740A1 (en) * 2004-09-29 2006-04-05 Lucent Technologies Inc. System and method for enabling callback for VoIP emergency calls
CN101911645A (en) * 2008-01-07 2010-12-08 西门子企业通讯有限责任两合公司 Method for authenticating key information between terminals of a communication link
CN101911645B (en) 2008-01-07 2016-06-08 西门子企业通讯有限责任两合公司 Method and endpoint for authenticating key information between endpoints of a communication relationship
CN101515949A (en) * 2008-02-20 2009-08-26 捷讯研究有限公司 Methods and systems for facilitating transfer of sessions between user devices
CN101515949B (en) 2008-02-20 2013-03-06 捷讯研究有限公司 Methods and systems for facilitating transfer of sessions between user devices
TW201004247A (en) * 2008-05-29 2010-01-16 Qualcomm Inc Fixed mobile convergence (FMC) architectures
TW201238384A (en) * 2011-03-03 2012-09-16 Hon Hai Prec Ind Co Ltd Mobile phone and method for receiving calls thereof
CN103442150A (en) * 2013-08-28 2013-12-11 深圳市宏电技术股份有限公司 Conversation method and system based on VOIP voice gateway and VOIP voice gateway
TWI561029B (en) * 2015-03-16 2016-12-01 Chunghwa Telecom Co Ltd

Also Published As

Publication number Publication date
TW202224393A (en) 2022-06-16

Similar Documents

Publication Publication Date Title
US8559610B2 (en) Method and apparatus for allocating network resources in a group communication system
US9178919B2 (en) Disaster recovery with a central conferencing routing server
US9350716B2 (en) System and method for authentication of a communication device
US20210367990A1 (en) Media Downlink Transmission Control Method and Related Device
WO2013185655A1 (en) Method and device for distributing mobile attendant call
WO2016186484A1 (en) A new instant messaging (im) system
CN101459836B (en) Service processing method and system for content distributing network of interactive network television
CN112291514B (en) Remote audio and video call method and device and OTT platform system
WO2019154017A1 (en) Multipath establishing method and apparatus
CN108809766A (en) A kind of method, apparatus and system obtaining RTT
WO2014079371A1 (en) Video data transmission method, apparatus and communication device
WO2015096802A1 (en) Method, device, and server for message transmission
TWI732721B (en) Method for dynamically configuring sip accounts on voip and voip server
CN101106606B (en) Method for interactive voice response to soft automatic call allocation and registration
CN113630908B (en) Method for releasing mission critical data communication, user equipment and server
CN102340511B (en) Safety control method and device
EP2418913B1 (en) Methods and system for joining group session with pre-defined joining
US20130163585A1 (en) Telephone system, server apparatus, and control method used in the server apparatus
US11218521B2 (en) Video conference implementation method, server and computer readable storage medium
WO2017168302A1 (en) System and methods for providing at least one service to a user device through a multimedia gateway
US8165126B2 (en) Method, apparatus and system for selecting VMG
WO2012022148A1 (en) Method and gateway for cross-gateway self-exchange based on session initiation protocol
KR101531198B1 (en) Call connecting process apparatus and method providing for authentication process using push message
KR100462026B1 (en) Apparatus of proxy server and method of policy controling for mobile multimedia service
CN102164123B (en) System and method for realizing convergent service