CN1980152A - Method and system for realizing management of subscriber sign based on SIP protocol - Google Patents
Method and system for realizing management of subscriber sign based on SIP protocol Download PDFInfo
- Publication number
- CN1980152A CN1980152A CN 200610082290 CN200610082290A CN1980152A CN 1980152 A CN1980152 A CN 1980152A CN 200610082290 CN200610082290 CN 200610082290 CN 200610082290 A CN200610082290 A CN 200610082290A CN 1980152 A CN1980152 A CN 1980152A
- Authority
- CN
- China
- Prior art keywords
- user
- sign
- network side
- session
- management
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Images
Landscapes
- Telephonic Communication Services (AREA)
Abstract
本发明涉及一种基于SIP协议的管理用户标识的实现方法及系统,主要包括:当用户端发送的消息中携带标识且标识可用,网络侧将该标识设置为用户标识;当用户端发送的消息中未携带标识或携带的标识不可用,网络侧限制该标识在会话中的使用。由上述本发明提供的技术方案可以看出,本发明实现了服务器对于用户标识的管理和限制,优化了用户标识的应用。避免了会话中出现不合规则的用户标识而给会话带来的不便。
The present invention relates to a method and system for implementing user identification management based on the SIP protocol, which mainly includes: when the message sent by the user terminal carries an identification and the identification is available, the network side sets the identification as the user identification; when the message sent by the user end If the identifier is not carried or the carried identifier is not available, the network side restricts the use of the identifier in the session. It can be seen from the above-mentioned technical solution provided by the present invention that the present invention realizes the management and restriction of the user ID by the server, and optimizes the application of the user ID. The inconvenience brought to the session due to irregular user IDs appearing in the session is avoided.
Description
技术领域technical field
本发明涉及通信领域,尤其涉及一种基于SIP协议的管理用户标识的实现方法及系统。The present invention relates to the communication field, in particular to a method and system for implementing user identification management based on the SIP protocol.
背景技术Background technique
SIP是一种比较简单的会话初始协议,它提供所有的通信协议,而是只提供会话或呼叫的建立与控制功能。SIP既支持单点发送(Unicast)也支持多点发送,会话参加者和媒体种类可以随时加入一个已存在的会议。SIP is a relatively simple session initiation protocol, which provides all communication protocols, but only provides session or call establishment and control functions. SIP supports both unicast and multicast, session participants and media types can join an existing conference at any time.
在基于会话初始协议(SIP)的会话中,为了使用户以及网络侧的呼叫联系更加人性化,每个SIP用户代理(User Agent)都可以有一个标识。每个UserAgent实体都有一个符合SIP要求的号码(Public Id),同时可以在此号码中携带上述的用户标识,这样,与之交互的User Agent看到的就不是很冗长枯燥的一串字符串(用户的Public Id),而是内容丰富个性十足的标识。在SIP呼叫中,用户可以选择匿名隐藏自己真实Id,使用一个标识表示自己,使SIP呼叫具有很强的趣味性。In a session based on the Session Initiation Protocol (SIP), in order to make the call connection of the user and the network side more humanized, each SIP User Agent (User Agent) can have an identifier. Each UserAgent entity has a number (Public Id) that meets SIP requirements, and can carry the above-mentioned user ID in this number, so that the User Agent that interacts with it does not see a long and boring string of characters (the user's Public Id), but a logo with rich content and full personality. In a SIP call, users can choose to hide their real ID anonymously and use an ID to represent themselves, making SIP calls very interesting.
目前,POC呼叫信令采用了会话初始协议SIP。在POC群组中,每个POC终端用户都分配有一个Public Id,并可以为自己设置一个标识。每个Public Id只唯一地代表一个用户,所以各成员的Public Id是不能重复的,但因为成员标识并不影响POC呼叫的接续,所以每个成员的标识可以重复。但是标识的重复会产生一个新的问题,即如果在一个群组呼叫中同时有两个成员的标识是相同的,同时,服务器的策略是在媒体交互平面(User Plane)只显示标识不显示PublicId,这时网络侧只能根据标识来区分用户,所以如果此时如果标识冲突将不能区分各用户;另外,群组成员采用匿名呼叫,可以由成员自己提供标识,这时如果标识冲突则不能区分各成员。Currently, the POC call signaling uses the Session Initiation Protocol SIP. In the POC group, each POC end user is assigned a Public Id and can set an identity for himself. Each Public Id uniquely represents a user, so the Public Id of each member cannot be repeated, but because the member ID does not affect the connection of POC calls, the ID of each member can be repeated. But the duplication of IDs will create a new problem, that is, if there are two members with the same ID in a group call at the same time, at the same time, the server's strategy is to display only IDs but not PublicId on the media interaction plane (User Plane) , at this time, the network side can only distinguish users according to the identifiers, so if the identifiers conflict at this time, the users cannot be distinguished; in addition, group members use anonymous calls, and members can provide their own identifiers. At this time, if the identifiers conflict, they cannot be distinguished Members.
为了保证能够区分各成员,则要求在出现成员的标识冲突的时候可以对成员的标识进行修改,以避免冲突。In order to ensure that each member can be distinguished, it is required that the identifier of the member can be modified when the identifier conflict of the member occurs, so as to avoid the conflict.
在现有技术中,如果终端需要修改标识,用户可以在终端上将原来的标识修改自己所希望的标识,在下一次会话时,在终端发送的INVITE中携带发送给网络侧进行标识冲突检测。In the prior art, if the terminal needs to modify the identity, the user can modify the original identity on the terminal to the desired identity, and in the next session, carry it in the INVITE sent by the terminal and send it to the network side for identity conflict detection.
以上现有技术虽然能够实现对标识的修改,但是这种修改不能实现实时修改用户标识,一旦标识不可用,则只能在下一次会话前进行修改,对正常的会话还是有一定影响。Although the above prior art can realize the modification of the identification, this modification cannot realize real-time modification of the user identification. Once the identification is unavailable, it can only be modified before the next session, which still has a certain impact on the normal session.
发明内容Contents of the invention
鉴于上述现有技术所存在的问题,本发明的目的是提供一种使用可以实时地管理用户标识的方法。In view of the above-mentioned problems in the prior art, the purpose of the present invention is to provide a method for real-time management of user IDs.
本发明的目的是通过以下技术方案实现的:The purpose of the present invention is achieved through the following technical solutions:
一种基于SIP协议的管理用户标识的实现方法,包括:A method for realizing management user identification based on SIP protocol, comprising:
A、当用户端发送的消息中携带标识且标识可用,网络侧将该标识设置为用户标识;A. When the message sent by the user terminal carries an identifier and the identifier is available, the network side sets the identifier as the user identifier;
B、当用户端发送的消息中未携带标识或携带的标识不可用,网络侧限制该标识在该会话中的使用。B. When the message sent by the user terminal does not carry an identifier or the carried identifier is unavailable, the network side restricts the use of the identifier in the session.
所述的用户标识包括在SIP协议中使用的昵称,还包括在业务中使用中的非签约标识中的任意标识。The user identification includes the nickname used in the SIP protocol, and also includes any identification in the non-subscription identification used in the service.
所述的用户端发送的业务请求中携带有用户标识信息,网络侧根据标识可用性判别规则检测用户端所提供标识的可用性。The service request sent by the user terminal carries user identification information, and the network side detects the availability of the identification provided by the user terminal according to identification availability judgment rules.
所述用户标识可用性判别规则包括但不限于:The user identification availability judgment rules include but are not limited to:
用户端是否提供标识;Whether the client provides an identification;
或,or,
用户端提供的标识是否与业务中其他用户标识冲突;Whether the ID provided by the client conflicts with other user IDs in the business;
或,or,
用户端提供的标识是否符合系统的策略规定。Whether the identifier provided by the client complies with the system policy.
所述的策略规定包括但不限于禁用指定的字词、符号,设置标识长度的允许范围。The policy provisions include, but are not limited to, prohibiting specified words and symbols, and setting the allowable range of identification length.
所述的网络侧限制该标识在该会话中的使用,当用户端提供的标识不可用,则标识的设置的方法包括:The network side restricts the use of the identifier in the session. When the identifier provided by the client is unavailable, the method for setting the identifier includes:
网络侧经过协商为用户端重新设置标识;The network side resets the identity for the client after negotiation;
所述的网络侧限制该标识在该会话中的使用,当用户端提供的标识不可用,则标识的设置的方法包括:The network side restricts the use of the identifier in the session. When the identifier provided by the client is unavailable, the method for setting the identifier includes:
网络侧不经过协商直接为用户端重新设置标识。The network side directly resets the identity for the user end without negotiation.
所述的网络侧限制该标识在该会话中的使用,当用户端提供的标识不可用,则标识的设置的方法包括:The network side restricts the use of the identifier in the session. When the identifier provided by the client is unavailable, the method for setting the identifier includes:
网络侧采用这样的处理方法:用户在本次会话中不能使用该标识功能,会话正常建立或者正常进行。The network side adopts such a processing method: the user cannot use the identification function in this session, and the session is established or proceeds normally.
所述的网络侧限制该标识在该会话中的使用,当用户端提供的标识不可用,则标识的设置的方法包括:The network side restricts the use of the identifier in the session. When the identifier provided by the client is unavailable, the method for setting the identifier includes:
网络侧拒绝该用户的消息请求和/或者终止用户参与该会话。The network side rejects the user's message request and/or terminates the user's participation in the session.
其中,当用户端提供的标识不可用,所述协商过程包括:Wherein, when the identifier provided by the client is unavailable, the negotiation process includes:
网络侧为用户端设置一个标识,用户端判断是否接受该标识,若接受,则用户端使用该标识,若不接受,则用户端重新向网络侧提供一个新的标识与网络侧继续协商,直至得到一个用户端接受且可用的标识为止。The network side sets an identifier for the client, and the client judges whether to accept the identifier. If accepted, the client uses the identifier. If not, the client provides a new identifier to the network side and continues to negotiate with the network until until an identifier accepted and usable by the client is obtained.
所述的网络侧为用户端重新设置标识的方法为,The method for the network side to reset the identification for the client is as follows:
当用户端未提供标识,将用户标识设置为业务信息后加入附加信息的形式;When the user terminal does not provide an identifier, set the user identifier as business information and add additional information;
当用户端提供标识但标识不可用时,在用户端提供的标识后加入附加信息。When the ID provided by the client is not available, add additional information after the ID provided by the client.
所述业务信息包括但不限于业务名称、业务群组标识、业务提供商信息、业务描述信息;所述附加信息包括但不限于用户标识信息的部分或全部、用户归属信息、用户签约信息、用户类别信息、随机信息。The service information includes but not limited to service name, service group identifier, service provider information, service description information; the additional information includes but not limited to part or all of user identification information, user affiliation information, user subscription information, user Category information, random information.
其中,当用户端提供的标识不可用,网络侧为用户端发送的指示用户原因值的内容包括但不限于:Among them, when the identifier provided by the user terminal is unavailable, the content indicating the user reason value sent by the network side to the user terminal includes but is not limited to:
通告用户该标识不可用;Inform the user that the logo is unavailable;
或or
通告用户该标识不可用的原因;inform the user why the logo is unavailable;
或or
提醒用户重新提供一个标识;Remind the user to provide a new logo;
或or
提醒用户在该会话中不能使用标识功能。Reminds the user that identification is not available for this session.
所述的用户端可以在业务进行中随时对使用的标识进行修改。The user end can modify the identifier used at any time during the business.
所述管理用户标识的实现方法所适用的系统包括但不限于所有基于业务发起协议实体交换的系统。The systems to which the method for implementing user identity management is applicable include, but are not limited to, all systems based on service initiation protocol entity exchange.
在所述的网络侧创建一个用于保存禁止使用的标识的数据库。A database for storing prohibited signs is created on the network side.
其中,如果用户标识与数据库中禁止使用的标识冲突,网络侧将按照标识设置方法为用户端重新设置一个标识。Wherein, if the user ID conflicts with the prohibited ID in the database, the network side will reset an ID for the user according to the ID setting method.
所述标识的携带方法包括但不限于使用下述方法:The methods of carrying the identification include but are not limited to the following methods:
使用用户的统一资源标识符携带;Ported using the user's Uniform Resource Identifier;
或,or,
通过会话描述协议体携带;Carried by the session description protocol body;
或,or,
通过可扩展标记语言携带;Portable via Extensible Markup Language;
或or
通过SIP消息头携带。Carried in the SIP message header.
所述的网络侧向用户端发送消息,指示网络侧所作的用户标识限制。The network side sends a message to the user terminal, indicating the user identification restriction made by the network side.
一种基于SIP协议的管理用户标识的系统,在网络侧包括,A system for managing user identification based on the SIP protocol, including on the network side,
标识管理模块,用于对用户端提供的与会话中标识发生冲突的标识进行修改、设置;The identity management module is used to modify and set the identity provided by the client that conflicts with the identity in the session;
协商模块,用于将标识管理模块对冲突标识的修改发送给用户端侧;A negotiation module, configured to send the modification of the conflicting identifier by the identifier management module to the client side;
在用户端侧包括,On the client side include,
标识管理发起模块,用于向网络侧发出标识设置、修改请求,并提供用户标识。The identification management initiating module is used to send identification setting and modification requests to the network side, and provide user identification.
其中,在网络侧和用户端中均设有协商模块,网络侧协商模块用于将标识管理模块对冲突标识的修改发送给用户端侧,用户端的协商模块用于判断是否接受网络侧为用户端修改的标识。Wherein, both the network side and the user end are equipped with a negotiation module, the network side negotiation module is used to send the modification of the conflicting ID by the identification management module to the user end side, and the user end negotiation module is used to judge whether to accept the network side as the user end. Modified ID.
附图说明Description of drawings
图1所示为本发明一实施例在会话建立过程中终端用户设置标识示意图;Fig. 1 is a schematic diagram of terminal user setting identification in the session establishment process according to an embodiment of the present invention;
图2所示为本发明一实施例在会话建立后用户主叫时修改标识示意图;Fig. 2 shows that an embodiment of the present invention modifies the schematic diagram of the identification when the user calls after the session is established;
图3所述为本发明一实施例在会话建立后用户被叫时修改标识示意图;Fig. 3 is described as an embodiment of the present invention when the user is called after the session is established and modifies the schematic diagram of the identification;
图4所示为本发明一实施例在存在协商过程的情况下通过POC终端用户管理标识示意图;Fig. 4 shows a schematic diagram of management identification by POC terminal users under the condition that there is a negotiation process according to an embodiment of the present invention;
图5所示为本发明一实施例在不存在协商过程且用户主叫的情况下通过POC终端用户管理标识示意图;Fig. 5 shows a schematic diagram of management identification of a POC terminal user through a POC terminal when there is no negotiation process and the user is calling in an embodiment of the present invention;
图6所示为本发明一实施例在不存在协商过程时且用户被叫的情况下通过POC终端用户管理标识示意图;Fig. 6 shows a schematic diagram of user management identification through the POC terminal when there is no negotiation process and the user is called in an embodiment of the present invention;
图7所示为本发明网络侧和用户间不进行协商的一种POC系统实施例示意图;FIG. 7 is a schematic diagram of an embodiment of a POC system without negotiation between the network side and the user in the present invention;
图8所示为本发明网络侧和用户间不进行协商的一种POC系统实施例示意图;FIG. 8 is a schematic diagram of an embodiment of a POC system without negotiation between the network side and the user in the present invention;
图9所示为本发明网络侧和用户间不进行协商的一种POC系统实施例示意图;FIG. 9 is a schematic diagram of an embodiment of a POC system without negotiation between the network side and the user in the present invention;
图10所示为本发明网络侧和用户间不进行协商的一种POC系统实施例示意图;FIG. 10 is a schematic diagram of an embodiment of a POC system without negotiation between the network side and the user in the present invention;
图11所示为本发明一实施例的的系统示意图。FIG. 11 is a schematic diagram of a system according to an embodiment of the present invention.
具体实施方式Detailed ways
本发明的核心是用户在会话建立过程中以及会话建立后,当用户提供的标识不符合网络侧的策略或者规则时,网络侧可以根据修改规则直接为用户分配标识,也可以通过与用户之间进行的消息交互实时地对原来设置的标识进行修改,也可以拒绝用户在本次会话中使用该标识功能。The core of the present invention is that during and after the session is established, when the identification provided by the user does not conform to the policy or rules of the network side, the network side can directly assign the identification to the user according to the modification rules, or through the communication between the user and the user. The message interaction carried out can modify the originally set identification in real time, and can also refuse the user to use the identification function in this session.
具体一点讲,本发明在会话建立过程中以及会话建立后对用户标识的设置和修改过程如下:Specifically, the present invention sets up and revises the process of user identification during session establishment process and after session establishment as follows:
在会话建立的过程中,用户提供一个标识要求进入网络侧已存在的会话,网络侧对用户提供的标识进行可用性检测。In the process of establishing a session, the user provides an identifier to request to enter an existing session on the network side, and the network side checks the availability of the identifier provided by the user.
如果用户提供的标识符合网络侧的策略或者规则,则网络侧允许用户使用其本身提供的标识进入会话。If the identifier provided by the user complies with the policies or rules of the network side, the network side allows the user to use the identifier provided by itself to enter the session.
当用户提供的标识不符合网络侧的策略或者规则,则网络侧可以采取两种处理方案:When the identifier provided by the user does not comply with the policies or rules on the network side, the network side can adopt two solutions:
网络侧根据修改规则直接将用户所提供的标识修改为符合网络侧策略或者规则的标识,并允许用户使用该可使用标识进入会话,同时将对标识的修改结果通知用户;The network side directly modifies the identifier provided by the user to an identifier that conforms to the network-side policy or rules according to the modification rules, and allows the user to use the usable identifier to enter the session, and notifies the user of the modification result of the identifier;
或or
网络侧拒绝用户使用其自身提供的标识进入会话,同时网络侧根据修改规则向用户所推荐一个符合网络侧策略、规则的可用标识,或网络侧向用户发送指示用户原因值。The network side refuses the user to use the identity provided by itself to enter the session, and at the same time, the network side recommends to the user an available identity that conforms to the network-side policy and rules according to the modification rules, or the network side sends the user a reason value indicating the user.
或or
网络侧拒绝用户在本次会话中使用该标识功能,在本次会话中,用户的标识为基本的用户标识。The network side refuses the user to use the identification function in this session, and in this session, the user's identification is the basic user identification.
当网络侧向用户推荐标识时,如果用户同意将该标识作为用户标识,则网络侧允许用户使用该可用标识进入会话;如果用户不同意使用该标识,则要求用户重新提供一个新的标识,并根据上述方法重新对新的标识进行可用性检测并根据检测结果进行处理,直至用户提供一个合法标识或同意使用网络侧推荐的标识进入会话为止。When the network side recommends an identity to the user, if the user agrees to use the identity as the user identity, the network side allows the user to use the available identity to enter the session; if the user does not agree to use the identity, the user is required to provide a new identity, and According to the above method, re-check the availability of the new identifier and process it according to the detection result until the user provides a legal identifier or agrees to use the identifier recommended by the network side to enter the session.
当网络侧向用户发送指示用户原因值,所述指示用户原因值的内容包括但不限于:When the network side sends the indicated user reason value to the user, the contents of the indicated user reason value include but are not limited to:
通告用户该标识不可用;Inform the user that the logo is unavailable;
或or
通告用户该标识不可用的原因;inform the user why the logo is unavailable;
或or
提醒用户重新提供一个标识。Reminds the user to provide an ID again.
所述用户标识不可用是指网络侧根据标识可用性判别规则检测用户端所提供标识的可用性,如果用户标识与标识可用性判别规则冲突,则该用户标识不可用。所述用户标识可用性判别规则包括:The unavailable user identity refers to that the network side detects the availability of the identity provided by the user terminal according to the identity availability judgment rule, and if the user identity conflicts with the identity availability judgment rule, the user identity is unavailable. The user identification availability discrimination rules include:
用户端是否提供标识;Whether the client provides an identification;
或,or,
用户端提供的标识是否与业务中其他用户标识冲突;Whether the ID provided by the client conflicts with other user IDs in the service;
或,or,
用户端提供的标识是否符合系统的策略规定。Whether the identifier provided by the client complies with the system policy.
在会话建立后,用户可以随时对当前使用的标识进行修改。进行标识修改时,用户向网络侧提供一个新标识作为修改标识,网络侧对用户提供的修改标识进行合法性检测。After the session is established, the user can modify the currently used ID at any time. When modifying the logo, the user provides a new logo to the network side as the modification logo, and the network side checks the validity of the modification logo provided by the user.
如果用户提供的修改标识符合网络侧的标识策略或者规则,则网络侧允许用户使用修改标识进入会话。If the modification identifier provided by the user complies with the identifier policy or rule of the network side, the network side allows the user to use the modification identifier to enter the session.
当用户提供的修改标识与网络侧的原有标识冲突,则网络侧可以采取两种处理方案,其具体处理方法与会话建立过程中的方法相似:When the modification identifier provided by the user conflicts with the original identifier on the network side, the network side can adopt two solutions, and the specific processing methods are similar to those in the session establishment process:
网络侧根据修改规则直接将用户所提供的修改标识修改为符合网络侧策略或者规则的可使用标识,并允许用户使用该可使用标识进入会话,同时将对标识的修改结果通知用户;The network side directly modifies the modification identifier provided by the user into an available identifier that conforms to the network-side policy or rules according to the modification rules, and allows the user to use the usable identifier to enter the session, and at the same time notifies the user of the modification result of the identifier;
或or
网络侧拒绝用户使用其自身提供的修改标识进入会话,用户继续在会话中使用原有标识,同时网络侧根据修改规则向用户所推荐一个符合网络侧策略、规则的可使用标识,或网络侧向用户发送指示用户原因值。The network side refuses the user to enter the session using the modified ID provided by itself, and the user continues to use the original ID in the session. User sent indicating user reason value.
或or
网络侧拒绝用户在本次会话中使用该标识功能,在本次会话中,用户的标识为基本的用户标识。The network side refuses the user to use the identification function in this session, and in this session, the user's identification is the basic user identification.
当网络侧向用户推荐标识时,如果用户同意将该可用标识作为用户新的修改标识,则网络侧允许用户在会话中使用该标识;如果用户不同意使用该新标识作为修改标识,则用户可以在会话过程中随时重新提供一个新的修改标识,并根据上述方法重新对新的标识进行冲突检测并根据检测结果进行处理,直至用户在会话中提供一个新的合法标识或同意使用网络侧推荐的标识为止。When the network side recommends a logo to the user, if the user agrees to use the available logo as the user's new modification logo, the network side allows the user to use the logo in the session; if the user does not agree to use the new logo as the modification logo, the user can Provide a new modified ID at any time during the session, and re-check the new ID according to the above method and process it according to the detection result until the user provides a new legal ID in the session or agrees to use the one recommended by the network side until identified.
当网络侧向用户发送指示用户原因值,所述指示用户原因值的内容包括但不限于:When the network side sends the indicated user reason value to the user, the contents of the indicated user reason value include but are not limited to:
通告用户该标识不可用;Inform the user that the logo is unavailable;
或or
通告用户该标识不可用的原因;inform the user why the logo is unavailable;
或or
提醒用户重新提供一个标识。Reminds the user to provide an ID again.
下面将结合附图对本发明所述的方法作进一步详细说明。The method described in the present invention will be further described in detail below in conjunction with the accompanying drawings.
本发明会话建立过程中终端用户设置标识示意图如图1所示,其工作流程如下:The schematic diagram of terminal user setting identification in the session establishment process of the present invention is shown in Figure 1, and its working process is as follows:
步骤11、终端用户向网络侧的服务器发送INVITE(邀请)消息。Step 11, the terminal user sends an INVITE message to the server on the network side.
网络中各个终端用户之间的会话由网络侧的通信服务器建立。这里的会话包括但不限于会话初始协议(SIP)会话、实时通信(IM)会话、一键通(PoC)会话、会议(Conference)会话。Sessions between various end users in the network are established by the communication server on the network side. The sessions here include but are not limited to Session Initiation Protocol (SIP) sessions, Instant Messaging (IM) sessions, Push to Talk (PoC) sessions, and Conference (Conference) sessions.
未参与会话的终端用户既可以加入一个已经建立的会话,也可以创建新的会话。End users not participating in a session can either join an already established session or create a new session.
终端用户与网络侧服务器取得联系后,服务器检查用户标识是否符合网络侧的策略或者规则。After the terminal user contacts the server on the network side, the server checks whether the user ID complies with the policies or rules on the network side.
网络侧服务器根据运营商订制好的策略或者规则检查用户标识是否合法。这里的内容合法性包括请求进入会话的用户与会话中已有用户的标识相同,以及用户标识不符合运营商策略的规定。这里,运营商的策略对名称的限制可以包括但不限于:对用户标识字节数范围的限制,禁止使用某些特定字符。The server on the network side checks whether the user ID is legal according to the policy or rules customized by the operator. The legality of content here includes that the user requesting to enter the session has the same ID as the existing user in the session, and the user ID does not comply with the operator's policy. Here, the restriction on the name by the operator's policy may include but not limited to: restriction on the byte range of the user identification, prohibiting the use of some specific characters.
步骤12、如果用户已携带标识,网络侧通信服务器对用户标识进行检查后发现标识不合法。此时可以通过用户与网络侧服务器之间进行协商后确定新的可用标识,也可不经过协商过程由网络侧服务器直接为用户分配一个可用的标识。Step 12. If the user has already carried the ID, the communication server on the network side checks the user ID and finds that the ID is illegal. At this time, a new available identifier can be determined after negotiation between the user and the network-side server, or the network-side server can directly assign an available identifier to the user without going through the negotiation process.
121、进行协商的过程包括:121. The negotiation process includes:
1211、网络侧服务器通过发送183消息要求用户重新携带新的标识;1211. The server on the network side sends a 183 message to request the user to carry a new identifier again;
1212、用户通过暂时确认(PRACK)消息携带新的标识1212. The user carries a new identifier through a provisional confirmation (PRACK) message
如果新的标识经服务器检查后发现符合网络侧的策略或者规则,则服务器接受该标识作为用户标识;If the new identity is checked by the server and found to be in compliance with the policies or rules on the network side, the server accepts the identity as the user identity;
如果新的标识经服务器检查后仍不合法,则可以重复以上过程,直至用户向服务器提供一个不冲突的可用标识为止。If the new ID is still invalid after being checked by the server, the above process can be repeated until the user provides the server with an available ID that does not conflict.
122、不进行协商的过程包括:122. Processes without negotiation include:
1221、服务器根据修改规则直接为用户分配标识,该标识通过200 OK消息直接携带给用户。1221. The server directly assigns an identifier to the user according to the modification rule, and the identifier is directly carried to the user through a 200 OK message.
1222、终端用户向网络侧服务器发送确认(ACK)消息并进入会话。1222. The terminal user sends an acknowledgment (ACK) message to the network side server and enters the session.
此时用户终端可以不使用服务器分配标识,但是在该会话中,用户只能使用服务器分配的标识。At this time, the user terminal may not use the identifier assigned by the server, but in this session, the user can only use the identifier assigned by the server.
在会话中用户使用与服务器不同的标识时,服务器可以直接将标识替换成如前步骤使用的标识或者拒绝该用户请求;在替换标识以及拒绝用户请求的过程中可以将操作过程通知用户。When the user uses a different ID from the server in the session, the server can directly replace the ID with the ID used in the previous step or reject the user request; the user can be notified of the operation process during the process of replacing the ID and rejecting the user request.
图2所示为用户主叫进入会话后自行修改标识的方法。在会话过程中,用户主动发起标识修改。Fig. 2 shows the method for modifying the identity after the calling party enters the session. During the session, the user actively initiates identity modification.
步骤21、终端用户向网络侧的服务器发送INVITE,请求进入会话。
步骤22、网络侧服务器根据终端用户的标识情况为用户设置、修改标识并向终端发送200 OK消息通知终端用户标识的设置、修改情况。Step 22, the network side server sets and modifies the identity for the user according to the identity of the terminal user and sends a 200 OK message to the terminal to notify the terminal user of the setting and modification of the identity.
步骤23、终端用户向网络侧服务器发送ACK消息并进入会话。
步骤24、当用户进入会话后希望在会话进行过程中修改标识时,终端向网络侧服务器发送携带有标识修改请求的UPDATE消息,该消息中可携带用户提出的修改标识。Step 24: When the user enters the session and wishes to modify the ID during the session, the terminal sends an UPDATE message carrying an ID modification request to the server on the network side, and the message may carry the modification ID proposed by the user.
当用户提供的修改标识与网络侧其他用户标识冲突,则可以通过用户与网络侧服务器之间进行协商后确定新的可用标识,也可不经过协商过程由网络侧服务器直接为用户分配一个可用的标识。When the modification ID provided by the user conflicts with other user IDs on the network side, a new available ID can be determined after negotiation between the user and the network side server, or the network side server can directly assign an available ID to the user without going through the negotiation process .
当标识确定后,用户在会话中使用新的标识。After the identity is determined, the user uses the new identity in the session.
步骤25、当确定新的用户标识后,网络侧向终端发送200 OK消息,将目前使用的新标识的通知用户。
图3所示为用户被叫进入会话后自行修改标识的方法。在会话过程中,用户主动发起标识修改。Fig. 3 shows the method for modifying the identity after the user is called into the session. During the session, the user actively initiates identity modification.
步骤31、网络侧服务器向用户发送INVITE,邀请用户进入会话。Step 31, the server on the network side sends an INVITE to the user, inviting the user to enter the session.
步骤32、终端向网络侧服务器发送响应消息200 OK,响应消息中带上自己的标识,网络侧服务器根据相关策略判断该标识是否合法,如果合法则允许用户直接进入会话,如果不合法则不经过协商直接为用户分配一个可用标识,用户使用该标识进入会话。Step 32. The terminal sends a
步骤33、用户进入会话后网络侧服务器向终端发送ACK消息,将该情况通知终端。Step 33: After the user enters the session, the server on the network side sends an ACK message to the terminal to notify the terminal of the situation.
步骤34、当用户进入会话后希望在会话进行过程中修改标识时,终端向网络侧服务器发送携带有标识修改请求的UPDATE消息,该消息中可携带用户提出的修改标识。Step 34: When the user enters the session and wishes to modify the identifier during the session, the terminal sends an UPDATE message carrying an identifier modification request to the server on the network side, and the message may carry the modification identifier proposed by the user.
当终端提供的新标识合法,则网络侧服务器将该标识更改为用户标识;When the new identity provided by the terminal is legal, the server on the network side changes the identity to the user identity;
当终端提供的新标识不合法,则网络侧服务器根据规则直接为用户分配一个可用标识,将该标识更改为用户标识。When the new ID provided by the terminal is invalid, the server on the network side directly assigns an available ID to the user according to the rules, and changes the ID to a user ID.
步骤35、当网络侧服务器为用户更改完标识后,向终端发送200 OK消息将更改结果发送给终端。Step 35. After the server on the network side has changed the identity for the user, it sends a 200 OK message to the terminal to send the change result to the terminal.
以下通过两个实施例分别详细介绍本发明在具有协商过程和不具有协商过程两种情况下,用户为自己设置、修改标识的过程:In the following two embodiments, the process of the user setting and modifying the identity for himself is introduced in detail in the present invention with and without the negotiation process:
图4所示为本发明的一个POC系统实施例,其实现的功能为,POC服务器对用户的标识进行修改,然后将修改结果发送给用户。Fig. 4 shows an embodiment of a POC system of the present invention, which realizes the function that the POC server modifies the user's identity, and then sends the modification result to the user.
本实施例中,服务器对用户标识的修改包括一个用户与服务器之间的协商过程,用户通过实时消息交互进行协商。所述协商过程可以在用户与服务器之间业务建立的过程中进行,也可以在用户尽入业务后随时与服务器进行。In this embodiment, the modification of the user ID by the server includes a negotiation process between the user and the server, and the user performs the negotiation through real-time message interaction. The negotiation process can be carried out during the service establishment process between the user and the server, or can be carried out with the server at any time after the user completes the service.
在本实施例中,群组已经创建完毕,该群组的ID为sip:chatroom_tree@network.net,群组类型为开放型,对成员的进入没有限制。这里对群组类型没有特别限制,也可以使用如封闭型的其他类型群组。已知有两个POC终端,分别为:In this embodiment, the group has been created, the ID of the group is sip:chatroom_tree@network.net, the group type is open, and there is no restriction on the entry of members. There is no special limitation on the group type here, and other types of groups such as closed groups can also be used. It is known that there are two POC terminals, namely:
POC终端A,其标识和Public Id分别为:″lemon″<sip:PoC-UserA@networkA.net>POC terminal A, its logo and Public Id are: "lemon" <sip: PoC-UserA@networkA.net>
POC终端B,其标识和Public Id分别为:″lemon″<sip:PoC-UserB@networkB.net>POC terminal B, its logo and Public Id are: "lemon" <sip: PoC-UserB@networkB.net>
如果该聊天室会话已经建立,POC终端A已经进入会话并同会话中的成员进行POC通信,则当POC终端B准备进入该聊天室时,本实施例的工作流程如下所述:If this chat room session has been established, POC terminal A has entered the session and carries out POC communication with the members in the session, then when POC terminal B prepares to enter this chat room, the workflow of the present embodiment is as follows:
步骤41、POC终端B用户从联系列表中选择聊天室群组ID:sip:chatroom_tree@network.net,通过INVITE消息向POC终端B的归属POC服务器发起呼叫。
步骤42、终端B的归属POC服务器在此流程中担任PF角色,该服务器通过相应业务检查后,将向聊天室群组的归属POC服务器发送INVITE消息。
步骤43、POC服务器(CF)收到INVITE消息后,根据消息中所带的群组ID检查到此聊天室群组正在进行POC会话,此时POC服务器(CF)将对POC终端B进行相应的呼叫冲突检查,并根据检查结果向终端B的归属POC服务器发送183响应。Step 43: After receiving the INVITE message, the POC server (CF) checks that the chat room group is carrying out a POC session according to the group ID carried in the message. At this time, the POC server (CF) will perform a corresponding response to the POC terminal B. Call conflict check, and send a 183 response to the home POC server of terminal B according to the check result.
冲突检查以及相应的处理过程如下:Conflict checking and corresponding processing are as follows:
431、如果POC服务器的策略确定在用户平面(User Plane)的抢权指示消息中只根据标识来区分用户,即标识的合法性检查除了网络侧的标识规则合法性检查外,还包括群组成员的标识冲突检查,则存在以下3种情况:431. If the policy of the POC server determines that in the user plane (User Plane) preemption instruction message, users are only distinguished according to the identifier, that is, the legality check of the identifier includes group members in addition to the legality check of the identifier rule on the network side The following three situations exist in the ID conflict check:
如果用户B的提供的标识和会话中别的成员标识没有冲突,则POC服务器将默认B在会话中使用自身提供的标识。If there is no conflict between the identity provided by user B and the identity of other members in the session, the POC server will use the identity provided by user B in the session by default.
如果用户B的标识和会话中其他用户的标识有冲突,则POC服务器将根据修改规则修改B的标识,将修改后的标识发送给B进行协商。If the identity of user B conflicts with the identity of other users in the session, the POC server will modify the identity of B according to the modification rules, and send the modified identity to B for negotiation.
如果用户B没有提供标识,则POC服务器将根据修改规则构造一个标识,将构造的标识发送给B进行协商。If user B does not provide an identifier, the POC server will construct an identifier according to the modification rules, and send the constructed identifier to B for negotiation.
432、如果POC服务器的策略确定在用户平面(User Plane)的抢权指示消息中使用用户标识和号码一起来区分用户,抢权指示消息是POC服务器对用户抢权请求的相应消息,告知用户是否得到申请的权力。432. If the policy of the POC server determines that the user identification and number are used together in the user plane (User Plane) preemption indication message to distinguish users, the preemption indication message is the corresponding message of the POC server's request for the user's preemption, and informs the user whether Get the right to apply.
则存在以下3种情况:Then there are the following 3 situations:
4321、如果用户B隐藏了自己的号码只带了标识,4321. If user B hides his number and only has a logo,
当会话中已经存在另一用户A也是隐藏了自己号码同时标识与B相同,此时POC服务器将根据修改规则修改B的标识,发送给B进行协商。When another user A already exists in the session and also hides his number and has the same ID as B, the POC server will modify the ID of B according to the modification rules and send it to B for negotiation.
当会话中不存在既隐藏了号码同时标识也相同的成员,POC服务器默认B在会话中使用自身提供的标识。When there is no member who hides the number and has the same ID in the session, the POC server defaults that B uses the ID provided by itself in the session.
当用户B隐藏了自己的号码同时也没有提供标识,此时POC服务器根据修改规则为B分配一个标识,发送给B进行协商。When user B hides his number and does not provide an ID, the POC server assigns an ID to B according to the modification rules and sends it to B for negotiation.
4322、如果用户B提供了自己的号码和标识,此时POC服务器默认B在会话中使用自身提供的标识。4322. If user B provides its own number and ID, the POC server defaults that B uses the ID provided by itself in the session.
4323、如果B带了自己的号码但没有带标识,此时POC服务器将根据相关规则为B分配一个标识,发送给B进行协商。4323. If B brings his own number but no identification, the POC server will assign an identification to B according to relevant rules and send it to B for negotiation.
以上3种情况中所述的修改规则为:The modification rules described in the above 3 cases are:
当用户未提供标识,用户标识的设置方法为,在业务信息后加入附加信息的形式;When the user does not provide an ID, the user ID is set in the form of adding additional information after the business information;
当用户提供标识但所提供的标识不可用时,用户标识的设置方法为,在用户提供的标识后加入附加信息。When the user provides an ID but the provided ID is not available, the method for setting the user ID is to add additional information after the user-provided ID.
所述业务信息包括但不限于业务名称、业务群组标识、业务提供商信息、业务描述信息;所述附加信息包括但不限于用户标识信息的部分或全部、用户归属信息、用户签约信息、用户类别信息、随机信息。The service information includes but not limited to service name, service group identifier, service provider information, service description information; the additional information includes but not limited to part or all of user identification information, user affiliation information, user subscription information, user Category information, random information.
例如,如果POC服务器需要修改用户B的标识“lemon”,此时可以将POC终端B的标识按照一定规则修改为“lemon_1”,通过临时响应(例如:183)发给POC终端B确认,同时POC服务器将记录用户B的新的标识。在修改标识时,可以采用SIP头域在Uri中携带,也包括通过SDP携带,也包括通过XML携带等。For example, if the POC server needs to modify the identity "lemon" of user B, at this time, the identity of POC terminal B can be changed to "lemon_1" according to certain rules, and a temporary response (for example: 183) is sent to POC terminal B for confirmation. The server will record User B's new identity. When modifying the identifier, the SIP header field can be used to carry in the Uri, including carrying through SDP, and also including carrying through XML.
步骤44、终端B的归属POC服务器收到183响应后,将消息转发给POC终端B进行标识协商。Step 44: After receiving the 183 response, the home POC server of terminal B forwards the message to POC terminal B for identity negotiation.
步骤45、POC终端B收到183响应后对标识进行协商,并将协商结果存入暂时确认(PRACK)消息中发送给终端B的归属POC服务器(PF)。Step 45: After receiving the 183 response, the POC terminal B negotiates the identity, stores the negotiation result in a PRACK message and sends it to terminal B's home POC server (PF).
以下举例说明终端B对标识的协商过程。The following example illustrates the negotiation process of terminal B on the identity.
当终端B获知其标识被修改为“lemon_1”,终端将询问POC用户B提示接受该标识或者重新提供一个标识。如果POC终端B选择接受,则在PRACK消息中所带的标识为“lemon_1”,如果POC终端B选择重新输入一个标识,例如“flower”,则在PRACK消息中带上“flower”标识。后续POC服务器检查到还有冲突,POC服务器将再次根据规则修改并协商。When terminal B learns that its identity has been changed to "lemon_1", the terminal will ask POC user B to accept the identity or provide a new identity. If the POC terminal B chooses to accept, the identifier carried in the PRACK message is "lemon_1". If the POC terminal B chooses to re-enter an identifier, such as "flower", then the "flower" identifier is carried in the PRACK message. Subsequent POC server checks that there is still a conflict, and the POC server will modify and negotiate again according to the rules.
步骤46、POC终端B的归属POC服务器(PF)收到PRACK消息后,将向POC服务器(CF)转发PRACK消息。POC服务器(CF)收到PRACK消息后,检查到和刚才修改的标识进行检查,存在两种情况:Step 46: After receiving the PRACK message, the home POC server (PF) of the POC terminal B forwards the PRACK message to the POC server (CF). After the POC server (CF) receives the PRACK message, it checks and checks the identity just modified. There are two situations:
如果消息中带的标识和POC服务器保存的标识相同,将给POC终端B回200OK。If the identifier carried in the message is the same as the identifier saved by the POC server, a 200 OK will be returned to the POC terminal B.
如果消息中带的标识和POC服务器保存的标识不同,将对根据步骤3的策略进行检查,如果没有冲突将给POC终端B回200 OK,如果还有冲突POC服务器将根据修改规则修改其标识并继续发起协商流程,直到协商成功为止。If the identifier carried in the message is different from the identifier saved by the POC server, the strategy according to step 3 will be checked. If there is no conflict, 200 OK will be returned to POC terminal B. If there is still a conflict, the POC server will modify its identifier according to the modification rules and Continue to initiate the negotiation process until the negotiation is successful.
步骤47和48、由于POC服务器(CF)检查到POC终端B的标识同会话成员中还有冲突,此时POC服务器(PF)将根据相关策略重新分配一个标识,并再次通过183响应发给POC终端B。后续的协商过程如同前面叙述。
步骤49和410、CF通过标识检查后,确定POC终端B重新修改的标识和会话中成员标识没有冲突,将给POC终端B回200 OK消息。
步骤411和412、POC终端B向POC服务器(PF、CF)发送ACK消息,从而进入群组会话。In
图5所示为本发明的另一个POC系统实施例。Fig. 5 shows another POC system embodiment of the present invention.
本实施例用于描述当群组会话已经建立时,在不进行协商过程的情况下,用户如何设置标识进入会话以及在会话中自由、随时地发起标识修改的过程。This embodiment is used to describe the process of how the user sets an ID to enter the session and initiates ID modification freely and at any time in the session without a negotiation process when the group session has been established.
POC服务器(CF)根据修改规则,当用户标识冲突时,不经过与用户的协商便临时为该用户分配一个标识并继续接续呼叫。当用户进入会话后,如果希望更换标识,将通过消息(例如:reINVITE、UPDATE)向POC服务器发送新的修改标识。The POC server (CF) assigns an identity to the user temporarily without negotiating with the user when the user identity conflicts according to the modification rules and continues to connect the call. After the user enters the session, if he wants to change the ID, he will send a new modification ID to the POC server through a message (for example: reINVITE, UPDATE).
如果POC服务器检测到新的修改标识与别的用户标识没有冲突,则服务器接受该标识作为用户的新标识。If the POC server detects that the new modification ID does not conflict with other user IDs, the server accepts the ID as the user's new ID.
如果POC服务器检测到新的修改标识与别的用户标识还有冲突,将再次为该用户分配一个标识,通过最终响应消息带回通知用户,用户在会话中使用重新分配的标识。POC用户如果希望更换标识可以重新发起修改。If the POC server detects that the new modification ID conflicts with other user IDs, it will assign an ID to the user again, and notify the user through a final response message, and the user will use the reassigned ID in the session. If the POC user wants to change the logo, he can re-initiate the modification.
步骤51、POC终端B用户从联系列表中选择一聊天室群组ID,向POC终端B的归属POC服务器发起呼叫。Step 51, the user of POC terminal B selects a chat room group ID from the contact list, and initiates a call to the home POC server of POC terminal B.
步骤52、终端B的归属POC服务器(在此流程中担任PF角色)通过相应业务检查通过后,将向聊天室群组的归属POC服务器发送INVITE消息。Step 52: After the home POC server of terminal B (acting as the PF role in this process) passes the corresponding service check, it will send an INVITE message to the home POC server of the chat room group.
步骤53和54、POC服务器(CF)检查POC终端B的标识是否冲突,如果因发生冲突需要POC终端B更换标识,则POC服务器(CF)将根据修改规则临时为其分配一个标识,并通过200 OK消息带给POC终端B。Steps 53 and 54, the POC server (CF) checks whether the identification of the POC terminal B conflicts, if the POC terminal B needs to change the identification due to the conflict, the POC server (CF) will temporarily assign an identification to it according to the modification rules, and pass 200 The OK message is brought to POC terminal B.
步骤55和56、POC终端B收到200 OK消息后,立即给POC服务器发送ACK消息从而进入会话。Steps 55 and 56, after receiving the 200 OK message, the POC terminal B immediately sends an ACK message to the POC server to enter the session.
步骤57和58、如果POC终端B用户希望更换一个标识,将通过终端操作将新的修改标识发送给POC服务器,可以通过SIP消息(例如:reINVITE、UPDATE)来携带修改标识。修改标识可以在SIP头域中由用户的Uri中携带,可以通过SDP或XML携带。Steps 57 and 58, if the POC terminal B user wants to change an ID, the new modification ID will be sent to the POC server through terminal operation, and the modification ID can be carried by a SIP message (for example: reINVITE, UPDATE). The modification identifier can be carried in the Uri of the user in the SIP header field, and can be carried through SDP or XML.
步骤59和510、POC服务器收到携带有新的修改标识的SIP(例如:UPDATE)消息后,确认是POC终端用户B希望更换标识,此时POC服务器将根据其策略对标识合法性进行检查。Steps 59 and 510, after the POC server receives the SIP (for example: UPDATE) message that carries the new modification identifier, it is confirmed that the POC terminal user B wishes to change the identifier, and now the POC server will check the legality of the identifier according to its policy.
如果标识不冲突则接受其标识修改,并向POC终端B发送200 OK。If the identity does not conflict, accept its identity modification, and send 200 OK to POC terminal B.
如果标识冲突将根据规则重新为POC终端B分配一个标识,通过200 OK消息把临时分配的标识带给POC终端B,用户在会话中使用新分配的标识,并可以随时发起新的修改。If the identifier conflicts, an identifier will be re-assigned to POC terminal B according to the rules, and the temporary assigned identifier will be brought to POC terminal B through 200 OK message. The user uses the newly assigned identifier in the session and can initiate a new modification at any time.
图6所示为本发明网络侧和用户间不进行协商一种POC系统实施例。FIG. 6 shows an embodiment of a POC system without negotiation between the network side and the user in the present invention.
本实施例用于描述用户在不与网络侧进行协商的情况下自由、随时发起标识修改的过程。This embodiment is used to describe a process in which a user initiates identity modification freely and at any time without negotiating with the network side.
这里与图5所示的前一实施例不同之处在于,POC服务器邀请POC终端B进入会话,终端B在响应消息中带上自己的标识,POC服务器(CF)根据相关策略判断该标识是否可用。当用户标识可用,则用户使用该标识进入业务;当用户标识不可用,则POC服务器临时为该用户分配一个标识并继续接续呼叫,POC服务器为用户分配标识的过程中不包括协商过程。The difference between this and the previous embodiment shown in Figure 5 is that the POC server invites the POC terminal B to enter the session, and the terminal B carries its own identification in the response message, and the POC server (CF) judges whether the identification is available according to relevant policies . When the user ID is available, the user uses the ID to enter the service; when the user ID is not available, the POC server temporarily assigns an ID to the user and continues the call. The process of POC server assigning an ID to the user does not include the negotiation process.
用户进入会话中后如果希望更换标识,可通过消息(例如:reINVITE、UPDATE)同POC服务器协商更新,如果POC服务器检测到该标识与别的用户还有冲突,将临时为该用户分配一个标识,通过最终响应消息带回。If the user wants to change the ID after entering the session, he can negotiate with the POC server to update it through messages (for example: reINVITE, UPDATE). If the POC server detects that the ID conflicts with other users, it will temporarily assign an ID to the user. Brought back by the final response message.
POC用户如果希望更换标识可以重新发起修改。If the POC user wants to change the logo, he can re-initiate the modification.
步骤61、POC服务器(CF)在收到某POC主叫终端发起的呼叫后,将邀请被叫POC终端B进入会话,此时POC服务器(CF)将向POC终端B的归属服务器发INVITE消息。Step 61: After receiving a call initiated by a POC calling terminal, the POC server (CF) will invite the called POC terminal B to enter the session. At this time, the POC server (CF) will send an INVITE message to the home server of the POC terminal B.
步骤62、终端B的归属POC服务器(在此流程中担任PF角色)通过相应业务检查后,将向POC终端B发送INVITE消息。Step 62: After the home POC server of terminal B (assuming the role of PF in this process) passes the corresponding service inspection, it will send an INVITE message to POC terminal B.
步骤63和64、POC终端B将通过POC服务器(PF)给POC服务器(CF)发送200 OK,消息中携带POC终端B的标识。Steps 63 and 64, POC terminal B will send 200 OK to the POC server (CF) through the POC server (PF), and the identification of POC terminal B is carried in the message.
步骤65和66、POC服务器(CF)根据策略对POC终端B的标识进行相应检查,如果需要POC终端B更换标识,此时POC服务器(CF)将临时为其分配一个标识,并通过ACK消息带给POC终端B。Steps 65 and 66, the POC server (CF) checks the identity of the POC terminal B according to the policy. If the identity of the POC terminal B needs to be changed, the POC server (CF) will temporarily assign an identity to it at this time, and pass the ACK message with To POC terminal B.
步骤67和68、如果POC终端B用户希望更换一个标识,将通过终端操作将新的标识发送给POC服务器,可以通过reINVITE、UPDATESIP消息来携带。修改的标识可以在SIP的头域中在用户的Uri中携带,可以通过SDP携带,也可以通过XML携带。Steps 67 and 68, if the POC terminal B user wants to change an identifier, the new identifier will be sent to the POC server through terminal operation, which can be carried by reINVITE and UPDATESIP messages. The modified identifier can be carried in the Uri of the user in the header field of SIP, can be carried through SDP, and can also be carried through XML.
步骤69和610、POC服务器收到UPDATE消息后,确认是POC终端B用户希望更换标识,此时POC服务器将根据其策略对标识合法性进行检查,如果标识合法将接受其标识修改,并给POC终端B回200 OK。如果标识不合法将根据规则重新为POC终端B分配一个标识,通过200 OK消息把临时分配的标识带给POC终端B。Steps 69 and 610, after receiving the UPDATE message, the POC server confirms that the user of POC terminal B wants to change the ID. At this time, the POC server will check the legality of the ID according to its policy. If the ID is legal, it will accept the modification of the ID and give the POC Terminal B returns 200 OK. If the identifier is illegal, it will re-allocate an identifier for the POC terminal B according to the rules, and bring the temporarily assigned identifier to the POC terminal B through the 200 OK message.
图7所示为本发明网络侧和用户间不进行协商的又一种POC系统实施例。FIG. 7 shows another embodiment of the POC system in which no negotiation is performed between the network side and the user in the present invention.
步骤710,终端B在会话请求消息中带上自己的标识。
步骤720,CF对昵称进行合法性检查,有冲突,则不接收当前用户在本次会话中的昵称使用功能,但是会话正常建立。用户使用原始的SIP URI或者TelURI标识。In
图8所示为本发明网络侧和用户间不进行协商的又一种POC系统实施例。FIG. 8 shows another embodiment of the POC system in which no negotiation is performed between the network side and the user in the present invention.
步骤810,终端B在会话请求消息中带上自己的标识。
步骤820,CF对昵称进行合法性检查,有冲突。则拒绝用户当前的会话请求。In
以上实施例只是描述由客户端发起会话请求的情况,由服务器发起会话邀请的情况也类似。所不同的是在由服务器发起会话邀请的情况下,客户端的昵称标识是由客户端对会话邀请的200 ok应答消息携带的。The above embodiments only describe the situation where the session request is initiated by the client, and the situation where the session invitation is initiated by the server is similar. The difference is that in the case of a session invitation initiated by the server, the client's nickname identifier is carried by the client's 200 ok response message to the session invitation.
图9所示为本发明网络侧和用户间不进行协商的又一种POC系统实施例。FIG. 9 shows another embodiment of the POC system in which no negotiation is performed between the network side and the user in the present invention.
通过步骤910,步骤920,会话建立成功。Through steps 910 and 920, the session is established successfully.
步骤930,客户端通过update消息更新自己的标识信息,例如携带昵称信息。Step 930, the client updates its own identification information through an update message, for example carrying nickname information.
步骤940,CF对昵称进行合法性检查,有冲突,则不接收当前用户在本次会话中的昵称使用功能,但是会话正常进行。用户使用原始的SIP URI或者TelURI标识。In step 940, the CF checks the validity of the nickname, and if there is a conflict, the function of using the nickname of the current user in this session is not accepted, but the session proceeds normally. The user is identified by the original SIP URI or TelURI.
图10所示为本发明网络侧和用户间不进行协商的又一种POC系统实施例。Fig. 10 shows another embodiment of the POC system in which no negotiation is performed between the network side and the user in the present invention.
通过步骤1010,步骤1020,会话建立成功。Through steps 1010 and 1020, the session is established successfully.
步骤1030,客户端通过update消息更新自己的标识信息,例如携带昵称信息。Step 1030, the client updates its own identification information through an update message, for example carrying nickname information.
步骤1040,CF对昵称进行合法性检查,有冲突。拒绝客户端更新请求并且发出Bye消息结束当前会话。Step 1040, the CF checks the validity of the nickname, and if there is a conflict. Reject the client's update request and issue a Bye message to end the current session.
本发明中用户端标识的携带包括但不限于使用以下方法之一:The carrying of the client ID in the present invention includes but is not limited to using one of the following methods:
使用用户的统一资源标识符携带;Ported using the user's Uniform Resource Identifier;
或,or,
通过会话描述协议体携带;Carried by the session description protocol body;
或,or,
通过可扩展标记语言携带;Portable via Extensible Markup Language;
或or
通过SIP消息头携带。Carried in the SIP message header.
在本发明的协商过程中,协商信息可通过UPDATE消息、183消息、SIP信息头等多种信息携带,由某一种消息携带的协商信息同样可以使用其他消息协带,本具体实施方案的实施例所示的情况仅为本发明的一种具体情况,但不仅仅限于该种情况。In the negotiation process of the present invention, the negotiation information can be carried by various information such as UPDATE message, 183 message, SIP information header, and the negotiation information carried by a certain message can also be carried by other messages. The situation shown is only a specific situation of the present invention, but not limited to this kind of situation.
图11所示为本发明的系统示意图。Fig. 11 is a schematic diagram of the system of the present invention.
如图7所示的系统总体流程如下:The overall flow of the system as shown in Figure 7 is as follows:
在会话建立过程中,用户请求进入网络侧会话,终端的标识管理发起模块向网络侧的标识管理模块发送携带有用户标识信息的消息,During the session establishment process, the user requests to enter the network-side session, and the identification management initiation module of the terminal sends a message carrying user identification information to the identification management module of the network side,
当系统不存在协商过程时,When there is no negotiation process in the system,
如果用户提供的标识与网络侧会话中用户的标识不冲突,则网络侧的标识管理模块直接把该标识设置为用户标识;If the identifier provided by the user does not conflict with the identifier of the user in the session on the network side, the identifier management module on the network side directly sets the identifier as the user identifier;
如果用户提供的标识与网络侧会话中用户的标识冲突,则网络侧的标识管理模块根据修改规则直接为用户设置一个标识,并向发送消息通知终端修改后的标识名称。If the ID provided by the user conflicts with the user ID in the session on the network side, the ID management module on the network side directly sets an ID for the user according to the modification rules, and notifies the terminal of the modified ID name by sending a message.
当系统存在协商过程时,When there is a negotiation process in the system,
如果用户提供的标识与网络侧会话中用户的标识不冲突,则网络侧的标识管理模块直接把该标识设置为用户标识;If the identifier provided by the user does not conflict with the identifier of the user in the session on the network side, the identifier management module on the network side directly sets the identifier as the user identifier;
如果用户提供的标识与网络侧会话中用户的标识冲突,则网络侧和终端的协商模块之间进行协商,其具体过程如下:If the identifier provided by the user conflicts with the identifier of the user in the session on the network side, the negotiation module between the network side and the terminal will negotiate, and the specific process is as follows:
网络侧检测到用户标识冲突时,根据修改规则将用户的标识进行修改,协商模块将修改结果传送给终端用户,用户判断是否接受网络侧推荐的标识,如果接受,则向网络侧发送确认信息,如果不接受则可以再为自己重新输入一个新的标识,重新进行冲突检测,直至得到不冲突的标识为止,将其设置为用户标识。When the network side detects a user ID conflict, it modifies the user ID according to the modification rules, the negotiation module transmits the modification result to the end user, and the user judges whether to accept the ID recommended by the network side, and if accepted, sends a confirmation message to the network side, If you do not accept it, you can re-enter a new ID for yourself, and perform conflict detection again until you get a non-conflicting ID, and set it as the user ID.
在会话建立过程中,如果用户需要修改目前使用的标识,则终端的标识管理发起模块向网络侧的标识管理模块发送携带有用户新标识的消息,During the session establishment process, if the user needs to modify the currently used identity, the identity management initiation module of the terminal sends a message carrying the user's new identity to the identity management module on the network side,
当系统不存在协商过程时,When there is no negotiation process in the system,
如果用户提供的新标识与网络侧会话中用户的标识不冲突,则网络侧的标识管理模块直接把该新标识修改为用户标识;If the new identification provided by the user does not conflict with the user identification in the session on the network side, the identification management module on the network side directly modifies the new identification to the user identification;
如果用户提供的新标识与网络侧会话中用户的标识冲突,则网络侧的标识管理模块根据修改规则直接为用户修改一个标识,并向发送消息通知终端修改后的标识名称,用户在会话中使用这个网络侧分配的标识进行会话。If the new ID provided by the user conflicts with the user ID in the session on the network side, the ID management module on the network side directly modifies an ID for the user according to the modification rules, and sends a message to notify the terminal of the modified ID name, and the user uses it in the session. The identifier assigned by the network side conducts the session.
当系统存在协商过程时,When there is a negotiation process in the system,
如果用户提供的标识与网络侧会话中用户的标识不冲突,则网络侧的标识管理模块直接把该新标识修改为用户标识;If the identification provided by the user does not conflict with the user identification in the session on the network side, the identification management module on the network side directly modifies the new identification to the user identification;
如果用户提供的新标识与网络侧会话中用户的标识冲突,则网络侧和终端的协商模块之间进行协商,其具体过程如下:If the new identifier provided by the user conflicts with the identifier of the user in the session on the network side, the negotiation module between the network side and the terminal will negotiate, and the specific process is as follows:
网络侧检测到用户新标识冲突时,根据修改规则将用户提供的新标识进行修改,协商模块将修改结果传送给终端用户,用户判断是否接受网络侧推荐的标识,如果接受,则向网络侧发送确认信息,并在会话中使用该推荐标识,如果不接受则可以再为自己重新输入一个新的修改标识,重新进行冲突检测,直至得到不冲突的修改标识为止,将其修改为用户新标识。When the network side detects that the user’s new ID conflicts, it will modify the new ID provided by the user according to the modification rules, and the negotiation module will send the modification result to the end user, and the user will judge whether to accept the ID recommended by the network side. Confirm the information, and use the recommended logo in the session. If you do not accept it, you can re-enter a new modification logo for yourself, and re-check the conflict until you get a non-conflicting modification logo, and modify it to the user's new logo.
以上所述,仅为本发明较佳的具体实施方式,但本发明的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本发明揭露的技术范围内,可轻易想到的变化或替换,都应涵盖在2本发明的保护范围之内。因此,本发明的保护范围应该以权利要求的保护范围为准。The above is only a preferred embodiment of the present invention, but the scope of protection of the present invention is not limited thereto. Any person skilled in the art within the technical scope disclosed in the present invention can easily think of changes or Replacement should be covered within the scope of protection of the present invention. Therefore, the protection scope of the present invention should be determined by the protection scope of the claims.
Claims (23)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNB2006100822904A CN100484033C (en) | 2005-12-08 | 2006-05-18 | Method and system for realizing management of subscriber sign based on SIP protocol |
Applications Claiming Priority (3)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN200510130082 | 2005-12-08 | ||
CN200510130082.2 | 2005-12-08 | ||
CNB2006100822904A CN100484033C (en) | 2005-12-08 | 2006-05-18 | Method and system for realizing management of subscriber sign based on SIP protocol |
Publications (2)
Publication Number | Publication Date |
---|---|
CN1980152A true CN1980152A (en) | 2007-06-13 |
CN100484033C CN100484033C (en) | 2009-04-29 |
Family
ID=38131173
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CNB2006100822904A Active CN100484033C (en) | 2005-12-08 | 2006-05-18 | Method and system for realizing management of subscriber sign based on SIP protocol |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN100484033C (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101729498A (en) * | 2008-10-14 | 2010-06-09 | 中兴通讯股份有限公司 | Username consultation method and system based on session initial protocol |
CN101741873B (en) * | 2008-11-19 | 2012-09-26 | 中兴通讯股份有限公司 | Terminal name changing method and fusion service system |
CN101557352B (en) * | 2008-04-11 | 2014-07-16 | 中兴通讯股份有限公司 | Method and system for achieving group message service |
CN108494580A (en) * | 2018-02-07 | 2018-09-04 | 海尔优家智能科技(北京)有限公司 | A kind of method, medium, terminal and the equipment of update facility information |
-
2006
- 2006-05-18 CN CNB2006100822904A patent/CN100484033C/en active Active
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101557352B (en) * | 2008-04-11 | 2014-07-16 | 中兴通讯股份有限公司 | Method and system for achieving group message service |
CN101729498A (en) * | 2008-10-14 | 2010-06-09 | 中兴通讯股份有限公司 | Username consultation method and system based on session initial protocol |
CN101741873B (en) * | 2008-11-19 | 2012-09-26 | 中兴通讯股份有限公司 | Terminal name changing method and fusion service system |
CN108494580A (en) * | 2018-02-07 | 2018-09-04 | 海尔优家智能科技(北京)有限公司 | A kind of method, medium, terminal and the equipment of update facility information |
Also Published As
Publication number | Publication date |
---|---|
CN100484033C (en) | 2009-04-29 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN101237336B (en) | Method, system and device for multi-party communication | |
CN100411461C (en) | Method and device for realizing PoC group conversation | |
EP2913962B1 (en) | Multi-user services in a communications system | |
US9571291B2 (en) | Method for automatically setting up and/or controlling a telecommunication conference | |
JP4745441B2 (en) | PoC ad hoc group session information processing method and system using RTCP connection message | |
US7693533B2 (en) | Method and system for merging multiple push-to-talk over cellular sessions | |
EP1751965B1 (en) | Method and System for establishing conference calls using user lists | |
US20120077536A1 (en) | Collaborative group communication method involving a context aware call jockey | |
US20070286101A1 (en) | System and method for providing conferencing capabilities | |
EP2132879A1 (en) | Terminal unit for handling session on the basis of session initiation protocol, method of transmitting and receiving thereof | |
US20060285670A1 (en) | Method and apparatus for providing conference call services | |
CN101350861A (en) | conference system | |
CN101147406A (en) | Systems and methods for facilitating instant communications over distributed cellular networks | |
RU2407234C2 (en) | Method and device for processing of invitations to multi-user communication session | |
EP1856847A1 (en) | Method and system for identifying respondent client in push to talk over cellular network | |
CN101194524A (en) | Method for forming a common communication session, method for forming a first communication session and a second communication session from a common communication session, and communication session control server | |
CN100413354C (en) | A method and system for adding users in a group conversation | |
JP2007534247A (en) | Group invitation | |
CN101061687B (en) | Method and system for handling PoC calls | |
CN100484033C (en) | Method and system for realizing management of subscriber sign based on SIP protocol | |
US20060092863A1 (en) | Device and method for the computer-aided management of a telecommunication conference | |
US8064943B2 (en) | Method and apparatus for controlling user's participation into a session in the PoC service | |
KR100703474B1 (en) | Auction service method and device in terminal using tightly coupled multi-conference | |
CN101098513B (en) | Method for establishing cluster conversation | |
JP4772802B2 (en) | Talking right management method and mobile terminal |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant |