WO2012013094A1 - Session establishment method and system based on dialog correlation identifier - Google Patents

Session establishment method and system based on dialog correlation identifier Download PDF

Info

Publication number
WO2012013094A1
WO2012013094A1 PCT/CN2011/075595 CN2011075595W WO2012013094A1 WO 2012013094 A1 WO2012013094 A1 WO 2012013094A1 CN 2011075595 W CN2011075595 W CN 2011075595W WO 2012013094 A1 WO2012013094 A1 WO 2012013094A1
Authority
WO
WIPO (PCT)
Prior art keywords
call request
request
header
session
dialog
Prior art date
Application number
PCT/CN2011/075595
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 中兴通讯股份有限公司
Publication of WO2012013094A1 publication Critical patent/WO2012013094A1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/11Allocation or use of connection identifiers

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Telephonic Communication Services (AREA)

Abstract

A session establishment method based on a dialog correlation identifier is provided by the present invention, in which dialog correlation information for identifying the initiated dialog is set. The method also includes: the dialog correlation information is inserted into the call request initiated by the call request initiator; after receiving the call request, the Application Server (AS) which performs the Back to Back User Agent (B2BUA) behavior generates the call request which will be sent to the receiver of the call request, wherein the call request which will be sent to the receiver of the call request carries the dialog correlation information; after receiving the call request sent by the B2BUA, the receiver of the call request establishes the dialog and stores the dialog correlation information. A session establishment system based on a dialog correlation identifier is provided by the present invention simultaneously. The present invention implements the quickness of the dialog confirmation, is compatible with the prior session establishment flow simultaneously, and ensures the generality of the technical solution.

Description

