CN101106536B - A method for establishing group session - Google Patents

A method for establishing group session Download PDF

Info

Publication number
CN101106536B
CN101106536B CN 200610061667 CN200610061667A CN101106536B CN 101106536 B CN101106536 B CN 101106536B CN 200610061667 CN200610061667 CN 200610061667 CN 200610061667 A CN200610061667 A CN 200610061667A CN 101106536 B CN101106536 B CN 101106536B
Authority
CN
China
Prior art keywords
session
group
server
message
establishing
Prior art date
Application number
CN 200610061667
Other languages
Chinese (zh)
Other versions
CN101106536A (en
Inventor
伍旭刚
张生庭
李林
Original Assignee
华为技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 华为技术有限公司 filed Critical 华为技术有限公司
Priority to CN 200610061667 priority Critical patent/CN101106536B/en
Publication of CN101106536A publication Critical patent/CN101106536A/en
Application granted granted Critical
Publication of CN101106536B publication Critical patent/CN101106536B/en

Links

Abstract

The invention provides a method of establishing group conversation. The method includes: A. calling client side sends the message which can establish the second conversation in the first conversation to a server and the message carries the first conversation mark; B. the server obtains the group member list of the group conversation corresponding with the first conversation mark; C. the server sends out the request of establishing the second conversation to the group members and establishes the second conversation. The invention solves the problem of network resources waste caused by consistent occupation of the interfaces and network resources of a plurality of media in the same conversation in the prior art.

Description

一种建立群组会话的方法 A method for establishing a group session

技术领域: FIELD:

[0001] 本发明涉及通讯领域,尤其涉及一种建立群组会话的方法。 [0001] The present invention relates to the field of communications, in particular, it relates to a method of establishing a group session. 背景技术: Background technique:

[0002] PTT(PushtoTalk) —种通过按功能键进行通信的半双工语音业务,目前包括很多实现方式,比如Motorola 的iDEN 以及Nokia 的Tetra。 [0002] PTT (PushtoTalk) - Tetra species by pressing the function key half-duplex voice communications services, including many of the current implementations, such as Motorola's iDEN, and Nokia's. PoC (PTT overCellular)是OMA(Open Mobile Alliance开放移动联盟组织)定义的在分组网络上实现的PTT业务, PoC (PTT overCellular) is implemented on a packet network defined by OMA (Open Mobile Alliance Open Mobile Alliance) PTT services,

采用VoIP (分组语音)以及半双工的方式,低成本、高效率的满足PoC客户端(以下简称客户端)的实时通信需求。 Using VoIP (Voice over Packet) and half duplex mode, low-cost, high efficiency to meet the PoC client (hereinafter referred to as the client), real-time communication needs. 通过这种业务,客户端可以向单个客户端或群组发起PoC会话,实现一对一或一对多的会话方式。 Through this service, the client can initiate a single client or group PoC sessions, with session one to one or one to many.

[0003] 在PoC会话中,服务器根据逻辑功能划分为控制功能和参与功能服务器。 [0003] In the PoC session, the server according to logical functions and control functions for the participation function server. 控制功能服务器提供对PoC会话集中控制,包括实时传输协议(Real-time TransportProtocol, 以下简称RTP)媒体分发、发言权控制、对参与会话的成员执行会话策略以及处理参与成员信息;参与功能服务器提供会话控制,包括对呼入会话的策略控制、对控制功能服务器与客户端之间的发言权信令中继等,也可以根据需要提供媒体流的中继;存储用户的业务设置,如应答模式、来话禁止等。 Control function server provides centralized control of PoC sessions, including real-time transport protocol (Real-time TransportProtocol, hereinafter referred to as RTP) media distribution, floor control, members participating in the session as well as the implementation of a ploy to participate in processing membership information; participation function server provides session control, including policy control session incoming call, the signaling between the floor of the control functions like a relay server and client, the media stream relay may also be provided as required; storing user service setting, as the answer mode, incoming prohibition.

[0004] 而SIP协议是一种用来建立会话的协议,该协议描述了一些会话相关的请求,如建立会话、退出会话请求等。 [0004] SIP protocol and a protocol used to establish a session, the protocol describes some session related request, such as establishing a session, the session exit request the like. 会话描述协议(Session Description Protocol,以下简称SDP) 用来对会话参数进行协商,如传送的媒体类型、文件的大小、采用的编码格式、采用的伟输端口等。 SDP (Session Description Protocol, hereinafter referred to as SDP) is used to negotiate session parameters, such as transmission media type, file size, encoding format employed, using Wei output ports. 在建立会话之后,需要用特定的协议来传输媒体流数据,如大文件类型一般采用MSRP (Message Session RelayProtocol,消息会话中继协议)对实时的语音流、视频流一般采用RTP。 After the session is established, the media stream need to transmit a specific protocol data, such as large file types commonly used MSRP (Message Session RelayProtocol, Message Session Relay Protocol) for real-time voice stream, video stream typically use RTP.

[0005] 根据用户的使用偏好和使用环境等,被叫方支持两种应答模式:自动应答:当被邀请时自动进入会话;手工应答:弹出确认窗口,用户确定后进入会话。 [0005] According to the user's preferences and use environment, the called party answer supports two modes: automatic answer: When invited into the session automatically; manual response: confirmation window pops up, the user determines to enter the session.

[0006] 这两种应答模式可以在终端进行设置,默认为自动应答。 [0006] Both answer mode can be set in the terminal, the default auto-answer. 如果被邀请的PoC用户已激活了自动应答设置,他将能收听到来自其它PoC会话参与者的语音,而无需进行任何操作,这样方便了用户的使用,尤其是在某些场合如开车、紧急呼叫等情况下。 If the invited PoC user has activated the Auto Answer setting, he will be able to listen to the voice from the other PoC session participants, without any action, so convenient for users to use, especially in certain situations, such as driving, urgent like the case where the call.

[0007] 目前,建立群组会话的方法有如下几种模式: [0007] Currently, the method for establishing a group session of the following modes:

[0008] 一、根据预定立的群组建立群组会话 [0008] First, the establishment of the group session in accordance with a predetermined group of Li

[0009] 在发起会话之前,预先建立一个群组,这个群组包含建立会话时的呼叫对象的一个列表。 [0009] Before initiating a session, a pre-established group, this group contains a list of objects to establish a call session. 在发起会话时,客户端在会话请求消息中带上群组标识,服务器收到群组标识之后,向群组标识对应的服务器请求建立群组会话,并邀请群组中的其他群组成员参加会话。 When a session is initiated to bring the message client group identified in the session request, after the server receives a group identifier corresponding to the group to identify the server requests to establish a group session, and invite other group members to participate in the group session.

[0010] 如图1所示,根据预建立的群组建立群组会话的流程如下: [0010] As shown in FIG. 1, the establishment of a group session according to the group of pre-established process is as follows:

[0011] 步骤101-102 :主叫客户端向控制功能服务器发送建立群组会话的邀请消息。 [0011] Step 101-102: The client sends an invitation to establish a calling message to the group session control function server. 该消息包括群组标识如grcmp@huaweLcom ;[0012] 控制功能服务器根据群组会话标识从可扩展标记语言文档管理服务器(XDMS) 获得群组成员列表,然后向群组列表中得用户发送建立群组会话的消息。 The message includes a group identifier as grcmp @ huaweLcom; [0012] control function server group member list obtained from an extensible markup language document management server (the XDMS) according to the group session identifier, and then send the list to the group to establish a user group to give group messaging session.

[0013] 步骤103-104 :控制功能服务器收到任一被叫客户端收到的临时震铃响应则向主叫客户端回复震铃消息。 [0013] Step 103-104: the server receives any of the control function in response to a temporary ringing the called client receives the ringing message reply to the calling client.

[0014] 步骤105-106:控制功能服务器收到任一被叫客户端的接收应答,则向主叫方回复会话建立成功的消息。 [0014] Step 105-106: the server receives any control function receives a response called a client, then the reply to the calling party session establishment success message.

[0015] 至此,会话建立成功。 [0015] Thus, the session is successfully established.

[0016] 二、根据临时的呼叫对象列表来建立会话 [0016] Second, according to the provisional list of objects of the call to establish a session

[0017] 此种建立群组会话的方法与根据预建立的群组建立群组会话的方法相似,其不同点在于,客户端向服务器发送的建立群组会话的INVITE消息包含的信息不同,根据临时的呼叫对象列表来建立会话的情况下,此INVITE消息包含XML格式的MIME数据, 该数据是一个呼叫对象标识的列表,其中,呼叫对象标识列表的示例如下: Method [0017] Such a method of establishing a group session to the group session establishment according to the pre-established group similar to that which is different, different information to establish a group session INVITE message sent by the client to the server comprises, according to the the case where object list temporary call to establish a session, the INVITE message contains MIME data in XML format, the data object identifier is a call list, wherein the list of object identification exemplary call are as follows:

[0018] Content-type : application/resource-lists+xml [0018] Content-type: application / resource-lists + xml

[0019] Content-Disposition : recipient-list [0019] Content-Disposition: recipient-list

[0020] < ? [0020] <? xml version=" 1.0〃 encoding = " UTF—8" ? > xml version = "1.0〃 encoding =" UTF-8 "?>

[0021] 〈resource-lists xmlns = " urn:ietf:params:xml:ns:resource-lists" [0021] <resource-lists xmlns = "urn: ietf: params: xml: ns: resource-lists"

[0022] xmlns:xsi=〃 http://www.w3.org/2001/XMLSchema-instance" > [0022] xmlns: xsi = 〃 http://www.w3.org/2001/XMLSchema-instance ">

[0023] <list> [0023] <list>

[0024] 〈entry uri=〃 sip:PoC_UserB@networkB.com〃 /> [0024] <entry uri = 〃 sip: PoC_UserB@networkB.com〃 />

[0025] 〈entry uri=" sip:PoC_UserC@networkC.com" /> [0025] <entry uri = "sip: PoC_UserC@networkC.com" />

[0026] 〈entry uri =〃 sip:PoC-UserD@networkD.com" /> [0026] <entry uri = 〃 sip: PoC-UserD@networkD.com "/>

[0027] </list> [0027] </ list>

[0028] </resource-lists> [0028] </ resource-lists>

[0029] 第三、用户自己加入会场的方式建立会话,此种建立群组会话的方式与本发明无关,故无需陈述。 [0029] The third session is established way to join the venue of the user himself, create a group session this way has nothing to do with the present invention, so no statements.

[0030] 此外,主叫客户端在发起会话前(pre-establish方式)或发起会话时(ondemond [0030] In addition, when a calling client and a session is initiated before (pre-establish mode) or initiate a session (ondemond

方式)协商媒体的参数,即在INVIT消息中携带媒体参数。 Way) negotiate media parameters, namely carrying media parameters INVIT message. 参见下表: See the table below:

[0031] [0031]

Figure CN101106536BD00041

[0032] 参数说明: [0032] Parameters:

[0033] c:通讯所用的IP地址及IP地址版本 [0033] c: IP address used in communication and IP address version

[0034] m:媒体类型、编码方案,端口号 [0034] m: media type, encoding scheme, port number

[0035] a :媒体属性 [0035] a: Media Properties

[0036] 此外,主叫客户端还可以在会话过程中重新协商会话的媒体参数。 [0036] In addition, the calling client also may renegotiate the session parameters in the media session.

[0037] 从以上方案可以看出,对于不具备会话结束的传输协议,如MSRP,用户在发起一个会话后,如协商了多个媒体,这多个媒体的端口和网络资源一直占用,直到用户完成重协商过程或结束会话。 [0037] As can be seen from the above programs, that do not have transport protocol session ends, such as MSRP, after the user initiates a session, such as the negotiation of multiple media, media ports and the plurality of network resources have been occupied until the user complete renegotiation process or end the session. 如用户在会话建立时,协商了两种媒体,一种是图片(采用MSRP),一种是语音(采用RTP),会话过程中,由于图片传送的比较少,图片相关的网络资源一直占用,直到整个会话结束,从而浪费网格资源。 If the user when a session is established, negotiated two media, one is a picture (using MSRP), one is voice (using RTP), during a session, due to the relatively small picture transmission, picture-related network resources have been occupied, until the end of the whole session, wasting grid resources.

[0038] 此外,媒体和应答模式混杂在一起,使得应答难于处理,比如说一个用户希望来的语音电话自动应答,而视频会话手动应答,用户发起一个即包含语音又包含视频的会话,是手动应答还是自动应答,比较难于定义。 [0038] In addition, the media answer mode and mixed together, so that the response difficult to handle, for example, a user wishes to automatically answer the voice call, and video sessions manual answer, i.e. the user initiates a session including speech and video contained, manual answer or auto-answer, more difficult to define.

[0039] 多种媒体在一个会话中,使得发言权请求处理比较复杂,需要多种请求发言权的消息,如请求语音发言权、请求文件传送权等。 [0039] In a multi-media session, so that the floor request handling more complex, require multiple message requesting the floor, the floor as a voice request, the request file transfer rights.

发明内容: SUMMARY:

[0040] 为了解决现有技术中多个媒体的端口和网络资源一直占用,从而浪费网络资源的问题,本发明提供一种建立群组会话的方法。 [0040] In order to solve port and network resources prior art has been occupied by the plurality of media, so that the waste of network resources, the present invention provides a method of establishing a group session.

[0041] 为实现上述目的,本发明提供一种建立群组会话的方法,该方法包括如下步骤A、主叫客户端向服务器发送建立第二会话的消息,该消息携带第一会话标识;B、服务器获取参与第一会话标识对应的群组会话的群组成员列表;以及服务器为建立的所述第二会话分配第二会话标识,并建立该第一会话与所述第二会话标识对应的会话的关联关系;C、服务器向所述群组成员发起建立第二会话的请求,并建立第二会话。 [0041] To achieve the above object, the present invention provides a method of establishing a group session, the method comprising the steps of message A, the calling client sends to the server to establish a second session, the first message carries the session identifier; B , the server first acquires a group member list participating in the session identifier corresponding to the group session; and a second session identifier assigned by the server to the second session is established, and the establishment of the first session and the second session identifier corresponding to association session; C, the server initiates a second session establishment request and establishes a second session to the group members.

[0042] 优选的,执行步骤B之前,还应执行如下步骤:服务器判断存在第一会话标识对应的群组会话,并执行步骤B。 Before [0042] Preferably, performing step B, and also perform the steps of: a session identifier corresponding to the presence of a first group session server determination, and performs step B.

[0043] 优选的,服务器包括第一会话的会话策略,执行步骤C之前,还应执行如下步骤:服务器判断所述消息满足建立会话的策略,并执行步骤C。 [0043] Preferably, before a session policy server includes a first session, performing step C, and should perform the steps of: determining if the message matches the policy server to establish a session, and step C.

[0044] 优选的,所述会话策略包括主叫客户端为第一会话的参与者,服务器判断主叫客户端为参与会话标识对应的群组会话的群组成员的客户端,并执行步骤C; [0044] Preferably, the policy includes the calling client session participants of the first session, the server determines the client to participate in the calling group member a session identifier corresponding to the group session client, and step C ;

[0045] 或所述会话策略包括对建立第二会话中包含的媒体类型的限制,服务器判断主叫客户端发出的建立会话的消息中的媒体类型满足所述会话策略,并执行步骤C。 [0045] or the session policy comprises establishing a second media type restrictions contained in the session, the message server determines the client to establish a session sent by the calling media type in the session policy satisfied, and step C.

[0046] 优选的,服务器包括第一会话的会话策略,所述会话策略包括第一会话中第二会话嵌套层次的限制,服务器判断所述第二会话满足有关第一会话中第二会话嵌套层次的条件,并执行步骤C。 [0046] Preferably, the server includes a session policy in a first session, the first session comprises a session policy in a second session of the nesting level limit, the server determines that the second session is the first session meet the relevant insert a second session the conditions set level and step C.

[0047] 优选的,该方法还包括如下步骤:D21、客户端向服务器发送携带第一会话标识的结束会话请求;D22、服务器结束客户端参与的第一会话及所有第一会话中的第二会话。 [0047] Preferably, the method further comprising the steps of: D21, carrying the end of a session the client sends a first request to the server session identifier; D22, the server ends the client session participation first of all the first and second sessions session.

[0048] 优选的,该方法还包括如下步骤:D31、未加入第一会话的群组成员向服务器发送携带第一会话标识的加入第一会话的消息;D32、服务器将所述未加入第一会话的群组成员加入第一会话,并向所述未加入第一会话的群组成员返回携带第一会话中第二会话标识及第二会话的媒体类型的响应消息;D33、所述未加入第一会话的群组成员向服务器发送携带第二会话标识的加入第二会话的请求消息,服务器将所述未加入第一会话的群组成员加入第二会话。 [0048] Preferably, the method further comprising the steps of: D31, the first session is not added group member message carrying the first session is added to a server a first session identifier; D32, the server is not added to the first a first group member a session join a session, the first session of the group member to return carrying a first session and a second session identifier of the session media type of the second response message is not added; D33, the non-added the first group member of the session to the server carrying the second session identifier join request message to the second session, the server does not join the group session members of the first into the second session.

[0049] 由以上方案可以看出,本发明的有益效果如下: [0049] As can be seen from the above embodiment, the present invention has the following advantageous effects:

[0050] 1)在第一会话的进行中根据需要建立不同媒体类型的第二会话,而无须使同一会话中的多种媒体类型的资源、端口一直占用,提高系统资源的使用。 [0050] 1) establishing a second session of different media types were needed in the first session, without having to make the same session multiple media types of resources, the port has been occupied, improve the use of system resources.

