[go: up one dir, main page]

CN100433752C - Method of subscriber registration and communication in telephone terminal of session initiation protocol (SIP) - Google Patents

Method of subscriber registration and communication in telephone terminal of session initiation protocol (SIP) Download PDF

Info

Publication number
CN100433752C
CN100433752C CNB2004100496925A CN200410049692A CN100433752C CN 100433752 C CN100433752 C CN 100433752C CN B2004100496925 A CNB2004100496925 A CN B2004100496925A CN 200410049692 A CN200410049692 A CN 200410049692A CN 100433752 C CN100433752 C CN 100433752C
Authority
CN
China
Prior art keywords
user
telephone terminal
registered
agent process
control process
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Lifetime
Application number
CNB2004100496925A
Other languages
Chinese (zh)
Other versions
CN1595937A (en
Inventor
强磊
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China Telecom Corp Ltd
Original Assignee
China Telecom Corp Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China Telecom Corp Ltd filed Critical China Telecom Corp Ltd
Priority to CNB2004100496925A priority Critical patent/CN100433752C/en
Publication of CN1595937A publication Critical patent/CN1595937A/en
Application granted granted Critical
Publication of CN100433752C publication Critical patent/CN100433752C/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Images

Landscapes

  • Telephonic Communication Services (AREA)

Abstract

本发明公开了一种会话初始协议(SIP)电话终端的用户注册和通话方法。在该方法中,在SIP电话终端的嵌入式系统中设置一个主控进程和多个用户代理进程,其中每个用户代理进程相互独立并分别对应于一个注册用户,主控进程通过和用户代理进程之间的通信控制各个用户代理进程。当用户利用SIP电话终端注册时,主控进程为该用户分配一个独立的用户代理进程,并在用户注销时撤销该用户代理进程。在注册用户发起通话或作为被叫时并且SIP电话终端为空闲状态的情况下,主控进程调度对应于该用户的用户代理进程并记录该电话终端为占用状态,然后由该用户代理进程进行信令交互并建立会话通道。

Figure 200410049692

The invention discloses a user registration and conversation method of a session initiation protocol (SIP) telephone terminal. In this method, a main control process and multiple user agent processes are set in the embedded system of the SIP telephone terminal, wherein each user agent process is independent of each other and corresponds to a registered user respectively, and the main control process passes through the user agent process The communication between control individual user agent processes. When a user registers with a SIP telephone terminal, the main control process assigns an independent user agent process to the user, and revokes the user agent process when the user logs out. When the registered user initiates a call or is called and the SIP phone terminal is in an idle state, the master control process dispatches the user agent process corresponding to the user and records that the phone terminal is in an occupied state, and then the user agent process performs communication command interaction and establish a session channel.

Figure 200410049692

Description

一种会话初始协议电话终端中的用户注册和通话方法 User registration and call method in session initiation protocol telephone terminal

技术领域 technical field

本发明涉及会话初始协议(SIP)技术,具体涉及一种SIP电话终端中的用户注册和通话方法。The invention relates to session initiation protocol (SIP) technology, in particular to a user registration and conversation method in a SIP telephone terminal.

背景技术 Background technique

随着互联网的发展,人们之间的通信已经不再局限于固定通信和移动通信,通过互联网方式进行通信的网际协议(IP)电话技术也逐渐发展并迅速普及。为了规范IP电话信令控制,国际互联网工程任务组(IETF)在RFC 3261中提出了SIP协议。With the development of the Internet, the communication between people is no longer limited to fixed communication and mobile communication, and the Internet Protocol (IP) telephony technology for communication through the Internet is also gradually developed and popularized rapidly. In order to standardize IP telephony signaling control, the Internet Engineering Task Force (IETF) proposed the SIP protocol in RFC 3261.

SIP协议用于控制IP电话的信令交互,从而建立双方的通信。目前,已经具有基于SIP协议的IP电话终端,我们称之为SIP电话终端。这里的SIP电话终端例如可以是一个安装有IP电话软件和相应硬件的PC机。和普通的固定电话终端和移动电话终端通过电话号码进行标识相似,SIP电话终端也必须有一个标识,这个标识可以是E164号码或者是一个统一资源定位器(URL)地址。用户如果希望使用IP电话,首先需要在SIP终端上向网络注册其标识信息,也就是E164号码或者URL地址。用户在实际拨打电话时,网络通过用户的标识信息来识别用户。例如用户作为被叫时,网络通过主叫用户输入的被叫用户的标识信息来对被叫用户的SIP电话终端振铃,被叫用户听到振铃后应答,从而建立主叫和被叫之间的会话通道。The SIP protocol is used to control the signaling interaction of the IP phone, so as to establish the communication between the two parties. At present, there are already IP telephone terminals based on the SIP protocol, which we call SIP telephone terminals. The SIP telephone terminal here may be, for example, a PC installed with IP telephone software and corresponding hardware. Similar to common fixed telephone terminals and mobile telephone terminals identified by telephone numbers, SIP telephone terminals must also have an identifier, which can be an E164 number or a Uniform Resource Locator (URL) address. If a user wants to use an IP phone, he first needs to register his identification information with the network on the SIP terminal, that is, the E164 number or URL address. When a user actually makes a call, the network identifies the user through the user's identification information. For example, when the user is called, the network rings the SIP telephone terminal of the called user through the identification information of the called user input by the calling user, and the called user answers after hearing the ringing, thereby establishing the relationship between the calling user and the called user. conversation channel between.

目前,SIP终端只能支持单用户,也就是一个SIP终端只能提供给一个用户使用。在一段时间内,只能由一个用户向网络注册其标识信息,也就是E164号码或者URL地址。其他用户不能再利用该终端向网络注册另一个标识信息,而只能选择在另一个SIP终端上注册,或者只有等到原有的SIP终端的用户进行了注销之后才能注册。这样,由于SIP终端只能支持单用户而不能支持多用户,使得终端资源和网络资源不能得到充分利用,并增加了用户和系统提供商的成本。Currently, a SIP terminal can only support a single user, that is, a SIP terminal can only be used by one user. Within a period of time, only one user can register its identification information with the network, that is, the E164 number or URL address. Other users can no longer use the terminal to register another identification information with the network, but can only choose to register on another SIP terminal, or can only register after the user of the original SIP terminal has logged out. In this way, since the SIP terminal can only support a single user but not multiple users, terminal resources and network resources cannot be fully utilized, and costs for users and system providers are increased.

发明内容 Contents of the invention

有鉴于此,本发明的主要目的在于提供一种SIP电话终端的用户注册和通话方法,使得一个SIP电话终端支持多用户同时注册和使用,从而合理利用终端资源和网络资源,降低用户和系统提供商的成本。In view of this, the main purpose of the present invention is to provide a user registration and call method of a SIP telephone terminal, so that a SIP telephone terminal supports simultaneous registration and use of multiple users, thereby rationally utilizing terminal resources and network resources, and reducing user and system costs. business cost.

本发明的上述目的是通过如下技术方案予以实现的:Above-mentioned purpose of the present invention is achieved by following technical scheme:

一种会话初始协议SIP电话终端的用户注册和通话方法,至少包括:A user registration and conversation method of a session initiation protocol SIP telephone terminal, at least comprising:

a.在SIP电话终端的嵌入式系统中设置一个主控进程和两个以上用户代理进程;a. set a main control process and more than two user agent processes in the embedded system of the SIP telephone terminal;

b.当一个用户利用该SIP电话终端注册时,主控进程在接收到至少包括用户标识的用户信息之后为该用户分配一个独立的用户代理进程,并分配对应于该用户代理进程的系统资源;B. when a user utilizes this SIP telephone terminal to register, the master control process assigns an independent user agent process for the user after receiving at least the user information comprising the user identification, and allocates system resources corresponding to the user agent process;

c.当一个注册用户操作SIP电话终端发起呼叫,主控进程确定该注册用户的用户标识,根据用户标识调度对应于该注册用户的用户代理进程并记录该电话终端为占用状态,该用户代理进程进行信令交互以尝试建立会话通道;c. When a registered user operates a SIP telephone terminal to initiate a call, the main control process determines the user identification of the registered user, dispatches the user agent process corresponding to the registered user according to the user identification and records that the telephone terminal is in an occupied state, and the user agent process Perform signaling interactions to attempt to establish a session channel;

当SIP电话终端接收到对于一个注册用户的呼叫时,主控进程判断该电话终端是否为占用状态,并在电话终端不是占用状态时,确定该注册用户的用户标识,根据用户标识调度对应于该注册用户的用户代理进程并记录该电话终端为占用状态,该用户代理进程进行信令交互并建立会话通道。When a SIP telephone terminal receives a call for a registered user, the main control process judges whether the telephone terminal is in an occupied state, and when the telephone terminal is not in an occupied state, determines the user identification of the registered user, and schedules a call corresponding to the registered user according to the user identification. The user agent process of the registered user records that the telephone terminal is occupied, and the user agent process performs signaling interaction and establishes a session channel.

在上述方法中,步骤b中主控进程接收用户信息之前进一步包括:主控进程提示用户输入用户信息,其中接收用户信息是接收用户通过SIP电话终端输入的信息。或者,可以在SIP电话终端中集成一个智能卡读写器,步骤b中主控进程接收用户信息之前进一步包括:主控进程提示用户插入包含用户信息的智能卡,其中接收用户信息是由智能卡读写器提取所述智能卡中的用户信息。In the above method, before the main control process receives user information in step b, it further includes: the main control process prompts the user to input user information, wherein receiving user information is receiving information input by the user through the SIP phone terminal. Alternatively, a smart card reader can be integrated in the SIP telephone terminal. Before the main control process receives user information in step b, it further includes: the main control process prompts the user to insert a smart card containing user information, wherein the user information is received by the smart card reader Extract the user information in the smart card.

在上述方法中,步骤b中的用户信息包括振铃信息,主控进程为该用户分配一个独立的用户代理进程之后进一步包括:用户代理进程保存用户设置的振铃信息;In the above method, the user information in the step b includes ringing information, and the master control process further includes after distributing an independent user agent process for the user: the user agent process preserves the ringing information set by the user;

步骤c中当SIP电话终端接收到对于一个注册用户的呼叫时,在主控进程调度对应于该注册用户的用户代理进程之后进一步包括:用户代理进程根据该注册用户预先设置的振铃信息进行振铃。In step c, when the SIP telephone terminal receives a call for a registered user, after the main control process schedules the user agent process corresponding to the registered user, it further includes: the user agent process rings according to the ringing information preset by the registered user bell.

在上述方法中,SIP电话终端包括一个显示屏,步骤c中当SIP电话终端接收到对于一个注册用户的呼叫时,在主控进程调度对应于该注册用户的用户代理进程之后进一步包括:用户代理进程在SIP电话终端的显示屏上显示该注册用户的标识信息。In the above method, the SIP telephone terminal includes a display screen, and when the SIP telephone terminal receives a call for a registered user in step c, after the master control process schedules the user agent process corresponding to the registered user, it further includes: user agent The process displays the identification information of the registered user on the display screen of the SIP telephone terminal.

在上述方法中,步骤b用户信息中包括用户设置的入呼叫密码,步骤c中当SIP电话终端接收到对于一个注册用户的呼叫时,在主控进程调度对应于该注册用户的用户代理进程之后进一步包括:该用户代理进程向用户振铃,并提示用户输入入呼叫密码,在接收到用户输入的入呼叫密码之后判断用户输入是否正确,如果是,进行信令交互并建立会话通道;否则结束本流程。In the above method, the user information in step b includes the incoming call password set by the user. In step c, when the SIP telephone terminal receives a call to a registered user, after the main control process dispatches the user agent process corresponding to the registered user Further include: the user agent process rings to the user, and prompts the user to input the incoming call password, and judges whether the user input is correct after receiving the incoming call password input by the user, if yes, performs signaling interaction and establishes a session channel; otherwise, ends This process.

在上述方法中,步骤c中当SIP电话终端接收到对于一个注册用户的呼叫时,在主控进程判断电话终端处于占用状态时,主控进程调度该注册用户的用户代理进程,用户代理进程向主叫用户发送标识被叫SIP电话终端忙的响应消息。In the above method, when the SIP telephone terminal receives a call for a registered user in step c, when the main control process judges that the telephone terminal is in an occupied state, the main control process dispatches the user agent process of the registered user, and the user agent process sends The calling user sends a response message indicating that the called SIP phone terminal is busy.

在上述方法中,步骤c中当主控进程判断该SIP电话终端处于占用状态之后进一步包括:In the above method, after the main control process judges that the SIP telephone terminal is in the occupied state in the step c, it further includes:

主控进程向第一注册用户提示新呼叫的进入并提示第一注册用户选择如下三项中的一项:拒绝新呼叫、保持当前通话和结束当前通话;所述第一注册用户为当前占用所述SIP电话终端的注册用户;The main control process prompts the first registered user to enter the new call and prompts the first registered user to select one of the following three items: rejecting the new call, maintaining the current conversation and ending the current conversation; the first registered user is currently occupied Registered users of the above-mentioned SIP telephone terminal;

当第一注册用户选择拒绝新呼叫,主控进程调度第二注册用户的用户代理进程,该用户代理进程向主叫用户发送标识被叫SIP电话终端忙的响应消息;所述第二注册用户为当前被呼叫的注册用户;When the first registered user selects to reject the new call, the master control process dispatches the user agent process of the second registered user, and the user agent process sends a response message indicating that the called SIP telephone terminal is busy to the calling user; the second registered user is the currently called registered user;

当第一注册用户选择保持当前通话,主控进程调度第二注册用户的用户代理进程,该用户代理进程向第二注册用户振铃,在第二注册用户应答后建立会话通道,并在第二注册用户停止通话后拆除所述会话通道,然后调度第一注册用户的用户代理进程,由第一注册用户的用户代理进程继续第一注册用户的通话处理;When the first registered user chooses to keep the current call, the main control process dispatches the user agent process of the second registered user, and the user agent process rings the second registered user, and establishes a session channel after the second registered user answers, and in the second After the registered user stops talking, remove the conversation channel, then dispatch the user agent process of the first registered user, and continue the call processing of the first registered user by the user agent process of the first registered user;

当第一注册用户选择结束当前通话,主控进程调度第二注册用户的用户代理进程,该用户代理进程向第二注册用户振铃,在第二注册用户应答后建立会话通道,并在第二注册用户停止通话后拆除会话通道。When the first registered user chooses to end the current conversation, the main control process dispatches the user agent process of the second registered user, which rings the second registered user, establishes a session channel after the second registered user answers, and Dismantle the session channel after the registered user stops talking.

在上述方法中,步骤b用户信息中包括用户设置的操作界面密码,并且SIP电话终端包括一个显示屏,该显示屏在SIP终端处于等待状态下显示公共主界面,并在用户摘机时在显示屏上提示用户输入操作界面密码,在判断用户输入密码正确后显示对应于该用户的用户操作界面,在用户挂机后重新显示公共主界面。In the above method, the user information in step b includes the operation interface password set by the user, and the SIP telephone terminal includes a display screen, which displays the public main interface when the SIP terminal is in a waiting state, and displays it when the user goes off-hook. The screen prompts the user to input the password of the operation interface. After judging that the password entered by the user is correct, the user operation interface corresponding to the user is displayed, and the public main interface is displayed again after the user hangs up.

上述方法可以进一步包括:当SIP电话终端的注册用户进行注销时,主控进程撤销为该注册用户分配的用户代理进程,并释放为该注册用户代理进程分配的系统资源。The above method may further include: when the registered user of the SIP telephone terminal logs out, the main control process revokes the user agent process allocated for the registered user, and releases the system resource allocated for the registered user agent process.

从本发明的技术方案可以看出,本发明在SIP电话终端的嵌入式系统中设置了一个主控进程和多个用户代理进程,其中每个用户代理进程相互独立,并对应于一个独立的用户,主控进程通过和用户代理进程之间的通信控制每个用户代理进程。当用户利用SIP电话终端注册时,主控进程为该用户分配一个独立的用户代理进程,并在注册用户注销时,主控进程撤销该用户代理进程。在注册用户发起通话时,主控进程确定该注册用户的用户标识,根据用户标识调度对应于该注册用户的用户代理进程并记录该电话终端为占用状态,然后该用户代理进程进行信令交互以尝试建立会话通道。在注册用户作为被叫时,会首先检查SIP电话终端的状态是否为占用状态,如果不是占用状态,主控进程调度对应于该用户的用户代理进程并记录该电话终端为占用状态,然后由该用户代理进程进行信令交互并建立会话通道。As can be seen from the technical scheme of the present invention, the present invention sets a main control process and a plurality of user agent processes in the embedded system of the SIP telephone terminal, wherein each user agent process is independent of each other and corresponds to an independent user , the main control process controls each user agent process through communication with the user agent process. When a user registers with a SIP phone terminal, the main control process assigns an independent user agent process to the user, and when the registered user logs out, the main control process revokes the user agent process. When a registered user initiates a call, the main control process determines the user ID of the registered user, dispatches a user agent process corresponding to the registered user according to the user ID and records that the telephone terminal is in an occupied state, and then the user agent process performs signaling interaction to Attempt to establish a session channel. When the registered user is called, it will first check whether the state of the SIP telephone terminal is in the occupied state. If it is not in the occupied state, the master control process dispatches the user agent process corresponding to the user and records that the telephone terminal is in the occupied state, and then the The user agent process performs signaling interaction and establishes a session channel.

通过设置主控进程和用户代理进程,并通过对SIP电话终端的状态的记录和判断,本发明实现了在同一个SIP电话终端上注册多个用户并且所注册的多个用户都可以利用该SIP电话终端进行通话,这样多个用户使用同一个SIP电话终端可以有效地节约电话终端资源和网络资源,并因此降低了用户和系统提供商的成本。因此,本发明具有广阔的市场前景。By setting the main control process and the user agent process, and by recording and judging the state of the SIP telephone terminal, the present invention realizes the registration of multiple users on the same SIP telephone terminal and the registered multiple users can use the SIP The telephone terminal makes a call, so that multiple users use the same SIP telephone terminal, which can effectively save telephone terminal resources and network resources, and thus reduce the cost of users and system providers. Therefore, the present invention has broad market prospects.

附图说明 Description of drawings

图1是根据本发明的方法总体流程图。Fig. 1 is an overall flowchart of the method according to the present invention.

图2是根据本发明的注册过程的流程图。FIG. 2 is a flowchart of the registration process according to the present invention.

图3是根据本发明的SIP电话终端发起呼叫的处理流程图。Fig. 3 is a flow chart of the process of initiating a call by a SIP telephone terminal according to the present invention.

图4是根据本发明的SIP电话终端接收呼叫的处理流程图。Fig. 4 is a flow chart of the process of receiving a call by a SIP telephone terminal according to the present invention.

具体实施方式 Detailed ways

下面通过附图和具体实施例对本发明进行详细说明。The present invention will be described in detail below through the accompanying drawings and specific embodiments.

为了实现在同一个SIP电话终端上注册多个用户,并且所注册的多个用户都可以使用该SIP电话终端进行通话的目的,本发明在SIP电话终端的嵌入式系统中采用多进程技术,也就是设置一个主控进程和多个用户代理进程。其中用户代理进程对每一个注册用户执行主叫/被叫操作和注册/注销操作,主控进程控制用户代理进程之间的协同工作。在实际情况中,主控进程和用户代理进程都是相互通信但是相对独立的软件状态机。In order to realize the purpose of registering multiple users on the same SIP telephone terminal, and the registered multiple users can use the SIP telephone terminal to make a call, the present invention adopts multi-process technology in the embedded system of the SIP telephone terminal, and also It is to set up a main control process and multiple user agent processes. The user agent process executes calling/called operations and registration/logout operations for each registered user, and the master control process controls the cooperative work between the user agent processes. In reality, both the main control process and the user agent process are software state machines that communicate with each other but are relatively independent.

在本发明中,每个用户代理进程负责代理对应的用户实现各种操作和维护用户的各种状态,例如代理用户向网络的SIP注册服务器进行注册,并按照指定周期重复更新。当用户操作SIP电话终端发起呼叫或者SIP电话终端接收到呼叫时,每一个用户代理进程代表对应的用户根据用户信息生成请求、发送请求、处理响应,并对接收的消息进行方法解析、头解析、内容处理、应用扩展、生成响应等操作,并且在信令交互成功后调用相应的软硬件资源建立双向会话通道。因此,每一个用户代理进程能够实现SIP协议中定义的用户代理(UA)功能。In the present invention, each user agent process is responsible for implementing various operations and maintaining various states of the user on behalf of the corresponding user, such as registering with the SIP registration server of the network on behalf of the user, and repeatedly updating according to a specified cycle. When a user operates a SIP phone terminal to initiate a call or a SIP phone terminal receives a call, each user agent process generates a request, sends a request, processes a response on behalf of the corresponding user according to user information, and performs method analysis, header analysis, and processing of the received message. Content processing, application extension, response generation and other operations, and call the corresponding hardware and software resources to establish a two-way session channel after the signaling interaction is successful. Therefore, each user agent process can realize the user agent (UA) function defined in the SIP protocol.

下面参考图1说明本发明的总体流程。如图1所示,首先在步骤101,在SIP电话终端的嵌入式系统中设置一个主控进程。这里的嵌入式系统也就是SIP电话终端所采用的软硬件系统。The overall flow of the present invention will be described below with reference to FIG. 1 . As shown in FIG. 1 , first at step 101 , a master control process is set in the embedded system of the SIP telephone terminal. The embedded system here is the software and hardware system adopted by the SIP telephone terminal.

在步骤102,当一个用户利用该SIP电话终端注册时,主控进程提示用户输入用户信息,并在接收到该用户输入的用户信息之后为该用户分配一个独立的用户代理进程,并分配对应于该用户代理进程的系统资源。这里的用户信息至少包括用户标识,也就是用户的E164号码或者URL地址。In step 102, when a user utilizes this SIP telephone terminal to register, the main control process prompts the user to input user information, and after receiving the user information input by the user, assigns an independent user agent process for the user, and assigns a corresponding System resources for this user agent process. The user information here includes at least the user identification, that is, the user's E164 number or URL address.

在步骤103,当一个用户操作SIP电话终端发起呼叫时,主控进程根据呼叫请求中的主叫用户信息确定该用户的用户标识,根据用户标识调度对应于该用户的用户代理进程并记录该电话终端为占用状态,然后该用户代理进程进行信令交互,以试图建立到被叫用户的通话连接。In step 103, when a user operates a SIP telephone terminal to initiate a call, the main control process determines the user ID of the user according to the calling user information in the call request, dispatches the user agent process corresponding to the user according to the user ID and records the call The terminal is in the occupied state, and then the user agent process performs signaling interaction to try to establish a call connection to the called user.

当SIP电话终端接收到对于一个用户的呼叫时,主控进程判断该电话终端是否为占用状态,并在电话终端不是占用状态时,确定该用户的用户标识,根据用户标识调度对应于该用户的用户代理进程并记录该电话终端为占用状态,该用户代理进程进行信令交互并建立会话通道。When a SIP telephone terminal receives a call for a user, the main control process judges whether the telephone terminal is in an occupied state, and when the telephone terminal is not in an occupied state, determines the user ID of the user, and dispatches the call corresponding to the user according to the user ID The user agent process records that the telephone terminal is in an occupied state, and the user agent process performs signaling interaction and establishes a session channel.

上面说明了本发明的总体流程,下面再结合图2、图3和图4分别说明用户的注册过程、SIP电话终端作为主叫方的处理过程以及SIP电话终端作为被叫方的处理过程。The overall process of the present invention has been described above, and the registration process of the user, the processing process of the SIP telephone terminal as the calling party and the processing process of the SIP telephone terminal as the called party are explained respectively below in conjunction with Fig. 2, Fig. 3 and Fig. 4.

在本发明的实施例中,SIP电话终端上具有一个显示屏,例如一个液晶(LCD)显示屏等等,该显示屏可以显示和用户注册及通话相关的信息。In the embodiment of the present invention, the SIP telephone terminal has a display screen, such as a liquid crystal (LCD) display screen, etc., and the display screen can display information related to user registration and calls.

图2示出了用户的注册过程。如图2所示,在用户注册之前,显示屏上首先显示的是公共用户界面,该公共用户界面上包括增加用户的按钮。在步骤201,用户选择了增加用户按钮,要求在该SIP电话终端上新注册一个用户。然后在步骤202,显示屏上显示新用户设置界面,要求用户输入用户信息和SIP服务器信息。这里的用户信息至少包括用户标识,也就是E164号码或者URL地址,当然用户可以同时设置这两项。除此之外,用户信息还可以包括用户设置的特色铃声,以和同一个SIP电话终端上注册的其他用户的铃声相区别。用户信息还可以包括用户密码、入呼叫密码和操作界面密码等等,其中用户密码是对用户能否使用该SIP电话终端所设置的密码,入呼叫密码是要求用户在接听电话时输入的密码,操作界面密码是要求用户在摘机情况下进入用户操作界面时输入的密码。当然可以理解,这三个密码可以相同,也可以不同。为了防止用户因为疏忽设置了错误的密码,所有的密码都需要两次确认。Figure 2 shows the user registration process. As shown in FIG. 2 , before the user registers, the public user interface is first displayed on the display screen, and the public user interface includes a button for adding a user. In step 201, the user selects the Add User button to request to register a new user on the SIP phone terminal. Then in step 202, a new user setting interface is displayed on the display screen, requiring the user to input user information and SIP server information. The user information here includes at least the user identification, that is, the E164 number or the URL address, and of course the user can set these two items at the same time. In addition, the user information may also include a distinctive ringtone set by the user, so as to distinguish it from the ringtones of other users registered on the same SIP phone terminal. User information can also include user password, incoming call password and operation interface password etc., wherein user password is the password that the user can use this SIP telephone terminal to set, and incoming call password is the password that requires user to input when answering the phone, The operation interface password is the password that the user is required to enter when going off-hook to enter the user operation interface. Of course, it can be understood that the three passwords may be the same or different. In order to prevent users from setting wrong passwords due to negligence, all passwords need to be confirmed twice.

另外,这里也可以在SIP电话终端中集成一个智能卡读写器,这样用户不需要临时输入,而是将包含用户信息的智能卡插入SIP电话终端的智能卡读写器,然后智能卡读写器提取智能卡中的用户信息并发送给主控进程。In addition, a smart card reader can also be integrated in the SIP phone terminal, so that the user does not need to temporarily input, but inserts the smart card containing user information into the smart card reader of the SIP phone terminal, and then the smart card reader extracts the data stored in the smart card. User information and send it to the main control process.

在步骤203,在用户确认输入后,SIP电话终端的主控进程检查用户的输入信息是否完整和合法,如果是,执行步骤204,否则返回到步骤202,也就是重新进入新用户设置界面,此时用户可以重新输入用户信息。In step 203, after the user confirms the input, whether the main control process of the SIP phone terminal checks the user's input information is complete and legal, if yes, executes step 204, otherwise returns to step 202, that is, re-enters the new user setting interface, and then The user can then re-enter the user information.

在步骤204,主控进程为新增加的用户新建并分配一个独立的用户代理进程,然后为该用户代理进程分配相应的资源,例如存储该用户信息和状态的内存空间等等。在此之后,主控进程通知用户代理进程开始运行。In step 204, the master control process creates and allocates an independent user agent process for the newly added user, and then allocates corresponding resources for the user agent process, such as memory space for storing the user information and status, and so on. After that, the master process notifies the user agent process to start running.

在步骤205,用户代理进程代理该用户向网络中的SIP注册服务器注册终端。In step 205, the user agent process registers the terminal with the SIP registration server in the network on behalf of the user.

在步骤206,网络中的SIP注册服务器判断用户的注册是否成功,如果是,执行步骤207,否则执行步骤208及其后续步骤。In step 206, the SIP registration server in the network judges whether the user's registration is successful, if yes, execute step 207, otherwise execute step 208 and subsequent steps.

在步骤207,显示屏显示该用户所属的专用界面,该用户可以通过专用界面拨打电话和进行用户设置。当然,如果在步骤202中设置了操作界面密码,在显示用户的专用界面之前用户代理进程提示用户输入操作界面密码,并在用户输入之后判断用户输入是否正确。并只有在用户输入正确的情况下,才显示该用户所属的专用界面。In step 207, the display screen displays the dedicated interface to which the user belongs, through which the user can make calls and perform user settings. Of course, if an operation interface password is set in step 202, the user agent process prompts the user to input the operation interface password before displaying the user's dedicated interface, and judges whether the user input is correct after the user inputs. And only when the user input is correct, the dedicated interface to which the user belongs is displayed.

在步骤208,SIP电话终端的用户代理进程在接收到网络发回来的用户注册失败的消息后,向用户发出相应的提示信息,例如在显示屏上向用户显示注册失败的通知。In step 208, the user agent process of the SIP telephone terminal sends a corresponding prompt message to the user after receiving the message that the user failed to register from the network, for example, displays a notification of the failed registration to the user on the display screen.

在步骤209,SIP电话终端的用户代理进程判断用户是否放弃注册,如果是,执行步骤210,否则执行步骤211。这里判断用户是否放弃注册例如是判断用户是否选择了显示屏上的放弃按钮。In step 209, the user agent process of the SIP phone terminal judges whether the user has given up the registration, if yes, execute step 210, otherwise execute step 211. Here, judging whether the user gives up the registration is, for example, judging whether the user has selected the give up button on the display screen.

在步骤210,如果用户在预定时间内没有放弃注册,SIP电话终端的用户代理进程进一步判断用户是否需要重新输入信息,例如用户选择了重新输入信息的按钮。如果是,回到步骤202,也就是重新进入新用户设置界面,然后用户重新输入例如SIP服务器的地址,然后再次执行步骤203及其后续步骤。如果用户没有选择重新输入,则同样执行步骤211。In step 210, if the user does not give up the registration within the predetermined time, the user agent process of the SIP phone terminal further determines whether the user needs to re-enter information, for example, the user selects the button for re-entering information. If so, go back to step 202, that is, re-enter the new user setting interface, and then the user re-inputs the address of the SIP server, for example, and then executes step 203 and its subsequent steps again. If the user does not choose to re-input, step 211 is also performed.

在步骤211,主控进程撤销该用户的用户代理进程,然后显示屏进入公共主界面。In step 211, the main control process cancels the user agent process of the user, and then the display screen enters the common main interface.

至此完成了用户的注册过程,对于每一个新用户,主控进程为其新建并分配一个独立的用户代理进程,并分配相应资源。注册用户在进行注销时,主控进程撤销该用户的用户代理进程,并释放相应资源。So far, the user registration process is completed. For each new user, the master control process creates and allocates an independent user agent process for it, and allocates corresponding resources. When a registered user logs out, the master control process revokes the user agent process of the user and releases corresponding resources.

图3示出了SIP电话终端作为主叫方的处理过程。在步骤301,当用户摘机,SIP电话终端的主控进程通过显示屏提示用户输入用户名和用户密码,然后在步骤302判断用户输入的用户密码是否正确。如果是,执行步骤303及其后续步骤,否则返回到步骤301,要求用户重新输入用户名和用户密码。Fig. 3 shows the processing procedure of the SIP telephone terminal as the calling party. In step 301, when the user goes off-hook, the main control process of the SIP telephone terminal prompts the user to input the user name and user password through the display screen, and then in step 302, it is judged whether the user password input by the user is correct. If yes, execute step 303 and its subsequent steps, otherwise return to step 301 and require the user to re-input the user name and user password.

在步骤303,主控进程设置当前SIP电话终端为占用状态。In step 303, the main control process sets the current SIP phone terminal as occupied.

在步骤304,主控进程确定用户标识,并调度该用户对应的用户代理进程。这里确定用户标识是通过分析主叫用户发起的INVITE请求中的主叫地址信息来确定的。In step 304, the main control process determines the user ID, and schedules the user agent process corresponding to the user. Here, determining the user identity is determined by analyzing the calling address information in the INVITE request initiated by the calling user.

在步骤305,用户代理进程等待用户拨号,在用户拨号之后进入呼叫处理流程。这里的呼叫处理流程和现有的SIP电话终端的呼叫处理流程相同,这里不再赘述。In step 305, the user agent process waits for the user to dial, and enters the call processing flow after the user dials. The call processing flow here is the same as that of the existing SIP telephone terminal, and will not be repeated here.

上面说明了SIP电话终端作为主叫方的情况,如果SIP电话终端作为被叫方,其处理流程如图4所示。The above describes the situation that the SIP telephone terminal is the calling party. If the SIP telephone terminal is the called party, its processing flow is shown in FIG. 4 .

首先在步骤401,SIP电话终端的主控进程检测到有呼叫进入之后,检查电话终端的占用状态。First, in step 401, after the main control process of the SIP telephone terminal detects that a call is incoming, it checks the occupation status of the telephone terminal.

前面说明了如果SIP电话终端作为主叫方发起呼叫时,例如在该SIP电话终端上注册的用户A作为主叫发起呼叫,主控进程会记录该终端为占用状态,此时当另一个用户C通过另一个SIP电话终端呼叫在用户A正在通话的SIP电话终端上注册的另一个用户B时,SIP电话终端会检测到电话终端为占用状态。另外,如果用户A作为被叫正在使用该SIP电话终端进行通话,主控进程也会记录该终端为占用状态,同样,当另一个用户C通过另一个SIP电话终端呼叫在用户A正在通话的SIP电话终端上注册的另一个用户B时,SIP电话终端也会检测到电话终端为占用状态。与此相对应,无论是作为主叫还是被叫,当用户结束通话后,主控进程会将终端设置为空闲状态。It has been explained above that if a SIP telephone terminal initiates a call as the calling party, for example, user A registered on the SIP telephone terminal initiates the call as the calling party, the main control process will record that the terminal is in the occupied state, and at this time when another user C When another user B registered on the SIP telephone terminal where user A is talking is called through another SIP telephone terminal, the SIP telephone terminal will detect that the telephone terminal is in an occupied state. In addition, if user A is using the SIP phone terminal as the called party to make a call, the main control process will also record that the terminal is occupied. Similarly, when another user C calls the SIP phone terminal where user A is talking through another SIP phone When another user B is registered on the telephone terminal, the SIP telephone terminal will also detect that the telephone terminal is in an occupied state. Correspondingly, no matter whether it is the calling party or the called party, when the user ends the call, the main control process will set the terminal to an idle state.

在步骤402,主控进程根据检测结果判断电话终端是否被占用。如果没有被占用,执行步骤403及其后续步骤,否则执行步骤406及其后续步骤。In step 402, the main control process judges whether the telephone terminal is occupied according to the detection result. If not occupied, execute step 403 and its subsequent steps, otherwise execute step 406 and its subsequent steps.

在步骤403,主控进程根据接收的INVITE请求中的被叫地址信息确定被叫标识,将电话终端设置为占用状态,然后调用对应于该被叫的用户代理进程。In step 403, the main control process determines the called party's identity according to the called party's address information in the received INVITE request, sets the telephone terminal to an occupied state, and then invokes the user agent process corresponding to the called party.

在步骤404,用户代理进程用该用户设置的特色铃声振铃,并在显示屏上显示主叫信息和被叫信息,等待被叫用户接听。In step 404, the user agent process rings with the distinctive ring tone set by the user, displays the calling information and called information on the display screen, and waits for the called user to answer.

在步骤405,当被叫用户摘机应答,用户代理进程进行信令交互并建立和主叫用户的会话通道。在此之后,当被叫用户挂机结束通话,主控进程会将电话终端设置为空闲状态。In step 405, when the called user goes off-hook to answer, the user agent process performs signaling interaction and establishes a session channel with the calling user. After that, when the called user hangs up to end the call, the main control process will set the telephone terminal to an idle state.

在步骤406,如果主控进程判断出电话终端正被占用,例如用户A正在通话,那么主控进程向用户A提示有一个对于用户B的新呼叫进入,然后在终端显示屏上显示相应的操作界面供用户A选择。在本实施例中,用户A可以有三种选择:拒绝新呼叫、保持当前通话和结束当前通话。In step 406, if the main control process judges that the telephone terminal is being occupied, for example, user A is talking, then the main control process prompts user A to have a new call incoming for user B, and then displays the corresponding operation on the terminal display screen The interface is for user A to choose. In this embodiment, user A has three options: rejecting the new call, maintaining the current call and ending the current call.

在步骤407,主控进程在用户A进行了选择之后判断用户A选择的内容,如果是拒绝新呼叫,执行步骤408;如果是保持当前通话,执行步骤409及其后续步骤;如果是结束当前通话,执行步骤412及其后续步骤。In step 407, the main control process judges the content selected by user A after user A has selected, if it is to reject the new call, execute step 408; if it is to maintain the current call, execute step 409 and its subsequent steps; if it is to end the current call , execute step 412 and subsequent steps.

在步骤408,如果用户A选择拒绝新呼叫,主控进程调度用户B的用户代理进程,该用户代理进程向主叫用户发送标识被叫SIP电话终端忙的响应消息。在这个过程中用户A继续通话,并在通话结束后将SIP终端设置为空闲状态。In step 408, if user A chooses to reject the new call, the main control process schedules the user agent process of user B, and the user agent process sends a response message indicating that the called SIP telephone terminal is busy to the calling user. During this process, user A continues the call, and sets the SIP terminal to an idle state after the call ends.

在步骤409,如果用户A选择保持当前通话,主控进程调度用户B的用户代理进程,该用户代理进程向用户B振铃,并在显示屏上显示主叫信息和被叫信息,等待用户B应答。在步骤410,用户B输入入呼叫密码接听电话,并输入操作界面密码后显示屏显示用户B的操作界面,然后用户B摘机应答,用户B的用户代理进程建立会话通道。在步骤411,用户B结束通话后拆除为用户B的通话建立的会话通道,然后调度用户A的用户代理进程,由用户A的用户代理进程继续用户A的通话处理。In step 409, if user A chooses to hold the current call, the main control process dispatches the user agent process of user B, which rings to user B, and displays the calling information and called information on the display screen, waiting for user B answer. In step 410, user B inputs the incoming call password to answer the call, and after inputting the operation interface password, the display screen displays user B's operation interface, then user B picks up the phone to answer, and user B's user agent process establishes a conversation channel. In step 411, after user B ends the call, the session channel established for user B's call is removed, and then the user agent process of user A is dispatched, and the user agent process of user A continues the call processing of user A.

在步骤412,如果当前用户选择结束当前通话,主控进程调度用户B的用户代理进程,用户B的用户代理进程向用户B振铃,并在显示屏上显示主叫信息和被叫信息,等待用户B应答。在步骤413,用户B输入入呼叫密码接听电话,并输入操作界面密码后显示屏显示用户B的操作界面,然后用户B摘机应答,用户B的用户代理进程建立会话通道。在步骤414,在用户B停止通话后拆除会话通道,将SIP终端设置为空闲状态。In step 412, if the current user chooses to end the current call, the main control process dispatches the user agent process of user B, and the user agent process of user B rings to user B, and displays the calling information and called information on the display screen, and waits User B answers. In step 413, user B inputs the incoming call password to answer the call, and after inputting the operation interface password, the display screen displays user B's operation interface, then user B picks up the phone to answer, and user B's user agent process establishes a session channel. In step 414, the session channel is removed after user B stops talking, and the SIP terminal is set to an idle state.

这样,本发明在SIP电话终端作为被叫时为用户提供了灵活的处理方式,解决了多个用户在同一个SIP电话终端上注册容易引起的不同用户通话的协调问题。In this way, the present invention provides a flexible processing method for the user when the SIP telephone terminal is called, and solves the coordination problem of different users' conversations that is easily caused by multiple users registering on the same SIP telephone terminal.

当然,这里的用户B也可以是用户A自己,也就是说,当用户A正在通话时,有可能另一个用户C也希望和用户A通话,这是用户A可以发现有一个新的入呼叫,而且该入呼叫的被叫是自己。与上述实施例类似,用户A同样可以有三种选择,只不过主控进程不会调度一个新的用户代理进程,而是由原有的用户代理进程继续执行新的处理。Of course, user B here can also be user A himself, that is to say, when user A is talking, another user C may also wish to talk with user A, which means that user A can find that there is a new incoming call, And the called party who should make the incoming call is himself. Similar to the above embodiment, user A can also have three options, except that the main control process will not schedule a new user agent process, but the original user agent process will continue to perform new processing.

另外,为了简便流程,也可以在步骤406中不向用户A提供选择,而是在SIP电话终端为占用状态下,直接由主控进程调度该用户B的用户代理进程,用户B的用户代理进程向主叫用户发送标识被叫SIP电话终端忙的响应消息,例如是“486响应”。In addition, in order to simplify the process, it is also possible not to provide user A with a choice in step 406, but when the SIP phone terminal is in an occupied state, the main control process directly schedules the user agent process of user B, and the user agent process of user B A response message indicating that the called SIP telephone terminal is busy is sent to the calling user, for example, a "486 response".

在前面提到用户信息中可以包含一个操作界面密码,设置该操作界面密码的目的是防止用户间的误操作或者盗打,例如用户A使用用户B的身份进行操作或通信。在设置了操作界面密码的情况下,SIP电话终端在静止等待状态时,显示屏显示的是对于所有用户共用的公共主界面。当用户不通过摘机操作,而通过终端键盘直接进行操作时,主控进程只允许该用户在公共主界面操作,例如“添加新用户”操作即属于公共主界面。无论用户是作为主叫还是被叫,当用户摘机时,显示屏上立即显示提示用户输入或选择用户名以及输入操作界面密码的提示界面,然后主控进程验证用户输入是否正确,在用户输入正确的情况下显示用户操作界面,用户这时才能进行拨号通话或者进行用户属性设置等操作。当用户挂机或完成设置操作后,显示屏上的显示界面立即返回到公共主界面,此后若该用户摘机需再次输入用户名和操作界面密码。As mentioned above, the user information may contain an operation interface password. The purpose of setting the operation interface password is to prevent misoperation or stealing between users. For example, user A uses user B's identity to operate or communicate. In the case that the operation interface password is set, when the SIP telephone terminal is in the static waiting state, the display screen displays the common main interface shared by all users. When the user does not go off-hook, but directly operates through the terminal keyboard, the main control process only allows the user to operate on the public main interface, for example, the "add new user" operation belongs to the public main interface. Regardless of whether the user is the calling party or the called party, when the user picks up the phone, a prompt interface prompting the user to input or select the user name and the password of the operation interface will be displayed on the display immediately, and then the main control process will verify whether the user input is correct. If it is correct, the user operation interface is displayed, and only then can the user perform operations such as dial-up calls or user attribute settings. After the user hangs up or completes the setting operation, the display interface on the display screen returns to the public main interface immediately, and if the user goes off-hook, he needs to input the user name and the password of the operation interface again.

因此可以理解,以上所述仅为本发明的较佳实施例而已,并不用以限制本发明,凡在本发明的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。Therefore, it can be understood that the above descriptions are only preferred embodiments of the present invention, and are not intended to limit the present invention. Any modifications, equivalent replacements, improvements, etc. made within the spirit and principles of the present invention shall include Within the protection scope of the present invention.

Claims (10)

1.一种会话初始协议SIP电话终端的用户注册和通话方法,至少包括:1. A user registration and conversation method of a session initiation protocol SIP telephone terminal, comprising at least: a.在SIP电话终端的嵌入式系统中设置一个主控进程和两个以上用户代理进程;a. set a main control process and more than two user agent processes in the embedded system of the SIP telephone terminal; b.当一个用户利用该SIP电话终端注册时,所述主控进程在接收到至少包括用户标识的用户信息之后为该用户分配一个独立的用户代理进程,并分配对应于该用户代理进程的系统资源;b. When a user utilizes the SIP telephone terminal to register, the master control process assigns an independent user agent process for the user after receiving at least user information including user identification, and assigns a system corresponding to the user agent process resource; c.当一个注册用户操作SIP电话终端发起呼叫,主控进程确定该注册用户的用户标识,根据所述用户标识调度对应于该注册用户的用户代理进程并记录该电话终端为占用状态,该用户代理进程进行信令交互以尝试建立会话通道;c. When a registered user operates a SIP telephone terminal to initiate a call, the main control process determines the user identification of the registered user, dispatches the user agent process corresponding to the registered user according to the user identification and records that the telephone terminal is in an occupied state, and the user The agent process performs signaling interaction to try to establish a session channel; 当SIP电话终端接收到对于一个注册用户的呼叫时,主控进程判断该电话终端是否为占用状态,并在电话终端不是占用状态时,确定该注册用户的用户标识,根据所述用户标识调度对应于该注册用户的用户代理进程并记录该电话终端为占用状态,该用户代理进程进行信令交互并建立会话通道。When a SIP telephone terminal receives a call for a registered user, the main control process judges whether the telephone terminal is in an occupied state, and when the telephone terminal is not in an occupied state, determines the user ID of the registered user, and schedules a corresponding call according to the user ID. The user agent process of the registered user records that the telephone terminal is in an occupied state, and the user agent process performs signaling interaction and establishes a session channel. 2.根据权利要求1所述的方法,其特征是,步骤b中主控进程接收用户信息之前进一步包括:主控进程提示用户输入用户信息,所述接收用户信息是接收用户通过SIP电话终端输入的信息。2. The method according to claim 1, characterized in that, before the main control process receives the user information in step b, it further comprises: the main control process prompts the user to input user information, and the receiving user information is received by the user through a SIP phone terminal input Information. 3.根据权利要求1所述的方法,其特征是,该方法进一步包括在SIP电话终端中集成一个智能卡读写器的步骤,步骤b中主控进程接收用户信息之前进一步包括:主控进程提示用户插入包含用户信息的智能卡,所述接收用户信息是由智能卡读写器提取所述智能卡中的用户信息。3. The method according to claim 1, characterized in that, the method further comprises the step of integrating a smart card reader in the SIP telephone terminal, and before the main control process receives user information in step b, it further comprises: the main control process prompts The user inserts a smart card containing user information, and the receiving user information is to extract the user information in the smart card by a smart card reader. 4.根据权利要求1所述的方法,其特征是,步骤b中的用户信息包括振铃信息,主控进程为该用户分配一个独立的用户代理进程之后进一步包括:所述用户代理进程保存用户设置的振铃信息;4. method according to claim 1, it is characterized in that, the user information in the step b comprises ringing information, after master control process distributes an independent user agent process for this user, further comprise: described user agent process saves user agent process The ringing information set; 步骤c中当SIP电话终端接收到对于一个注册用户的呼叫时,在主控进程调度对应于该注册用户的用户代理进程之后进一步包括:In step c, when the SIP telephone terminal receives a call for a registered user, after the master control process dispatches the user agent process corresponding to the registered user, it further includes: 用户代理进程根据该注册用户预先设置的振铃信息进行振铃。The user agent process rings according to the preset ringing information of the registered user. 5.根据权利要求1所述的方法,其特征是,所述SIP电话终端包括一个显示屏,步骤c中当SIP电话终端接收到对于一个注册用户的呼叫时,在主控进程调度对应于该注册用户的用户代理进程之后进一步包括:5. The method according to claim 1, wherein the SIP telephone terminal includes a display screen, and when the SIP telephone terminal receives a call for a registered user in step c, the main control process schedules the corresponding After the registered user's user agent process further includes: 用户代理进程在SIP电话终端的显示屏上显示该注册用户的标识信息。The user agent process displays the identification information of the registered user on the display screen of the SIP telephone terminal. 6.根据权利要求1所述的方法,其特征是,步骤b用户信息中包括用户设置的入呼叫密码,步骤c中当SIP电话终端接收到对于一个注册用户的呼叫时,在主控进程调度对应于该注册用户的用户代理进程之后进一步包括:该用户代理进程向用户振铃,并提示用户输入入呼叫密码,在接收到用户输入的入呼叫密码之后判断用户输入是否正确,如果是,进行信令交互并建立会话通道;否则结束本流程。6. The method according to claim 1, wherein the step b user information includes the incoming call password set by the user, and in the step c, when the SIP telephone terminal receives a call for a registered user, the master control process scheduling Further include after the user agent process corresponding to the registered user: the user agent process rings the user, and prompts the user to input the incoming call password, and judges whether the user input is correct after receiving the incoming call password input by the user, and if so, proceeds Signaling interaction and session channel establishment; otherwise, end this process. 7.根据权利要求1所述的方法,其特征是,步骤c中当SIP电话终端接收到对于一个注册用户的呼叫时,在主控进程判断电话终端处于占用状态时,主控进程调度该注册用户的用户代理进程,所述用户代理进程向主叫用户发送标识被叫SIP电话终端忙的响应消息。7. The method according to claim 1, characterized in that, in step c, when the SIP telephone terminal receives a call for a registered user, when the master control process judges that the telephone terminal is in an occupied state, the master control process schedules the registration A user agent process of the user, the user agent process sends a response message indicating that the called SIP telephone terminal is busy to the calling user. 8.根据权利要求1所述的方法,其特征是,步骤c中当主控进程判断该SIP电话终端处于占用状态之后进一步包括:8. The method according to claim 1, characterized in that, after the main control process judges that the SIP telephone terminal is in the occupied state in the step c, further comprising: 主控进程向第一注册用户提示新呼叫的进入并提示第一注册用户选择如下三项中的一项:拒绝新呼叫、保持当前通话和结束当前通话;所述第一注册用户为当前占用所述SIP电话终端的注册用户;The main control process prompts the first registered user to enter the new call and prompts the first registered user to select one of the following three items: rejecting the new call, maintaining the current conversation and ending the current conversation; the first registered user is currently occupied Registered users of the above-mentioned SIP telephone terminal; 当第一注册用户选择拒绝新呼叫,主控进程调度第二注册用户的用户代理进程,所述用户代理进程向主叫用户发送标识被叫SIP电话终端忙的响应消息;所述第二注册用户为当前被呼叫的注册用户;When the first registered user selects to reject the new call, the master control process dispatches the user agent process of the second registered user, and the user agent process sends a response message indicating that the called SIP telephone terminal is busy to the calling user; the second registered user For the currently called registered user; 当第一注册用户选择保持当前通话,主控进程调度第二注册用户的用户代理进程,所述用户代理进程向第二注册用户振铃,在第二注册用户应答后建立会话通道,并在第二注册用户停止通话后拆除所述会话通道,然后调度第一注册用户的用户代理进程,由第一注册用户的用户代理进程继续第一注册用户的通话处理;When the first registered user chooses to keep the current conversation, the main control process dispatches the user agent process of the second registered user, and the user agent process rings the second registered user, and establishes a conversation channel after the second registered user answers, and at the After the two registered users stop talking, remove the conversation channel, then dispatch the user agent process of the first registered user, and continue the conversation processing of the first registered user by the user agent process of the first registered user; 当第一注册用户选择结束当前通话,主控进程调度第二注册用户的用户代理进程,所述用户代理进程向第二注册用户振铃,在第二注册用户应答后建立会话通道,并在第二注册用户停止通话后拆除所述会话通道。When the first registered user chooses to end the current conversation, the main control process dispatches the user agent process of the second registered user, and the user agent process rings the second registered user, and after the second registered user answers, the conversation channel is established, and at the After the second registered user stops talking, the conversation channel is removed. 9.根据权利要求1所述的方法,其特征是,步骤b用户信息中包括用户设置的操作界面密码,所述SIP电话终端包括一个显示屏,所述显示屏在SIP终端处于等待状态下显示公共主界面,并在用户摘机时在显示屏上提示用户输入操作界面密码,在判断用户输入密码正确后显示对应于该用户的用户操作界面,在用户挂机后重新显示公共主界面。9. The method according to claim 1, wherein the user information of step b includes the user interface password provided by the user, and the SIP phone terminal includes a display screen, and the display screen is displayed when the SIP terminal is in a waiting state The public main interface, and when the user goes off-hook, prompts the user to input the password of the operation interface on the display screen, displays the user operation interface corresponding to the user after judging that the password entered by the user is correct, and displays the public main interface again after the user hangs up. 10.根据权利要求1所述的方法,其特征是,该方法进一步包括:当SIP电话终端的注册用户进行注销时,所述主控进程撤销为该注册用户分配的用户代理进程,并释放为该注册用户代理进程分配的系统资源。10. The method according to claim 1, characterized in that, the method further comprises: when the registered user of the SIP telephone terminal logs out, the master control process cancels the user agent process allocated for the registered user, and releases the System resources allocated by this registered user agent process.
CNB2004100496925A 2004-06-23 2004-06-23 Method of subscriber registration and communication in telephone terminal of session initiation protocol (SIP) Expired - Lifetime CN100433752C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB2004100496925A CN100433752C (en) 2004-06-23 2004-06-23 Method of subscriber registration and communication in telephone terminal of session initiation protocol (SIP)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB2004100496925A CN100433752C (en) 2004-06-23 2004-06-23 Method of subscriber registration and communication in telephone terminal of session initiation protocol (SIP)

Publications (2)

Publication Number Publication Date
CN1595937A CN1595937A (en) 2005-03-16
CN100433752C true CN100433752C (en) 2008-11-12

Family

ID=34665802

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB2004100496925A Expired - Lifetime CN100433752C (en) 2004-06-23 2004-06-23 Method of subscriber registration and communication in telephone terminal of session initiation protocol (SIP)

Country Status (1)

Country Link
CN (1) CN100433752C (en)

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1859387B (en) * 2005-12-31 2010-12-22 华为技术有限公司 Terminal user surrogate system and its method for subscribing and using service
CN101018238B (en) * 2006-02-09 2011-11-02 华为技术有限公司 User identification system, registration, service and route configuration method
CN101056304B (en) * 2006-04-17 2010-05-12 华为技术有限公司 Method for creating an implicit subscription through a SIP registration request
CN101064711B (en) * 2006-04-28 2010-09-15 广东省电信有限公司研究院 Method for fulfilling the third party logout service using initial session protocol
WO2008125018A1 (en) * 2007-04-17 2008-10-23 Huawei Technologies Co., Ltd. A method, a system and a device for distinguishing the session
CN102301675A (en) * 2009-02-06 2011-12-28 阿尔卡特朗讯公司 A method for sharing a same user device by multi-users by using sip and a user device thereof
CN105812182B (en) * 2016-03-14 2019-03-01 北京京东尚科信息技术有限公司 The method and system of dynamic configuration SIP phone
CN113259429B (en) * 2021-05-11 2023-12-05 鸬鹚科技(深圳)有限公司 Session maintenance management and control method, device, computer equipment and medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1126532A (en) * 1993-06-30 1996-07-10 诺基亚电信公司 A radio system
WO2001076276A2 (en) * 2000-04-05 2001-10-11 Telefonaktiebolaget Lm Ericsson (Publ) Telecommunications network integrating cellular, packet-switched, and voice-over-ip infrastructures
WO2002097458A1 (en) * 2001-05-29 2002-12-05 Interdigital Technology Corporation System and method for reducing information communicated between universal mobile telecommunication system multimedia capable units
CN1464700A (en) * 2002-06-04 2003-12-31 深圳市中兴通讯股份有限公司 Method for notifying busy status to session initiating protocol network from end user

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1126532A (en) * 1993-06-30 1996-07-10 诺基亚电信公司 A radio system
WO2001076276A2 (en) * 2000-04-05 2001-10-11 Telefonaktiebolaget Lm Ericsson (Publ) Telecommunications network integrating cellular, packet-switched, and voice-over-ip infrastructures
WO2002097458A1 (en) * 2001-05-29 2002-12-05 Interdigital Technology Corporation System and method for reducing information communicated between universal mobile telecommunication system multimedia capable units
CN1464700A (en) * 2002-06-04 2003-12-31 深圳市中兴通讯股份有限公司 Method for notifying busy status to session initiating protocol network from end user

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
基于SIP 的Soft Phone 的设计与实现. 虞志文,史济建.计算机应用,第23卷第12期. 2003 *

Also Published As

Publication number Publication date
CN1595937A (en) 2005-03-16

Similar Documents

Publication Publication Date Title
EP1917792B1 (en) Telephone system that notifies caller of called party's state
US7330721B2 (en) Method and system for supporting non-intrusive and effective voice communication among mobile users
JP6031634B2 (en) Telephone network and method
US20060217133A1 (en) Multi-modal call management
US20110305331A1 (en) Call management service
EP2211531A1 (en) Caller ID for business telephone
US20080076395A1 (en) Method and System for Supporting Non-Intrusive and Effective Voice Communication Among Mobile Users
JP2000083103A (en) Notice method for exchanging call signals, method for exchanging call signals and internet enabled device
US8160223B2 (en) System and method for managing a conference call
CN101771769B (en) Method, device and system for call control
US20070127400A1 (en) Professional Services Communications Architecture
US8600021B2 (en) Method and apparatus for connecting a caller previously diverted to voicemail
CN107018504A (en) Communication means, blacklist collocation method and device
CN100433752C (en) Method of subscriber registration and communication in telephone terminal of session initiation protocol (SIP)
CN1968319B (en) Device, method and system for registering/cancelling and controlling do-not-disturb service
US20100232590A1 (en) Intelligent Outbound Calling
JP3337952B2 (en) Calling number anonymous call answering method and method
CN102148908A (en) Method for designating of hosting control for a conference call
CN101997998A (en) Method and device for realizing accessing type teleconference service
WO2005043864A2 (en) Communication system and method
JP4466304B2 (en) Conference call control program, conference call control device
KR100570816B1 (en) Call processing device and method using computer integrated telephone program
CN116132586A (en) Communication connection method, system and device
JP3240225B2 (en) Telephone with character input / display function
CN120321288A (en) A service control method, device, network equipment and medium

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
ASS Succession or assignment of patent right

Owner name: CHINA TELECOMMUNICATION STOCK CO., LTD.

Free format text: FORMER OWNER: CHINA TELECOM CORPORATION LIMITED RESEARCH INSTITUTE

Effective date: 20050520

C41 Transfer of patent application or patent right or utility model
TA01 Transfer of patent application right

Effective date of registration: 20050520

Address after: 100032 No. 31, Finance Street, Beijing, Xicheng District

Applicant after: CHINA TELECOM Corp.,Ltd.

Address before: 100035 No. 118, inner main street, Xicheng District, Beijing, Xizhimen

Applicant before: CHINA TELECOM CORP Ltd. RES I

C14 Grant of patent or utility model
GR01 Patent grant
CX01 Expiry of patent term

Granted publication date: 20081112

CX01 Expiry of patent term