基于对话关联标识的^ ^建立方法及系统 技术领域  Method and system for establishing ^^ based on dialogue association identifier
本发明涉及会议业务的建立技术, 尤其涉及一种基于对话关联标识的 会话建立方法及系统。 背景技术  The present invention relates to a conference service establishment technique, and in particular, to a session establishment method and system based on a conversation association identifier. Background technique
第三代合作伙伴计划 ( 3GPP, 3rd Generation Partner Project )定义了应 用服务器 (AS , Application Server ) 在处理会话发起协议 (SIP, Session Initiation Protocol ) 消息时, 行为模式可以为代理( Proxy )、 路由背靠背用 户代理( Routing B2BU A , Routing Back to Back User Agent )或初始背靠背 用户代理(Initiating B2BUA )„ 当 AS 釆用 Routing B2BUA或 Initiating B2BUA行为模式时, AS两侧的会话标识(Dialog ID ) 经由 AS修改, AS 两侧的 Dialog ID将会不一样。  The 3rd Generation Partner Project (3GPP) defines the application server (AS, Application Server). When processing Session Initiation Protocol (SIP) messages, the behavior mode can be proxy (proxy), route back to back. User BPDU ( Routing B2BU A, Routing Back to Back User Agent) or Initial Back-to-Back User Agent (Initiating B2BUA) „ When the AS uses the Routing B2BUA or Initiating B2BUA behavior mode, the session IDs (Dialog IDs) on both sides of the AS are modified via AS. The Dialog IDs on both sides of the AS will be different.
图 1为呼叫请求路径中存在 B2BUA时的会话建立流程图,如图 1所示, B2BUA针对 UE-A发起的对话 1的呼叫请求, B2BUA-1由于执行 B2BUA 行为, 将会修改对话的 ID, 即修改为新的对话 2后再转发该呼叫请求。 具 体的会话建立流程如下:  Figure 1 is a flow chart of session establishment when there is a B2BUA in the call request path. As shown in Figure 1, the B2BUA is for the call request of the session 1 initiated by the UE-A. The B2BUA-1 will modify the ID of the session due to the B2BUA behavior. That is, after changing to the new conversation 2, the call request is forwarded. The specific session establishment process is as follows:
步骤 101 , UE-A发送一个呼叫请求, 其中携带的对话信息为对话 1 ; 步骤 102, 服务呼叫会话控制功能实体(S-CSCF, Serving Call Session Control Function )接收到该呼叫请求后, 根据用户 UE-A的签约规则, 将该 呼叫请求触发给 B2BUA- 1;  Step 101: The UE-A sends a call request, where the carried session information is the conversation 1; Step 102, after the service call session control function entity (S-CSCF, Serving Call Session Control Function) receives the call request, according to the user UE -A's signing rule, triggering the call request to B2BUA-1;
步骤 103 , 由于该 B2BUA- 1执行 B2BUA的功能, 当其接收到呼叫请 求后, 将该呼叫请求中的对话 1信息进行替换, 如替换成对话 2, 并将其转 发给 S-CCSF; 步骤 104, S-CSCF根据用户的签约规则, 可能还会将该呼叫请求触发 给其他的 AS , 最终到达被叫用户 UE-B; Step 103, because the B2BUA-1 performs the function of the B2BUA, when it receives the call request, replaces the dialog 1 information in the call request, for example, replaces the conversation 2, and forwards it to the S-CCSF; Step 104, the S-CSCF may also trigger the call request to other ASs according to the subscription rule of the user, and finally reach the called user UE-B;
步骤 105 , 被叫用户 UE-B接收到的呼叫请求中的对话信息就是对话 2 的信息, UE-B回复 200 OK应答消息;  Step 105: The dialog information in the call request received by the called user UE-B is the information of the dialog 2, and the UE-B replies with the 200 OK response message;
步骤 106, S-CSCF接收到该 200 OK应答后, 将该应答消息再触发给 B2BUA-1 ;  Step 106: After receiving the 200 OK response, the S-CSCF triggers the response message to B2BUA-1.
步骤 107, B2BUA-1根据之前对话信息转换的关系,将接收到的 200 OK 应答消息中的对话信息转换成对话 1的信息, 并转发给 S-CSCF;  Step 107, B2BUA-1 converts the dialog information in the received 200 OK response message into the information of the dialog 1 according to the relationship of the previous dialog information conversion, and forwards the information to the S-CSCF;
步骤 108, S-CSCF再将转换后的 200 OK应答消息转发给 UE-A;  Step 108, the S-CSCF forwards the converted 200 OK response message to the UE-A.
从图 1所示的会话建立流程可以看出, UE-A所面对的对话是对话 1 , 而 UE-B 所面对的对话是对话 2 , 对话 1 与对话 2 之间的关联管理由 B2BUA-1负责。  It can be seen from the session establishment process shown in FIG. 1 that the dialogue faced by UE-A is conversation 1, and the conversation faced by UE-B is conversation 2, and the association management between conversation 1 and conversation 2 is performed by B2BUA. -1 is responsible.
在现有技术中, 关于会议的建立有多种方式, 其中一种场景是通过会 议应用服务器将用户添加到会议业务中,其标准流程如图 2所示,其中 UE-A 与 UE-B之间先建立了一个会话, 然后 UE-A再建立一个会议业务, 希望将 UE-B添加到已建立的会议业务中, 从而实现多方通话。  In the prior art, there are multiple ways to establish a conference. One scenario is to add a user to the conference service through the conference application server. The standard process is shown in FIG. 2, where UE-A and UE-B are A session is established first, and then UE-A establishes another conference service, and it is desired to add UE-B to the established conference service, thereby implementing multi-party communication.
图 2为通过会议应用服务器将用户添加到会议业务中会议建立流程图, 如图 2所示, 具体包括以下步骤:  Figure 2 is a flowchart for establishing a conference for adding a user to a conference service through a conference application server. As shown in Figure 2, the following steps are specifically included:
步骤 201 , UE-A发起起呼请求;  Step 201: UE-A initiates a call request.
步骤 202, 由代理呼叫会话控制功能实体( P-CSCF, Proxy Call Session Control Function )将该起呼请求发送到为 UE-A服务的 S-CSCF;  Step 202: The call request control function entity (P-CSCF, Proxy Call Session Control Function) sends the call request to the S-CSCF serving the UE-A.
步骤 203 , S-CSCF将该起呼请求发送给被叫用户 UE-B;  Step 203: The S-CSCF sends the call request to the called user UE-B.
步骤 204〜步骤 206, UE-B发送 200 OK应答给 UE-A, 此时 UE-A和 UE-B之间建立的对话可以称为对话 1;  Step 204 to step 206, the UE-B sends a 200 OK response to the UE-A, and the session established between the UE-A and the UE-B may be referred to as the conversation 1;
步骤 207, UE-A希望进行多方通话,于是发起会议建立请求给会议 AS; 步骤 208~步骤 209 , 通过 P-CSCF, S-CSCF将该会议建立请求发送给 会议 AS; Step 207, UE-A wants to make a multi-party call, and then initiates a conference establishment request to the conference AS; Step 208 to step 209, the P-CSCF, the S-CSCF sends the conference establishment request to the conference AS;
步骤 210~步骤 212,会议 AS接收 UE-A的会议建立,向 UE-A返回 200 OK应答, 此时 UE- A和会议 AS之间建立的对话 2;  Step 210 to step 212, the conference AS receives the conference establishment of the UE-A, and returns a 200 OK response to the UE-A. At this time, the conversation established between the UE-A and the conference AS 2;
步骤 213~步骤 215 ,此时 UE-A希望将 UE-B添加到刚建立的会议业务 中, 并替代原来 UE-A和 UE-B之间的对话, UE-A向会议 AS发送转移 ( REFER )请求, 其中携带有一个 Replacess头域或参数, 其值为对话 1的 信息;  Step 213 to step 215, at this time, UE-A wants to add UE-B to the newly established conference service, and replaces the conversation between the original UE-A and UE-B, and UE-A sends a handover to the conference AS (REFER). a request, which carries a Replacess header field or parameter whose value is the information of the dialog 1;
步骤 216~步骤 217, 会议 AS收到该转移请求后, 向被叫用户 UE-B发 送一个新的呼叫请求, 其中也携带有一个 Replacess头域或参数, 其值为对 话 1的信息;  Step 216 to step 217, after receiving the transfer request, the conference AS sends a new call request to the called user UE-B, which also carries a Replacess header field or parameter whose value is the information of the conversation 1;
步骤 218, UE-B收到该呼叫请求后, 首先找到 UE-B上的对话 1信息, 确定该新的呼叫是要替代原来建立的对话 1 ;  Step 218: After receiving the call request, the UE-B first finds the session 1 information on the UE-B, and determines that the new call is to replace the originally established session 1;
步骤 219~步骤 220, 当 UE-B同意该请求后, 向会议 AS发送 200 OK 应答;  Step 219 to step 220, after the UE-B agrees to the request, sending a 200 OK response to the conference AS;
步骤 221 ~步骤 223 , 同时 UE-B向 UE- A发送请求结束原来的对话 1; 步骤 224~步骤 226, UE-A发送 200 OK, 接受对话 1的结束。  Step 221 to step 223, at the same time, UE-B sends a request to UE-A to end the original conversation 1; Step 224~Step 226, UE-A sends 200 OK, accepting the end of conversation 1.
此时对话 1被替换到了会议业务中, 但在上面的过程中没有考虑会话 建立的过程中有 B2BUA的情况, 由于在现有的 IMS的网络中, 有^^多的 At this time, the dialog 1 is replaced by the conference service, but in the above process, there is no case of B2BUA in the process of session establishment, because there are ^^ in the existing IMS network.
AS会参与到用户的会话中为用户服务,所以在会话建立的过程中有 B2BU A 的出现是很常见的情况。 The AS will participate in the user's session to serve the user, so it is very common to have B2BU A in the process of session establishment.
图 3为现有会议业务建立过程中有 B2BUA的流程图, 如图 3所示,在 图 2所示的会议建立过程中出现 B2BUA时, 具体处理流程如下:  Figure 3 is a flowchart of a B2BUA in the process of establishing a conference service. As shown in Figure 3, when a B2BUA occurs during the conference setup process shown in Figure 2, the process is as follows:
步骤 301~步骤 302, 用户发起一个起呼请求, 与图 2所示的步骤 201~ 步骤 202相同; 步骤 303 , S-CSCF 根据用户的签约规则, 将该起呼请求触发给 B2BUA-1 ; Step 301 to step 302, the user initiates a call request, which is the same as steps 201 to 202 shown in FIG. 2; Step 303: The S-CSCF triggers the call request to the B2BUA-1 according to the subscription rule of the user.
步骤 304 , 由于 B2BUA-1 是作为背靠背用户代理起作用, 因此, B2BUA-1将起呼请求的对话 1信息替换成对话 A再转发给 UE-B;  Step 304, since the B2BUA-1 functions as a back-to-back user agent, the B2BUA-1 replaces the session 1 information of the call request with the dialog A and then forwards it to the UE-B;
步骤 305 , UE-B回复 200 OK应答,此时 UE-B上建立的对话信息是对 话 2;  Step 305, the UE-B replies with a 200 OK response, and the session information established on the UE-B is the conversation 2;
步骤 306~步骤 308, B2BUA-1将 UE-B的 200 OK转发给 UE-A, 其中 再将对话 A转换成对话 1的信息, 此时在 UE-A上建立的是对话 1 ;  Step 306~ Step 308, B2BUA-1 forwards the 200 OK of the UE-B to the UE-A, where the dialog A is converted into the information of the dialog 1, and the session 1 is established on the UE-A;
步骤 309~步骤 319 , 是会议建立的过程, 该会议建立过程与图 2所示 的步骤 207~步骤 217相同;  Step 309 to step 319 are the process of establishing a conference, and the process of establishing the conference is the same as steps 207 to 217 shown in FIG. 2;
步骤 320, 当 UE-B收到会议 AS发送的呼叫请求后, 对对话 1进行查 找, 由于之前对话 1的建立过程中经过了一个 B2BUA-1 , 所以在 UE-B上 并没有对话 1的信息;  Step 320: After receiving the call request sent by the conference AS, the UE-B searches for the dialog 1. Since a B2BUA-1 has passed during the establishment of the previous conversation 1, there is no information of the conversation 1 on the UE-B. ;
步骤 321 , 由于找不到对话 1的信息, UE-B会拒绝会议 AS发送过来 的呼叫请求, 从而使该添加过程失败。  Step 321 : Since the information of the conversation 1 is not found, the UE-B rejects the call request sent by the conference AS, so that the adding process fails.
而在非 IP多媒体子系统( IMS , IP Multimedia Subsystem )的应用场景 下, 同样会出现上述的问题。 如呼叫经过一个或多个 B2BUA设备 (如边界 会话控制器( SBC, Session Border Controllers ) ), 而该 /这些 B2BUA设备对 呼叫的 Dialog标识进行修改, 从而导致后续的 Replaces过程无法进行。 发明内容  In the application scenario of the non-IP multimedia subsystem (IMS, IP Multimedia Subsystem), the above problem also occurs. If the call passes through one or more B2BUA devices (such as Session Border Controllers (SBCs)), and the B2BUA devices modify the Dialog ID of the call, the subsequent Replaces process cannot be performed. Summary of the invention
有鉴于此, 本发明的主要目的在于提供一种基于对话关联标识的会话 建立方法及系统, 能在替换呼叫建立过程中准确定位所替换对话。  In view of this, the main object of the present invention is to provide a session establishment method and system based on a conversation association identifier, which can accurately locate the replaced conversation in the replacement call setup process.
为达到上述目的, 本发明的技术方案是这样实现的:  In order to achieve the above object, the technical solution of the present invention is achieved as follows:
一种基于对话关联标识的会话建立方法, 设置用于标识所发起对话的 对话关联信息; 所述方法还包括: 在呼叫请求发起方发起的呼叫请求中插入所述对话关联信息; A method for establishing a session based on a conversation association identifier, and setting session association information for identifying the initiated conversation; the method further includes: Inserting the dialog association information in a call request initiated by a call request originator;
B2BUA接收到所述呼叫请求后, 生成发送至呼叫请求接收方的呼叫请 求, 所述发送至呼叫请求接收方的呼叫请求中携带有所述对话关联信息; 所述呼叫请求接收方接收所述 B2BUA发送的呼叫请求后建立对话,并 保存所述对话关联信息;  After receiving the call request, the B2BUA generates a call request sent to the call request receiver, where the call request sent to the call request receiver carries the dialog association information; and the call request receiver receives the B2BUA Establishing a conversation after the sent call request, and saving the conversation association information;
会话一方确定发起替换呼叫时, 构造带有 Replaces头部的请求发送至 所述 B2BUA; 其中, 所述带有 Replaces头部的请求中携带有所述对话关联 信息。  When the session party determines to initiate the replacement call, the request with the Replaces header is sent to the B2BUA; wherein the request with the Replaces header carries the session association information.
优选地, 所述方法还包括:  Preferably, the method further includes:
所述 B2BUA接收到带有 Replaces头部的请求后,生成发送至会话另一 方的带有 Replaces头部的请求; 其中, 所生成的带有 Replaces头部的请求 中携带有所述对话关联信息;  After receiving the request with the Replaces header, the B2BUA generates a request with a Replaces header sent to the other party of the session; wherein the generated request with the Replaces header carries the dialog association information;
所述会话另一方收到所述带有 Replaces头部的请求后, 根据所述对话 关联信息释放所关联的呼叫。  After receiving the request with the Replaces header, the other party of the session releases the associated call according to the conversation associated information.
优选地, 所述会话一方或会话另一方为用户、 用户代理或用户设备。 优选地, 所述带有 Replaces头部的请求包括 INVITE请求或 REFER请 求。  Preferably, the one party or the other party is a user, a user agent or a user equipment. Preferably, the request with a Replaces header includes an INVITE request or a REFER request.
优选地, 所述在呼叫请求发起方发起的呼叫请求中插入所述对话关联 信息, 和 /或在所述带有 Replaces头部的请求中携带有所述对话关联信息, 具体指:  Preferably, the session association information is inserted in a call request initiated by a call request originator, and/or the dialog association information is carried in the request with a Replaces header, specifically:
为呼叫请求和 /或带有 Replaces头部的请求设置会话发起协议 SIP头部 或 SIP头部参数,在所述 SIP头部或所述 SIP头部参数中承载所述对话关联 信息。  A session initiation protocol SIP header or SIP header parameter is set for the call request and/or the request with the Replaces header, and the session association information is carried in the SIP header or the SIP header parameter.
优选地, 所述对话关联信息为 Session ID。  Preferably, the session association information is a Session ID.
优选地, 所述方法还包括: 作为代理行为的 AS接收到呼叫请求和 /或带有 Replaces头部的请求后, 透传所述呼叫请求和 /或所述带有 Replaces头部的请求。 Preferably, the method further includes: After receiving the call request and/or the request with the Replaces header, the AS acting as a proxy transparently transmits the call request and/or the request with the Replaces header.
优选地, 所述方法还包括:  Preferably, the method further includes:
不支持携带所述对话关联信息的 SIP头部的 B2BUA或呼叫请求接收方 接收到带有该 SIP头部的呼叫请求后,所述 B2BUA或所述呼叫请求接收方 回复失败响应, 其中, 所述失败响应表示所述 B2BUA或所述呼叫请求接收 方不支持携带所述对话关联信息的 SIP 头部; 所述呼叫请求发起方重新构 造不携带所述对话关联信息的呼叫请求并重新发送。  The B2BUA or the call request receiver replies with a failure response after the B2BUA or the call request receiver that does not support the SIP header carrying the session association information receives the call request with the SIP header, where The failure response indicates that the B2BUA or the call request receiver does not support the SIP header carrying the conversation association information; the call request initiator reconstructs a call request that does not carry the conversation association information and retransmits.
一种基于对话关联标识的会话建立系统, 包括设置单元、 第一生成单 元、 第一接收单元、 第二生成单元、 第二接收单元、 对话建立单元、 保存 单元和第三生成单元; 所述第一接收单元和所述第二生成单元位于 B2BUA 中, 所述第二接收单元、 所述对话建立单元和所述保存单元位于所述呼叫 请求接收方中; 所述第三生成单元位于会话的一方中; 其中,  A session establishing system based on a conversation association identifier, comprising: a setting unit, a first generating unit, a first receiving unit, a second generating unit, a second receiving unit, a dialog establishing unit, a saving unit, and a third generating unit; a receiving unit and the second generating unit are located in the B2BUA, the second receiving unit, the dialog establishing unit and the saving unit are located in the call request receiving party; and the third generating unit is located in a side of the session Medium; among them,
设置单元, 用于设置用于标识所发起对话的对话关联信息;  a setting unit, configured to set conversation association information used to identify the initiated conversation;
第一生成单元, 用于生成发送至呼叫请求接收方的呼叫请求; 其中, 所述呼叫请求中携带有所述对话关联信息;  a first generating unit, configured to generate a call request sent to a call request receiver, where the call request carries the dialog association information;
第一接收单元, 用于接收所述呼叫请求;  a first receiving unit, configured to receive the call request;
第二生成单元, 用于在所述第一接收单元接收到所述呼叫请求后, 生 成发送至呼叫请求接收方的呼叫请求, 所述发送至呼叫请求接收方的呼叫 请求中携带有所述对话关联信息;  a second generating unit, configured to: after the first receiving unit receives the call request, generate a call request sent to a call request receiver, where the call request sent to the call request receiver carries the conversation Associated information;
第二接收单元,位于所述呼叫请求接收方, 用于接收所述 B2BUA发送 的呼叫请求;  a second receiving unit, located at the call request receiving party, configured to receive a call request sent by the B2BUA;
对话建立单元, 用于在所述第二接收单元接收到所述呼叫请求后建立 对话;  a dialog establishing unit, configured to establish a dialog after the second receiving unit receives the call request;
保存单元, 用于保存所述对话关联信息; 第三生成单元, 用于在会话一方确定发起替换呼叫时, 生成带有a saving unit, configured to save the conversation association information; a third generating unit, configured to generate, when the session party determines to initiate a replacement call
Replaces头部的请求发送至所述 B2BUA; 其中, 所述带有 Replaces头部的 请求中携带有所述对话关联信息。 The request of the Replaces header is sent to the B2BUA; wherein the request with the Replaces header carries the dialog association information.
优选地, 所述系统还包括释放单元, 位于会话另一方中; 其中, 在所述第一接收单元接收到带有 Replaces头部的请求后, 所述第二生 成单元生成发送至会话另一方的带有 Replaces头部的请求; 其中, 所生成 的带有 Replaces头部的请求中携带有所述对话关联信息;  Preferably, the system further includes a release unit, located in the other party of the session; wherein, after the first receiving unit receives the request with the Replaces header, the second generating unit generates and sends the message to the other party of the session. a request with a Replaces header; wherein the generated request with a Replaces header carries the dialog associated information;
释放单元, 用于在所述会话另一方收到所述带有 Replaces头部的请求 后, 根据所述对话关联信息释放所关联的呼叫。  And a releasing unit, configured to release the associated call according to the session association information after the other party of the session receives the request with the Replaces header.
优选地, 所述会话一方或会话另一方为用户、 用户代理或用户设备; 所述带有 Replaces头部的请求包括 INVITE请求或 REFER请求。  Preferably, the one party or the other party is a user, a user agent or a user equipment; the request with a Replaces header includes an INVITE request or a REFER request.
优选地, 所述设置单元进一步用于为呼叫请求及带有 Replaces头部的 请求设置 SIP头部或 SIP头部参数,在所述 SIP头部或所述 SIP头部参数中 承载所述对话关联信息。  Preferably, the setting unit is further configured to set a SIP header or a SIP header parameter for a call request and a request with a Replaces header, and carry the dialog association in the SIP header or the SIP header parameter information.
优选地, 所述系统还包括透传单元, 位于作为代理行为的 AS中, 用于 在接收到呼叫请求及带有 Replaces头部的请求后, 透传所述呼叫请求及所 述带有 Replaces头部的请求。  Preferably, the system further includes a transparent transmission unit, located in the AS as a proxy behavior, for transparently transmitting the call request and the replacements header after receiving the call request and the request with the Replaces header Ministry's request.
优选地, 所述系统还包括:  Preferably, the system further comprises:
第一回复单元, 位于不支持携带所述对话关联信息的 SIP 头部的 B2BUA中, 用于在所述第一接收单元接收到携带所述 SIP头部的呼叫请求 后, 向呼叫请求接收方回复失败响应, 其中, 所述失败响应表示 B2BUA不 支持携带所述对话关联信息的 SIP头部;  a first replying unit, located in a B2BUA that does not support the SIP header that carries the session association information, is configured to: after the first receiving unit receives the call request that carries the SIP header, reply to the call request receiver a failure response, where the failure response indicates that the B2BUA does not support the SIP header carrying the conversation association information;
所述第一生成单元重新生成发送至所述呼叫请求接收方的、 不携带所 述对话关联信息的呼叫请求。  The first generating unit regenerates a call request sent to the call request recipient that does not carry the dialog associated information.
优选地, 所述系统还包括: 第二回复单元, 位于不支持携带所述对话关联信息的 SIP 头部的呼叫 请求接收方中,在所述第二接收单元接收到所述 B2BUA转发的携带所述对 话关联信息的 SIP 头部的呼叫请求后, 向呼叫请求接收方回复失败响应, 其中, 所述失败响应表示所述呼叫请求接收方不支持携带所述对话关联信 息的 SIP头部; Preferably, the system further comprises: a second reply unit, in a call request receiver that does not support the SIP header that carries the dialog association information, where the second receiving unit receives the SIP header that is forwarded by the B2BUA and carries the dialog association information. After the call request, the call request recipient is replied to the failure response, where the failure response indicates that the call request receiver does not support the SIP header carrying the conversation association information;
所述第一生成单元重新生成发送至所述呼叫请求接收方的、 不携带所 述对话关联信息的呼叫请求。  The first generating unit regenerates a call request sent to the call request recipient that does not carry the dialog associated information.
本发明中, 通过设置标识所发起对话的对话关联信息, 并在生成呼叫 请求及带有 Replaces头部的请求时插入所述对话关联信息, 这样, B2BUA 接收到携带对话关联信息的呼叫请求时, 将不会修改所述对话关联信息, 而是直接进行拷贝后发送给其他网元; 而呼叫请求接收方接收到携带对话 关联信息的呼叫请求后,保存该对话关联信息。会话一方发起带有 Replaces 头部的请求时, 会话另一方接收到携带有对话关联信息的带有 Replaces头 部的请求后, 可以直接根据对话关联信息确定出替换的对话, 从而实现相 关会议业务的建立。 当 B2BUA或呼叫接收方不支持扩展的呼叫请求时,还 会通知呼叫请求发起方重新生成不携带对话关联信息的普通呼叫请求。 本 发明实现了对话确认的快捷性, 同时也兼容现有的会话建立流程, 保证了 技术方案的通用性。 附图说明  In the present invention, by setting the dialog association information identifying the initiated conversation, and inserting the dialog association information when generating the call request and the request with the Replaces header, when the B2BUA receives the call request carrying the conversation associated information, The session association information will not be modified, but will be directly copied and sent to other network elements. After receiving the call request carrying the session association information, the call request receiver saves the session association information. When a session party initiates a request with a Replaces header, the other party of the session receives the request with the Replaces header carrying the session association information, and can directly determine the replacement session according to the session association information, thereby implementing the related conference service. set up. When the B2BUA or the call recipient does not support the extended call request, the call request originator is also notified to regenerate the normal call request that does not carry the session associated information. The invention realizes the quickness of the dialogue confirmation, and is also compatible with the existing session establishment process, thereby ensuring the versatility of the technical solution. DRAWINGS
图 1为呼叫请求路径中存在 B2BUA时的会话建立流程图;  FIG. 1 is a flowchart of establishing a session when a B2BUA exists in a call request path;
图 2为通过会议应用服务器将用户添加到会议业务中会议建立流程图; 图 3为现有会议业务建立过程中有 B2BUA的流程图;  2 is a flowchart for establishing a conference by adding a user to a conference service through a conference application server; FIG. 3 is a flowchart of a B2BUA in an existing conference service establishment process;
图 4为本发明基于对话关联标识的会话建立方法的流程图;  4 is a flowchart of a session establishment method based on a conversation association identifier according to the present invention;
图 5为本发明会议建立流程中 B2BUA不支 SIP头部或 SIP参数的流程 图; 图 6为本发明会议建立流程中接收方不支 SIP头部或 SIP参数的流程 图; 5 is a flowchart of a B2BUA not supporting a SIP header or a SIP parameter in a conference establishment process according to the present invention; 6 is a flowchart of a receiver not supporting a SIP header or a SIP parameter in a conference establishment process according to the present invention;
图 7为本发明基于对话关联标识的会话建立系统的第一种组成结构示 意图;  7 is a schematic diagram of a first component structure of a session establishment system based on a conversation association identifier according to the present invention;
图 8为本发明基于对话关联标识的会话建立系统的第二种组成结构示 意图。 具体实施方式  FIG. 8 is a schematic diagram showing a second composition structure of a session establishment system based on a conversation association identifier according to the present invention. detailed description
本发明基本思想为, 通过设置标识所发起对话的对话关联信息, 并在 生成呼叫请求及带有 Replaces头部的请求时插入所述对话关联信息,这样, B2BUA接收到携带对话关联信息的呼叫请求时, 将不会修改所述对话关联 信息, 而是直接进行拷贝后发送给其他网元; 而呼叫请求接收方接收到携 带对话关联信息的呼叫请求后, 保存该对话关联信息。 会话一方发起带有 Replaces 头部的请求时, 会话另一方接收到携带有对话关联信息的带有 Replaces头部的请求后,可以直接根据对话关联信息确定出替换的对话,从 而实现相关会议业务的建立。当 B2BUA或呼叫接收方不支持扩展的呼叫请 求时, 还会通知呼叫请求发起方重新生成不携带对话关联信息的普通呼叫 请求。  The basic idea of the present invention is to insert the dialog association information by setting the dialog association information identifying the initiated conversation and inserting the dialog association information when generating the call request and the request with the Replaces header, so that the B2BUA receives the call request carrying the conversation associated information. The session association information will not be modified, but will be directly copied and sent to other network elements. After the call request receiver receives the call request carrying the session association information, the session association information is saved. When a session party initiates a request with a Replaces header, the other party of the session receives the request with the Replaces header carrying the session association information, and can directly determine the replacement session according to the session association information, thereby implementing the related conference service. set up. When the B2BUA or the call recipient does not support the extended call request, the call request originator is also notified to regenerate the normal call request that does not carry the session associated information.
为使本发明的目的、 技术方案和优点更加清楚明白, 以下举实施例并 参照附图, 对本发明进一步详细说明。  The present invention will be further described in detail below with reference to the accompanying drawings.
本发明中, 首先设置用于标识所发起对话的对话关联信息; 这样, 在 呼叫请求发起方发起的呼叫请求中插入所述对话关联信息; 作为执行 B2BUA行为的 AS接收到所述呼叫请求后, 生成发送至呼叫请求接收方的 呼叫请求, 所述发送至呼叫请求接收方的呼叫请求中携带有所述对话关联 信息; 所述呼叫请求接收方接收所述 B2BUA发送的呼叫请求后建立对话, 并保存所述对话关联信息。 具体的, 为呼叫请求设置 SIP头部或 SIP参数, 所述 SIP头部或 SIP参数承载所述对话关联信息。 In the present invention, the dialog association information for identifying the initiated conversation is first set; thus, the dialog association information is inserted in the call request initiated by the call request originator; and after the AS performing the B2BUA behavior receives the call request, Generating a call request sent to the call request recipient, where the call request sent to the call request receiver carries the dialog association information; the call request receiver establishes a dialog after receiving the call request sent by the B2BUA, and Save the conversation related information. Specifically, setting a SIP header or SIP parameter for the call request, The SIP header or SIP parameter carries the dialog association information.
会话一方确定发起替换呼叫时, 构造带有 Replaces头部的请求并发送 至所述 B2BUA; 其中, 所述带有 Replaces头部的请求中携带有所述对话关 联信息;  When the session party determines to initiate the replacement call, constructs a request with a Replaces header and sends the request to the B2BUA; wherein the request with the Replaces header carries the session association information;
所述 B2BUA接收到带有 Replaces头部的请求后,生成发送至会话另一 方的带有 Replaces头部的请求; 其中, 所生成的带有 Replaces头部的请求 中携带有所述对话关联信息。 为带有 Replaces头部的请求设置会话发起协 议 SIP头部, 所述 SIP头部承载所述对话关联信息。  After receiving the request with the Replaces header, the B2BUA generates a request with a Replaces header sent to the other side of the session; wherein the generated request with the Replaces header carries the dialog associated information. A session initiation protocol SIP header is set for the request with the Replaces header, and the SIP header carries the session association information.
本发明中,作为代理行为的 AS接收到呼叫请求及带有 Replaces头部的 请求后, 透传所述呼叫请求及所述带有 Replaces头部的请求。  In the present invention, the AS acting as a proxy acts to transparently transmit the call request and the request with the Replaces header after receiving the call request and the request with the Replaces header.
当不支持携带所述对话关联信息的 SIP头部的 B2BUA或呼叫请求接收 方接收到带有该 SIP头部的呼叫请求后,所述 B2BUA或所述呼叫请求接收 方回复失败响应, 其中, 所述失败响应表示所述 B2BUA或所述呼叫请求接 收方不支持携带所述对话关联信息的 SIP 头部; 所述呼叫请求发起方重新 构造不携带所述对话关联信息的呼叫请求并重新发送。  When the B2BUA or the call request receiver that does not support the SIP header carrying the session association information receives the call request with the SIP header, the B2BUA or the call request receiver replies with a failure response, where The failure response indicates that the B2BUA or the call request receiver does not support the SIP header carrying the conversation association information; the call request initiator reconstructs a call request that does not carry the conversation association information and retransmits.
以下通过具体示例, 进一步阐明本发明技术方案的实质。  The essence of the technical solution of the present invention will be further clarified by specific examples below.
图 4为本发明基于对话关联标识的会话建立方法的流程图, 如图 4所 示, UA为用户代理( User Agent ), 具体分为客户端用户代理( UAC )、 服 务端用户代理(UAS ); 本发明基于对话关联标识的会话建立方法包括以下 步骤:  FIG. 4 is a flowchart of a method for establishing a session based on a conversation association identifier according to the present invention. As shown in FIG. 4, the UA is a user agent, which is specifically divided into a client user agent (UAC) and a server user agent (UAS). The session establishment method based on the conversation association identifier of the present invention includes the following steps:
步骤 401 , UAC需要发送呼叫请求, 而在构造呼叫请求消息的同时, 构造 Dialog Correlation Header, 在呼叫请求消息中插入有一个唯一的呼叫 标识, 用于标识呼叫 ( Call或 Session );  Step 401: The UAC needs to send a call request, and constructs a Dialog Correlation Header while constructing the call request message, and inserts a unique call identifier in the call request message to identify the call (Call or Session);
步骤 402 , UAC发送该呼叫请求;  Step 402: The UAC sends the call request.
步骤 403 , 如果呼叫路径中存在 Proxy, Proxy需要透传该呼叫请求消 息, 透传消息中包括 Dialog Correlation Header; Step 403: If a proxy exists in the call path, the proxy needs to transparently transmit the call request. Information, transparent messages include Dialog Correlation Header;
步骤 404 , 该 Proxy转发所透传的消息;  Step 404: The Proxy forwards the transparently transmitted message.
步骤 405 ,对于 B2BUA设备(如 AS、 SBC、 BGW等),需要拷贝 Dialog Correlation Header, 并构造转发到呼叫接收方的呼叫请求消息;  Step 405: For the B2BUA device (such as AS, SBC, BGW, etc.), the Dialog Correlation Header needs to be copied, and a call request message forwarded to the call recipient is constructed;
步骤 406, 该 B2BUA将所构造的呼叫请求消息, 用新的 Dialog ID发 送; 这与现有的呼叫处理流程的处理方式相同;  Step 406, the B2BUA sends the constructed call request message with a new Dialog ID; this is the same as the existing call processing flow;
步骤 407, UAS接收到呼叫请求消息后,保存 Dialog Correlation Header 及其中的呼叫关联标识;  Step 407, after receiving the call request message, the UAS saves the Dialog Correlation Header and the call association identifier therein;
步骤 408, U AS发送响应消息, 其中携带 Dialog Correlation Header, 当然, 在发送的响应消息中, 也可以不必携带 Dialog Correlation Header; 步骤 409, B2BUA拷贝其中的 Dialog Correlation Header, 构造发送给 呼叫发起方的响应消息, 并向下一跳发送;  Step 408, the U AS sends a response message, which carries the Dialog Correlation Header. Of course, in the response message sent, it is not necessary to carry the Dialog Correlation Header; Step 409, the B2BUA copies the Dialog Correlation Header, and constructs the Dialog Correlation Header to be sent to the call originator. Respond to the message and send it to the next hop;
步骤 410 , Proxy透传响应消息, 及其中的 Dialog Correlation Header; 步骤 411 , UAC或 UAS的任意一方, 后续需要发起呼叫替换请求, 根 据 Dialog Correlation Header构造 Replacess头部及参数;本示例中,由 UAC 发起呼叫替换请求;  Step 410: The Proxy transparently transmits the response message, and the Dialog Correlation Header therein; Step 411, either UAC or UAS, subsequently needs to initiate a call replacement request, and constructs a Replacess header and parameters according to the Dialog Correlation Header; in this example, by UAC Initiating a call replacement request;
步骤 412, 该 UAC (或 UAS )发送呼叫替换请求消息, 携带所构造的 Replacess头部及参数,呼叫替换请求消息可以是携带 Replacess头部的任意 请求消息, 如 INVITE消息或 Refer消息等;  Step 412, the UAC (or UAS) sends a call replacement request message, carrying the configured Replacess header and parameters, and the call replacement request message may be any request message carrying a Replacess header, such as an INVITE message or a Refer message;
步骤 413 , Proxy透传此消息 , 及其中的 Replacess头部及参数; 步骤 414, B2BUA拷贝其中的 Replacess头部及参数, 并构造发送至会 话另一方的带有 Replaces头部的请求消息;  Step 413, the Proxy transparently transmits the message, and the Replacess header and parameters therein; Step 414, the B2BUA copies the Replacess header and parameters therein, and constructs a request message with a Replaces header sent to the other party of the session;
步骤 415 , 该 B2BUA将所构造的带有 Replaces头部的请求消息, 用新 的 Dialog ID发送; 这与现有的会议建立处理方式相同;  Step 415, the B2BUA sends the constructed request message with the Replaces header to the new Dialog ID; this is the same as the existing conference establishment processing;
步骤 416, UAS (或 UAC )接收到此消息, 并根据 Replaces中的呼叫 关联标识与所记录的呼叫关联标识比较, 并替换关联到的那路呼叫; 这里, 比较时, UAS (或 UAC )需要比较所记录的 Dialog Correlation Header中的 呼叫关联标识, 以及在原呼叫没有带 Dialog Correlation Header时, 比较所 记录的 Dialog ID。 Step 416, UAS (or UAC) receives the message and according to the call in Replaces The association identifier is compared with the recorded call association identifier and replaces the associated call; here, when comparing, the UAS (or UAC) needs to compare the call association identifier in the recorded Dialog Correlation Header, and the original call does not have a Dialog. When the Correlation Header is compared, the recorded Dialog ID is compared.
本发明中, UAC 可以决定, 本次发起的呼叫请求中携带 Dialog In the present invention, the UAC can decide to carry the Dialog in the call request initiated this time.
Correlation Header或者不携带 Dialog Correlation Header„也可以作为一种选 择策略进行配置, 如在组网环境不存在 B2BUA设备时, 可以选择不携带 Dialog Correlation Header。 The Correlation Header or the Dialog Correlation Header can also be configured as a selection strategy. For example, when there is no B2BUA device in the networking environment, you can choose not to carry the Dialog Correlation Header.
考虑到设备的互通性, 也可以定义一种 SIP 的能力表示对 Dialog Correlation Header 支持 ( new Require/Supported header option tag ) 标 i只 , 如将该标识设置为 "DC"。 当 UAC 所发送的呼叫请求中, 带有 Dialog Correlation Header, 同时在 Require头部中, 设置对应的标识如 "DC"。 当 呼叫路径中存在网元, 如 B2BUA, 或 UAS, 不支持此头部, 而拒绝该呼叫 请求后, UAC应重新发起不带 Dialog Correlation Header的呼叫请求。  Considering the interoperability of the device, it is also possible to define a SIP capability representation for the Dialog Correlation Header support (new Require/Supported header option tag), if the flag is set to "DC". When the call request sent by UAC is accompanied by Dialog Correlation Header, in the Require header, the corresponding identifier such as "DC" is set. When there is a network element in the call path, such as B2BUA, or UAS, this header is not supported, and after rejecting the call request, the UAC should re-initiate the call request without the Dialog Correlation Header.
图 5为本发明会议建立流程中 B2BUA不支 SIP头部或 SIP参数的流程 图, 如图 5所示, 本示例会议建立流程包括以下步骤:  FIG. 5 is a flow chart of the B2BUA not supporting the SIP header or the SIP parameter in the conference establishment process of the present invention. As shown in FIG. 5, the example conference establishment process includes the following steps:
步骤 501 , UAC构造呼叫请求, 该呼叫请求中携带有 SIP头部或 SIP 参数, 而 SIP头部或 SIP参数中携带 Dialog Correlation Header,呼叫请求中 还可以携带一个表示是否支持该 Dialog Correlation Header的能力的标识, 如 DC;  Step 501: The UAC constructs a call request, where the call request carries a SIP header or a SIP parameter, and the SIP header or the SIP parameter carries a Dialog Correlation Header, and the call request may further carry a capability indicating whether the Dialog Correlation Header is supported. Identification, such as DC;
步骤 502 至步骤 504 , 中间网元(Proxy )透传请求消息、 中间网元 ( B2BUA )拷贝 SIP头部或 SIP参数;  Step 502 to step 504, the intermediate network element (Proxy) transparently transmits the request message, and the intermediate network element (B2BUA) copies the SIP header or the SIP parameter.
步骤 505至步骤 507, B2BUA不支持此头部,回复相应拒绝消息如 4xx, 表示拒绝, 并表示不支持携带有 Dialog Correlation Header的 SIP头部; 步骤 508 , UAC 接收到 4xx后, 重新发起呼叫请求, 不带 Dialog Correlation Header, 可以携带一个表示是否支持该 Dialog Correlation Header 的能力的标识。 Step 505 to step 507, the B2BUA does not support the header, and responds to the corresponding reject message, such as 4xx, indicating rejection, and indicates that the SIP header carrying the Dialog Correlation Header is not supported. Step 508, after receiving the 4xx, the UAC re-initiates the call request. Without Dialog The Correlation Header, which can carry an identifier indicating whether or not the Dialog Correlation Header is supported.
图 6为本发明会议建立流程中接收方不支 SIP头部或 SIP参数的流程 图, 如图 6所示, 本示例会议建立流程包括以下步骤:  Figure 6 is a flow chart of the SIP header or SIP parameters of the receiver in the conference establishment process of the present invention. As shown in Figure 6, the example conference establishment process includes the following steps:
步骤 601 , UAC构造呼叫请求, 呼叫请求中携带有 SIP头部或 SIP参 数, 而 SIP头部或 SIP参数中携带 Dialog Correlation Header,呼叫请求中还 可以携带一个表示是否支持该 Dialog Correlation Header的能力的标识, 如 DC;  Step 601: The UAC constructs a call request, where the call request carries a SIP header or a SIP parameter, and the SIP header or the SIP parameter carries a Dialog Correlation Header, and the call request may further carry a capability indicating whether the Dialog Correlation Header is supported. Identification, such as DC;
步骤 602 至步骤 604 , 中间网元(Proxy )透传请求消息、 中间网元 ( B2BUA )拷贝 SIP头部或 SIP参数;  Step 602 to step 604, the intermediate network element (Proxy) transparently transmits the request message, and the intermediate network element (B2BUA) copies the SIP header or the SIP parameter.
步骤 605至步骤 607, UAS不支持此 SIP头部或 SIP参数, 回复相应拒 绝消息如 4xx, 表示拒绝, 并表示不支持携带有 Dialog Correlation Header 的 SIP头部或 SIP参数;  Step 605 to step 607, the UAS does not support the SIP header or the SIP parameter, and responds to the corresponding reject message, such as 4xx, indicating rejection, and indicates that the SIP header or SIP parameter carrying the Dialog Correlation Header is not supported;
步骤 608 , UAC 接收到 4xx后, 重新发起呼叫请求, 不带 Dialog Correlation Header,可以携带一个表示是否支持该 Dialog Correlation Header 的能力的标识。  Step 608: After receiving the 4xx, the UAC re-initiates the call request without the Dialog Correlation Header, and may carry an identifier indicating whether the Dialog Correlation Header is supported.
作为一种实现方式,上述的 Dialog Correlation Header可以是 Session ID 的头部。  As an implementation, the above Dialog Correlation Header can be the header of the Session ID.
图 7为本发明基于对话关联标识的会话建立系统的第一种组成结构示 意图, 如图 7所示, 本发明基于对话关联标识的会话建立系统包括所述系 统包括设置单元 70、 第一生成单元 71、 第一接收单元 72、 第二生成单元 73、 第二接收单元 74、 对话建立单元 75、 保存单元 76和第三生成单元 77; 第一生成单元 71位于呼叫请求发起方中, 第一接收单元 72和第二生成单 元 73位于 B2BUA中, 第二接收单元 74、 对话建立单元 75和保存单元 76 位于所述呼叫请求接收方中; 第三生成单元 77位于会话的一方中; 其中, 设置单元 70, 用于设置用于标识所发起对话的对话关联信息; 第一生成单元 71 , 用于生成发送至呼叫请求接收方的呼叫请求; 其中, 所述呼叫请求中携带有所述对话关联信息; FIG. 7 is a schematic diagram of a first component structure of a session establishment system based on a session association identifier according to the present invention. As shown in FIG. 7, the session establishment system based on the session association identifier includes the system including a setting unit 70 and a first generation unit. 71. The first receiving unit 72, the second generating unit 73, the second receiving unit 74, the dialog establishing unit 75, the saving unit 76, and the third generating unit 77. The first generating unit 71 is located in the call request initiator, and the first receiving unit The unit 72 and the second generating unit 73 are located in the B2BUA, the second receiving unit 74, the dialog establishing unit 75 and the saving unit 76 are located in the call request receiving party; the third generating unit 77 is located in one of the sessions; The setting unit 70 is configured to set the dialog association information for identifying the initiated dialog. The first generating unit 71 is configured to generate a call request sent to the call request receiver, where the call request carries the dialog association information;
第一接收单元 72, 用于接收所述呼叫请求;  The first receiving unit 72 is configured to receive the call request.
第二生成单元 73 , 用于在第一接收单元 71接收到所述呼叫请求后, 生 成发送至呼叫请求接收方的呼叫请求, 所述发送至呼叫请求接收方的呼叫 请求中携带有所述对话关联信息;  a second generating unit 73, configured to: after the first receiving unit 71 receives the call request, generate a call request sent to a call request receiver, where the call request sent to the call request receiver carries the dialog Associated information;
第二接收单元 74, 位于所述呼叫请求接收方, 用于接收所述 B2BUA 发送的呼叫请求;  The second receiving unit 74 is located at the call request receiving end, and is configured to receive a call request sent by the B2BUA;
对话建立单元 75 ,用于在第二接收单元 74接收到所述呼叫请求后建立 对话;  The dialog establishing unit 75 is configured to establish a dialog after the second receiving unit 74 receives the call request;
保存单元 76, 用于保存所述对话关联信息;  a saving unit 76, configured to save the dialog association information;
第三生成单元 77 , 用于在会话一方确定发起替换呼叫时, 生成带有 Replaces头部的请求发送至所述 B2BUA; 其中, 所述带有 Replaces头部的 请求中携带有所述对话关联信息。  The third generating unit 77 is configured to: when the session party determines to initiate the replacement call, generate a request with a Replaces header to send to the B2BUA; where the request with the Replaces header carries the session association information .
图 8为本发明基于对话关联标识的会话建立系统的第二种组成结构示 意图, 如图 8所示, 在图 7所示系统的基础上, 本发明基于对话关联标识 的会话建立系统还包括释放单元 78 , 位于会话另一方中; 其中,  FIG. 8 is a schematic diagram of a second component structure of a session establishment system based on a conversation association identifier according to the present invention. As shown in FIG. 8, on the basis of the system shown in FIG. 7, the session establishment system based on the conversation association identifier further includes release. Unit 78, located in the other side of the session; wherein
在第一接收单元 72接收到带有 Replaces头部的请求后, 第二生成单元 73进一步生成发送至会话另一方的带有 Replaces头部的请求; 其中, 所生 成的带有 Replaces头部的请求中携带有所述对话关联信息;  After the first receiving unit 72 receives the request with the Replaces header, the second generating unit 73 further generates a request with a Replaces header sent to the other party of the session; wherein the generated request with the Replaces header is generated. Carrying the conversation related information;
释放单元 78, 用于在所述会话另一方收到所述带有 Replaces头部的请 求后, 根据所述对话关联信息释放所关联的呼叫。  The releasing unit 78 is configured to release the associated call according to the session association information after the other party of the session receives the request with the Replaces header.
上述会话一方或会话另一方为用户、 用户代理或用户设备; 所述带有 Replaces头部的请求包括邀请 INVITE请求或转移 REFER请求。 在图 7或图 8所示系统的基础上, 本发明基于对话关联标识的会话建 立系统还包括透传单元(图 7及图 8中未图示), 位于作为代理行为的 AS 中, 用于在接收到呼叫请求及带有 Replaces头部的请求后, 透传所述呼叫 请求及所述带有 Replaces头部的请求。 The above-mentioned session party or the other party of the session is a user, a user agent or a user equipment; the request with the Replaces header includes an invitation INVITE request or a transfer REFER request. On the basis of the system shown in FIG. 7 or FIG. 8, the session establishment system based on the session association identifier of the present invention further includes a transparent transmission unit (not shown in FIG. 7 and FIG. 8), which is located in the AS as a proxy behavior, and is used for After receiving the call request and the request with the Replaces header, the call request and the request with the Replaces header are transparently transmitted.
在图 8所示系统的基础上, 本发明基于对话关联标识的会话建立系统 还包括第一回复单元(图 8中未图示), 位于不支持携带所述对话关联信息 的 SIP头部的 B2BUA中, 用于在第一接收单元 72接收到携带所述 SIP头 部的呼叫请求后, 向呼叫请求接收方回复失败响应, 其中, 所述失败响应 表示 B2BUA不支持携带所述对话关联信息的 SIP头部;  Based on the system shown in FIG. 8, the session establishment system based on the session association identifier of the present invention further includes a first reply unit (not shown in FIG. 8) located in the B2BUA that does not support the SIP header carrying the dialog association information. After receiving the call request carrying the SIP header, the first receiving unit 72 replies to the call request receiver with a failure response, where the failure response indicates that the B2BUA does not support the SIP carrying the session association information. Head
第一生成单元 71重新生成发送至所述呼叫请求接收方的、 不携带所述 对话关联信息的呼叫请求。  The first generating unit 71 regenerates a call request sent to the call request recipient that does not carry the dialog associated information.
在图 8所示系统的基础上, 本发明基于对话关联标识的会话建立系统 还包括第二回复单元(图 8中未图示), 位于不支持携带所述对话关联信息 的 SIP头部的呼叫请求接收方中, 在第二接收单元 74接收到所述 B2BUA 转发的携带所述对话关联信息的 SIP 头部的呼叫请求后, 向呼叫请求接收 方回复失败响应, 其中, 所述失败响应表示所述呼叫请求接收方不支持携 带所述对话关联信息的 SIP头部;  Based on the system shown in FIG. 8, the session establishment system based on the session association identifier of the present invention further includes a second reply unit (not shown in FIG. 8) located in a call that does not support the SIP header carrying the session association information. After receiving the call request of the SIP header carrying the dialog association information forwarded by the B2BUA, the second receiving unit 74 returns a failure response to the call request receiver, where the failure response indicates The call request recipient does not support the SIP header carrying the conversation associated information;
第一生成单元 71重新生成发送至所述呼叫请求接收方的、 不携带所述 对话关联信息的呼叫请求。  The first generating unit 71 regenerates a call request sent to the call request recipient that does not carry the dialog associated information.
本领域技术人员应当理解, 本发明基于对话关联标识的会话建立系统 是为实现前述的基于对话关联标识的会话建立方法而设计的, 上述各处理 单元的实现功能可参照前述的上行反馈的方法的相关描述而理解。 各处理 单元的功能可通过运行于处理器上的程序而实现, 也可通过具体的逻辑电 路而实现。  It should be understood by those skilled in the art that the session establishment system based on the session association identifier is designed to implement the foregoing session association method based on the conversation association identifier. The implementation functions of the foregoing processing units may refer to the foregoing method for uplink feedback. Understand the relevant description. The functions of each processing unit can be implemented by a program running on the processor or by a specific logic circuit.
以上所述, 仅为本发明的较佳实施例而已, 并非用于限定本发明的保 护范围。 The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Range of protection.