[0051] 2)同一会话中包含的媒体类型比较少,使得群组成员的应答模式简单化,相应的发言权请求的实现也得到简化。 [0051] 2) the type of media contained in the same session is relatively small, so that the group members can be simplified answer mode, implement the corresponding floor request is also simplified.

附图说明: BRIEF DESCRIPTION OF:

[0052] 图1为现有技术中建立群组会话的流程图; [0052] The flowchart of FIG. 1 established group session in the prior art;

[0053] 图2为本发明提供的建立群组会话的流程图; [0053] FIG 2 is a flowchart of the establishment of a group session provided by the present invention;

[0054] 图3为本发明提供的建立群组会话的具体实施方式图; [0054] DETAILED DESCRIPTION Figure 3 establish a group session provided by the present invention;

[0055] 图4本发明提供的被叫客户端被邀加入第二会话的流程图; [0055] FIG. 4 called customer terminal of the present invention provides a flowchart of a second invited to join the session;

[0056] 图5为本发明提供的通过第一会话标识建立第二会话的实施例的流程图; [0056] Example 5 is a flowchart of a second session established by a first session identifier provided by the present invention;

[0057] 图6为本发明提供的客户端退出第二会话的实施例的流程图; Flowchart of an embodiment [0057] FIG. 6 of the present invention provides a client exits the second session;

