WO2014183654A1 - Method for performing session based on sip, terminal and call service server - Google Patents

Method for performing session based on sip, terminal and call service server Download PDF

Info

Publication number
WO2014183654A1
WO2014183654A1 PCT/CN2014/077563 CN2014077563W WO2014183654A1 WO 2014183654 A1 WO2014183654 A1 WO 2014183654A1 CN 2014077563 W CN2014077563 W CN 2014077563W WO 2014183654 A1 WO2014183654 A1 WO 2014183654A1
Authority
WO
WIPO (PCT)
Prior art keywords
session
protocol
terminal
registration
session initialization
Prior art date
Application number
PCT/CN2014/077563
Other languages
French (fr)
Chinese (zh)
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 KR1020167010718A priority Critical patent/KR101831083B1/en
Publication of WO2014183654A1 publication Critical patent/WO2014183654A1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/1066Session management
    • H04L65/1101Session protocols
    • H04L65/1104Session initiation protocol [SIP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/16Implementation or adaptation of Internet protocol [IP], of transmission control protocol [TCP] or of user datagram protocol [UDP]
    • H04L69/164Adaptation or special uses of UDP protocol
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/14Session management

Definitions

  • the present invention relates to the field of communications technologies, and in particular, to a method, a terminal, and a call service server for performing a session based on a SIP (Session Initiation Protocol).
  • SIP Session Initiation Protocol
  • IP Internet Protocol
  • NGN Next-Generation Network
  • SIP Session Initiation Protocol
  • SIP Session Initiation Protocol
  • SIP Session Initiation Protocol
  • SBC Session Border Controller
  • the technical problem to be solved by the embodiments of the present invention is to provide a method for using a SIP-based session, a terminal, and a call service server to effectively reduce the occupation of network bandwidth.
  • an embodiment of the present invention provides a method for performing a session based on a session initial protocol, including:
  • the terminal establishes a transmission control protocol link or a user datagram protocol link with the call service server; when the terminal starts the session initial protocol session, the session initial protocol registration is performed, and after the registration is successful, the transmission control protocol link or the user datagram protocol link is used. Notifying the call service server.
  • the foregoing method further has the following features: when the terminal starts a session initial protocol session, Perform session initial protocol registration, including:
  • the terminal When the terminal initiates a session initial protocol session request as a calling party, the terminal initiates a session initial protocol registration through the access gateway to the softswitch or the IP multimedia subsystem core network.
  • the foregoing method further has the following features: when the terminal starts a session initial protocol session, performing session initial protocol registration, including:
  • the terminal After receiving the session initial protocol session request, the terminal initiates a session initial protocol registration through the access gateway to the softswitch or the IP multimedia subsystem core network, if receiving an instruction for the user to select to answer.
  • the foregoing method further has the following features: After the terminal starts the session initial protocol session, the method further includes:
  • the terminal ends the session initial protocol session, performs the session initial protocol logout, and after the logout is successful, notifies the call service server by using the transmission control protocol link or the user datagram protocol link.
  • an embodiment of the present invention further provides a terminal, where the method includes: an establishing module, configured to establish a transmission control protocol link or a user datagram protocol link with a call service server;
  • the registration module is configured to start the session initial protocol session, and after the registration is successful, notify the call service server by using the transmission control protocol link or the user datagram protocol link.
  • the terminal further has the following features:
  • the registration module is configured to initiate a session initial protocol registration to the softswitch or the IP multimedia subsystem core network through the access gateway when the caller initiates the session initial protocol session request.
  • the terminal further has the following features:
  • the registration module is configured to, after receiving the session initial protocol session request, receive an initial protocol registration from the access gateway to the softswitch or the IP multimedia subsystem core network, if the user receives an instruction to select the answer.
  • the terminal further has the following features:
  • the terminal further includes:
  • the logout module is configured to end the session initial protocol session, perform the session initial protocol logout, and after the logout is successful, notify the call service server by using the transmission control protocol link or the user datagram protocol link.
  • the embodiment of the present invention further provides a method for performing a session based on a session initiation protocol, including:
  • the session initial protocol session processing is performed. .
  • the call service server performs session initial protocol session processing, including:
  • the call service server receives the session initial protocol session request initiated by the terminal; queries the session initial protocol registration state and the idle state of the called terminal, and performs session processing according to the registration state and the idle state.
  • the call service server performs session processing according to the registration status and the idle state, and includes:
  • the call service server queries that the called terminal is not in the session initial protocol registration and idle state, the called terminal is notified by the established transmission control protocol link or the user data protocol link. If the called terminal has been queried for the session initial protocol registration, the next initial call to the called terminal is used to register the session initial protocol number; if the called terminal is queried to process the busy state, The established transmission control protocol link or user datagram protocol link notifies the calling terminal.
  • the foregoing method further has the following features: after the call service server notifies the called terminal that the call arrives, the method further includes:
  • the call service server If the call service server receives the notification that the called terminal sends a session initial protocol registration success, it records and calls the session initial protocol number that the called terminal registers successfully.
  • the foregoing method further has the following features: after the recording and subscribing to the session initial protocol number that the called terminal successfully registers, the method further includes: If the call service server receives the session initial protocol cancellation notification of the calling terminal or the called terminal, the session initiation protocol number corresponding to the calling terminal or the called terminal is deleted.
  • the embodiment of the present invention further provides a call service server, including: an establishing module, configured to establish a transmission control protocol link or a user data report protocol link with the terminal after being set up for registration;
  • the processing module is configured to perform the session initial protocol session processing after the session initial protocol registration is successfully received through the transmission control protocol link or the user datagram protocol link.
  • the above call service server further has the following features:
  • the processing module is configured to perform session initial protocol session processing, including: receiving a session initial protocol session request initiated by the terminal; querying a session initial protocol registration state and a busy state of the called terminal, according to the registration state and idle Busy state for session processing.
  • the above call service server further has the following features:
  • the processing module is configured to perform session processing according to the registration status and the free busy state, including: if the called terminal is in the absence of the session initial protocol registration and the idle state, by using the established transmission control protocol a link or a user datagram protocol link, notifying the called terminal that a call arrives; if the called terminal has queried the initial protocol registration, directly calling the session initial protocol number registered by the called terminal; If the called terminal is queried to process the busy state, the calling terminal is notified by the established transmission control protocol link or the user datagram protocol link.
  • the above call service server further has the following features:
  • the processing module is further configured to notify the called terminal that after the call arrives: if receiving the notification that the called terminal sends the session initial protocol registration success, recording and calling the session that the called terminal registers successfully Initial agreement number.
  • the processing module is further configured to record and call the session initial protocol number after the called terminal is successfully registered: if the session initial protocol cancellation notification of the calling terminal or the called terminal is received, deleting the calling terminal or being The session initial protocol number corresponding to the terminal.
  • the embodiment of the present invention provides a method, a terminal, and a call industry for conducting a session based on SIP. Servers, effectively reducing network bandwidth usage, especially reducing the capacity and performance requirements of devices such as SBC to reduce equipment input costs.
  • FIG. 1 is a flowchart of a method for performing a session based on SIP according to an embodiment of the present invention
  • FIG. 2 is a flowchart of a method for performing a session based on SIP according to another embodiment of the present invention
  • FIG. 4 is a schematic diagram of a method for performing a session based on SIP according to an application example of the present invention
  • FIG. 5 is a schematic diagram of a terminal according to an embodiment of the present invention
  • FIG. 6 is a schematic diagram of a call service server according to an embodiment of the present invention.
  • FIG. 1 is a flowchart of a method for performing a session based on SIP according to an embodiment of the present invention. As shown in FIG. 1, the method in this embodiment includes:
  • the terminal establishes a TCP (Transmission Control Protocol) link or a UDP (User Datagram Protocol) link with the call service server;
  • TCP Transmission Control Protocol
  • UDP User Datagram Protocol
  • FIG. 2 is a flowchart of a method for performing a session based on SIP according to another embodiment of the present invention. As shown in FIG. 2, the method in this embodiment includes:
  • the call service server receives the SIP registration through the TCP link or the UDP link. After the work, SIP session processing is performed.
  • the SIP registration is performed, and when the session ends, the SIP logout is performed immediately.
  • TCP Transmission Control Protocol
  • UDP User Datagram Protocol
  • the method of implementing this embodiment requires a set of call service servers and any smart terminal or computer with SIP client software installed, as shown in FIG.
  • the call service server registers with the softswitch or IMS (IP Multimedia Subsystem) core network and receives a TCP link or UDP link request from the SIP client.
  • IMS IP Multimedia Subsystem
  • the SIP client software runs on a smart terminal or a computer, and the smart terminal or computer has to have
  • Step 101 The call service server signs up registration on the softswitch or the IMS core network;
  • Step 103 When the SIP client prepares to initiate a SIP session as a calling party (that is, when the calling SIP client 1 initiates a call), first initiates a SIP registration to the softswitch or the IMS core network through the SBC;
  • Step 104 After the SIP registration is successful, the SIP client notifies the call service server that the SIP client is in a registered and busy state, and then initiates a SIP session invitation directly to the called party through the SIP link.
  • the calling SIP client 1 After the calling SIP client 1 initiates the SIP registration, it notifies the call service server at the same time, the call service server records the SIP registration status of the calling SIP client 1, and sends a call request (INVITE) to the called SIP client.
  • ISVITE call request
  • Step 105 If the SIP client is called, because the call service server is already in softswitch or
  • the IMS core network has signed up for registration, so the call request first arrives at the call service server.
  • the calling service server queries that the called SIP client is in the unregistered state and the idle state of the SIP number, the SIP client is notified by the previously established TCP link or UDP link that the call arrives; for example, the call service server queries The called SIP client is in the SIP number registered and idle state, and directly forwards the call request to the called SIP client; if the called SIP client is busy, the calling SIP client is notified.
  • the calling service server finds that the called SIP client 2 is not currently in the SIP number registration success state, so it notifies the called SIP client 2 whether to answer the incoming call.
  • Step 106 At this time, the SIP client 2 pops up the incoming call request. If the user chooses to answer the call, the SIP registration is first initiated to the softswitch or the IMS core network through the SBC, and the TCP link or UDP link notification that has been established before is still succeeded. The call service server SIP registration has succeeded and accepts the call request, and then proceeds to step 107.
  • the call service server is directly notified by the previously established TCP link or UDP link to reject the incoming call, and subsequent SIP registration is not required.
  • Step 107 After the calling service server learns that the called SIP client 2 answers and completes the registration of the SIP number, the SIP client successfully registers the SIP number successfully registered by the SIP client, and the SIP client 2 automatically answers the call after receiving the SIP session request. The media negotiation is completed and the SIP session is successfully established.
  • Step 108 After the SIP session ends, the SIP client initiates a SIP logout to the softswitch or the IMS core network through the SBC. After successful, the SIP service client is notified that the SIP client is not registered and idle.
  • FIG. 5 is a schematic diagram of a terminal according to an embodiment of the present invention. As shown in FIG. 5, the terminal in this embodiment may include:
  • Establishing a module configured to establish a transmission control protocol link or a user datagram protocol link with the call service server;
  • a registration module configured to start a session initial protocol session, perform a session initial protocol registration, and after the registration is successful, notify the call service server by using the transmission control protocol link or a user datagram protocol link;
  • the session initial protocol is cancelled.
  • the call service server is notified by the transmission control protocol link or the user datagram protocol link.
  • the session initial protocol registration may include: when the calling party initiates a session initial protocol session request, the device controls the device to the softswitch or the IP through the session boundary.
  • the multimedia subsystem core network initiates a session initial protocol registration.
  • the session initial protocol registration may include: after receiving the incoming call request, if the user receives an instruction to select the answer, the session is passed.
  • the border control device initiates a session initial protocol registration to the softswitch or IP Multimedia Subsystem core network.
  • FIG. 6 is a schematic diagram of a call service server according to an embodiment of the present invention. As shown in FIG. 6, the call service server in this embodiment includes:
  • the processing module is configured to perform SIP session processing after successfully receiving the session initial protocol by using the transmission control protocol link or the user datagram protocol link.
  • the processing module configured to perform the session initial protocol session processing, may include: receiving a session initial protocol session request initiated by the terminal; querying a session initial protocol registration state and a busy state of the called terminal, The registration status and the idle status are used for session processing.
  • the processing module is configured to perform a session according to the registration state and the free busy state.
  • the method may include: if the called terminal is in the absence of the session initial protocol registration and the idle state, notify the called terminal that the called terminal arrives by using the established transmission control protocol link or the user datagram protocol link. If the called terminal has queried the session initial protocol registration, directly, the session initial protocol number that has been registered by the called terminal is directly called; if the called terminal is queried to process the busy state, the The established transmission control protocol link or user data protocol link informs the calling terminal.
  • the processing module is further configured to notify the called terminal that after the call arrives: if receiving the notification that the called terminal sends the session initial protocol registration success, recording and calling the called terminal to register successfully Session initial protocol number.
  • the processing module is further configured to record and call the session initial protocol number after the called terminal is successfully registered: if the session initial protocol cancellation notification of the calling terminal or the called terminal is received, deleting the calling terminal or being Call the SIP number corresponding to the terminal.
  • the SIP number is registered only when the SIP session is to be performed, and the SIP number is in the logout state at other times. In this way, when the call service system is set up, the performance and capacity requirements of the SBC can be greatly reduced, and the equipment input cost can be effectively saved. At the same time, the fact that fewer SIP numbers are registered also means lower IP network bandwidth usage, which is also directly effective for IP network operators to reduce equipment investment costs and reduce network load.
  • the embodiments of the present invention provide a SIP-based session method, a terminal, and a call service server, which effectively reduce network bandwidth occupation, and in particular, effectively reduce the capacity and performance requirements of devices such as SBCs, so as to reduce equipment input costs.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Business, Economics & Management (AREA)
  • General Business, Economics & Management (AREA)
  • Multimedia (AREA)
  • Telephonic Communication Services (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The embodiments of the present invention provide a method for performing a session based on an SIP, and a terminal. The method comprises: a terminal establishing a transmission control protocol link or a user datagram protocol link with a call service server; when starting a session initiation protocol session, the terminal performing session initiation protocol registration; and when ending the session initiation protocol session, the terminal performing session initiation protocol cancellation. The embodiments of the present invention can effectively reduce the network bandwidth occupation, and particularly effectively reduce the requirements for the capacity and performance of devices such as an SBC, so as to reduce the invested costs of the devices.

Description

一种基于 SIP进行会话的方法、 终端及呼叫业务服务器  Method for using SIP to conduct session, terminal and call service server
技术领域 Technical field
本发明涉及通信技术领域, 尤其涉及一种基于 SIP ( Session Initiation Protocol, 会话初始协议)进行会话的方法、 终端及呼叫业务服务器。  The present invention relates to the field of communications technologies, and in particular, to a method, a terminal, and a call service server for performing a session based on a SIP (Session Initiation Protocol).
背景技术 Background technique
随着信息技术的快速发展和互联网的迅速普及, 人们对通信的需求呈现 宽带化、个性化、综合化的特征。基于电路交换的传统通信网络的 IP ( Internet Protocol,网络之间互连的协议)化和宽带化,进而实现 NGN( Next-Generation Network, 下一代网络) 的目标, 是电信网络发展的必然趋势。  With the rapid development of information technology and the rapid spread of the Internet, people's demand for communication is characterized by broadband, individualization and integration. The IP (Internet Protocol) and broadbandization of traditional communication networks based on circuit switching, and the realization of the goal of NGN (Next-Generation Network), is an inevitable trend in the development of telecommunication networks.
SIP ( Session Initiation Protocol, 会话初始协议 )作为一种 NGN网络中的 核心协议,在基于 NGN网络的各种业务中有非常广泛的应用场景。 比如最常 用的语音、 视频通话, 以及基于音视频和数据的多媒体会议业务等, 都是基 于 SIP协议进行会话的建立和媒体的协商。 SIP本身的会话保持特性决定了保 持 SIP号码在线状态需要占用更多的带宽、 并投入更多更高容量更高性能的 接入网关 (如 SBC ( Session Border Controller, 会话边界控制器) )等。  SIP (Session Initiation Protocol) is a core protocol in NGN networks and has a wide range of applications in various services based on NGN networks. For example, the most commonly used voice, video call, and multimedia conference services based on audio, video and data are based on the SIP protocol for session establishment and media negotiation. The session persistence feature of SIP itself determines that the SIP number online status requires more bandwidth and more high-capacity access gateways (such as SBC (Session Border Controller)).
发明内容 Summary of the invention
本发明实施例要解决的技术问题是提供一种基于 SIP进行会话的方法、 终端及呼叫业务服务器, 以有效地降低网络带宽的占用。  The technical problem to be solved by the embodiments of the present invention is to provide a method for using a SIP-based session, a terminal, and a call service server to effectively reduce the occupation of network bandwidth.
为了解决上述技术问题, 本发明实施例提供了一种基于会话初始协议进 行会话的方法, 包括:  In order to solve the above technical problem, an embodiment of the present invention provides a method for performing a session based on a session initial protocol, including:
终端与呼叫业务服务器建立传输控制协议链接或用户数据报协议链接; 所述终端开始会话初始协议会话时, 进行会话初始协议注册, 注册成功 后, 通过所述传输控制协议链接或用户数据报协议链接通知所述呼叫业务服 务器。  The terminal establishes a transmission control protocol link or a user datagram protocol link with the call service server; when the terminal starts the session initial protocol session, the session initial protocol registration is performed, and after the registration is successful, the transmission control protocol link or the user datagram protocol link is used. Notifying the call service server.
优选地, 上述方法还具有下面特点: 所述终端开始会话初始协议会话时, 进行会话初始协议注册, 包括: Preferably, the foregoing method further has the following features: when the terminal starts a session initial protocol session, Perform session initial protocol registration, including:
所述终端作为主叫发起会话初始协议会话请求时, 通过接入网关向软交 换或 IP多媒体子系统核心网发起会话初始协议注册。  When the terminal initiates a session initial protocol session request as a calling party, the terminal initiates a session initial protocol registration through the access gateway to the softswitch or the IP multimedia subsystem core network.
优选地, 上述方法还具有下面特点: 所述终端开始会话初始协议会话时, 进行会话初始协议注册, 包括:  Preferably, the foregoing method further has the following features: when the terminal starts a session initial protocol session, performing session initial protocol registration, including:
所述终端作为被叫接收到会话初始协议会话请求后, 如接收到用户选择 接听的指令, 则通过接入网关向软交换或 IP多媒体子系统核心网发起会话初 始协议注册。  After receiving the session initial protocol session request, the terminal initiates a session initial protocol registration through the access gateway to the softswitch or the IP multimedia subsystem core network, if receiving an instruction for the user to select to answer.
优选地, 上述方法还具有下面特点: 所述终端开始会话初始协议会话后, 还包括:  Preferably, the foregoing method further has the following features: After the terminal starts the session initial protocol session, the method further includes:
所述终端结束会话初始协议会话, 进行会话初始协议注销, 注销成功后, 通过所述传输控制协议链接或用户数据报协议链接通知所述呼叫业务服务 器。  The terminal ends the session initial protocol session, performs the session initial protocol logout, and after the logout is successful, notifies the call service server by using the transmission control protocol link or the user datagram protocol link.
为了解决上述问题, 本发明实施例还提供了一种终端, 其中, 包括: 建立模块, 设置为与呼叫业务服务器建立传输控制协议链接或用户数据 报协议链接;  In order to solve the above problem, an embodiment of the present invention further provides a terminal, where the method includes: an establishing module, configured to establish a transmission control protocol link or a user datagram protocol link with a call service server;
注册模块, 设置为开始会话初始协议会话时, 进行会话初始协议注册, 注册成功后, 通过所述传输控制协议链接或用户数据报协议链接通知所述呼 叫业务服务器。  The registration module is configured to start the session initial protocol session, and after the registration is successful, notify the call service server by using the transmission control protocol link or the user datagram protocol link.
优选地, 上述终端还具有下面特点:  Preferably, the terminal further has the following features:
所述注册模块, 设置为作为主叫发起会话初始协议会话请求时, 通过接 入网关向软交换或 IP多媒体子系统核心网发起会话初始协议注册。  The registration module is configured to initiate a session initial protocol registration to the softswitch or the IP multimedia subsystem core network through the access gateway when the caller initiates the session initial protocol session request.
优选地, 上述终端还具有下面特点:  Preferably, the terminal further has the following features:
所述注册模块, 设置为作为被叫接收到会话初始协议会话请求后, 如接 收到用户选择接听的指令, 则通过接入网关向软交换或 IP多媒体子系统核心 网发起会话初始协议注册。  The registration module is configured to, after receiving the session initial protocol session request, receive an initial protocol registration from the access gateway to the softswitch or the IP multimedia subsystem core network, if the user receives an instruction to select the answer.
优选地, 上述终端还具有下面特点: 所述终端还包括: 注销模块, 设置为结束会话初始协议会话, 进行会话初始协议注销, 注 销成功后, 通过所述传输控制协议链接或用户数据报协议链接通知所述呼叫 业务服务器。 Preferably, the terminal further has the following features: The terminal further includes: The logout module is configured to end the session initial protocol session, perform the session initial protocol logout, and after the logout is successful, notify the call service server by using the transmission control protocol link or the user datagram protocol link.
为了解决上述问题, 本发明实施例还提供了一种基于会话初始协议进行 会话的方法, 包括:  In order to solve the above problem, the embodiment of the present invention further provides a method for performing a session based on a session initiation protocol, including:
呼叫业务服务器签约注册后, 与终端建立传输控制协议链接或用户数据 报协议链接;  After the call service server signs up for registration, establish a transmission control protocol link or a user data report protocol link with the terminal;
所述呼叫业务服务器接通过所述传输控制协议链接或用户数据报协议链 接接收到会话初始协议注册成功后, 进行会话初始协议会话处理。 。  After the call service server receives the session initial protocol registration successfully through the transmission control protocol link or the user datagram protocol link, the session initial protocol session processing is performed. .
优选地, 上述方法还具有下面特点: 所述呼叫业务服务器进行会话初始 协议会话处理, 包括:  Preferably, the foregoing method further has the following features: the call service server performs session initial protocol session processing, including:
所述呼叫业务服务器接收到所述终端发起的会话初始协议会话请求; 查询被叫终端的会话初始协议注册状态和闲忙状态, 根据所述注册状态 和闲忙状态进行会话处理。 优选地, 上述方法还具有下面特点: 所述呼叫业务服务器根据所述注册 状态和闲忙状态进行会话处理, 包括:  The call service server receives the session initial protocol session request initiated by the terminal; queries the session initial protocol registration state and the idle state of the called terminal, and performs session processing according to the registration state and the idle state. Preferably, the foregoing method further has the following features: the call service server performs session processing according to the registration status and the idle state, and includes:
所述呼叫业务服务器如查询到所述被叫终端处于未进行会话初始协议注 册和空闲状态, 则通过所述已建立的传输控制协议链接或用户数据^艮协议链 接, 通知所述被叫终端有呼叫抵达; 如查询到所述被叫终端已进行会话初始 协议注册, 则直接下呼所述被叫终端已注册的会话初始协议号码; 如查询到 所述被叫终端处理忙状态, 则通过所述已建立的传输控制协议链接或用户数 据报协议链接通知主叫终端。  If the call service server queries that the called terminal is not in the session initial protocol registration and idle state, the called terminal is notified by the established transmission control protocol link or the user data protocol link. If the called terminal has been queried for the session initial protocol registration, the next initial call to the called terminal is used to register the session initial protocol number; if the called terminal is queried to process the busy state, The established transmission control protocol link or user datagram protocol link notifies the calling terminal.
优选地, 上述方法还具有下面特点: 所述呼叫业务服务器通知所述被叫 终端有呼叫抵达后, 还包括:  Preferably, the foregoing method further has the following features: after the call service server notifies the called terminal that the call arrives, the method further includes:
所述呼叫业务服务器如接收到所述被叫终端发送会话初始协议注册成功 的通知, 则记录并下呼所述被叫终端注册成功的会话初始协议号码。  If the call service server receives the notification that the called terminal sends a session initial protocol registration success, it records and calls the session initial protocol number that the called terminal registers successfully.
优选地, 上述方法还具有下面特点: 所述记录并下呼所述被叫终端注册 成功的会话初始协议号码之后, 还包括: 所述呼叫业务服务器如接收到主叫终端或被叫终端的会话初始协议注销 通知, 则删除主叫终端或被叫终端对应的会话初始协议号码。 Preferably, the foregoing method further has the following features: after the recording and subscribing to the session initial protocol number that the called terminal successfully registers, the method further includes: If the call service server receives the session initial protocol cancellation notification of the calling terminal or the called terminal, the session initiation protocol number corresponding to the calling terminal or the called terminal is deleted.
为了解决上述问题, 本发明实施例还提供了一种呼叫业务服务器, 包括: 建立模块, 设置为签约注册后, 与终端建立传输控制协议链接或用户数 据报协议链接;  In order to solve the above problem, the embodiment of the present invention further provides a call service server, including: an establishing module, configured to establish a transmission control protocol link or a user data report protocol link with the terminal after being set up for registration;
处理模块, 设置为通过所述传输控制协议链接或用户数据报协议链接接 收到会话初始协议注册成功后, 进行会话初始协议会话处理。  The processing module is configured to perform the session initial protocol session processing after the session initial protocol registration is successfully received through the transmission control protocol link or the user datagram protocol link.
优选地, 上述呼叫业务服务器还具有下面特点:  Preferably, the above call service server further has the following features:
所述处理模块, 设置为进行会话初始协议会话处理包括: 接收到所述终 端发起的会话初始协议会话请求; 查询被叫终端的会话初始协议注册状态和 闲忙状态, 根据所述注册状态和闲忙状态进行会话处理。 优选地, 上述呼叫业务服务器还具有下面特点:  The processing module is configured to perform session initial protocol session processing, including: receiving a session initial protocol session request initiated by the terminal; querying a session initial protocol registration state and a busy state of the called terminal, according to the registration state and idle Busy state for session processing. Preferably, the above call service server further has the following features:
所述处理模块,设置为根据所述注册状态和闲忙状态进行会话处理包括: 如查询到所述被叫终端处于未进行会话初始协议注册和空闲状态, 则通过所 述已建立的传输控制协议链接或用户数据报协议链接, 通知所述被叫终端有 呼叫抵达; 如查询到所述被叫终端已进行会话初始协议注册, 则直接下呼所 述被叫终端已注册的会话初始协议号码;如查询到所述被叫终端处理忙状态, 则通过所述已建立的传输控制协议链接或用户数据报协议链接通知主叫终 端。  The processing module is configured to perform session processing according to the registration status and the free busy state, including: if the called terminal is in the absence of the session initial protocol registration and the idle state, by using the established transmission control protocol a link or a user datagram protocol link, notifying the called terminal that a call arrives; if the called terminal has queried the initial protocol registration, directly calling the session initial protocol number registered by the called terminal; If the called terminal is queried to process the busy state, the calling terminal is notified by the established transmission control protocol link or the user datagram protocol link.
优选地, 上述呼叫业务服务器还具有下面特点:  Preferably, the above call service server further has the following features:
所述处理模块, 还设置为通知所述被叫终端有呼叫抵达之后: 如接收到 所述被叫终端发送会话初始协议注册成功的通知, 则记录并下呼所述被叫终 端注册成功的会话初始协议号码。  The processing module is further configured to notify the called terminal that after the call arrives: if receiving the notification that the called terminal sends the session initial protocol registration success, recording and calling the session that the called terminal registers successfully Initial agreement number.
所述处理模块, 还设置为记录并下呼所述被叫终端注册成功的会话初始 协议号码之后: 如接收到主叫终端或被叫终端的会话初始协议注销通知, 则 删除主叫终端或被叫终端对应的会话初始协议号码。  The processing module is further configured to record and call the session initial protocol number after the called terminal is successfully registered: if the session initial protocol cancellation notification of the calling terminal or the called terminal is received, deleting the calling terminal or being The session initial protocol number corresponding to the terminal.
综上, 本发明实施例提供一种基于 SIP进行会话的方法、 终端及呼叫业 务服务器, 有效地降低网络带宽占用, 特别是有效降低对 SBC等设备的容量 和性能要求, 以降低设备投入成本。 In summary, the embodiment of the present invention provides a method, a terminal, and a call industry for conducting a session based on SIP. Servers, effectively reducing network bandwidth usage, especially reducing the capacity and performance requirements of devices such as SBC to reduce equipment input costs.
附图概述 BRIEF abstract
图 1为本发明实施例的一种基于 SIP进行会话的方法的流程图; 图 2为本发明另一实施例的一种基于 SIP进行会话的方法的流程图; 图 3为本发明实施例的一种基于 SIP进行会话的系统的示意图; 图 4为本发明一应用示例的一种基于 SIP进行会话的方法的流程图; 图 5为本发明实施例的终端的示意图;  FIG. 1 is a flowchart of a method for performing a session based on SIP according to an embodiment of the present invention; FIG. 2 is a flowchart of a method for performing a session based on SIP according to another embodiment of the present invention; FIG. 4 is a schematic diagram of a method for performing a session based on SIP according to an application example of the present invention; FIG. 5 is a schematic diagram of a terminal according to an embodiment of the present invention;
图 6为本发明实施例的呼叫业务 Λ良务器的示意图。  FIG. 6 is a schematic diagram of a call service server according to an embodiment of the present invention.
本发明的较佳实施方式 Preferred embodiment of the invention
下文中将结合附图对本发明的实施例进行详细说明。在不冲突的情况下, 本申请中的实施例及实施例中的特征可以相互任意组合。  Embodiments of the present invention will be described in detail below with reference to the accompanying drawings. The embodiments in the present application and the features in the embodiments may be arbitrarily combined with each other without conflict.
图 1为本发明一个实施例的一种基于 SIP进行会话的方法的流程图, 如 图 1所示, 本实施例的方法包括:  FIG. 1 is a flowchart of a method for performing a session based on SIP according to an embodiment of the present invention. As shown in FIG. 1, the method in this embodiment includes:
Sl l、 终端与呼叫业务服务器建立 TCP ( Transmission Control Protocol, 传输控制协议)链接或 UDP ( User Datagram Protocol, 用户数据 4艮协议)链 接; Sl l, the terminal establishes a TCP (Transmission Control Protocol) link or a UDP (User Datagram Protocol) link with the call service server;
S12、 终端开始 SIP会话时, 进行 SIP注册, 注册成功后, 通过所述 TCP 链接或 UDP链接通知所述呼叫业务服务器。  S12. When the terminal starts the SIP session, perform SIP registration. After the registration is successful, notify the call service server by using the TCP link or the UDP link.
S13、 终端结束 SIP会话时, 进行 SIP注销, 注销成功后, 通过所述 TCP 链接或 UDP链接通知所述呼叫业务服务器。  S13. When the terminal ends the SIP session, perform SIP logoff. After the logout is successful, the call service server is notified by using the TCP link or the UDP link.
图 2为本发明另一实施例的一种基于 SIP进行会话的方法的流程图, 如 图 2所示, 本实施例的方法包括:  FIG. 2 is a flowchart of a method for performing a session based on SIP according to another embodiment of the present invention. As shown in FIG. 2, the method in this embodiment includes:
521、 呼叫业务服务器签约注册后, 与终端建立 TCP链接或 UDP链接; 521. After the call service server signs up for registration, establish a TCP link or a UDP link with the terminal.
522、 呼叫业务服务器通过所述 TCP链接或 UDP链接接收到 SIP注册成 功后, 进行 SIP会话处理。 522. The call service server receives the SIP registration through the TCP link or the UDP link. After the work, SIP session processing is performed.
本实施例的方法中, 当 SIP客户端需要和其它终端进行 SIP会话时, 才 进行 SIP注册, 结束会话时立即进行 SIP注销。 SIP客户端空闲时, 只需与呼 叫业务服务器建立一个 TCP ( Transmission Control Protocol, 传输控制协议) 链接或 UDP ( User Datagram Protocol,用户数据报协议), 定时用很小的 TCP 包或 UDP包保持心跳即可,此时无需进行 SIP注册。这样在搭建一个基于 SIP 会话的多媒体呼叫业务系统时, 大部分处于空闲状态的 SIP客户端无需实时 地保持 SIP号码注册状态, 从而可以极大地降低对接入网关 (例如, SBC ) 的容量和性能要求。  In the method of this embodiment, when the SIP client needs to perform a SIP session with other terminals, the SIP registration is performed, and when the session ends, the SIP logout is performed immediately. When the SIP client is idle, you only need to establish a TCP (Transmission Control Protocol) link or UDP (User Datagram Protocol) with the call service server, and keep the heartbeat with a small TCP packet or UDP packet. That is, there is no need to register SIP at this time. In this way, when constructing a SIP-based multimedia call service system, most of the idle SIP clients do not need to maintain the SIP number registration status in real time, thereby greatly reducing the capacity and performance of the access gateway (for example, SBC). Claim.
实现本实施例的方法需要一套呼叫业务服务器和任何一部安装有 SIP客 户端软件的智能终端或电脑, 如图 3所示。  The method of implementing this embodiment requires a set of call service servers and any smart terminal or computer with SIP client software installed, as shown in FIG.
所述呼叫业务服务器在软交换或 IMS ( IP Multimedia Subsystem, IP多媒 体子系统)核心网上签约注册,并接收来自 SIP客户端的建立 TCP链接或 UDP 链接请求。  The call service server registers with the softswitch or IMS (IP Multimedia Subsystem) core network and receives a TCP link or UDP link request from the SIP client.
所述 SIP客户端软件运行于智能终端或电脑上, 智能终端或电脑要具有 The SIP client software runs on a smart terminal or a computer, and the smart terminal or computer has to have
IP网络连接能力, 并具有进行 SIP会话时所使用媒体的釆集或播放设备, 比 如麦克风、 扬声器或摄像头等, SIP客户端软件始终与呼叫业务服务器建立 TCP链接或 UDP链接。 The IP network connection capability, and the collection or playback device of the media used for the SIP session, such as a microphone, speaker or camera, the SIP client software always establishes a TCP link or UDP link with the call service server.
当上述呼叫业务服务器和 SIP客户端软件安装配置完毕后, 可以通过下 述方案来实现, 如图 4所示, 包括以下步骤:  After the call service server and the SIP client software are installed and configured, the following solutions can be implemented. As shown in Figure 4, the following steps are included:
步骤 101 : 呼叫业务服务器在软交换或 IMS核心网上签约注册; 步骤 102: SIP客户端主动与呼叫业务服务器建立 TCP链接或 UDP链接; 主叫和被叫 SIP客户端可以分别向呼叫业务服务器发起 TCP建链或 UDP 链接。  Step 101: The call service server signs up registration on the softswitch or the IMS core network; Step 102: The SIP client actively establishes a TCP link or a UDP link with the call service server; the calling and called SIP clients can initiate TCP to the call service server respectively. Chain or UDP link.
步骤 103: 当 SIP客户端作为主叫准备发起 SIP会话时(即主叫 SIP客户 端 1发起呼叫时 ) , 先通过 SBC向软交换或 IMS核心网发起 SIP注册;  Step 103: When the SIP client prepares to initiate a SIP session as a calling party (that is, when the calling SIP client 1 initiates a call), first initiates a SIP registration to the softswitch or the IMS core network through the SBC;
步骤 104: SIP注册成功后, SIP客户端通知呼叫业务服务器本 SIP客户 端处于注册并忙碌状态, 然后直接通过此 SIP链路向被叫发起 SIP会话邀请; 主叫 SIP客户端 1发起 SIP注册成功后, 同时通知呼叫业务服务器, 呼 叫业务服务器记录主叫 SIP客户端 1的 SIP注册状态, 并向被叫 SIP客户端 发出呼叫请求(INVITE ) 。 Step 104: After the SIP registration is successful, the SIP client notifies the call service server that the SIP client is in a registered and busy state, and then initiates a SIP session invitation directly to the called party through the SIP link. After the calling SIP client 1 initiates the SIP registration, it notifies the call service server at the same time, the call service server records the SIP registration status of the calling SIP client 1, and sends a call request (INVITE) to the called SIP client.
此呼叫请求经过 SBC、软交换或 IMS核心网后被路由到呼叫业务服务器。 步骤 105:如果 SIP客户端作为被叫, 因为呼叫业务服务器已在软交换或 This call request is routed to the call service server after passing through the SBC, softswitch or IMS core network. Step 105: If the SIP client is called, because the call service server is already in softswitch or
IMS核心网上进行了签约注册, 因此呼叫请求首先到达呼叫业务服务器。 此 时如呼叫业务服务器查询到被叫 SIP客户端处于 SIP号码未注册和空闲状态, 则通过之前已建立好的 TCP链路或 UDP链路通知 SIP客户端有呼叫抵达; 如呼叫业务服务器查询到被叫 SIP客户端处于 SIP号码已注册和空闲状态, 直接将呼叫请求转发给被叫 SIP客户端; 如被叫 SIP客户端处于忙碌状态, 则通知主叫 SIP客户端。 The IMS core network has signed up for registration, so the call request first arrives at the call service server. At this time, if the calling service server queries that the called SIP client is in the unregistered state and the idle state of the SIP number, the SIP client is notified by the previously established TCP link or UDP link that the call arrives; for example, the call service server queries The called SIP client is in the SIP number registered and idle state, and directly forwards the call request to the called SIP client; if the called SIP client is busy, the calling SIP client is notified.
呼叫业务服务器发现被叫 SIP客户端 2当前并没有处于 SIP号码注册成 功状态, 因此通知被叫 SIP客户端 2是否接听来电。  The calling service server finds that the called SIP client 2 is not currently in the SIP number registration success state, so it notifies the called SIP client 2 whether to answer the incoming call.
步骤 106: 此时 SIP客户端 2弹出来电请求, 如果用户选择接听, 则首先 通过 SBC向软交换或 IMS核心网发起 SIP注册,成功后仍然通过之前已建立 好的 TCP链路或 UDP链路通知呼叫业务服务器 SIP注册已经成功, 并接受 呼叫请求, 然后转步骤 107。  Step 106: At this time, the SIP client 2 pops up the incoming call request. If the user chooses to answer the call, the SIP registration is first initiated to the softswitch or the IMS core network through the SBC, and the TCP link or UDP link notification that has been established before is still succeeded. The call service server SIP registration has succeeded and accepts the call request, and then proceeds to step 107.
如果用户直接选择拒绝接听来电, 则直接通过之前已建立好的 TCP链路 或 UDP链路通知呼叫业务服务器拒绝此来电即可,后续的 SIP注册就无需进 行了。  If the user directly chooses to reject the incoming call, the call service server is directly notified by the previously established TCP link or UDP link to reject the incoming call, and subsequent SIP registration is not required.
步骤 107:呼叫业务服务器得知被叫 SIP客户端 2接听并完成 SIP号码注 册后, 正式下呼此 SIP客户端注册成功的 SIP号码, SIP客户端 2收到此 SIP 会话请求后自动应答接听, 完成媒体协商, 成功建立 SIP会话。  Step 107: After the calling service server learns that the called SIP client 2 answers and completes the registration of the SIP number, the SIP client successfully registers the SIP number successfully registered by the SIP client, and the SIP client 2 automatically answers the call after receiving the SIP session request. The media negotiation is completed and the SIP session is successfully established.
步骤 108: 当此次 SIP会话结束后, SIP客户端通过 SBC向软交换或 IMS 核心网发起 SIP注销, 成功后通知呼叫业务服务器本 SIP客户端处于 SIP号 码未注册和空闲状态。  Step 108: After the SIP session ends, the SIP client initiates a SIP logout to the softswitch or the IMS core network through the SBC. After successful, the SIP service client is notified that the SIP client is not registered and idle.
无论主叫还是被叫 SIP客户端谁结束了此次 SIP会话, 双方都通过 SBC 向软交换或 IMS核心网发起 SIP注销,完成后通知呼叫业务服务器注销成功。 图 5为本发明实施例的终端的示意图, 如图 5所示, 本实施例的终端可 以包括: Regardless of whether the calling or called SIP client ends the SIP session, both parties initiate SIP deregistration to the softswitch or IMS core network through the SBC, and notify the calling service server to log off successfully after completion. FIG. 5 is a schematic diagram of a terminal according to an embodiment of the present invention. As shown in FIG. 5, the terminal in this embodiment may include:
建立模块, 设置为与呼叫业务服务器建立传输控制协议链接或用户数据 报协议链接;  Establishing a module, configured to establish a transmission control protocol link or a user datagram protocol link with the call service server;
注册模块, 设置为开始会话初始协议会话时, 进行会话初始协议注册, 注册成功后, 通过所述传输控制协议链接或用户数据报协议链接通知所述呼 叫业务服务器;  a registration module, configured to start a session initial protocol session, perform a session initial protocol registration, and after the registration is successful, notify the call service server by using the transmission control protocol link or a user datagram protocol link;
注销模块, 设置为结束会话初始协议会话时, 进行会话初始协议注销, 注销成功后, 通过所述传输控制协议链接或用户数据报协议链接通知所述呼 叫业务服务器。  When the logout module is set to end the session initial protocol session, the session initial protocol is cancelled. After the logout is successful, the call service server is notified by the transmission control protocol link or the user datagram protocol link.
在一个优选实施例中, 所述注册模块,设置为开始会话初始协议会话时, 进行会话初始协议注册可以包括: 作为主叫发起会话初始协议会话请求时, 通过会话边界控制设备向软交换或 IP多媒体子系统核心网发起会话初始协议 注册。  In a preferred embodiment, when the registration module is configured to start a session initial protocol session, the session initial protocol registration may include: when the calling party initiates a session initial protocol session request, the device controls the device to the softswitch or the IP through the session boundary. The multimedia subsystem core network initiates a session initial protocol registration.
在一个优选实施例中, 所述注册模块,设置为开始会话初始协议会话时, 进行会话初始协议注册可以包括: 作为被叫接收到来电请求后, 如接收到用 户选择接听的指令, 则通过会话边界控制设备向软交换或 IP多媒体子系统核 心网发起会话初始协议注册。  In a preferred embodiment, when the registration module is configured to start a session initial protocol session, the session initial protocol registration may include: after receiving the incoming call request, if the user receives an instruction to select the answer, the session is passed. The border control device initiates a session initial protocol registration to the softswitch or IP Multimedia Subsystem core network.
图 6为本发明实施例的呼叫业务 Λ良务器的示意图, 如图 6所示, 本实施 例的呼叫业务服务器包括:  FIG. 6 is a schematic diagram of a call service server according to an embodiment of the present invention. As shown in FIG. 6, the call service server in this embodiment includes:
建立模块, 设置为签约注册后, 与终端建立传输控制协议链接或用户数 据报协议链接;  Establish a module, set to sign up for registration, establish a transmission control protocol link or a user datagram protocol link with the terminal;
处理模块, 设置为通过所述传输控制协议链接或用户数据报协议链接接 收到会话初始协议注册成功后, 进行 SIP会话处理。  The processing module is configured to perform SIP session processing after successfully receiving the session initial protocol by using the transmission control protocol link or the user datagram protocol link.
其中, 所述处理模块, 设置为进行会话初始协议会话处理可以包括: 接 收到所述终端发起的会话初始协议会话请求; 查询被叫终端的会话初始协议 注册状态和闲忙状态, 才艮据所述注册状态和闲忙状态进行会话处理。  The processing module, configured to perform the session initial protocol session processing, may include: receiving a session initial protocol session request initiated by the terminal; querying a session initial protocol registration state and a busy state of the called terminal, The registration status and the idle status are used for session processing.
其中, 所述处理模块, 设置为根据所述注册状态和闲忙状态进行会话处 理可以包括: 如查询到所述被叫终端处于未进行会话初始协议注册和空闲状 态, 则通过所述已建立的传输控制协议链接或用户数据报协议链接, 通知所 述被叫终端有呼叫抵达; 如查询到所述被叫终端已进行会话初始协议注册, 则直接下呼所述被叫终端已注册的会话初始协议号码; 如查询到所述被叫终 端处理忙状态, 则通过所述已建立的传输控制协议链接或用户数据^艮协议链 接通知主叫终端。 The processing module is configured to perform a session according to the registration state and the free busy state. The method may include: if the called terminal is in the absence of the session initial protocol registration and the idle state, notify the called terminal that the called terminal arrives by using the established transmission control protocol link or the user datagram protocol link. If the called terminal has queried the session initial protocol registration, directly, the session initial protocol number that has been registered by the called terminal is directly called; if the called terminal is queried to process the busy state, the The established transmission control protocol link or user data protocol link informs the calling terminal.
其中, 所述处理模块, 还设置为通知所述被叫终端有呼叫抵达之后: 如 接收到所述被叫终端发送会话初始协议注册成功的通知, 则记录并下呼所述 被叫终端注册成功的会话初始协议号码。  The processing module is further configured to notify the called terminal that after the call arrives: if receiving the notification that the called terminal sends the session initial protocol registration success, recording and calling the called terminal to register successfully Session initial protocol number.
所述处理模块, 还设置为记录并下呼所述被叫终端注册成功的会话初始 协议号码之后: 如接收到主叫终端或被叫终端的会话初始协议注销通知, 则 删除主叫终端或被叫终端对应的 SIP号码。  The processing module is further configured to record and call the session initial protocol number after the called terminal is successfully registered: if the session initial protocol cancellation notification of the calling terminal or the called terminal is received, deleting the calling terminal or being Call the SIP number corresponding to the terminal.
本发明实施例只有要进行 SIP会话时才注册 SIP号码, 其他时间 SIP号 码处于注销状态。 这样在搭建这套呼叫业务系统时, 可以极大地降低对 SBC 的性能和容量要求, 有效地节约设备投入成本。 同时, 较少的 SIP号码处于 注册状态也意味着较低的 IP网络带宽占用, 这对 IP网络运营商降低设备投 入成本和降低网络负荷也是有直接效果的。 In the embodiment of the present invention, the SIP number is registered only when the SIP session is to be performed, and the SIP number is in the logout state at other times. In this way, when the call service system is set up, the performance and capacity requirements of the SBC can be greatly reduced, and the equipment input cost can be effectively saved. At the same time, the fact that fewer SIP numbers are registered also means lower IP network bandwidth usage, which is also directly effective for IP network operators to reduce equipment investment costs and reduce network load.
本领域普通技术人员可以理解上述方法中的全部或部分步骤可通过程序 来指令相关硬件完成, 所述程序可以存储于计算机可读存储介质中, 如只读 存储器、 磁盘或光盘等。 可选地, 上述实施例的全部或部分步骤也可以使用 一个或多个集成电路来实现。 相应地, 上述实施例中的各模块 /单元可以釆用 硬件的形式实现, 也可以釆用软件功能模块的形式实现。 本发明实施例不限 制于任何特定形式的硬件和软件的结合。 One of ordinary skill in the art will appreciate that all or a portion of the above steps may be accomplished by a program instructing the associated hardware, such as a read-only memory, a magnetic disk, or an optical disk. Alternatively, all or part of the steps of the above embodiments may also be implemented using one or more integrated circuits. Correspondingly, each module/unit in the above embodiment may be implemented in the form of hardware or in the form of a software function module. Embodiments of the invention are not limited to any particular form of combination of hardware and software.
以上仅为本发明的优选实施例, 当然, 本发明还可有其他多种实施例, 在不背离本发明实施例精神及其实质的情况下, 熟悉本领域的技术人员当可 根据本发明实施例作出一种或多种相应的改变和变形, 但这些相应的改变和 变形都应属于本发明实施例所附的权利要求的保护范围。 The above is only a preferred embodiment of the present invention, and of course, the present invention may be embodied in various other embodiments without departing from the spirit and scope of the embodiments of the present invention. One or more corresponding changes and modifications may be made in accordance with the embodiments of the present invention, but such changes and modifications are intended to be included within the scope of the appended claims.
工业实用性 Industrial applicability
本发明实施例提供一种基于 SIP进行会话的方法、 终端及呼叫业务服务 器, 有效地降低网络带宽占用, 特别是有效降低对 SBC等设备的容量和性能 要求, 以降低设备投入成本。  The embodiments of the present invention provide a SIP-based session method, a terminal, and a call service server, which effectively reduce network bandwidth occupation, and in particular, effectively reduce the capacity and performance requirements of devices such as SBCs, so as to reduce equipment input costs.

Claims

权 利 要 求 书 claims
1、 一种基于会话初始协议进行会话的方法, 包括: 1. A method for conducting sessions based on session initialization protocol, including:
终端与呼叫业务服务器建立传输控制协议链接或用户数据报协议链接; 所述终端开始会话初始协议会话时, 进行会话初始协议注册, 注册成功 后, 通过所述传输控制协议链接或用户数据报协议链接通知所述呼叫业务服 务器。 The terminal establishes a transmission control protocol link or a user datagram protocol link with the call service server; when the terminal starts a session initialization protocol session, it performs session initialization protocol registration. After successful registration, it passes the transmission control protocol link or user datagram protocol link. Notify the call service server.
2、如权利要求 1所述的方法,其中: 所述终端开始会话初始协议会话时, 进行会话初始协议注册, 包括: 2. The method of claim 1, wherein: when the terminal starts a session initialization protocol session, the terminal performs session initialization protocol registration, including:
所述终端作为主叫发起会话初始协议会话请求时, 通过接入网关向软交 换或 IP多媒体子系统核心网发起会话初始协议注册。 When the terminal initiates a session initialization protocol session request as the caller, it initiates session initialization protocol registration to the softswitch or IP multimedia subsystem core network through the access gateway.
3、如权利要求 1所述的方法,其中: 所述终端开始会话初始协议会话时, 进行会话初始协议注册, 包括: 3. The method of claim 1, wherein: when the terminal starts a session initialization protocol session, the terminal performs session initialization protocol registration, including:
所述终端作为被叫接收到会话初始协议会话请求后, 如接收到用户选择 接听的指令, 则通过接入网关向软交换或 IP多媒体子系统核心网发起会话初 始协议注册。 After receiving the session initialization protocol session request as the called party, the terminal initiates session initialization protocol registration to the softswitch or IP multimedia subsystem core network through the access gateway if it receives an instruction from the user to choose to answer.
4、 如权利要求 1-3任一项所述的方法, 其中: 所述终端开始会话初始协 议会话后, 还包括: 4. The method according to any one of claims 1-3, wherein: after the terminal starts a session initialization protocol session, it further includes:
所述终端结束会话初始协议会话, 进行会话初始协议注销, 注销成功后, 通过所述传输控制协议链接或用户数据报协议链接通知所述呼叫业务服务 器。 The terminal ends the session initialization protocol session, performs session initialization protocol logout, and after successful logout, notifies the call service server through the transmission control protocol link or the user datagram protocol link.
5、 一种终端, 包括: 5. A terminal, including:
建立模块, 设置为与呼叫业务服务器建立传输控制协议链接或用户数据 报协议链接; Establish a module and set it to establish a transmission control protocol link or a user datagram protocol link with the call service server;
注册模块, 设置为开始会话初始协议会话时, 进行会话初始协议注册, 注册成功后, 通过所述传输控制协议链接或用户数据报协议链接通知所述呼 叫业务服务器。 The registration module is configured to perform session initial protocol registration when starting a session initialization protocol session. After successful registration, notify the call service server through the transmission control protocol link or the user datagram protocol link.
6、 如权利要求 5所述的终端, 其中: 所述注册模块, 设置为开始会话初始协议会话时, 进行会话初始协议注 册包括: 作为主叫发起会话初始协议会话请求时, 通过接入网关向软交换或 6. The terminal according to claim 5, wherein: The registration module, when set to start a session initialization protocol session, performs session initialization protocol registration including: when initiating a session initialization protocol session request as the caller, through the access gateway to the softswitch or
IP多媒体子系统核心网发起会话初始协议注册。 The IP multimedia subsystem core network initiates session initialization protocol registration.
7、 如权利要求 5所述的终端, 其中: 7. The terminal as claimed in claim 5, wherein:
所述注册模块, 设置为开始会话初始协议会话时, 进行会话初始协议注 册包括: 作为被叫接收到会话初始协议会话请求后, 如接收到用户选择接听 的指令, 则通过接入网关向软交换或 IP多媒体子系统核心网发起会话初始协 议注册。 The registration module, when set to start a session initialization protocol session, performs session initialization protocol registration including: After receiving the session initialization protocol session request as the called party, if the user chooses to answer the instruction, then through the access gateway to the softswitch Or the IP multimedia subsystem core network initiates session initialization protocol registration.
8、 如权利要求 5-7任一项所述的终端, 其中: 所述终端还包括: 注销模块, 设置为结束会话初始协议会话, 进行会话初始协议注销, 注 销成功后, 通过所述传输控制协议链接或用户数据报协议链接通知所述呼叫 业务服务器。 8. The terminal according to any one of claims 5 to 7, wherein: the terminal further includes: a logout module, configured to end the session initialization protocol session, perform session initialization protocol logout, and after the logout is successful, use the transmission control The protocol link or user datagram protocol link notifies the call service server.
9、 一种基于会话初始协议进行会话的方法, 包括: 9. A method for conducting sessions based on session initialization protocol, including:
呼叫业务服务器签约注册后, 与终端建立传输控制协议链接或用户数据 报协议链接; After the call service server is signed and registered, it establishes a transmission control protocol link or a user datagram protocol link with the terminal;
所述呼叫业务服务器通过所述传输控制协议链接或用户数据报协议链接 接收到会话初始协议注册成功后, 进行会话初始协议会话处理。 After receiving the successful session initialization protocol registration through the transmission control protocol link or the user datagram protocol link, the call service server performs session initialization protocol session processing.
10、 如权利要求 9所述的方法, 其中: 所述呼叫业务服务器进行会话初 始协议会话处理, 包括: 10. The method of claim 9, wherein: the call service server performs session initialization protocol session processing, including:
所述呼叫业务服务器接收到所述终端发起的会话初始协议会话请求; 查询被叫终端的会话初始协议注册状态和闲忙状态, 根据所述注册状态 和闲忙状态进行会话处理。 The call service server receives the session initialization protocol session request initiated by the terminal; queries the session initialization protocol registration status and idle-busy status of the called terminal, and performs session processing according to the registration status and idle-busy status.
11、 如权利要求 10所述的方法, 其中: 所述呼叫业务服务器根据所述注 册状态和闲忙状态进行会话处理, 包括: 11. The method of claim 10, wherein: the call service server performs session processing according to the registration status and the idle/busy status, including:
所述呼叫业务服务器如查询到所述被叫终端处于未进行会话初始协议注 册和空闲状态, 则通过所述已建立的传输控制协议链接或用户数据^艮协议链 接, 通知所述被叫终端有呼叫抵达; 如查询到所述被叫终端已进行会话初始 协议注册且空闲状态,则直接下呼所述被叫终端已注册的会话初始协议号码; 如查询到所述被叫终端处理忙状态, 则通过所述已建立的传输控制协议链接 或用户数据报协议链接通知主叫终端。 If the call service server inquires that the called terminal is in an idle state without session initialization protocol registration, it will notify the called terminal through the established transmission control protocol link or user data protocol link. The call arrives; if it is found that the called terminal has been registered with the session initialization protocol and is idle, the call is made directly to the registered session initialization protocol number of the called terminal; If it is found that the called terminal is in a busy processing state, the calling terminal is notified through the established transmission control protocol link or user datagram protocol link.
12、 如权利要求 11所述的方法, 其中: 所述呼叫业务服务器通知所述被 叫终端有呼叫抵达后, 还包括: 12. The method of claim 11, wherein: after the calling service server notifies the called terminal that a call has arrived, it further includes:
所述呼叫业务服务器如接收到所述被叫终端发送会话初始协议注册成功 的通知, 则记录并下呼所述被叫终端注册成功的会话初始协议号码。 If the call service server receives a notification that the session initialization protocol registration is successful from the called terminal, it records and calls the session initialization protocol number of the called terminal that is successfully registered.
13、 如权利要求 12所述的方法, 其中: 所述记录并下呼所述被叫终端注 册成功的会话初始协议号码之后, 还包括: 13. The method of claim 12, wherein: after recording and calling the session initialization protocol number for which the called terminal has successfully registered, the method further includes:
所述呼叫业务服务器如接收到主叫终端或被叫终端的会话初始协议注销 通知, 则删除主叫终端或被叫终端对应的会话初始协议号码。 If the call service server receives a session initialization protocol logout notification from the calling terminal or the called terminal, it deletes the session initialization protocol number corresponding to the calling terminal or the called terminal.
14、 一种呼叫业务服务器, 包括: 14. A call service server, including:
建立模块, 设置为签约注册后, 与终端建立传输控制协议链接或用户数 据报协议链接; Establish a module, set it to sign and register, and establish a transmission control protocol link or user datagram protocol link with the terminal;
处理模块, 设置为通过所述传输控制协议链接或用户数据报协议链接接 收到会话初始协议注册成功后, 进行会话初始协议会话处理。 The processing module is configured to perform session initialization protocol session processing after receiving successful registration of the session initialization protocol through the transmission control protocol link or the user datagram protocol link.
15、 如权利要求 14所述的呼叫业务服务器, 其中: 15. The call service server as claimed in claim 14, wherein:
所述处理模块, 设置为进行会话初始协议会话处理包括: 接收到所述终 端发起的会话初始协议会话请求; 查询被叫终端的会话初始协议注册状态和 闲忙状态, 根据所述注册状态和闲忙状态进行会话处理。 The processing module is configured to perform session initialization protocol session processing including: receiving a session initialization protocol session request initiated by the terminal; querying the session initialization protocol registration status and idle/busy status of the called terminal, and based on the registration status and idleness status. Busy status for session processing.
16、 如权利要求 15所述的呼叫业务服务器, 其中: 16. The call service server as claimed in claim 15, wherein:
所述处理模块,设置为根据所述注册状态和闲忙状态进行会话处理包括: 如查询到所述被叫终端处于未进行会话初始协议注册和空闲状态, 则通过所 述已建立的传输控制协议链接或用户数据报协议链接, 通知所述被叫终端有 呼叫抵达; 如查询到所述被叫终端已进行会话初始协议注册, 则直接下呼所 述被叫终端已注册的会话初始协议号码;如查询到所述被叫终端处理忙状态, 则通过所述已建立的传输控制协议链接或用户数据报协议链接通知主叫终 端。 The processing module is configured to perform session processing according to the registration status and idle/busy status, including: If it is found that the called terminal is in the session initialization protocol registration and idle status, use the established transmission control protocol link or user datagram protocol link to notify the called terminal that a call has arrived; if it is found that the called terminal has registered the session initialization protocol, the called terminal will directly call the registered session initialization protocol number; If it is found that the called terminal is in a busy state, the calling terminal is notified through the established transmission control protocol link or user datagram protocol link.
17、 如权利要求 16所述的呼叫业务服务器, 其中: 所述处理模块, 还设置为通知所述被叫终端有呼叫抵达之后: 如接收到 所述被叫终端发送会话初始协议注册成功的通知, 则记录并下呼所述被叫终 端注册成功的会话初始协议号码。 17. The call service server as claimed in claim 16, wherein: The processing module is further configured to notify the called terminal that after a call arrives: if a notification of successful session initialization protocol registration is received from the called terminal, record and place a call to the session in which the called terminal has successfully registered. Initial agreement number.
18、 如权利要求 17所述的呼叫业务服务器, 其中: 18. The call service server as claimed in claim 17, wherein:
所述处理模块, 还设置为记录并下呼所述被叫终端注册成功的会话初始 协议号码之后, 如接收到主叫终端或被叫终端的会话初始协议注销通知, 则 删除主叫终端或被叫终端对应的会话初始协议号码。 The processing module is also configured to record and call the session initialization protocol number of the called terminal that has been successfully registered. If a session initialization protocol deregistration notification from the calling terminal or the called terminal is received, delete the calling terminal or the called terminal. Call the session initialization protocol number corresponding to the terminal.
PCT/CN2014/077563 2013-09-22 2014-05-15 Method for performing session based on sip, terminal and call service server WO2014183654A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020167010718A KR101831083B1 (en) 2013-09-22 2014-05-15 Method for performing session based on sip, terminal and call service server

Applications Claiming Priority (4)

Application Number Priority Date Filing Date Title
CN201310433539.1 2013-09-22
CN201310433539 2013-09-22
CN201310566450.2A CN103716299B (en) 2013-09-22 2013-11-14 A kind of method to be conversated based on SIP, terminal and call business server
CN201310566450.2 2013-11-14

Publications (1)

Publication Number Publication Date
WO2014183654A1 true WO2014183654A1 (en) 2014-11-20

Family

ID=50408882

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2014/077563 WO2014183654A1 (en) 2013-09-22 2014-05-15 Method for performing session based on sip, terminal and call service server

Country Status (3)

Country Link
KR (1) KR101831083B1 (en)
CN (1) CN103716299B (en)
WO (1) WO2014183654A1 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110324317A (en) * 2019-05-31 2019-10-11 平安科技(深圳)有限公司 Method for processing business, device, equipment and storage medium
CN111614927A (en) * 2020-04-09 2020-09-01 视联动力信息技术股份有限公司 Video session establishment method, device, electronic equipment and storage medium
CN113612739A (en) * 2021-07-21 2021-11-05 青岛海信移动通信技术股份有限公司 Method and terminal equipment for recovering long-term evolution voice bearer registration

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103716299B (en) * 2013-09-22 2019-10-25 南京中兴新软件有限责任公司 A kind of method to be conversated based on SIP, terminal and call business server
CN108737322B (en) * 2017-04-13 2021-01-26 展讯通信(上海)有限公司 Service recovery method and device and mobile terminal
CN108881239B (en) * 2018-06-26 2021-06-15 中国联合网络通信集团有限公司 Software telephone, roaming method thereof and soft switch equipment
CN113645359B (en) * 2021-08-12 2023-09-19 迈普通信技术股份有限公司 Call backup and calling method, device, terminal, server and storage medium
CN113765894A (en) * 2021-08-13 2021-12-07 武汉极物智联科技有限公司 Method and system for intercommunication between soft and hard telephones in hospital based on SIP protocol
CN114553843A (en) * 2022-01-28 2022-05-27 号百信息服务有限公司 Method, device and electronic equipment for realizing video one-way and voice two-way communication

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070280136A1 (en) * 2006-05-31 2007-12-06 Lucent Technologies Inc. SIP-based instant messaging in mobile ad hoc networks
CN101098480A (en) * 2007-07-27 2008-01-02 中兴通讯股份有限公司 Set up box system and method for implementing IP communication
CN101132340A (en) * 2006-08-22 2008-02-27 中国科学院声学研究所 Signaling control method for P2P network sharing service based on IMS
CN101179630A (en) * 2006-11-10 2008-05-14 上海千首网络技术有限公司 Method of presenting simultaneously calling sign and other information in SIP communication network call
CN103716299A (en) * 2013-09-22 2014-04-09 中兴通讯股份有限公司 Method carrying out session based on SIP, terminal and call business server

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6625141B1 (en) * 1999-06-18 2003-09-23 Telefonaktiebolaget L M Ericsson (Publ) System and method for providing value-added services (VAS) in an integrated telecommunications network using session initiation protocol (SIP)
CN101009700A (en) * 2006-01-27 2007-08-01 华为技术有限公司 Method, application and device for the user state identification in the network
CN100442939C (en) * 2006-06-20 2008-12-10 华为技术有限公司 Optimizing method for one key pass through service call set-up time delay based on honeycomb network
CN101931620B (en) * 2009-05-20 2015-10-21 中兴通讯股份有限公司 Service implementation method and system, service capability server
CN102891831A (en) * 2011-07-20 2013-01-23 中兴通讯股份有限公司 Implement method of multimedia conferencing service and related equipment
CN103338267B (en) * 2013-07-18 2016-10-12 厦门大学 The intelligent movable community value-added service platform that a kind of SIP and Web service are merged

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070280136A1 (en) * 2006-05-31 2007-12-06 Lucent Technologies Inc. SIP-based instant messaging in mobile ad hoc networks
CN101132340A (en) * 2006-08-22 2008-02-27 中国科学院声学研究所 Signaling control method for P2P network sharing service based on IMS
CN101179630A (en) * 2006-11-10 2008-05-14 上海千首网络技术有限公司 Method of presenting simultaneously calling sign and other information in SIP communication network call
CN101098480A (en) * 2007-07-27 2008-01-02 中兴通讯股份有限公司 Set up box system and method for implementing IP communication
CN103716299A (en) * 2013-09-22 2014-04-09 中兴通讯股份有限公司 Method carrying out session based on SIP, terminal and call business server

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110324317A (en) * 2019-05-31 2019-10-11 平安科技(深圳)有限公司 Method for processing business, device, equipment and storage medium
CN110324317B (en) * 2019-05-31 2022-11-15 平安科技(深圳)有限公司 Service processing method, device, equipment and storage medium
CN111614927A (en) * 2020-04-09 2020-09-01 视联动力信息技术股份有限公司 Video session establishment method, device, electronic equipment and storage medium
CN113612739A (en) * 2021-07-21 2021-11-05 青岛海信移动通信技术股份有限公司 Method and terminal equipment for recovering long-term evolution voice bearer registration
CN113612739B (en) * 2021-07-21 2023-04-07 青岛海信移动通信技术股份有限公司 Method and terminal equipment for recovering long-term evolution voice bearer registration

Also Published As

Publication number Publication date
KR20160062081A (en) 2016-06-01
KR101831083B1 (en) 2018-02-21
CN103716299B (en) 2019-10-25
CN103716299A (en) 2014-04-09

Similar Documents

Publication Publication Date Title
WO2014183654A1 (en) Method for performing session based on sip, terminal and call service server
US7899168B2 (en) Controlling or monitoring PBX phone from multiple PC endpoints
JP4819923B2 (en) Session setting protocol based early media service providing method and session setting protocol based early media service providing application server
US8949442B2 (en) Facilitating early media in a communications system
US20080317233A1 (en) Method of setting up a call-back
US10320972B2 (en) Enhanced session initiation protocol recording
EP2991318B1 (en) Hybrid cloud architecture for media communications
US9271104B2 (en) Method and apparatus for dynamic device pairing
WO2012126382A1 (en) Method for implementing main exchange service and gateway apparatus
WO2014180289A1 (en) Session initiation protocol based session method, terminal, and server
US9071690B2 (en) Call transfer processing in SIP mode
CN108076055B (en) Method and device for controlling forced disconnection and forced insertion of SIP multi-party session
CN101877708A (en) Method and system for implementing multimedia conference in IMS network
WO2010091567A1 (en) System and method for switching click to dial service to multimedia conference service
US8559613B2 (en) Method and system for performing communication transfer service for access gateway control function user
JP6348875B2 (en) RELAY DEVICE, CALL CONTROL SYSTEM, CALL CONTROL METHOD, AND CALL CONTROL PROGRAM
WO2008154780A1 (en) Method for implementing call hold service of ip multimedia subsystem centralized service
RU2378785C2 (en) Providing timely multimedia in communication system
CN118368273A (en) Network connection control method, equipment and storage medium of IPPBX
US20140143314A1 (en) Communication system

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 14797971

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

ENP Entry into the national phase

Ref document number: 20167010718

Country of ref document: KR

Kind code of ref document: A

122 Ep: pct application non-entry in european phase

Ref document number: 14797971

Country of ref document: EP

Kind code of ref document: A1