The present invention relates to the field of communications, and particularly to a realization method and system for participating in a predefined group session, and a realization method for participating in a session.
At present, under the trend that Internet is developing to be Internet Protocol (IP)-based, conventional telecommunication services are being gradually transferred to a next generation IP-based network, for instance, standardization organizations, such as the 3rd Generation Partnership Project (3GPP), the 3rd Generation Partnership Project 2 (3GPP2), and the Telecommunications and Internet Converged Service and Protocols for Advanced Networking (TISPAN), take the Session Initial Protocol (SIP) as the basic protocol for the next generation core network, and additionally, an IP network employing the SIP is gradually becoming the network foundation for service application.
There have appeared group sessions in the SIP-based network. Typically, during the realization process of a group session, it is required that one of the several terminals participating in the session initiates the session (may be realized by calling other terminals) so that all the other terminals can participate in the session, and the initiated session is allocated with a unique session identifier. However, the session-corresponding identifier reserved on a terminal is different from that reserved on another terminal, that is, for the terminals, there is no uniform identifier on different terminals corresponding to the session. As a consequence, if one of the terminals participating in the current session desires to initiate a same session after the current session is completed, the same session initiated by a different session initiator will be deemed by other terminals as a new one, which influences the repeated initiation of the session.
In order to address the aforementioned problem caused by nonuniform identifiers, it has been proposed to require the terminals participating in a session to have a uniform identifier. However, no solution has been proposed yet for a predefined group session to enable users to participate in a group session on the premise that the group session has a uniform identifier.
Considering the problem that the participation of a user in a group session cannot be realized by related technology on the premise that the group session has a uniform identifier, the present invention is proposed with a main target of providing a realization method and system for participating in a predefined group session and a realization method for participating in a session.
The present invention provides a realization method for participating in a predefined group session, which comprises: receiving by a controller function server a group session participation request sent by a terminal, wherein the group session participation request carries a conversation identifier and a contribution identifier; and
sending the conversation identifier and the contribution identifier to other terminals which participate in a predefined group session subsequently by the controller function server.
The present invention also provides a realization method for participating in a session, which comprises: sending a conversation identifier and a contribution identifier to a terminal participating in a session by a system; and
sending the conversation identifier and the contribution identifier by the system to the terminal if the terminal exits from the session and then re-participates in the session.
The present invention provides a realization system for participating in a predefined group session, which comprises: a receiving module, which is set at a controller function server side to receive a group session participation request sent by a terminal, wherein the group session participation request carries a conversation identifier and a contribution identifier; and
a sending module, which is set at the controller function server side to send the conversation identifier and the contribution identifier to other terminals participating in a predefined group session subsequently.
The present invention further provides a realization method for participating in a predefined group session, which comprises: sending a group session participation request to a participant function server by a terminal, wherein the group session participation request carries an identifier of a group session identifier, a conversation identifier and a contribution identifier;
checking legality of the group session participation request by the participant function server, and rejecting the group session participation request if a result of the check shows the group session participation request is illegal, otherwise, forwarding the group session participation request to a controller function server to which a predefined group attaches;
storing the conversation identifier and the contribution identifier by the controller function server and then returning a success response to the participant function server and the terminal if the controller function server determines that a group corresponding to the group session participation request is a participative group from a group server and authenticates the group session participation request successfully; and
if other subsequent terminals require to participate in the predefined group session by sending a group session participation request, sending respective group session participation request of the other terminals to the controller function server, and returning a conversation identifier and a contribution identifier by the controller function server to the other terminals via a response message if the controller function server determines there are the conversation identifier and the contribution identifier corresponding to the existing group session and authenticates the group session participation request successfully.
By means of the technical solution above of the present invention, a uniform identifier of a group session is configured for the terminals so that the terminals can participate a predefined group session correctly, trace an established session accurately or initiate a same session repeatedly according to the uniform identifier, and therefore the present invention fill the gaps in the related technology.
The drawings illustrated herein are provided for a better understanding of the present invention and form one part of the present application, and the exemplary embodiments of the present invention and the description thereof are used for explaining the present invention but not limiting the present invention. In the drawings:
Function Summary
Aiming at the problem existing in the related technology that there has proposed no solution to realize the participation of a user in a group session on the premise of unifying the identifier of the group session of terminals, the present invention proposes that a system distributes a uniform identifier for the terminals participating in a group session to enable the participation of the terminals in the group session with the uniform identifier and therefore fill the gaps in the related technology. The technical solution of the present invention is described below in detail.
Method Embodiment
According to an embodiment of the present invention, there is first provided a realization method for participating in a predefined group session.
In order to address the problems existing in the related technology, it is required during the realization process of the present invention that a system sends a conversation identifier and a contribution identifier to the terminals which participate in a session, wherein the conversation identifier and the contribution identifier are pre-stored by the system, that is, the session is pre-established; then, the system sends the same conversation identifier and the same contribution identifier to both the terminals exiting from the session and the terminals participating in the session for the first time (that is, the conversation identifier and the contribution identifier are pre-stored by the system).
By the processing flow, the terminals can participate in sessions of multiple types, and can trace or repeatedly initiate a same session according to the uniform identifier.
Specifically, for the predefined group session, an embodiment provides a realization method for participating in a predefined group session.
The converged service system A and B both comprise a participant function server, a controller function server and a group server respectively, wherein
the participant function server is used for authenticating a session request to avoid that the session request is sent by an illegal user;
the controller function server is used for authenticating a group session request to avoid that the group session request is sent by an illegal user; and
the group server is used for storing configuration information of a predefined group session and an identifier indicating whether a group is a participative one.
The converged service client for a group session service (e.g. the converged service clients A and B) participates in the group session according to user operation.
As shown in
The specific processing procedures shown in
step S202, a controller function server receives a group session participation request sent by a terminal, wherein the group session participation request carries a conversation identifier and a contribution identifier which may be generated by the terminal, furthermore, the request may further carry an identifier of the group session; and
step S204, the controller function server sends the conversation identifier and the contribution identifier to other terminals which participate in the predefined group session subsequently so as to enable the other terminals to participate in the predefined group session or trace the group session or re-initiate a same group session.
The other terminals which participate in the group session subsequently refer to those participating in the group session for the first time since the establishment of the session or those re-participating in the predefined group session after exiting from the predefined group session.
Wherein, before the controller function server receives the group session participation request, the terminal participating the predefined group session can acquire the identifier information of the group session from a notification message, and the participant function server can receive the group session participation request sent by the terminal and authenticate the terminal according to the group session participation request; and the participant function server sends the group session participation request to the controller function server if the result of the authentication shows that the terminal is legal.
That is, in order to guarantee security, the terminal may first send the group session participation request to the participant function server to authenticate the legality of the terminal. If the result of the authentication from the participant function server shows that the terminal is illegal, the group session participation request is rejected.
Moreover, before sending the conversation identifier and the contribution identifier to other terminals, the controller function server authenticates the terminal according to the group session participation request to make a determination on whether to allow the participation of the terminal in the group session. If the result of the determination is positive, the controller function server stores the conversation identifier and the contribution identifier and then sends the conversation identifier and the contribution identifier to the other terminals.
Specifically, the controller function server may determine that the group is a participative group from a group server and authenticate the session request of the terminal, store the received conversation identifier and contribution identifier if the authentication succeeds, and then return a success response to the participant function server and the terminal.
Moreover, if it is determined that the participation of the terminal in the predefined group session is allowed, the controller function server may further return a success response indicative of the successful participation of the terminal in the predefined group session to the terminal, and the controller function server may further optionally send the success response to the participant function server.
Preferably, after the controller function server sends the conversation identifier and the contribution identifier to the other terminals, the other terminals can receive the conversation identifier and the contribution identifier, and update respective local conversation identifier and local contribution identifier to be the received ones, that is, replace the conversation identifier and conversation identifier respectively generated by the terminals themselves with the received ones.
After the other terminals finish the update, if requesting to participate in the predefined group session, the terminals can send a group session participation request according to the updated conversation identifier and contribution identifier so as to participate in the same group session.
Moreover, the participant function server and the controller function server may also authenticate the group session participation requests sent by the other terminals, which participate in the session subsequently, to guarantee the security of services.
The present invention will be described with reference to a specific embodiment.
Assuming the service environment of the predefined group is as shown in
As show in
step 301: a converged service client A sends a request ‘invite’ (corresponding to the aforementioned group session participation request) to the participant function server to which the converged service client A attaches, wherein in the message ‘invite’, a value of ‘request-url’ is a group identifier, a value of ‘authenticated id’ is the ‘sip uri’ of the converged service client A, and a corresponding conversation identifier (conversation id) and a contribution identifier (contribution id) are carried in Common Profile for Instant Messaging (CPIM) format packaged by Multipurpose Internet Mail Extensions (MIME);
step 302: the participant function server authenticates the sip uri corresponding to the authenticated id to determine whether the user has the right to send a session request, and forwards the session request to the controller function server to which the group identifier attaches if the authentication succeeds, otherwise, rejects the session request;
step 303: the controller function server authenticates the group identifier to determine whether the group identifier is a served one, if yes, the controller function server sends the request to the group server using the XML Configuration Access Protocol (XCAP) to acquire configuration information of the group corresponding to the group identifier, otherwise, rejects the request;
step 304: the group server returns the configuration information of the group containing the information indicating whether the group is a participative group.
step 305: the controller function server searches for a conversation id and a contribution id corresponding to the group in the case that the group is a participative group, if there exists no conversation id or contribution id corresponding to the group, the controller function server takes the conversation id and the contribution id carried by the converged service client A as the identifier of the group session, and then returns 200 ok response to the participant function server;
step 306: the participant function server forwards the 200 ok response to the converged service client A;
step 307: the converged service client A sends an acknowledge (ACK) message to the controller function server to establish a media channel between the converged service client and the controller function server;
step 308: a converged service client B sends a message ‘invite’ to the participant function server to which the converged service client B attaches, wherein in the message ‘invite’, the value of ‘request-url’ is a group identifier, the value of ‘authenticated id’ is the sip uri of the converged service client B, and a new generated conversation identifier (conversation id) and a contribution identifier (contribution id) are carried in the CPIM format packaged by MIME;
step 309: the participant function server authenticates the authenticated id of the converged service client B, rejects the request if the result of the authentication shows that the converged service client B is illegal, otherwise, forwards the request to the controller function server to which the group identifier attaches according to the group identifier;
step 310: the controller function server determines whether the group identifier is a served target, if is, the controller function server forwards the request to the group server using the XCAP to acquire configuration information of the group, otherwise, rejects the request;
step 311: the group server returns the configuration information of the group containing the information indicating whether the group is a participative group;
step 312: the controller function server determines whether the group session corresponding to the group identifier has a conversation id and a contribution id, if so, carries the conversation id and the contribution id in the 200 ok response in an MIME-packaged CPIM format and sends the response to the participant function server;
step 313: the participant function server forwards the 200 ok response to the converged service client B, and the converged service client B replaces the conversation id and contribution id generated by itself with the received ones and stores the information locally (or the terminal may not store the information and directly participate in the session using the conversation id and contribution id fed back from the system);
step 314: the converged service client B sends an ACK message to the controller function server to establish a media channel between the converged service client B and the controller function server.
By means of the process flow above, a uniform identifier of a group session is configured for the terminals so that the terminals can participate a predefined group session correctly, trace an established session accurately or initiate a same session repeatedly according to the uniform identifier, and therefore the present invention fill the gaps in the related technology.
System Embodiment
In this embodiment there is provided a realization system for participating in a predefined group session.
The controller function server 1 comprises: a receiving module 11 for receiving a group session participation request sent by a terminal, wherein the group session participation request carries a conversation id and a contribution id and may further carry an identifier of the group session; and a sending module 12 which is connected with the receiving module 11 for sending the conversation id and the contribution id to other terminals participating in the predefined group session subsequently, wherein the identifier of the group session is corresponding to the predefined group session.
The participant function server 2 is used for receiving the group session participation request, authenticating the terminal according to the group session participation request, and sending the group session participation request to the receiving module if a result of the authentication shows that the terminal is legal.
The terminal and the other terminals are converged service clients of the group session users.
The system can also execute the processing shown in
By using the system, a uniform identifier of a group session is configured for the terminals, so an established session can be always traced accurately, and a same session can be initiated repeatedly according to the uniform identifier, therefore, the gaps in related technology is filled.
In conclusion, by means of the technical solution of the present invention, a uniform identifier of a group session is configured for the terminals so that the terminals can participate in a predefined group session correctly, trace an established session accurately, and initiate a same session repeatedly according to the uniform identifier, therefore the gaps in related technology is filled.
Apparently, it should be understood by those skilled in the art that the modules or steps of the present invention can be realized by a general computing device, centralized on a single computing device or distributed on a network consisting of multiple computing devices, and optionally realized by program codes executable for computing devices; the modules or steps can be therefore stored in a storage device to be executed by a computing device or manufactured into integrated circuit modules respectively, or some of the modules or steps are manufactured into a single integrated circuit module. Thus, the present invention is not limited to any special combination of hardware and software.
The mentioned above is only preferred embodiments of the present invention but not limitation for the present invention, various modifications and variations can be devised by those skilled in the art, and it should be understood that any modification, equivalent and improvement devised without departing from the scope of the present invention should belong to the protection scope of the present invention.
Number | Date | Country | Kind |
---|---|---|---|
200910127881.2 | Apr 2009 | CN | national |
Filing Document | Filing Date | Country | Kind | 371c Date |
---|---|---|---|---|
PCT/CN2009/073124 | 8/6/2009 | WO | 00 | 8/19/2011 |