[0058] 图7为本发明提供的客户端加入第二会话的实施例的流程图; [0058] FIG. 7 is a flowchart of a client of the second embodiment of the present invention is added to the session;

具体实施方式: Detailed ways:

[0059] 下面结合附图和具体实施例对本发明再作进一步详细的说明。 [0059] conjunction with the accompanying drawings and the following specific embodiments of the present disclosure is further described in detail.

[0060] 如图2所示,当被叫客户端和参与功能服务器之间预建立了会话并采用自动应答时,本发明所提供的实施例中建立群组会话的流程如下: [0060] is shown in Figure 2, when between the client and the called participation function server using a pre-established session and automatic response, the process in the establishment of a group session according to embodiments of the present invention are as follows:

[0061] 步骤201 :当要在已建立的群组会话(以下称第一会话)中建立新的群组会话(以下称第二会话)时,如主叫客户端已加入某群组会话即第一会话,而欲在第一会话中建立第二会话,则主叫客户端向服务器发起一个建立第二会话请求,该请求消息中包含第一会话标识; [0061] Step 201: when the group session to be established (hereinafter referred to as a first session) session to establish a new group (hereinafter referred to as a second session), the client as the calling party has joined a group session i.e. a first session, the first session and wish to establish a second session, the calling client to the server initiates a second session establishment request, the request message comprises a first session identifier;