Claims

权利要求书 Claim
1、 一种基于对话关联标识的会话建立方法, 其特征在于, 设置用于标 识所发起对话的对话关联信息; 所述方法还包括:  A method for establishing a session based on a conversation association identifier, characterized in that: setting session association information for identifying a initiated conversation; the method further comprising:
在呼叫请求发起方发起的呼叫请求中插入所述对话关联信息; 背靠背用户代理 B2BUA接收到所述呼叫请求后,生成发送至呼叫请求 接收方的呼叫请求, 所述发送至呼叫请求接收方的呼叫请求中携带有所述 对话关联信息;  Inserting the dialog association information in a call request initiated by the call request originator; after receiving the call request, the back-to-back user agent B2BUA generates a call request sent to the call request receiver, and the call sent to the call request receiver The conversation associated information is carried in the request;
所述呼叫请求接收方接收所述 B2BUA发送的呼叫请求后建立对话,并 保存所述对话关联信息;  The call request receiving party establishes a dialog after receiving the call request sent by the B2BUA, and saves the dialog association information;
会话一方确定发起替换呼叫时, 构造带有替换 Replaces头部的请求发 送至所述 B2BUA; 其中, 所述带有 Replaces头部的请求中携带有所述对话 关联信息。  When the session party determines to initiate the replacement call, the request with the replacement Replaces header is sent to the B2BUA; wherein the request with the Replaces header carries the session association information.
2、 根据权利要求 1所述的方法, 其特征在于, 所述方法还包括: 所述 B2BUA接收到带有 Replaces头部的请求后,生成发送至会话另一 方的带有 Replaces头部的请求; 其中, 所生成的带有 Replaces头部的请求 中携带有所述对话关联信息;  The method according to claim 1, wherein the method further comprises: after receiving the request with the Replaces header, the B2BUA generates a request with a Replaces header sent to the other party of the session; The generated request with a Replaces header carries the dialog association information;
所述会话另一方收到所述带有 Replaces头部的请求后, 根据所述对话 关联信息释放所关联的呼叫。  After receiving the request with the Replaces header, the other party of the session releases the associated call according to the conversation associated information.
3、 根据权利要求 2所述的方法, 其特征在于, 所述会话一方或会话另 一方为用户、 用户代理或用户设备。  3. The method according to claim 2, wherein the one party or the other party is a user, a user agent or a user equipment.
4、 根据权利要求 1所述的方法, 其特征在于, 所述带有 Replaces头部 的请求包括邀请 INVITE请求或转移 REFER请求。  4. The method of claim 1, wherein the request with a Replaces header comprises an invite INVITE request or a transfer REFER request.
5、 根据权利要求 1所述的方法, 其特征在于, 所述在呼叫请求发起方 发起的呼叫请求中插入所述对话关联信息, 和 /或在所述带有 Replaces头部 的请求中携带有所述对话关联信息, 具体指: 为呼叫请求和 /或带有 Replaces头部的请求设置会话发起协议 SIP头部 或 SIP头部参数,在所述 SIP头部或所述 SIP头部参数中承载所述对话关联 信息。 The method according to claim 1, wherein the session association information is inserted in a call request initiated by a call request originator, and/or carried in the request with a Replaces header The conversation related information specifically refers to: A session initiation protocol SIP header or SIP header parameter is set for the call request and/or the request with the Replaces header, and the session association information is carried in the SIP header or the SIP header parameter.
6、 根据权利要求 5 所述的方法, 其特征在于, 所述对话关联信息为 Session ID。  The method according to claim 5, wherein the session association information is a Session ID.
7、 根据权利要求 1所述的方法, 其特征在于, 所述方法还包括: 作为代理行为的 AS接收到呼叫请求和 /或带有 Replaces头部的请求后, 透传所述呼叫请求和 /或所述带有 Replaces头部的请求。  The method according to claim 1, wherein the method further comprises: after receiving the call request and/or the request with the Replaces header, the AS as the proxy behavior transparently transmits the call request and/or Or the request with the Replaces header.
8、 根据权利要求 5所述的方法, 其特征在于, 所述方法还包括: 不支持携带所述对话关联信息的 SIP头部的 B2BUA或呼叫请求接收方 接收到带有该 SIP头部的呼叫请求后,所述 B2BUA或所述呼叫请求接收方 回复失败响应, 其中, 所述失败响应表示所述 B2BUA或所述呼叫请求接收 方不支持携带所述对话关联信息的 SIP 头部; 所述呼叫请求发起方重新构 造不携带所述对话关联信息的呼叫请求并重新发送。  8. The method according to claim 5, wherein the method further comprises: not supporting a B2BUA or a call request receiver of the SIP header carrying the session association information to receive a call with the SIP header After the request, the B2BUA or the call request receiver replies with a failure response, where the failure response indicates that the B2BUA or the call request receiver does not support the SIP header carrying the conversation association information; The requesting initiator reconstructs a call request that does not carry the conversation-related information and resends it.
9、 一种基于对话关联标识的会话建立系统, 其特征在于, 所述系统包 括设置单元、 第一生成单元、 第一接收单元、 第二生成单元、 第二接收单 元、 对话建立单元、 保存单元和第三生成单元; 所述第一生成单元位于呼 叫请求发起方中, 所述第一接收单元和所述第二生成单元位于 B2BUA中, 所述第二接收单元、 所述对话建立单元和所述保存单元位于所述呼叫请求 接收方中; 所述第三生成单元位于会话的一方中; 其中,  A session establishment system based on a conversation association identifier, wherein the system includes a setting unit, a first generation unit, a first receiving unit, a second generating unit, a second receiving unit, a dialog establishing unit, and a saving unit. And a third generating unit; the first generating unit is located in a call request originator, the first receiving unit and the second generating unit are located in a B2BUA, the second receiving unit, the dialog establishing unit, and the The saving unit is located in the call request receiving party; the third generating unit is located in one side of the session;
设置单元, 用于设置用于标识所发起对话的对话关联信息;  a setting unit, configured to set conversation association information used to identify the initiated conversation;
第一生成单元, 用于生成发送至呼叫请求接收方的呼叫请求; 其中, 所述呼叫请求中携带有所述对话关联信息;  a first generating unit, configured to generate a call request sent to a call request receiver, where the call request carries the dialog association information;
第一接收单元, 用于接收所述呼叫请求;  a first receiving unit, configured to receive the call request;
第二生成单元, 用于在所述第一接收单元接收到所述呼叫请求后, 生 成发送至呼叫请求接收方的呼叫请求, 所述发送至呼叫请求接收方的呼叫 请求中携带有所述对话关联信息; a second generating unit, configured to: after the first receiving unit receives the call request, And the call request sent to the call request receiver, where the call request sent to the call request receiver carries the dialog association information;
第二接收单元,位于所述呼叫请求接收方, 用于接收所述 B2BUA发送 的呼叫请求;  a second receiving unit, located at the call request receiving party, configured to receive a call request sent by the B2BUA;
对话建立单元, 用于在所述第二接收单元接收到所述呼叫请求后建立 对话;  a dialog establishing unit, configured to establish a dialog after the second receiving unit receives the call request;
保存单元, 用于保存所述对话关联信息;  a saving unit, configured to save the conversation association information;
第三生成单元, 用于在会话一方确定发起替换呼叫时, 生成带有 Replaces头部的请求发送至所述 B2BUA; 其中, 所述带有 Replaces头部的 请求中携带有所述对话关联信息。  And a third generating unit, configured to send a request with a Replaces header to the B2BUA when the session party determines to initiate the replacement call, where the request with the Replaces header carries the session association information.
10、 根据权利要求 9所述的系统, 其特征在于, 所述系统还包括释放 单元, 位于会话另一方中; 其中,  10. The system according to claim 9, wherein the system further comprises a release unit located in the other party of the session;
在所述第一接收单元接收到带有 Replaces头部的请求后, 所述第二生 成单元进一步生成发送至会话另一方的带有 Replaces头部的请求; 其中, 所生成的带有 Replaces头部的请求中携带有所述对话关联信息;  After the first receiving unit receives the request with the Replaces header, the second generating unit further generates a request with a Replaces header sent to the other side of the session; wherein the generated Replaces header The request carries the conversation related information;
释放单元, 用于在所述会话另一方收到所述带有 Replaces头部的请求 后, 根据所述对话关联信息释放所关联的呼叫。  And a releasing unit, configured to release the associated call according to the session association information after the other party of the session receives the request with the Replaces header.
11、 根据权利要求 10所述的系统, 其特征在于, 所述会话一方或会话 另一方为用户、 用户代理或用户设备; 所述带有 Replaces头部的请求包括 INVITE请求或 REFER请求。  11. The system according to claim 10, wherein the one party or the other party is a user, a user agent or a user equipment; and the request with a Replaces header includes an INVITE request or a REFER request.
12、 根据权利要求 9所述的系统, 其特征在于, 所述设置单元进一步 用于为呼叫请求及带有 Replaces头部的请求设置 SIP头部或 SIP头部参数, 在所述 SIP头部或所述 SIP头部参数中承载所述对话关联信息。  12. The system according to claim 9, wherein the setting unit is further configured to set a SIP header or a SIP header parameter for a call request and a request with a Replaces header, in the SIP header or The dialog related information is carried in the SIP header parameter.
13、 根据权利要求 9所述的系统, 其特征在于, 所述系统还包括透传 单元, 位于作为代理行为的 AS中, 用于在接收到呼叫请求及带有 Replaces 头部的请求后, 透传所述呼叫请求及所述带有 Replaces头部的请求。 13. The system according to claim 9, wherein the system further comprises a transparent transmission unit located in the AS as a proxy behavior for receiving a call request and with a Replaces After the request of the header, the call request and the request with the Replaces header are transparently transmitted.
14、 根据权利要求 12所述的系统, 其特征在于, 所述系统还包括: 第一回复单元, 位于不支持携带所述对话关联信息的 SIP 头部的 B2BUA中, 用于在所述第一接收单元接收到携带所述 SIP头部的呼叫请求 后, 向呼叫请求接收方回复失败响应, 其中, 所述失败响应表示 B2BUA不 支持携带所述对话关联信息的 SIP头部;  The system according to claim 12, wherein the system further comprises: a first reply unit, located in a B2BUA that does not support a SIP header carrying the dialog association information, for the first After receiving the call request that carries the SIP header, the receiving unit sends a failure response to the call request receiver, where the failure response indicates that the B2BUA does not support the SIP header that carries the session association information;
所述第一生成单元重新生成发送至所述呼叫请求接收方的、 不携带所 述对话关联信息的呼叫请求。  The first generating unit regenerates a call request sent to the call request recipient that does not carry the dialog associated information.
15、 根据权利要求 12所述的系统, 其特征在于, 所述系统还包括: 第二回复单元, 位于不支持携带所述对话关联信息的 SIP 头部的呼叫 请求接收方中,在所述第二接收单元接收到所述 B2BUA转发的携带所述对 话关联信息的 SIP 头部的呼叫请求后, 向呼叫请求接收方回复失败响应, 其中, 所述失败响应表示所述呼叫请求接收方不支持携带所述对话关联信 息的 SIP头部;  The system according to claim 12, wherein the system further comprises: a second reply unit, located in a call request receiver that does not support a SIP header carrying the dialog association information, in the After receiving the call request of the SIP header that carries the session association information, the receiving unit sends a failure response to the call request receiver, where the failure response indicates that the call request receiver does not support carrying a SIP header of the conversation associated information;
所述第一生成单元重新生成发送至所述呼叫请求接收方的、 不携带所 述对话关联信息的呼叫请求。  The first generating unit regenerates a call request sent to the call request recipient that does not carry the dialog associated information.
PCT/CN2011/075595 2010-07-28 2011-06-10 Session establishment method and system based on dialog correlation identifier WO2012013094A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201010242075.2 2010-07-28
CN201010242075.2A CN102348291B (en) 2010-07-28 2010-07-28 Based on session establishing method and the system of dialogue association identification