[0062] 步骤202 :服务器根据请求中的第一会话标识判断所述第一会话标识对应的群组会话是否存在,如果存在,则根据所述会话标识获取已参与第一会话的群组成员标识列表; [0062] Step 202: The server determines a first session identifier session request corresponding to the identifier of the first group session exists, if present, has been acquired according to the session identifier of the first member participating in the group session identifier list;

[0063] 步骤203、服务器向群组成员标识列表中的群组成员发起群组会话请求,并建立群组会话。 [0063] In step 203, the server identifies the members of the group to the group member list initiates a group session request, and create a group session.

[0064] 如图3所示,主叫客户端在第一会话中建立第二会话,主叫客户端的流程如下,其中控制功能服务器拥有会话标识; [0064] As shown, the calling client establishes a second session in the first session 3, following the calling client process, wherein the control function server owns the session identifier;

[0065] 步骤301-305、主叫客户端向控制功能服务器发送建立群组会话的INVITE消息,其中,该INVITE消息中携带第一会话标识。 [0065] Step 301-305, the client sends a calling control function server to establish a group session INVITE message, wherein the INVITE message carries the identifier of the first session. 此外,该INVITE消息中还可以携带欲建立新群组会话的标志,该标志用来区分未加入第一会话的群组成员加入会话的情况。 In addition, the INVITE message may also carry a group session want to establish a new flag is used to distinguish the case of adding the first session of the group members to the session.

[0066] 其中,控制功能服务器可以限制只有参与建立的群组会话的成员才能发出新的建立群组会话的请求。 [0066] wherein the control server may limit only members involved in the establishment of the group session in order to issue a new request to create a group session. 因此,当控制功能服务器收到主叫客户端发出的建立群组会话的INVITE消息后,判断主叫客户端是否为参与INVITE消息中的群组会话标识对应的群组会话的群组成员,如是则接受主叫客户端发送的INVITE消息,并执行后续步骤;否则向主叫客户端返回不具备建立群组会话权限的消息,从而结束流程,当然控制功能服务器也可以不执行任何动作。 Thus, when the control server receives a group session INVITE message to establish the calling client sent, the client determines whether the calling is a member of the group participating in the group session, the group session INVITE message corresponding to the identifier of the case receiving the INVITE message sent by the calling client, and the subsequent processing; otherwise, the client returns to the calling message does not have the authority to establish the group session, to end the process, of course, the control function server may not perform any operation.

[0067] 此外,控制功能服务器还可以判断所收到的主叫客户端发出的INVITE消息中的媒体类型是否和已建立群组会话的媒体类型一致,并根据建立会话的策略决定是否进行后续步骤:如建立会话策略不容许创建2个同样的语音会话,但可以创建2个或两个以上的文件传送的会话时,如第一会话的媒体类型为语音,主叫客户端的INVITE消息中的媒体类型也为语音,服务器根据策略判定不能建立主叫客户端欲建立的群组会话即不能建立第二会话,并向主叫客户端回复不能建立第二会话的消息或不执行任何动作,并结束流程。 [0067] Further, the control server may also determine whether consistent INVITE message received in the calling client sends media type established group session media type, and whether the subsequent steps of the policy decision to establish a session : when a session is established as the policy does not allow the two to create the same voice conversation, but you can create two or more sessions of file transfer, such as media type for the first session INVITE message voice, calling clients in the media but also for the type of voice, the server could not be established based on a policy decision calling clients want to establish a group session is unable to establish a second session, and to reply to the message of the second session can not be established or does not perform any action calling client and end Process. 如果策略允许INVITE消息中的媒体类型格式,则执行步骤306。 If the INVITE message policy permits media type format, step 306 is executed.

[0068] 此外,第二会话的策略和第一会话的策略可以相同,即当用户请求加入第二会话时,服务器检查第一会话的接入策略。 [0068] In addition, the policy and the policy of the second session of the first session can be the same, i.e., when a user requests to join a second session, the policy server checks a first access session. 如用户可以加入第一会话,则用户也可以加入第一会话。 The user may be added to the first session, the user may also be added to the first session.

[0069] 此外,控制功能服务器还可以限制一个第一会话中第二会话的最大数量,这个数字可以由营运商定义,也可以由在群组定义文件中定义。 [0069] Further, the control server may also limit the maximum number of the first session in a second session, this number may be defined by the operator is defined by the definition file in the group. 如果服务器对第一会话中第二会话的最大数量有限制,则服务器在收到主叫客户端的INVITE消息后,判断主叫客户端欲建立的第二会话是其第一会话中的第几个会话,该第二会话是否超出其第一会话所允许的第二会话数量的限制,如果是,控制功能服务器向主叫客户端回复不能建立群组会话的消息或不执行任何动作,并结束流程。 If there is a limit on the maximum number of the server a first session, a second session, the server after receiving the INVITE message to the calling client, the calling client is determined to be a second session established by a first session is the first in several session, the second session exceeds a second limit number of sessions which allowed a first session, and if so, the control function server can not establish a group session reply message to the calling client, or do nothing, and the flow is ended . 否则,执行步骤306。 Otherwise, step 306.

[0070] 此外,服务器可以建立第一会话和第二会话的关联关条,并且限制一个第一会话中第二会话的嵌套层次,这个数字可以由营运商定义,也可以由在群组定义文件中定义,一般两级到三级就足够了。 [0070] In addition, the server may associate off of first session and the second session and the first session to limit the level of nesting in a second session, this number may be defined by the operator, may be defined by the group defined in the document, generally two to three is sufficient. 服务器在接收主叫客户端发出的INVITE消息后,判断第二会话是否超出了第二会话所在的第一会话中对于嵌套层次的限制,如果超出,控制功能服务器向主叫客户端回复不能建立群组会话的消息或不执行任何动作,并结束流程。 Server after receiving the INVITE message sent by the calling client, determines whether a second session beyond the first session with the second session exists for nesting level limits, if exceeded, the control function server replies to the calling client can not establish news group session or does not perform any action, and the end of the process. 否则,执行步骤306。 Otherwise, step 306.

[0071] 步骤306、控制功能服务器为主叫客户端欲建立的第二会话分配第二会话标识, 并向参与第二会话所对应的第一会话的群组成员(即被叫客户端)发送建立群组会话的消息。 The second member of a second group assigned session identifier session, participating in the first session and second session corresponding to the [0071] Step 306, the server-based call control function to be established by the client (i.e., the called client) sends group session establishment message. 该消息包含第二会话标识、第一会话标识及第二会话中包含的媒体以及发起第二会话的发起者(即主叫客户端)的ID。 The second message contains the session identifier, the first session and the second session identifier included in the media, and the initiator (i.e., the calling client) initiates a second session's ID.

[0072] 步骤307、被叫客户端根据所收到的控制功能服务器发出的建立第二会话的消息,接入第二会话。 [0072] Step 307, the second message to establish a session the client sends the called function received from the control server, accessing the second session.

[0073] 步骤307-310、第二会话建立成功,控制功能服务器向主叫客户端发送第二会话建立成功的消息。 [0073] Step 307-310, the second session is successfully established, the control server sends a second session establishment success message to the calling customer terminal. 其中,该消息中携带已协商的第二会话的媒体参数及第二会话标识。 Which carries the second session has negotiated media parameters in the message and the second session identifier. 如果控制功能服务器已建立第二会话标识与第一会话标识的关联关系,则控制功能服务器向客户端发送的第二会话建立成功的消息所经过的参与功能服务器都将保存该关联关系,并根据该关联关系执行。 If the second session control function server has established a relationship with the second session identifier of the first session identifier, the control server sends the client build a successful message through the participation function server will save the relationship, and in accordance with the association execution.

[0074] 如图4所示,已参与第一会话中的被叫客户端被邀加入第二会话的流程如下:[0075] 步骤401-405、控制功能服务器向参与第一会话所对应的第一会话的群组成员(即被叫客户端)发送邀请加入第二会话的消息。 [0074] 4, have been involved in the process called a first client session in the second session invitee added as follows: [0075] Step 401-405, the control function corresponding to the server a first session of participation group member a session (i.e., the called client) sends a second session Invite message. 该消息包含第二会话标识、第一会话标识、第二会话中包含的媒体(参数或类型)以及发起第二会话的发起者(即主叫客户端) 的ID ; The second message contains the session identifier, a first session identifier, session comprises second media (type or parameters) and a second initiator to initiate the session (i.e., the calling client) ID;