Publications (1)

Publication Number Publication Date
WO2012013094A1 true WO2012013094A1 (en) 2012-02-02

Family

ID=45529403

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2011/075595 WO2012013094A1 (en) 2010-07-28 2011-06-10 Session establishment method and system based on dialog correlation identifier

Country Status (2)

Country Link
CN (1) CN102348291B (en)
WO (1) WO2012013094A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102739673A (en) * 2012-06-28 2012-10-17 中兴通讯股份有限公司 Session initiation protocol (SIP) dialog positioning method and device

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105592092A (en) * 2015-12-30 2016-05-18 深圳市美贝壳科技有限公司 Video telephone system and video conversation method based on home SIP server
CN110502368B (en) * 2019-08-14 2022-07-26 出门问问(武汉)信息科技有限公司 Dialogue fault tolerance method, central control equipment, system and readable storage medium
CN112104616B (en) * 2020-08-25 2022-07-12 新华三技术有限公司 Communication method and device
CN115914176A (en) * 2021-08-13 2023-04-04 华为技术有限公司 Call processing method, device and system

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1980225A (en) * 2005-12-03 2007-06-13 华为技术有限公司 Method for realizing the third-part control bussiness
US20080037752A1 (en) * 2006-07-11 2008-02-14 Siemens Communications, Inc. System and method to identify and associate call legs in session initiation protocol back to back user agents
CN101183960A (en) * 2007-10-30 2008-05-21 中兴通讯股份有限公司 Method of implementing enquiry switching service
CN101668008A (en) * 2009-09-25 2010-03-10 华为技术有限公司 Transfer operation-containing communication method, device and system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1980225A (en) * 2005-12-03 2007-06-13 华为技术有限公司 Method for realizing the third-part control bussiness
US20080037752A1 (en) * 2006-07-11 2008-02-14 Siemens Communications, Inc. System and method to identify and associate call legs in session initiation protocol back to back user agents
CN101183960A (en) * 2007-10-30 2008-05-21 中兴通讯股份有限公司 Method of implementing enquiry switching service
CN101668008A (en) * 2009-09-25 2010-03-10 华为技术有限公司 Transfer operation-containing communication method, device and system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102739673A (en) * 2012-06-28 2012-10-17 中兴通讯股份有限公司 Session initiation protocol (SIP) dialog positioning method and device