[0076] 步骤406-409、被叫客户端收到邀请加入第二会话的消息后,向控制功能服务器返回OK响应消息;该消息中包括(第二会话标识、经协商的媒体参数、以及接入者(被叫客户端)的ID,并加入第二会话。 [0076] Step 406-409, the client receives an invitation to join the called message of the second session, the server returns an OK response to the control message; the message comprises (a second session identifier, the negotiated media parameters, and then entrants (called clients) of the ID, and adding a second session.

[0077] 第一实施例: [0077] First Embodiment:

[0078] 如图5所示,客户端通过第一会话标识创建第二会话的实施例的流程如下: [0078] As shown in FIG 5, the client process to create a second session following the first embodiment of the session identifier:

[0079] 步骤501-502、Bob向控制功能服务器发送建立第二会话的INVITE消息,该消息携带第一会话标识(ID)、Bob的媒体参数(包括端口号,编码方案,传送采用的协议(如MSRP),文件类型,大小等相关的描述)。 [0079] Step 501-502, Bob sends an INVITE message to establish the control function server a second session, the first message carries a session identification (ID), Bob media parameters (including the port number, a coding scheme, transport protocol used ( as the MSRP), file type, size and other related description). 该媒体参数用SIP协议描术如下: The media parameters with the SIP protocol description technique as follows:

[0080] REQUEST-URI : [0080] REQUEST-URI:

[0081] <sip:SESSION-ABCDEF@domain.net ; operation = create—new—session〉//被请求 [0081] <sip: SESSION-ABCDEF@domain.net; operation = create-new-session> // requested

对象为该会话中的成员,并带有创建新会话的指示 Indicates that the object is created with a new session for Members in a session, and the

[0082] 控制功能服务器收到Bob发出的INVITE消息后,获取邀请消息中参与第一会话标识对应的群组会话的群组成员(本实施例为Rose,Jack),以及为第二会话分配第二会话标识; [0082] After receiving the INVITE message control function server from Bob acquires invitation message members participating in the group session, the group session identifier corresponding to a first (in this embodiment Rose, Jack), and allocates the second session two session identifier;

[0083] 步骤503-504、控制功能服务器向所述群组成员(Rose,Jack)发送建立第二会话的INVITE消息,该消息携带:第一会话标识、第二会话标识以及控制功能服务器的媒体参数(包括端口号,编码方案,传送采用的协议,文件类型,大小等相关的描述);该媒体参数用SIP协议描述如下: [0083] Step 503-504, the control server sends an INVITE message to establish the second session to the group members (Rose, Jack), this message carries: a first media session identifier, session identifier, and a second control function server parameters (including the port number associated description, coding scheme, transmission protocol employed, file type, size, etc.); media parameters with the SIP protocol is described as follows:

[0084] REQUEST-URI : ROSE@domainx.net [0084] REQUEST-URI: ROSE@domainx.net

[0085] Contact:<sip:new_session_id@domain.net ; [0085] Contact: <sip: new_session_id@domain.net;

[0086] parent_session_id = SESSION_ABCDEF@domain.net> [0086] parent_session_id = SESSION_ABCDEF@domain.net>

[0087] 步骤505-507、控制功能服务器收到Rose的应答响应后,向Bob发送会话建立成功的OK响应消息。 After [0087] Step 505-507, the control function server receives the acknowledgment response Rose, Bob sends a session establishment success response message OK. 该消息携带:第二会话标识、已协商的第二会话的媒体参数。 The message carries: a second session identifier, media parameters of the second session has been negotiated.

[0088] Bob收到控制功能服务器的第二会话建立成功能响应消息后,开始传图片, Rose开始接收; After [0088] Bob receives the second session control function server can respond to the message is successfully established, image transmission starts, starts receiving Rose;

[0089] 步骤508、Jack向控制功能服务器返回加入第二会话的OK响应消息;此时,控制功能服务器开始将缓存的图片内容传送给Jack。 [0089] Step 508, Jack returns control to the function server a second session added OK response message; At this time, the cache control server starts the image content to Jack.

[0090] 此外,在采用MSRP发送图片时,Rose发完图片后就向控制功能服务器发送BYE消息(SIPBYE)后退出会话,控制功能服务器在向接收端用户Rose、Jack发完图片后即向接收端发送bye消息。 After [0090] Further, when using MSRP send pictures, Rose finished after the image sends a BYE message (SIPBYE) to exit the session control server, the control server to the receiving end user Rose, Jack finished after the image receiving bye message sends.

[0091] 第二实施例: [0091] Second Example:

[0092] 如图6所示,客户端退出第二会话的流程如下: [0092] As shown in FIG. 6, the client exits the second session process is as follows:

[0093] 步骤601-608、Bob向控制功能服务器发送建立第二会话(RTP视频)的请求, 控制功能服务器向第一会话(语音会话)的参与者Rose、Jack发出加入子会话(RTP视频)的请求,Rose、Jack加入第二会话。 [0093] Step 601-608, Bob control function server sends a request to establish a second session (RTP video), to a first session control function server (voice conversation) participant Rose, Jack sent added sub-sessions (RTP video) request, Rose, Jack into the second session. [0094] 步骤609-610、Bob向控制功能服务器发送结束会话的BYE消息,消息中携带第一会话标识; [0094] Step 609-610, Bob sends a BYE message control function server ends the session, the message carries a first session identifier;

[0095] 步骤611-612、控制功能服务器向Bob返回OK响应消息,关闭第一会话及第一 [0095] Step 611-612, the control function server returns an OK response message to Bob, and closing the first session of the first

会话中建立的第二会话。 The second session is a session established.

[0096] 如果控制功能服务器在收到结束第一会话的请求时,除了释放与Bob的会话所占有的资源外,还向其他客户端(Rose、Jack)发送结束这个第一会话中所有单向Bob为发送者的第二会话的请求。 [0096] If the control function server upon receiving the first session end request, in addition to the release of the session and Bob share some resources, but also sent to other clients (Rose, Jack) a first end of the session all the way Bob is the second session request sender.

[0097] 第三实施例: [0097] Third Embodiment:

[0098] 如图7所示,如果BOB邀请Rose和Jack进入语音会话,Rose进入,Jack因为 [0098] As shown in FIG 7, if BOB Rose and Jack invited to enter a voice conversation, into the Rose, because Jack

比较忙未进入,但Bob知道了语音会话标识(ID)。 Busy did not enter, but Bob knew the voice session identification (ID). 后来Bob和Rose又建立了视频会话。 Later, Bob and Rose and the establishment of a video session. 客户端加入第二会话的流程如下: The client process into the second session as follows:

[0099] 步骤701、Jack发送INVITE消息要求加入第一会话,该INVITE消息中携带第 [0099] Step 701, Jack transmitting a first request to join a session INVITE message, the INVITE message carries the first

一会话标识。 A session identifier. 该消息的SIP描述如下: The SIP message is described as follows:

[0100] REQUEST-URI : <sip:SESSION_audio@domain.net ; operation = join_session> [0100] REQUEST-URI: <sip: SESSION_audio@domain.net; operation = join_session>

[0101] 步骤702、Jack成功加入第一会话,控制功能服务器向Jack返回OK响应消息, 该消息携带第一会话中所有第二会话标识及第二会话的媒体类型,即视频会话标识与视频会话的媒体类型。 [0101] Step 702, Jack successfully added to the first session control function server returns an OK response message to Jack, the message carries a second session identifier for all media types in the first session and the second session, i.e., a video session and a video session identifier media types. 该消息用XML进行描述,其中SIP格式如下: This message is described with XML, wherein the SIP format is as follows:

[0102] Content-Type : application/sub_session_set +xml [0102] Content-Type: application / sub_session_set + xml

[0103] (application/sub_session_set是本发明创建的一种应用数据扩展) [0103] (application / sub_session_set application data is an extension of the present invention is created)

[0104] XML MIME BODY [0104] XML MIME BODY

[0105] < ? [0105] <? xml version = “ 1.0〃 encoding = “ UTF—8" ? > xml version = "1.0〃 encoding =" UTF-8 "?>

[0106] <sub_session_set xmlns = “ urn:oma:params:xml:ns:poc:poc-settings〃 [0106] <sub_session_set xmlns = "urn: oma: params: xml: ns: poc: poc-settings〃

[0107] xmlns:xsi=〃 http://www.w3.org/2001/XMLSchema-instance" [0107] xmlns: xsi = 〃 http://www.w3.org/2001/XMLSchema-instance "

[0108] xsi:schemaLocation = " urn:oma:params:xml:ns:poc:poc-settings〃 > [0108] xsi: schemaLocation = "urn: oma: params: xml: ns: poc: poc-settings〃>

[0109] <sub_session> [0109] <sub_session>

[0110] <id>session_video@domain.net</id> [0110] <id> session_video@domain.net </ id>

[0111] <media_type>video<media_type> [0111] <media_type> video <media_type>

[0112] </sub_session> [0112] </ sub_session>

[0113] </sub_session_set> [0113] </ sub_session_set>

[0114] 当然,对于单向的第二会话,如文件传送的会话,控制功能服务器可以不告诉后加入的用户存在该第二会话,也即可以不在此OK响应消息中携带单向的第二会话标识。 After the addition of the user [0114] Of course, for the second one-way conversation, such as file transfer session control function server can not tell the presence of the second session, i.e. can not in this OK response message carries a second unidirectional session ID.

[0115] 步骤703、Jack向控制功能服务器发出加入第二会话(视频会话)的INVITE消 [0115] Step 703, Jack sent into the second session INVITE message (video session) to the control function server

息,该消息中携带第二会话(视频会话)标识; Message, the message carrying the second session (Video Session) identifier;

[0116] 步骤704、视频会话建立成功,控制功能服务器向Jack返回OK响应消息。 [0116] Step 704, the video session is successfully established, the control function server returns an OK response message to Jack. 此消息可以不携带第二会话标识。 This message may not carry the second session identifier.

[0117] 由以上方案可以看出,本发明通过在第一会话的进行中根据需要建立不同媒体类型的第二会话,而无须使同一会话中的多种媒体类型的资源、端口一直占用,提高系统资源的使用。 [0117] As can be seen from the above embodiment, the present invention is by building a second session in accordance with different media types needed for the first session, the same session without the need to make multiple media type of resource, the port has been occupied, increase use of system resources. [0118] 当然,以上所述仅为本发明的较佳实施例而已,并不用以限制本发明,凡在本发明的精神和原则之内,所做的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。 [0118] Of course, the above are merely preferred embodiments of the present invention but are not intended to limit the present invention, all within the spirit and principle of the present invention, any changes made, equivalent replacement, or improvement It is included within the scope of the present invention.

Claims (7)

1. 一种建立群组会话的方法,其特征在于该方法包括如下步骤:A、主叫客户端向服务器发送建立第二会话的消息,该消息携带第一会话标识;B、服务器获取参与第一会话标识对应的群组会话的群组成员列表;以及服务器为建立的所述第二会话分配第二会话标识,并建立该第一会话与所述第二会话标识对应的会话的关联关系;C、服务器向所述群组成员发起建立第二会话的请求,并建立第二会话。 1. A method of establishing a group session, characterized in that the method comprises the steps of: A, the calling client sends to the server a second message to establish a session, the first message carries the session identifier; B, server retrieves Participation a session identifier corresponding to the group member list of a group session; and a second session identifier assigned by the server to the second session is established, the first association relationship and establishing the session with the session identifier corresponding to the second session; C, the server initiates a second session establishment request and establishes a second session to the group members.
2.如权利要求1所述的建立群组会话的方法,其特征在于执行步骤B之前,还应执行如下步骤:服务器判断存在第一会话标识对应的群组会话,并执行步骤B。 2. The method for establishing a group session according to claim 1, wherein before performing step B, and also perform the steps of: a session identifier corresponding to the presence of a first group session server determination, and performs step B.
3.如权利要求1所述的建立群组会话的方法,其特征在于服务器包括第一会话的会话策略,执行步骤C之前,还应执行如下步骤:服务器判断所述消息满足建立会话的策略,并执行步骤C。 3. The method for establishing a group session according to claim 1, characterized in that the server comprises a session policy in a first session, before executing step C, and should perform the steps of: determining if the message matches the policy server to establish a session, and step C.
4.如权利要求3所述的建立群组会话的方法,其特征在于:所述会话策略包括主叫客户端为第一会话的参与者,服务器判断主叫客户端为参与会话标识对应的群组会话的群组成员的客户端,并执行步骤C;或所述会话策略包括对建立第二会话中包含的媒体类型的限制,服务器判断主叫客户端发出的建立会话的消息中的媒体类型满足所述会话策略,并执行步骤C。 4. The method for establishing a group session according to claim 3, wherein: said policy comprises calling client session participants of the first session, the server determines the calling client participating in the session identifier corresponding to the group group members group session client, and step C; message or the session policy comprises establishing a second media type restrictions contained in the session, the server determines the client to establish a session sent by the calling media type in satisfies the session policy, and performs step C.
5.如权利要求1所述的建立群组会话的方法,其特征在于:服务器包括第一会话的会话策略,所述会话策略包括第一会话中第二会话嵌套层次的限制,服务器判断所述第二会话满足有关第一会话中第二会话嵌套层次的条件,并执行步骤C。 5. The method for establishing a group session according to claim 1, wherein: the server comprises a session policy in a first session, the first session comprises a session policy in a second session of the nesting level limit, the server determines whether the For the first session and said second session in the second session of the nesting level condition is satisfied, and step C.
6.如权利要求1所述的建立群组会话的方法,其特征在于该方法还包括如下步骤: D21、客户端向服务器发送携带第一会话标识的结束会话请求;D22、服务器结束客户端参与的第一会话及所有第一会话中的第二会话。 6. A method for establishing a group session according to claim 1, characterized in that the method further comprises the step of: D21, carrying the end of a session the client sends a first request to the server session identifier; D22 ends, the server client participation first session and the second session all of the first session.
7.如权利要求1所述的建立群组会话的方法,其特征在于该方法还包括如下步骤: D31、未加入第一会话的群组成员向服务器发送携带第一会话标识的加入第一会话的消息;D32、服务器将所述未加入第一会话的群组成员加入第一会话,并向所述未加入第一会话的群组成员返回携带第一会话中第二会话标识及第二会话的媒体类型的响应消息;D33、所述未加入第一会话的群组成员向服务器发送携带第二会话标识的加入第二会话的请求消息,服务器将所述未加入第一会话的群组成员加入第二会话。 7. A method for establishing a group session according to claim 1, characterized in that the method further comprises the step of: D31, the first session is not added to the server group member carrying a first session identifier added to the first session message; D32, server, the first member of the group was not added into the first session of the session, and the group members are not added to the first session of the second return carrying a first session and a second session identifier session media type response message; D33 request message, the first session is not added to the server group member carrying the second session identifier is added to the second session, the server is not added to the group members of the first session adding a second session.
CN 200610061667 2006-07-15 2006-07-15 A method for establishing group session CN101106536B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 200610061667 CN101106536B (en) 2006-07-15 2006-07-15 A method for establishing group session

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 200610061667 CN101106536B (en) 2006-07-15 2006-07-15 A method for establishing group session

Publications (2)

Publication Number Publication Date
CN101106536A CN101106536A (en) 2008-01-16
CN101106536B true CN101106536B (en) 2011-04-13

Family

ID=39000218

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 200610061667 CN101106536B (en) 2006-07-15 2006-07-15 A method for establishing group session

Country Status (1)

Country Link
CN (1) CN101106536B (en)

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101827310B (en) * 2009-03-03 2015-04-22 中国电信股份有限公司 Method and system for optimizing access delay of unicast group calling push to talk PPT business
CN102136919A (en) * 2010-09-01 2011-07-27 华为技术有限公司 Group session realization method and device
CN102394877A (en) * 2011-09-13 2012-03-28 华为技术有限公司 Method, server and system for establishing PTT (post, telegraphs and telephones) cluster call
CN103916305A (en) * 2012-12-31 2014-07-09 北京新媒传信科技有限公司 Method and terminal for transmitting instant communication message
CN104901816A (en) * 2014-03-05 2015-09-09 腾讯科技(深圳)有限公司 Method and system for multi-user chatting
CN104902111B (en) * 2014-03-06 2019-02-01 华为技术有限公司 A kind of method, apparatus and system established based on Web RTC multi-party call
CN104579708B (en) * 2014-12-26 2019-04-26 北京奇虎科技有限公司 A kind of group's Adding Way and device
CN105163300B (en) * 2015-08-05 2019-01-11 腾讯科技(深圳)有限公司 Image sending method and device, image method of reseptance and device

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1643965A (en) 2002-02-14 2005-07-20 高通股份有限公司 A server for initiating a group call in a group communication network
CN1684530A (en) 2004-04-16 2005-10-19 捷讯研究有限公司 Method and apparatus for dynamic group address creation

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1643965A (en) 2002-02-14 2005-07-20 高通股份有限公司 A server for initiating a group call in a group communication network
CN1684530A (en) 2004-04-16 2005-10-19 捷讯研究有限公司 Method and apparatus for dynamic group address creation

Also Published As

Publication number Publication date
CN101106536A (en) 2008-01-16

Similar Documents

Publication Publication Date Title
US7761108B2 (en) Providing talk burst authority in group communication system supporting PTT service
KR101214326B1 (en) Method and arrangement for providing different services in a multimedia communication system
US7499719B2 (en) Method and apparatus for mixed mode multimedia conferencing
JP5294841B2 (en) Push to talk over cellular network terminal separation method and system
US8428634B2 (en) Method for automatically setting up and/or controlling a telecommunication conference
KR100964983B1 (en) Method and system for automatically initiating a videoconference session over a network, and method for joining a videoconference session and a multicast session over a network
US7359725B2 (en) Push-to-talk apparatus and method for communication between an application server and media resource function processor
CN100344097C (en) Videoconference call set up
CN101494550B (en) Resource arbitration in a converged multi-media environment
US20070253435A1 (en) Method for providing reliable session communication within a network
US7596102B2 (en) Image exchange for image-based push-to-talk user interface
US8019371B2 (en) Multi-users real-time transcoding system and method for multimedia sessions
JP4391423B2 (en) Controlling and managing a session between end points
US20030014488A1 (en) System and method for enabling multimedia conferencing services on a real-time communications platform
US20060056440A1 (en) Managing conference communication in a communication system
KR101061373B1 (en) Push-to-talk-over performing a media storage service method of a cellular network and a PoC server and the PoC client,
CN101015167B (en) Method, network integral node and system for sharing ongoing data session
KR100666984B1 (en) System and method for call processing according to answer mode of Push to talk over Cellular user
CN1703690B (en) Side channel for membership management within conference control
CN101237336B (en) Multi-party communication method, system and method for distribution event status
US20090022072A1 (en) Method and apparatus for processing media stream queues based on control
WO2006028762A2 (en) Methods of transmitting a message to a message server in a push-to-talk network
WO2004061600A2 (en) Methods for managing a pool of multicast addresses and allocating addresses in a communications system
EP1839448A1 (en) Multi-party sessions in a communication system
JP4942936B2 (en) A method and system for group communication

Legal Events

Date Code Title Description
C06 Publication
C10 Request of examination as to substance
C14 Granted