Also Published As

Publication number Publication date
CN102348291A (en) 2012-02-08
CN102348291B (en) 2016-02-10

Similar Documents

Publication Publication Date Title
US11108838B2 (en) Method, user equipment and application server for adding media stream of multimedia session
US8725802B2 (en) Method for transferring file in conference system, file transfer system and conference server
US20050213580A1 (en) System and method for enforcing policies directed to session-mode messaging
CN101364883B (en) Multi-terminal session method, communication system and related apparatus
JP5247709B2 (en) Method for routing SIP messages when an intermediate node is unavailable
WO2007016851A1 (en) A method for establishing the chat room data transmission channel to realize the chat message transmission
CN105245493B (en) Capability query processing in communication network
CA2605475A1 (en) Session initiation from application servers in an ip multimedia subsystem
WO2012013094A1 (en) Session establishment method and system based on dialog correlation identifier
US9350695B2 (en) Method for transferring and storing CPM service message and service thereof
WO2015117442A1 (en) Processing method and device for converged communications terminal discovery and capability detection
US20140141821A1 (en) Method and Devices to Convey Session Participant List to a Store and Forward Group Chat Recipient
WO2007112640A1 (en) A method and an apparatus for replacing the session id, an application server and a method for replacing the session
WO2013152702A1 (en) Voice message sending method and system, and converged message server and client
WO2008011790A1 (en) Method, system and network apparatus for setting up session
US20120042083A1 (en) Method and system for transmitting a large message mode cpm message to group
EP3704841A1 (en) Messaging resource function
WO2008080297A1 (en) A method, equipment and system for relating the session
EP2466842A1 (en) Method and service device for private call of conference in ip multimedia subsystem
EP1709777B1 (en) Session initiation protocol signalling
WO2010115322A1 (en) Method and system for joining group session with pre-defined joining
US8606243B2 (en) Mobile network system and guidance message providing method
CN101656991B (en) Method and equipment for switching terminal in message transmitting process
CN102377728B (en) Method for distributing files-in-group in IMS (IP multimedia subsystem) multimedia meeting
WO2011032390A1 (en) Transmission method and system for converged ip messaging

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: 11811796

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 11811796

Country of ref document: EP

Kind code of ref document: A1