










技术领域technical field
本发明涉及通信技术领域,尤其涉及一种同组代答业务的实现方法和通信系统。The present invention relates to the technical field of communication, in particular to a method for realizing same-group pickup service and a communication system.
背景技术Background technique
为了满足多媒体通信的需求,3GPP(3rd Generation Partnership Project,第三代合作伙伴计划)组织在原有分组承载网的基础上引入了IMS(IPMultimedia Subsystem,IP多媒体子系统),IMS不仅能向用户提供传统语音业务,也能向用户提供丰富的多媒体体验。In order to meet the needs of multimedia communication, the 3GPP (3rd Generation Partnership Project) organization introduced IMS (IP Multimedia Subsystem, IP Multimedia Subsystem) on the basis of the original packet bearer network. IMS can not only provide users with traditional Voice services can also provide rich multimedia experience to users.
如图1所示为现有技术中的IMS网络系统的基本架构示意图,IMS网络系统主要包括以下网元:CSCF(Call Session Control Function,呼叫控制实体)、HSS(Home Subscriber Server,归属用户服务器)和AS(Application Server,应用服务器)。其中,CSCF又分为三种类型:S-CSCF(Serving-Call SessionControl Function,服务呼叫控制实体)、I-CSCF(Interrogating-Call SessionControl Function,查询呼叫控制实体)和P-CSCF(Proxy-Call Session ControlFunction,代理呼叫控制实体)。P-CSCF可处于用户当前所在地接入网内,作为用户接入IMS网络的第一个联系网元,把用户的SIP(Session InitiationProtocol,初始会话协议)消息转发到IMS核心网。I-CSCF可完成网络内部信息隐藏的功能,支持网络安全。S-CSCF作为核心的呼叫控制实体,完成基本的呼叫控制功能,提供与AS的接口。AS向用户提供各种业务,比如基本的语音、视频与补充业务。HSS记录每个IMS用户的用户信息与业务数据,配合CSCF完成路由功能,并提供认证、授权等功能。用户签约数据保存在HSS中,并在用户注册时被下载到S-CSCF,用户签约数据中保存了用户的IFC(Initial Filter Criteria,初始过滤规则)和提供业务的AS的地址信息。业务数据在用户注册时从HSS下载到AS,供AS完成用户业务处理所用。Figure 1 is a schematic diagram of the basic architecture of the IMS network system in the prior art. The IMS network system mainly includes the following network elements: CSCF (Call Session Control Function, call control entity), HSS (Home Subscriber Server, home subscriber server) And AS (Application Server, application server). Among them, CSCF is divided into three types: S-CSCF (Serving-Call SessionControl Function, service call control entity), I-CSCF (Interrogating-Call SessionControl Function, query call control entity) and P-CSCF (Proxy-Call Session ControlFunction, Proxy Call Control Entity). The P-CSCF can be located in the access network where the user is currently located, as the first contact network element for the user to access the IMS network, and forward the user's SIP (Session Initiation Protocol, initial session protocol) message to the IMS core network. I-CSCF can complete the function of hiding information inside the network and support network security. As the core call control entity, S-CSCF completes the basic call control functions and provides the interface with AS. AS provides users with various services, such as basic voice, video and supplementary services. The HSS records the user information and service data of each IMS user, cooperates with the CSCF to complete the routing function, and provides functions such as authentication and authorization. The user subscription data is saved in the HSS and downloaded to the S-CSCF when the user registers. The user subscription data stores the user's IFC (Initial Filter Criteria, initial filter rule) and the address information of the AS providing the service. The business data is downloaded from the HSS to the AS when the user registers, and is used by the AS to complete user business processing.
呼叫代答业务(Call Pickup)是电信网络的常见业务,在传统的PSTN(Public Switched Telephone Network,公共交换电话网络)中,呼叫代答业务有广泛的应用,常用于集团客户,参与此业务的用户通常是处于同一间办公室中的用户,此业务属于Centrex(集中用户小型交换机)群业务。Centrex群业务是将若干用户组成一个用户群,用户群内的用户除享有普通电话用户的全部基本业务外,还可享有一些特殊业务,例如呼叫代答业务。Call Pickup service (Call Pickup) is a common service in telecommunication networks. In the traditional PSTN (Public Switched Telephone Network, Public Switched Telephone Network), call pickup service has a wide range of applications and is often used by group customers. Participating in this service Users are usually users in the same office, and this service belongs to the Centrex (centralized user small exchange) group service. Centrex group service is to form a user group with several users. In addition to all the basic services of ordinary telephone users, users in the user group can also enjoy some special services, such as call pickup service.
呼叫代答业务常用的实施场景如下:用户A呼叫群内用户B;当被叫用户B的终端振铃,而用户B正好不在或因事不能摘机应答时,与用户B同群的用户C可以代替用户B,来应答用户A的电话呼叫。用户C的操作方式是:使用自己的终端,通过特殊的拨号方式表达自己代替用户B应答的愿望;最终的结果是用户C与用户A通话,而用户B的终端停止振铃。The common implementation scenarios for the call pickup service are as follows: User A calls user B in the group; when the terminal of called user B rings, and user B happens to be away or cannot pick up the phone to answer due to some circumstances, user C in the same group as user B User A's phone call can be answered in place of user B. User C's operation method is: use his own terminal to express his desire to answer instead of user B through a special dialing method; the final result is that user C talks with user A, and user B's terminal stops ringing.
根据用户C拨号方式的不同,呼叫代答业务可细分为同组代答和指定代答两种:According to the different dialing methods of user C, the call pickup service can be divided into two types: same-group pickup and designated pickup:
1)同组代答1) Pickup in the same group
可以将若干个群内用户划分在不同的组中,比如一个企业内的用户都属于一个Centrex群,企业有若干个办公室,按办公室将不同用户划分到不同的组中。例如,当办公室中有终端被呼叫振铃时,与该终端同组的用户C可以拨同组代答业务的接入码(一串特定的号码),为同组内的第一个振铃终端代答呼叫。Users in several groups can be divided into different groups. For example, users in an enterprise belong to a Centrex group, and the enterprise has several offices. Different users are divided into different groups by office. For example, when a terminal in the office is called and rings, user C in the same group as the terminal can dial the access code (a series of specific numbers) of the same group pickup service to be the first ringer in the same group The terminal picks up the call.
2)指定代答2) Designated Pickup
指定代答业务的实施与组无关,同群内用户都可以操作。例如,当用户C要代答用户B的呼叫时,C拨打“同组代答业务的接入码+用户B号码”来表示自己愿意代答用户B的入呼。The implementation of the designated pickup service has nothing to do with the group, and users in the same group can operate it. For example, when user C wants to pick up the call of user B, C dials "the access code of the same-group pickup service + user B's number" to indicate that he is willing to pick up the incoming call of user B.
同组代答业务是用户群内属于同一组的用户间使用的业务。在传统网络中,群业务只能在一个端局或移动交换机实现,即,上述同组代答业务中的用户B和用户C必须为属于同一应用服务器的用户(即在同一应用服务器上放号的用户)。The same-group pickup service is a service used by users belonging to the same group within a user group. In a traditional network, the group service can only be implemented in one end office or a mobile switch, that is, user B and user C in the same group pickup service must belong to the same application server User).
IMS网络中,属于同一应用服务器的同组用户之间可以使用同组代答业务,如图2所示为现有技术中的属于同一应用服务器的同组用户之间的同组代答业务的实现方法的流程示意图,所述方法包括以下步骤:In the IMS network, users in the same group belonging to the same application server can use the same-group pickup service, as shown in Figure 2, the same-group pickup service between users in the same group belonging to the same application server A schematic flow diagram of the implementation method, the method comprising the following steps:
步骤201-步骤210:主叫用户A呼叫被叫用户B,且被叫用户B的终端振铃。Step 201-Step 210: The calling user A calls the called user B, and the terminal of the called user B rings.
步骤211-步骤212:代答用户C摘机,拨打“同组代答业务的接入码”,代答用户C的终端产生一个SIP协议的Invite(请求)消息,所述Invite消息中携带SDP C(终端C的媒体),经过CSCF转发到AS。Step 211-Step 212: pick-up user C picks up the phone, dials the "access code of the same group pick-up service", and the terminal of pick-up user C generates an Invite (request) message of SIP protocol, and the Invite message carries SDP C (media of terminal C) is forwarded to AS through CSCF.
步骤213-步骤220:AS根据所述Invite消息中包含的“同组代答业务的接入码”,触发同组代答业务:首先从与用户C属于同一用户组的用户中找到一个振铃用户(本例中是被叫用户B)及对应的主叫用户(本例中是用户A),然后AS使用SIP协议的Cancel(取消)消息让被叫用户B停止振铃。Step 213-Step 220: The AS triggers the same-group pickup service according to the "access code of the same-group pickup service" contained in the Invite message: first find a ringer from users belonging to the same user group as user C The user (called user B in this example) and the corresponding calling user (user A in this example), and then the AS uses the Cancel (cancel) message of the SIP protocol to make the called user B stop ringing.
步骤221-步骤223:AS需要将主叫用户A与代答用户C接续起来,具体的,AS把SDP C通过Update(更新)消息转发给主叫用户A。Step 221-step 223: the AS needs to connect the calling user A with the pick-up user C. Specifically, the AS forwards the SDP C to the calling user A through an Update (update) message.
步骤224-步骤226:主叫用户A返回200 OK消息给AS,表示对于Update消息的确认,并在200 OK中携带了SDP A(终端A的媒体)。Step 224-step 226: Calling user A returns 200 OK message to AS, expresses the confirmation for Update message, and carried SDP A (the media of terminal A) in 200 OK.
步骤227-步骤232:AS产生183消息,发给代答用户C,并携带了SDP A。代答用户C产生PRACK(应答)消息,作为对183消息的确认。AS产生200OK消息,作为对PRACK消息的确认。Step 227-Step 232: AS generates 183 message and sends it to pick-up user C, and carries SDP A. Pickup user C generates a PRACK (response) message as confirmation of the 183 message. The AS generates a 200OK message as a confirmation of the PRACK message.
步骤233-步骤236:AS产生200 OK消息给代答用户C,作为Invite消息的确认消息,代答用户C用ACK(应答)消息响应。Step 233-Step 236: The AS generates a 200 OK message to the pick-up user C as a confirmation message of the Invite message, and the pick-up user C responds with an ACK (answer) message.
步骤237-步骤242:AS产生200 OK消息给主叫用户A,作为Invite消息的确认消息,主叫用户A用ACK消息响应。Step 237-Step 242: AS generates a 200 OK message to calling user A as a confirmation message of the Invite message, and calling user A responds with an ACK message.
之后,主叫用户A和代答用户C通话,呼叫建立成功。After that, the calling user A talks with the pickup user C, and the call is established successfully.
然而,在IMS网络中,存在广域群的概念,即属于不同应用服务器的用户可以组成同一个群,以及同一个群内的同一个用户组,即上述例子中的用户B和用户C可能属于不同的应用服务器,但在现有技术中,并没有实现属于不同应用服务器的同组用户之间的同组代答业务的方法。However, in the IMS network, there is a concept of wide-area group, that is, users belonging to different application servers can form the same group, and the same user group in the same group, that is, user B and user C in the above example may belong to Different application servers, but in the prior art, there is no method for realizing the same-group pickup service among users belonging to different application servers in the same group.
发明内容Contents of the invention
有鉴于此,本发明提供一种同组代答业务的实现方法和通信系统,能够实现属于不同应用服务器的同组用户之间的同组代答业务。In view of this, the present invention provides a method for realizing same-group pickup service and a communication system, which can realize same-group pickup service among users belonging to different application servers in the same group.
为解决上述问题,本发明提供一种同组代答业务的实现方法,包括以下步骤:In order to solve the above problems, the present invention provides a method for realizing the same-group pickup service, which includes the following steps:
代答用户所属的第一应用服务器在接收到所述代答用户的第一同组代答请求时,根据本应用服务器或第二应用服务器中存储的被叫用户的振铃信息,获取与所述代答用户属于同一用户组的一被叫用户作为被代答用户,所述被叫用户的振铃信息是被叫用户所属的第三应用服务器在所述被叫用户振铃时,向所述第一应用服务器或所述第二应用服务器发送的;When the first application server to which the pickup user belongs receives the first same-group pickup request of the pickup user, it obtains the ringing information corresponding to the called user according to the ringing information of the called user stored in the application server or the second application server. A called user belonging to the same user group as the pickup user, the ringing information of the called user is sent to the called user by the third application server to which the called user belongs when the called user rings. sent by the first application server or the second application server;
所述第一应用服务器向所述被代答用户所属的第三应用服务器发送第二同组代答请求,所述第二同组代答请求用于通知所述被代答用户所属的第三应用服务器接通主叫用户与所述代答用户之间的会话。The first application server sends a second group pickup request to a third application server to which the pickup user belongs, and the second group pickup request is used to notify the third group pickup request to which the pickup user belongs. The application server connects the session between the calling user and the pickup user.
所述根据本应用服务器或第二应用服务器中存储的被叫用户的振铃信息,获取与所述代答用户属于同一用户组的一被叫用户作为被代答用户,之前还包括:According to the ringing information of the called user stored in the application server or the second application server, obtaining a called user who belongs to the same user group as the pickup user as the pickup user also includes:
被叫用户所属的第三应用服务器在所述被叫用户振铃时,向所述第一应用服务器发送所述被叫用户的振铃信息;The third application server to which the called user belongs sends the ringing information of the called user to the first application server when the called user rings;
所述根据本应用服务器或第二应用服务器中存储的被叫用户的振铃信息,获取与所述代答用户属于同一用户组的一被叫用户作为被代答用户,具体包括:According to the ringing information of the called user stored in the application server or the second application server, obtaining a called user belonging to the same user group as the pickup user as the pickup user specifically includes:
所述第一应用服务器根据本应用服务器中存储的被叫用户的振铃信息,获取与所述代答用户属于同一用户组的一被叫用户作为被代答用户。The first application server obtains a called user belonging to the same user group as the pickup user as the pickup user according to the ringing information of the called user stored in the application server.
所述根据本应用服务器或第二应用服务器中存储的被叫用户的振铃信息,获取与所述代答用户属于同一用户组的一被叫用户作为被代答用户,之前还包括:According to the ringing information of the called user stored in the application server or the second application server, obtaining a called user who belongs to the same user group as the pickup user as the pickup user also includes:
被叫用户所属的第三应用服务器在所述被叫用户振铃时,仅向所述第二应用服务器发送所述被叫用户的振铃信息;The third application server to which the called user belongs only sends the ringing information of the called user to the second application server when the called user rings;
所述根据本应用服务器或第二应用服务器中存储的被叫用户的振铃信息,获取与所述代答用户属于同一用户组的一被叫用户作为被代答用户,具体包括:According to the ringing information of the called user stored in the application server or the second application server, obtaining a called user belonging to the same user group as the pickup user as the pickup user specifically includes:
所述第一应用服务器根据所述第二应用服务器中存储的被叫用户的振铃信息,获取与所述代答用户属于同一用户组的一被叫用户作为被代答用户。The first application server acquires a called user belonging to the same user group as the pickup user as the pickup user according to the ringing information of the called user stored in the second application server.
所述第一应用服务器向所述被代答用户所属的第三应用服务器发送第二同组代答请求,之后还包括:The first application server sends a second pickup request in the same group to the third application server to which the pickup user belongs, and then further includes:
所述被代答用户所属的第三应用服务器向所述被代答用户发送振铃取消请求。The third application server to which the picked-up user belongs sends a ringing cancellation request to the picked-up user.
所述第一应用服务器向所述被代答用户所属的第三应用服务器发送第二同组代答请求,之后还包括:The first application server sends a second pickup request in the same group to the third application server to which the pickup user belongs, and then further includes:
所述被代答用户所属的第三应用服务器向所述第一应用服务器或所述第二应用服务器发送删除请求,所述删除请求用于通知所述第一应用服务器或所述第二应用服务器删除本应用服务器中存储的所述被代答用户的振铃信息。The third application server to which the pickup user belongs sends a deletion request to the first application server or the second application server, and the deletion request is used to notify the first application server or the second application server The ringing information of the user to be answered stored in the application server is deleted.
所述被代答用户为:与所述代答用户属于同一用户组的所有被叫用户中振铃时间最早的被叫用户。The pickup user is: the called user with the earliest ringing time among all called users belonging to the same user group as the pickup user.
本发明还提供一种通信系统,包括代答用户所属的第一应用服务器和被叫用户所属的第三应用服务器,所述第一应用服务器包括:The present invention also provides a communication system, including a first application server to which the pick-up user belongs and a third application server to which the called user belongs, and the first application server includes:
获取模块,用于在接收到所述代答用户的第一同组代答请求时,根据本应用服务器或第二应用服务器中存储的被叫用户的振铃信息,获取与所述代答用户属于同一用户组的一被叫用户作为被代答用户,所述被叫用户的振铃信息是所述第三应用服务器在所述被叫用户振铃时,向所述第一应用服务器或所述第二应用服务器发送的;The acquiring module is configured to acquire the ringing information of the called user according to the ringing information of the called user stored in the application server or the second application server when receiving the first group pickup request of the pickup user. A called user belonging to the same user group is used as the called user, and the ringing information of the called user is sent by the third application server to the first application server or the called user when the called user rings. sent by the second application server;
请求模块,用于向所述被代答用户所属的第三应用服务器发送第二同组代答请求,所述第二同组代答请求用于通知所述被代答用户所属的第三应用服务器接通主叫用户与所述代答用户之间的会话。A request module, configured to send a second group pickup request to a third application server to which the pickup user belongs, and the second group pickup request is used to notify the third application to which the pickup user belongs The server connects the session between the calling user and the pickup user.
所述第三应用服务器包括:The third application server includes:
第一发送模块,用于在属于本应用服务器的被叫用户振铃时,向所述第一应用服务器发送所述被叫用户的振铃信息;The first sending module is configured to send the ringing information of the called user to the first application server when the called user belonging to the application server rings;
所述获取模块包括:The acquisition module includes:
第一处理单元,用于根据本应用服务器中存储的被叫用户的振铃信息,获取与所述代答用户属于同一用户组的一被叫用户作为被代答用户。The first processing unit is configured to acquire a called user belonging to the same user group as the pickup user as the pickup user according to the ringing information of the called user stored in the application server.
所述第三应用服务器还包括:The third application server also includes:
第二发送单元,用于在属于本应用服务器的被叫用户振铃时,仅向所述第二应用服务器发送所述被叫用户的振铃信息;The second sending unit is configured to only send the ringing information of the called user to the second application server when the called user belonging to the application server rings;
所述获取模块还包括:The acquisition module also includes:
第二处理单元,用于根据所述第二应用服务器中存储的被叫用户的振铃信息,获取与所述代答用户属于同一用户组的一被叫用户作为被代答用户。The second processing unit is configured to acquire a called user belonging to the same user group as the pickup user as the pickup user according to the ringing information of the called user stored in the second application server.
所述第三应用服务器包括:The third application server includes:
取消模块,用于在接收到所述第二同组代答请求时,向所述被代答用户发送振铃取消请求。A canceling module, configured to send a ringing cancellation request to the picked-up user when receiving the second group pickup request.
所述第三应用服务器还包括:The third application server also includes:
删除模块,用于在接收到所述第二同组代答请求时,向所述第一应用服务器或第二应用服务器发送删除请求,所述删除请求用于通知所述第一应用服务器或所述第二应用服务器删除本应用服务器中存储的所述被代答用户的振铃信息。A deletion module, configured to send a deletion request to the first application server or the second application server when receiving the second group pickup request, and the deletion request is used to notify the first application server or the second application server The second application server deletes the ringing information of the user to be answered stored in the application server.
所述被代答用户为:与所述代答用户属于同一用户组的所有被叫用户中振铃时间最早的被叫用户。The pickup user is: the called user with the earliest ringing time among all called users belonging to the same user group as the pickup user.
本发明具有以下有益效果:The present invention has the following beneficial effects:
被叫用户所属的应用服务器在被叫用户振铃时,将被叫用户的振铃信息发送给指定应用服务器;在代答用户所属的应用服务器属于指定应用服务器时,则根据本应用服务器中存储的被叫用户的振铃信息,获取与所述代答用户属于同一用户组的一被叫用户作为被代答用户,代替所述被代答用户响应主叫用户的呼叫;在代答用户所属的应用服务器不属于指定应用服务器时,则根据指定应用服务器中存储的被叫用户的振铃信息,获取与所述代答用户属于同一用户组的一被叫用户作为被代答用户,代替所述被代答用户响应主叫用户的呼叫,根据上述方法则可以实现属于不同应用服务器的同组用户之间的同组代答业务,解决了跨服务器实现同组代答业务的难题,弥补了现有技术的空白。The application server to which the called user belongs sends the ringing information of the called user to the designated application server when the called user rings; when the application server to which the pickup user belongs belongs to the designated application server, it The ringing information of the called user, obtain a called user belonging to the same user group as the pickup user, and replace the pickup user to respond to the call of the calling user; When the specified application server does not belong to the designated application server, according to the ringing information of the called user stored in the designated application server, a called user belonging to the same user group as the pickup user is obtained as the called pickup user to replace the called user. The user to be answered responds to the call of the calling user. According to the above method, the same group pickup service between users belonging to different application servers can be realized, which solves the problem of cross-server implementation of the same group pickup service, and makes up for the Gaps in prior art.
附图说明Description of drawings
图1为现有技术中的IMS网络系统的基本架构示意图;FIG. 1 is a schematic diagram of the basic architecture of an IMS network system in the prior art;
图2为现有技术中的属于同一应用服务器的同组用户之间的同组代答业务的实现方法的流程示意图;FIG. 2 is a schematic flow diagram of a method for realizing the same-group pickup service among users of the same group belonging to the same application server in the prior art;
图3为本发明实施例的IMS网络中两个用户之间建立通话的呼叫流程示意图;3 is a schematic diagram of a call flow for establishing a call between two users in an IMS network according to an embodiment of the present invention;
图4为本发明实施例的IMS网络系统中属于不同应用服务器的用户组成广域群的网络框架示意图;4 is a schematic diagram of a network framework in which users belonging to different application servers form a wide area group in the IMS network system according to an embodiment of the present invention;
图5为本发明实施例的同组代答业务的实现方法的一流程示意图;FIG. 5 is a schematic flowchart of a method for implementing the same-group pickup service according to an embodiment of the present invention;
图6为本发明实施例的广播发送方式下被叫用户的振铃信息的发送方法的流程示意图;6 is a schematic flowchart of a method for sending ringing information of a called user in a broadcast sending mode according to an embodiment of the present invention;
图7为本发明实施例的集中发送方式下被叫用户的振铃信息的发送方法的流程示意图;FIG. 7 is a schematic flowchart of a method for sending ringing information of a called user in a centralized sending mode according to an embodiment of the present invention;
图8为本发明实施例的被叫用户的振铃信息以广播发送方式发送的情况下同组代答业务的实现方法的流程示意图;FIG. 8 is a schematic flow diagram of a method for implementing the same-group pickup service when the ringing information of the called user is sent in a broadcast transmission mode according to an embodiment of the present invention;
图9为本发明实施例的被叫用户的振铃信息以集中发送方式发送的情况下同组代答业务的实现方法的流程示意图;FIG. 9 is a schematic flowchart of a method for implementing the same-group pickup service when the ringing information of the called user is sent in a centralized sending manner according to an embodiment of the present invention;
图10为本发明实施例的通信系统的一结构示意图;FIG. 10 is a schematic structural diagram of a communication system according to an embodiment of the present invention;
图11为本发明实施例的通信系统的另一结构示意图。FIG. 11 is another schematic structural diagram of a communication system according to an embodiment of the present invention.
具体实施方式Detailed ways
在说明本发明实施例的同组代答业务的实现方法和通信系统之前,首先简单介绍IMS网络中两个用户之间建立通话的呼叫流程。Before explaining the implementation method and communication system of the same-group pickup service in the embodiment of the present invention, the call flow for establishing a call between two users in the IMS network is briefly introduced first.
如图3所示为本发明实施例的IMS网络中两个用户之间建立通话的呼叫流程示意图,为简化起见,图中省略了3个网元,分别为:As shown in Figure 3, it is a schematic diagram of the call flow for establishing a call between two users in the IMS network of the embodiment of the present invention. For the sake of simplicity, 3 network elements are omitted in the figure, which are respectively:
1)主叫用户A与主叫侧S-CSCF(主叫用户A所属的S-CSCF)之间的主叫侧P-CSCF(主叫用户A所属的P-CSCF);1) The calling side P-CSCF (the P-CSCF to which the calling user A belongs) between the calling user A and the calling side S-CSCF (the S-CSCF to which the calling user A belongs);
2)被叫用户B与被叫侧S-CSCF(被叫用户B所属的S-CSCF)之间的被叫侧P-CSCF(被叫用户B所属的P-CSCF);2) The called side P-CSCF (the P-CSCF to which the called user B belongs) between the called user B and the called side S-CSCF (the S-CSCF to which the called user B belongs);
3)主叫侧S-CSCF与被叫侧S-CSCF之间的I-CSCF。3) The I-CSCF between the S-CSCF at the calling side and the S-CSCF at the called side.
所述呼叫流程包括以下步骤(本发明的实施例中,均使用SIP协议作为呼叫控制的消息协议,所述SIP协议用来创建、修改和终结一个或多个参与者参加的会话进程):Described call flow comprises the following steps (in the embodiment of the present invention, all use SIP protocol as the message protocol of call control, and described SIP protocol is used for creating, revising and terminating the session process that one or more participants participate in):
步骤301:主叫用户A向被叫用户B发起呼叫请求,所述呼叫请求通过主叫侧P-CSCF(图中略)到达主叫侧S-CSCF。Step 301: The calling user A initiates a call request to the called user B, and the call request reaches the calling side S-CSCF through the calling side P-CSCF (omitted in the figure).
步骤302:主叫侧S-CSCF根据主叫用户A的IFC,将所述呼叫请求转发给主叫侧AS(主叫用户A所属的应用服务器)。Step 302: The S-CSCF at the calling side forwards the call request to the AS at the calling side (the application server to which the calling user A belongs) according to the IFC of the calling user A.
步骤303:主叫侧AS为主叫用户执行相关业务(例如呼叫限制业务等)后,将所述呼叫请求转发给主叫侧S-CSCF。Step 303: After performing related services (for example, call barring services, etc.) for the calling user, the AS on the calling side forwards the call request to the S-CSCF on the calling side.
步骤304:主叫侧S-CSCF通过I-CSCF(图中略)将所述呼叫请求发送给被叫侧S-CSCF。Step 304: The S-CSCF at the calling side sends the call request to the S-CSCF at the called side through the I-CSCF (omitted in the figure).
步骤305:被叫侧S-CSCF根据被叫用户B的IFC,将所述呼叫请求转发给被叫侧AS(被叫用户B所属的应用服务器)。Step 305: The S-CSCF at the called side forwards the call request to the AS at the called side (the application server to which the called user B belongs) according to the IFC of the called user B.
步骤306:被叫侧AS为被叫用户B执行相关业务后,将所述呼叫请求转发给被叫侧S-CSCF。Step 306: After performing related services for the called user B, the AS on the called side forwards the call request to the S-CSCF on the called side.
步骤307:被叫侧S-CSCF通过被叫侧P-CSCF(图中略),将所述呼叫请求发送给被叫用户B。Step 307: The S-CSCF at the called side sends the call request to the called user B through the P-CSCF at the called side (omitted in the figure).
步骤308-214:被叫用户B的终端振铃,产生振铃响应,并将所述振铃响应按所述呼叫请求的反向路径发送给主叫用户A。Steps 308-214: The terminal of the called user B rings, generates a ringing response, and sends the ringing response to the calling user A along the reverse path of the call request.
步骤315-221:被叫用户B摘机,产生成功响应,所述成功响应按所述呼叫请求的反向路径发送给主叫用户A。Steps 315-221: The called user B picks up the phone and generates a success response, which is sent to the calling user A according to the reverse path of the call request.
步骤322-228:主叫用户A的终端产生确认消息,按所述呼叫请求同样的路径发发送给被叫用户B。Steps 322-228: The calling user A's terminal generates a confirmation message, and sends it to the called user B through the same path as the call request.
之后,主叫用户A和被叫用户B通话,呼叫建立成功。After that, the calling user A talks with the called user B, and the call is established successfully.
以下实施例中,均按照上述步骤中的呼叫流程来完成两用户之间的通话过程。In the following embodiments, the call process between two users is completed according to the call flow in the above steps.
下面结合附图和实施例,对本发明的具体实施方式作进一步详细描述。The specific implementation manners of the present invention will be further described in detail below in conjunction with the accompanying drawings and embodiments.
本发明实施例的同组代答业务的实现方法应用于IMS网络系统中,在IMS网络系统中存在广域群的概念,即属于不同应用服务器的用户可以组成同一个群,以及同一个群内的同一个用户组。如图4所示为本发明实施例的IMS网络系统中属于不同应用服务器的用户组成广域群的网络框架示意图,从图4中可以看出,用户B、用户C和用户D虽然不属于同一应用服务器,然而却可以组成同一用户群内的同一个用户组。通常情况下,用户B所属的应用服务器B、用户C所属的应用服务器C和用户D所属的应用服务器D与同一归属用户服务器连接,以共享相同的用户数据。The implementation method of the same-group pickup service in the embodiment of the present invention is applied to the IMS network system. In the IMS network system, there is a concept of a wide-area group, that is, users belonging to different application servers can form the same group, and within the same group the same user group. As shown in Figure 4, it is a schematic diagram of the network framework of the wide area group formed by users belonging to different application servers in the IMS network system of the embodiment of the present invention. It can be seen from Figure 4 that although user B, user C and user D do not belong to the same Application servers, however, can form the same user group within the same user group. Usually, the application server B to which user B belongs, the application server C to which user C belongs, and the application server D to which user D belongs are connected to the same home user server to share the same user data.
如图5所示为本发明实施例的同组代答业务的实现方法的一流程示意图,所述方法包括以下步骤:FIG. 5 is a schematic flowchart of a method for implementing the same-group pickup service according to an embodiment of the present invention. The method includes the following steps:
步骤501:代答用户所属的第一应用服务器在接收到所述代答用户的第一同组代答请求时,根据本应用服务器或第二应用服务器中存储的被叫用户(也可以称为振铃用户)的振铃信息,获取与所述代答用户属于同一用户组的一被叫用户作为被代答用户,所述被叫用户的振铃信息是被叫用户所属的第三应用服务器在所述被叫用户振铃时,向所述第一应用服务器或所述第二应用服务器发送的;Step 501: When the first application server to which the pickup user belongs receives the first group pickup request of the pickup user, according to the called user stored in the application server or the second application server (also called ringing user), obtain a called user belonging to the same user group as the pickup user, and the ringing information of the called user is the third application server to which the called user belongs sent to the first application server or the second application server when the called user rings;
所谓代答用户是指执行代答操作的用户,所谓被代答用户是指所述代答用户的执行代答操作的对象。The so-called pickup user refers to the user who performs the pickup operation, and the so-called pickup user refers to the object of the pickup user who performs the pickup operation.
步骤502:所述第一应用服务器向所述被代答用户所属的第三应用服务器发送第二同组代答请求,所述第二同组代答请求用于通知所述被代答用户所属的第三应用服务器接通主叫用户与所述代答用户之间的会话;Step 502: The first application server sends a second group pickup request to the third application server to which the pickup user belongs, and the second group pickup request is used to notify that the pickup user belongs to The third application server connects the session between the calling user and the pickup user;
由于代答用户可以代替被代答用户应答主叫用户的呼叫,此时,所述被代答用户所属的第三应用服务器需要停止被代答用户的振铃,防止被代答用户处于振铃状态而被接听,因此,上述方法还包括:Since the pickup user can answer the call of the calling user instead of the pickup user, at this time, the third application server to which the pickup user belongs needs to stop the ringing of the pickup user to prevent the pickup user from ringing. state and is answered, therefore, the above method also includes:
步骤503:所述被代答用户所属的第三应用服务器向所述被代答用户发送振铃取消请求;Step 503: the third application server to which the picked-up user belongs sends a ringing cancellation request to the picked-up user;
另外,为了防止被代答用户被再次代答,此时,被代答用户所属的第三应用服务器需要删除上诉步骤501中向所述第一应用服务器或所述第二应用服务器发送的被代答用户的振铃信息,因此,上述方法还包括:In addition, in order to prevent the pickup user from being picked up again, at this time, the third application server to which the pickup user belongs needs to delete the Answering the ringing information of the user, therefore, the above method also includes:
步骤504:所述被代答用户所属的第三应用服务器向所述第一应用服务器或所述第二应用服务器发送删除请求,所述删除请求用于通知所述第一应用服务器或所述第二应用服务器删除本应用服务器中存储的所述被代答用户的振铃信息。Step 504: The third application server to which the pickup user belongs sends a deletion request to the first application server or the second application server, and the deletion request is used to notify the first application server or the second application server The second application server deletes the ringing information of the user to be answered stored in the application server.
下面以图4中的网络架构为例,对上述实施例的同组代答业务的实现方法进行详细说明。Taking the network architecture in FIG. 4 as an example, the implementation method of the same-group pickup service in the above embodiment will be described in detail below.
假设图4中的用户A为主叫用户、用户B为被叫用户、与用户B属于同一用户组的用户C为代答用户。在主叫用户A呼叫被叫用户B时,被叫用户B所属的应用服务器B(即上述第三应用服务器)可以通过两种方式向指定应用服务器发送所述被叫用户B的振铃信息:Assume that user A in FIG. 4 is the calling user, user B is the called user, and user C who belongs to the same user group as user B is the pickup user. When the calling user A calls the called user B, the application server B to which the called user B belongs (that is, the above-mentioned third application server) can send the ringing information of the called user B to the designated application server in two ways:
一种发送方式为:应用服务器B向多个指定应用服务器(包括应用服务器C和应用服务器D)广播所述被叫用户B的振铃信息,所述多个指定应用服务器通常满足以下条件:属于本应用服务器的用户中,具有与所述被叫用户B属于同一用户组的用户,该种发送方式又称为广播发送方式;One sending method is: the application server B broadcasts the ringing information of the called user B to multiple designated application servers (including application server C and application server D), and the multiple designated application servers usually meet the following conditions: belonging to Among the users of the application server, there is a user who belongs to the same user group as the called user B, and this sending method is also called a broadcast sending method;
另一种发送方式为:应用服务器B向用于集中存储被叫用户的振铃信息的一指定应用服务器(应用服务器C或应用服务器D)发送所述被叫用户B的振铃信息,即系统内的所有应用服务器均可以将属于本应用服务器的被叫用户的振铃信息,发送给用于集中存储被叫用户的振铃信息的指定应用服务器,该种发送方式又称为集中发送方式。Another sending method is: the application server B sends the ringing information of the called user B to a designated application server (application server C or application server D) for centrally storing the ringing information of the called user, that is, the system All application servers in the application server can send the ringing information of the called user belonging to the application server to the designated application server for centrally storing the ringing information of the called user. This sending method is also called centralized sending method.
下面举例对上述广播发送方式和集中发送方式下被叫用户的振铃信息的发送方法进行详细说明。The method for sending the ringing information of the called user in the above-mentioned broadcast sending mode and centralized sending mode will be described in detail below with examples.
如图6所示为本发明实施例的广播发送方式下被叫用户的振铃信息的发送方法的流程示意图,所述发送方法包括以下步骤:As shown in Figure 6, it is a schematic flow chart of the sending method of the ringing information of the called user under the broadcast sending mode of the embodiment of the present invention, and the sending method includes the following steps:
步骤601:主叫用户A呼叫被叫用户B,被叫用户B振铃(具体实现流程请参见图3所示的实施例)。Step 601: The calling user A calls the called user B, and the called user B rings (please refer to the embodiment shown in FIG. 3 for the specific implementation process).
步骤602-605:被叫用户所属的应用服务器B向应用服务器C和应用服务器D(当然还可以包括其他指定应用服务器)广播所述被叫用户B的振铃信息。Steps 602-605: The application server B to which the called user belongs broadcasts the ringing information of the called user B to the application server C and the application server D (of course, other specified application servers may also be included).
具体的,应用服务器B通过SIP协议的Info消息,向应用服务器C和应用服务器D广播所述被叫用户B的振铃信息,所述Info消息中至少携带以下内容:被叫用户的号码、振铃的时间和同组代答业务标识,所述同组代答业务标识用于标识该Info消息用于同组代答业务。另外,应用服务器B发送的Info消息中也可以不携带同组代答业务标识,而是通过其他方式表明当前发送的Info消息是用于同组代答业务,例如采用其他SIP头字段或消息体等方式。Specifically, the application server B broadcasts the ringing information of the called user B to the application server C and the application server D through the Info message of the SIP protocol, and the Info message carries at least the following content: the number of the called user, the ringing The bell time and the same-group pickup service identifier, the same-group pickup service identifier is used to identify that the Info message is used for the same-group pickup service. In addition, the Info message sent by the application server B may not carry the same-group pickup service identifier, but indicates that the currently sent Info message is for the same-group pickup service in other ways, such as using other SIP header fields or message bodies and so on.
应用服务器C和应用服务器D接收到所述Info消息后,根据所述Info消息中的同组代答业务标识,可以知道所述Info消息是用于同组代答业务,因此,记录所述Info消息中携带的被叫用户B的号码和振铃时间,并向应用服务器B反馈200 OK消息,用于确认已接收到被叫用户的振铃信息。After application server C and application server D receive the Info message, they can know that the Info message is for the same-group pickup service according to the same-group pickup service identifier in the Info message, so record the Info message The number and ringing time of the called user B carried in the message, and a 200 OK message is fed back to the application server B to confirm that the ringing information of the called user has been received.
此时如果被叫用户B和主叫用户A成功通话,则所述方法还包括以下步骤:At this point, if the called user B and the calling user A successfully talk, the method also includes the following steps:
步骤606:主叫用户A和被叫用户B通话后,被叫用户B停止振铃。Step 606: After the calling user A talks with the called user B, the called user B stops ringing.
步骤607-610:应用服务器B向应用服务器C和应用服务器D广播被叫用户B停止振铃的信息。Steps 607-610: Application server B broadcasts the information that called user B stops ringing to application server C and application server D.
具体的,应用服务器B同样通过SIP协议的Info消息,向应用服务器C和应用服务器D广播被叫用户B停止振铃的信息。Specifically, the application server B also broadcasts the information that the called user B stops ringing to the application server C and the application server D through the Info message of the SIP protocol.
应用服务器C和应用服务器D接收到所述Info消息后,删除本应用服务器中存储的被叫用户B的振铃信息,并向应用服务器B反馈200 OK消息,用于确认已删除被叫用户的振铃信息。Application server C and application server D delete the ringing information of the called user B stored in the application server after receiving the Info message, and feed back a 200 OK message to the application server B to confirm that the called user's ringing information has been deleted. Ringing information.
如图7所示为本发明实施例的集中发送方式下被叫用户的振铃信息的发送方法的流程示意图,所述发送方法包括以下步骤:As shown in Figure 7, it is a schematic flow chart of the sending method of the ringing information of the called user under the centralized sending mode of the embodiment of the present invention, and the sending method includes the following steps:
步骤701:主叫用户A呼叫被叫用户B,被叫用户B振铃(具体实现流程请参见图3所示的实施例)。Step 701: The calling user A calls the called user B, and the called user B rings (please refer to the embodiment shown in FIG. 3 for the specific implementation process).
步骤702-703:应用服务器B向应用服务器D(用于集中存储被叫用户的振铃信息的指定应用服务器)发送被叫用户B停止振铃的信息。Steps 702-703: the application server B sends the information that the called user B stops ringing to the application server D (a designated application server for centrally storing the ringing information of the called user).
具体的,应用服务器B通过SIP协议的Info消息,向应用服务器D发送所述被叫用户B的振铃信息,所述Info消息中至少携带以下内容:被叫用户的号码、振铃的时间和同组代答业务标识所述同组代答业务标识用于标识该Info消息用于同组代答业务。Specifically, the application server B sends the ringing information of the called user B to the application server D through an Info message of the SIP protocol, and the Info message carries at least the following content: the number of the called user, the ringing time and Same-group pickup service identifier The same-group pickup service identifier is used to identify that the Info message is used for the same-group pickup service.
应用服务器D接收到所述Info消息后,根据所述Info消息中的同组代答业务标识,可以知道所述Info消息是用于同组代答业务,因此,记录所述Info消息中携带的被叫用户B的号码和振铃时间,并向应用服务器B反馈200 OK消息,用于确认已接收到被叫用户的振铃信息。After receiving the Info message, the application server D can know that the Info message is used for the same-group pickup service according to the same-group pickup service identifier in the Info message, and therefore, record the information carried in the Info message. The number and ringing time of the called user B, and feed back a 200 OK message to the application server B to confirm that the ringing information of the called user has been received.
此时如果被叫用户B和主叫用户A通话,则所述方法还包括以下步骤:Now if the called user B talks with the calling user A, the method also includes the following steps:
步骤704:主叫用户A和被叫用户B通话后,被叫用户B停止振铃。Step 704: After the calling user A talks with the called user B, the called user B stops ringing.
步骤705-706:应用服务器B将被叫用户B停止振铃的信息发送给应用服务器D。Steps 705-706: the application server B sends the information that the called user B stops ringing to the application server D.
具体的,应用服务器B同样通过SIP协议的Info消息,向应用服务器D发送被叫用户B停止振铃的信息。Specifically, the application server B also sends the information that the called user B stops ringing to the application server D through the Info message of the SIP protocol.
应用服务器D接收到所述Info消息后,删除本应用服务器中存储的被叫用户B的振铃信息,并向应用服务器B反馈200 OK消息,用于确认已删除被叫用户的振铃信息。After the application server D receives the Info message, it deletes the ringing information of the called user B stored in the application server, and feeds back a 200 OK message to the application server B to confirm that the ringing information of the called user has been deleted.
假设图4中的用户C为代答用户,在第一种发送方式(广播发送方式)下,或者,在第二种发送方式(集中发送方式)下且代答用户C所属的应用服务器C为用于集中存储被叫用户的振铃信息的指定应用服务器时,上述实施例中的步骤501之前还包括:被叫用户所属的第三应用服务器(即上述实施例中的应用服务器B)在所述被叫用户振铃时,向所述第一应用服务器(即上述实施例中的应用服务器C)发送所述被叫用户的振铃信息的步骤。此时,上述步骤501具体包括:代答用户所属的第一应用服务器在接收到所述代答用户的第一同组代答请求时,根据本应用服务器中存储的被叫用户的振铃信息,获取与所述代答用户属于同一用户组的一被叫用户作为被代答用户。Assuming that user C in Figure 4 is a pick-up user, in the first sending mode (broadcast sending mode), or in the second sending mode (centralized sending mode) and the application server C to which pick-up user C belongs is When the designated application server is used to centrally store the ringing information of the called user, before
假设用于集中存储被叫用户的振铃信息的指定应用服务器为用户D所属的应用服务器D,此时,在第二种发送方式下且代答用户C所属的应用服务器C不是用于集中存储被叫用户的振铃信息的指定应用服务器时,上述实施例中的步骤501之前还包括:被叫用户所属的第三应用服务器在所述被叫用户振铃时,仅向所述第二应用服务器(即应用服务器D)发送所述被叫用户的振铃信息的步骤。此时,上述步骤501具体包括:所述第一应用服务器根据所述第二应用服务器中存储的被叫用户的振铃信息,获取与所述代答用户属于同一用户组的一被叫用户作为被代答用户。Assume that the designated application server for centrally storing the ringing information of the called user is the application server D to which user D belongs. At this time, in the second transmission mode and the application server C to which the pickup user C belongs is not used for centralized storage When specifying the application server for the ringing information of the called user, before
上述步骤501中,所述代答用户所属的第一应用服务器可能会从本应用服务器或所述第二应用服务器中获取到多个与所述代答用户属于同一用户组的被叫用户,此时,所述第一应用服务器可以从所述多个被叫用户中任意选择一被叫用户作为被代答用户,从而使得代答用户能够代替所述被代答用户响应主叫用户的呼叫。通常情况下,所述第一应用服务器是从所述多个被叫用户中选择振铃时间最早的被叫用户作为被代答用户。In the
下面分别以被叫用户所属的应用服务器以广播发送方式和集中发送方式发送被叫用户的振铃信息为例,对本发明实施例的同组代答业务的实现方法进行详细说明。Taking the application server to which the called user belongs sends the ringing information of the called user in the broadcast transmission mode and the centralized transmission mode as examples, the implementation method of the same-group pickup service in the embodiment of the present invention will be described in detail below.
如图8所示为本发明实施例的被叫用户的振铃信息以广播发送方式发送的情况下同组代答业务的实现方法的流程示意图,所述同组代答业务的实现方法包括以下步骤(为了简化起见,图中省略了网络系统中的CSCF):As shown in Figure 8, it is a schematic flow diagram of the implementation method of the same-group pickup service under the condition that the ringing information of the called user is sent by broadcast transmission in the embodiment of the present invention, and the implementation method of the same-group pickup service includes the following Steps (for simplicity, the CSCF in the network system is omitted in the figure):
步骤801:主叫用户A呼叫被叫用户B,且被叫用户B振铃(具体实现流程请参见图3所示的实施例)。Step 801: The calling user A calls the called user B, and the called user B rings (please refer to the embodiment shown in FIG. 3 for the specific implementation process).
步骤802-803:被叫用户所属的应用服务器B以广播发送方式,利用SIP协议中的Info消息,向多个指定应用服务器(包括应用服务器C)广播被叫用户B的振铃信息。所述振铃信息中包括:被叫用户B的号码、振铃时间以及同组代答业务标识。应用服务器C接收到所述Info消息后,记录所述Info消息中携带的被叫用户B的号码和振铃时间,并向应用服务器B返回200 OK消息表示确认接收。Steps 802-803: The application server B to which the called user belongs broadcasts the ringing information of the called user B to multiple specified application servers (including application server C) by using the Info message in the SIP protocol in a broadcast transmission mode. The ringing information includes: the number of the called user B, the ringing time, and the identification of the group pickup service. After the application server C receives the Info message, it records the number and the ringing time of the called user B carried in the Info message, and returns a 200 OK message to the application server B to confirm receipt.
步骤804:属于应用服务器C的代答用户C摘机,并拨打“同组代答业务的接入码”,此时,代答用户C的终端产生一SIP协议的Invite(请求)消息,所述Invite消息即上述实施例中的第一同组代答请求,所述Invite消息中携带SDP C(终端C的媒体),并经过CSCF转发到应用服务器C。Step 804: The pick-up user C belonging to the application server C picks up the hook, and dials the "access code of the same group pick-up service". At this time, the terminal of the pick-up user C generates an Invite (request) message of the SIP protocol, so The Invite message is the first group answering request in the above-mentioned embodiment, and the Invite message carries SDP C (the medium of the terminal C), and is forwarded to the application server C through the CSCF.
所述“同组代答业务的接入码”为一串特定的字符,例如,*9100#等,用于表示代答用户C希望同组代答的愿望,所述“同组代答业务的接入码”可以作为Invite消息的req-uri行,所述req-uri行表示SIP消息的呼叫目标。The "access code of the same group pickup service" is a string of specific characters, for example, *9100#, etc., which are used to indicate the desire of the pickup user C to wish the same group pickup, and the "same group pickup service The access code" can be used as the req-uri line of the Invite message, and the req-uri line indicates the calling target of the SIP message.
步骤805:应用服务器C根据所述Invite消息中的“同组代答业务的接入码”,触发同组代答业务。Step 805: Application server C triggers the same-group pickup service according to the "access code of the same-group pickup service" in the Invite message.
步骤806:应用服务器C需要查找到一个与代答用户C属于同一用户组的被叫用户作为被代答用户,从而使得代答用户C能够代替该被代答用户响应主叫用户A的呼叫。Step 806: The application server C needs to find a called user who belongs to the same user group as the pickup user C as the pickup user, so that the pickup user C can respond to the calling user A's call instead of the pickup user.
在广播发送方式下,应用服务器C在本应用服务器寻找是否存在与代答用户C属于同一用户组的被叫用户,如果在本应用服务器找到多个满足条件的被叫用户,则可以选择振铃时间最早的被叫用户作为被代答用户(本发明实施例中假设振铃时间最早的被叫用户为被叫用户B)。In the broadcast sending mode, the application server C checks whether there is a called user belonging to the same user group as the pick-up user C on the application server. If multiple called users meeting the conditions are found on the application server, they can choose to ring The called user with the earliest time is the called user (in the embodiment of the present invention, it is assumed that the called user with the earliest ringing time is called user B).
步骤807:应用服务器C删除所述Invite消息中的“同组代答业务的接入码”,将被叫用户B的号码作为所述Invite消息的req-uri行,并在所述Invite消息中添加一个同组代答业务标识发给应用服务器B,此时的Invite消息即上述实施例中的第二同组代答请求。Step 807: The application server C deletes the "access code for the same-group pickup service" in the Invite message, takes the number of the called user B as the req-uri line of the Invite message, and adds it in the Invite message Add a group pickup service identifier and send it to the application server B, and the Invite message at this time is the second group pickup request in the above embodiment.
另外,应用服务器C还可以通过其他方式表明所述Invite消息是用于同组代答业务,例如,在所述Invite消息中加入了一P-Asserted-Service头字段,该头字段的功能在3GPP TS 24.229 V8.8.0中定义,可以携带一个业务标识。P-Asserted-Service头字段需要为同组代答业务定义一个值,举例如下:P-Asserted-Service:urn:3gpp:mmtel.alarm.version1。另外,应用服务器C还可以采用其他SIP头字段表明所述Invite消息是用于同组代答业务。In addition, the application server C can also indicate that the Invite message is used for the same-group pickup service in other ways, for example, adding a P-Asserted-Service header field to the Invite message, and the function of this header field is specified in 3GPP Defined in TS 24.229 V8.8.0, it can carry a business identifier. The P-Asserted-Service header field needs to define a value for the same-group pickup service, for example: P-Asserted-Service:urn:3gpp:mmtel.alarm.version1. In addition, the application server C may also use other SIP header fields to indicate that the Invite message is for the same-group pickup service.
步骤808:应用服务器B根据所述Invite消息中携带的同组代答业务标识,触发同组代答业务。此时,应用服务器还需要让被叫用户B停止振铃,并寻找到呼叫被叫用户B的主叫用户A,以接续主叫用户A和代答用户C的呼叫。Step 808: Application server B triggers the same-group pickup service according to the same-group pickup service identifier carried in the Invite message. At this time, the application server also needs to stop the ringing of the called user B, and find the calling user A calling the called user B, so as to connect the call of the calling user A and the pick-up user C.
步骤809-步骤813:应用服务器B使用SIP协议中的Cancel(取消)消息,让被叫用户B停止振铃。Step 809-Step 813: the application server B uses the Cancel (cancel) message in the SIP protocol to make the called user B stop ringing.
步骤814-步骤815:被叫用户B停止振铃后,应用服务器B利用Info消息,向上述多个指定应用服务器(包括应用服务器C)广播被叫用户B停止振铃的信息。此时,所述多个指定应用服务器会从本应用服务器中存储的振铃信息中删除被叫用户B的振铃信息。Step 814-Step 815: After the called user B stops ringing, the application server B uses the Info message to broadcast the information that the called user B stops ringing to the above-mentioned multiple designated application servers (including application server C). At this time, the multiple designated application servers will delete the ringing information of the called user B from the ringing information stored in the application server.
步骤816:应用服务器B还需要接续主叫用户A和代答用户C的呼叫,此时,应用服务器B把SDP C通过SIP协议的Update消息转发给主叫用户A。Step 816: The application server B still needs to connect the calls of the calling user A and the pick-up user C. At this time, the application server B forwards the Update message of the SDP C to the calling user A through the SIP protocol.
步骤817:主叫用户A返回200 OK消息给应用服务器B,表示对于Update消息的确认,并在200 OK消息中携带了SDP A(终端A的媒体)。Step 817: Calling user A returns a 200 OK message to the application server B, indicating confirmation of the Update message, and carries SDP A (the media of terminal A) in the 200 OK message.
步骤818-步骤819:应用服务器B产生183消息发给应用服务器C,并携带了SDP A,应用服务器C将183消息转发给代答用户C。Step 818-Step 819: Application server B generates a 183 message and sends it to application server C, carrying SDP A, and application server C forwards the 183 message to pick-up user C.
步骤820-步骤823:代答用户C产生PRACK消息,作为对183消息的确认。应用服务器B产生200 OK消息,作为对PRACK消息的确认。Step 820-Step 823: Pickup user C generates a PRACK message as confirmation of the 183 message. Application server B generates a 200 OK message as a confirmation of the PRACK message.
步骤824-步骤827:应用服务器B产生200 OK消息给应用服务器C,作为对Invite消息的确认消息,代答用户C用ACK消息响应。Step 824-Step 827: Application server B generates a 200 OK message to application server C as a confirmation message for the Invite message, and the proxy user C responds with an ACK message.
步骤828-步骤829:应用服务器B产生200 OK消息给主叫用户A,作为对Invite消息的确认,主叫用户A用ACK消息响应。Step 828-Step 829: The application server B generates a 200 OK message to the calling user A as confirmation of the Invite message, and the calling user A responds with an ACK message.
最终,主叫用户A和代答用户C通话。Finally, calling user A talks with pickup user C.
如图9所示为本发明实施例的被叫用户的振铃信息以集中发送方式发送的情况下同组代答业务的实现方法的流程示意图,所述同组代答业务的实现方法包括以下步骤(为了简化起见,图中省略了网络系统中的CSCF):As shown in Figure 9, it is a schematic flow diagram of the implementation method of the same-group pickup service under the condition that the ringing information of the called user is sent in a centralized transmission mode according to the embodiment of the present invention. The implementation method of the same-group pickup service includes the following Steps (for simplicity, the CSCF in the network system is omitted in the figure):
步骤901:主叫用户A呼叫被叫用户B,且被叫用户B振铃(具体实现流程请参见图3所示的实施例)。Step 901: The calling user A calls the called user B, and the called user B rings (please refer to the embodiment shown in FIG. 3 for the specific implementation process).
步骤902-903:被叫用户所属的应用服务器B以集中发送方式,利用SIP协议中的Info消息,向用于集中存储被叫用户的振铃信息的指定应用服务器D发送被叫用户B的振铃信息。所述振铃信息中包括:被叫用户B的号码、振铃时间以及同组代答业务标识。应用服务器D接收到所述Info消息后,记录所述Info消息中携带的被叫用户B的号码和振铃时间,并向应用服务器B返回200 OK消息表示确认接收。Steps 902-903: The application server B to which the called user belongs uses the Info message in the SIP protocol to send the ringing information of the called user B to the designated application server D for centrally storing the ringing information of the called user in a centralized sending mode. Bell message. The ringing information includes: the number of the called user B, the ringing time, and the identification of the group pickup service. After the application server D receives the Info message, it records the number and the ringing time of the called user B carried in the Info message, and returns a 200 OK message to the application server B to confirm receipt.
步骤904:属于应用服务器C的代答用户C摘机,并拨打“同组代答业务的接入码”,此时,代答用户C的终端产生一SIP协议的Invite(请求)消息,所述Invite消息即上述实施例中的第一同组代答请求,所述Invite消息中携带SDP C(终端C的媒体),并经过CSCF转发到应用服务器C。所述“同组代答业务的接入码”可以作为Invite消息的req-uri行。Step 904: The pick-up user C belonging to the application server C picks up the phone and dials the "access code of the same-group pick-up service". At this time, the terminal of the pick-up user C generates an Invite (request) message of the SIP protocol, so The Invite message is the first group answering request in the above-mentioned embodiment, and the Invite message carries SDP C (the medium of the terminal C), and is forwarded to the application server C through the CSCF. The "access code of the group pickup service" can be used as the req-uri line of the Invite message.
步骤905:应用服务器C根据所述Invite消息中的“同组代答业务的接入码”,触发同组代答业务。Step 905: Application server C triggers the same-group pickup service according to the "access code of the same-group pickup service" in the Invite message.
步骤906:应用服务器C需要查找到一个与代答用户C属于同一用户组的被叫用户作为被代答用户,从而使得代答用户C能够代替所述被代答用户响应主叫用户A的呼叫。Step 906: The application server C needs to find a called user who belongs to the same user group as the pickup user C as the pickup user, so that the pickup user C can replace the pickup user to answer the call of the calling user A .
在集中发送方式下,应用服务器C向应用服务器D发送Info消息,所述Info消息中携带代答用户C的号码,所述Info消息用于查询所述应用服务器D中存储的与代答用户C属于同一用户组的被叫用户。In the centralized sending mode, the application server C sends an Info message to the application server D, the Info message carries the number of the pickup user C, and the Info message is used to query the information stored in the application server D and the pickup user C Called users belonging to the same user group.
步骤907:应用服务器D接收到所述Info消息后,根据本应用服务器中存储的被叫用户的振铃信息,查找与代答用户C属于同一用户组的被叫用户作为被代答用户,如果在本应用服务器找到多个满足条件的被叫用户,则可以选择振铃时间最早的被叫用户作为被代答用户(本发明实施例中假设振铃时间最早的被叫用户为被叫用户B),并通过200 OK消息返回被叫用户B的号码。Step 907: After receiving the Info message, the application server D searches for the called user who belongs to the same user group as the pickup user C as the pickup user according to the ringing information of the called user stored in the application server. If a plurality of called users satisfying the conditions are found in the application server, the called user with the earliest ringing time can be selected as the called user (in the embodiment of the present invention, it is assumed that the called user with the earliest ringing time is called user B ), and return the number of called user B through a 200 OK message.
步骤908:应用服务器C从200 OK消息中获取被叫用户B的号码。Step 908: Application server C obtains the number of called user B from the 200 OK message.
步骤909:应用服务器C删除代答用户C发送的Invite消息中的“同组代答业务的接入码”,将被叫用户B的号码作为所述Invite消息的req-uri行,并在所述Invite消息中添加一个同组代答业务标识(URN)发给应用服务器B,此时的Invite消息即上述实施例中的第二同组代答请求。Step 909: The application server C deletes the "access code of the same-group pickup service" in the Invite message sent by the pickup user C, takes the number of the called user B as the req-uri line of the Invite message, and adds Add a group pickup service identifier (URN) to the Invite message and send it to the application server B. The Invite message at this time is the second group pickup request in the above embodiment.
步骤910:应用服务器B根据所述Invite消息中携带的同组代答业务标识,触发同组代答业务。此时,应用服务器还需要让被叫用户B停止振铃,并寻找到呼叫被叫用户B的主叫用户A,以接续主叫用户A和代答用户C的呼叫。Step 910: Application server B triggers the same-group pickup service according to the same-group pickup service identifier carried in the Invite message. At this time, the application server also needs to stop the ringing of the called user B, and find the calling user A calling the called user B, so as to connect the call of the calling user A and the pick-up user C.
步骤911-步骤915:应用服务器B使用SIP协议中的Cancel(取消)消息,让被叫用户B停止振铃。Step 911-Step 915: the application server B uses the Cancel (cancel) message in the SIP protocol to make the called user B stop ringing.
步骤916-步骤917:被叫用户B停止振铃后,应用服务器B利用Info消息,向应用服务器D发送被叫用户B停止振铃的信息。此时,所述应用服务器D会从本应用服务器中存储的振铃信息中删除被叫用户B的振铃信息。Step 916 - Step 917: After the called user B stops ringing, the application server B uses the Info message to send the information that the called user B stops ringing to the application server D. At this time, the application server D will delete the ringing information of the called user B from the ringing information stored in the application server.
步骤918:应用服务器B还需要接续主叫用户A和代答用户C的呼叫,此时,应用服务器B把SDP C通过SIP协议的Update消息转发给主叫用户A。Step 918: The application server B still needs to connect the calls of the calling user A and the pick-up user C. At this time, the application server B forwards the Update message of the SDP C to the calling user A through the SIP protocol.
步骤919:主叫用户A返回200 OK消息给应用服务器B,表示对于Update消息的确认,并在200 OK消息中携带了SDP A(终端A的媒体)。Step 919: Calling user A returns a 200 OK message to the application server B, indicating confirmation of the Update message, and carries SDP A (the media of terminal A) in the 200 OK message.
步骤920-步骤921:应用服务器B产生183消息发给应用服务器C,并携带了SDP A,应用服务器C将183消息转发给代答用户C。Step 920-Step 921: Application server B generates a 183 message and sends it to application server C, carrying SDP A, and application server C forwards the 183 message to pick-up user C.
步骤922步骤925:代答用户C产生PRACK消息,作为对183消息的确认。应用服务器B产生200 OK消息,作为对PRACK消息的确认。Step 922 and Step 925: Pickup user C generates a PRACK message as confirmation of the 183 message. Application server B generates a 200 OK message as a confirmation of the PRACK message.
步骤926-步骤929:应用服务器B产生200 OK消息给应用服务器C,作为对Invite消息的确认消息,代答用户C用ACK消息响应。Step 926-Step 929: Application server B generates a 200 OK message to application server C as a confirmation message for the Invite message, and the proxy user C responds with an ACK message.
步骤930-步骤931:应用服务器B产生200 OK消息给主叫用户A,作为对Invite消息的确认,主叫用户A用ACK消息响应。Step 930-step 931: the application server B generates a 200 OK message to the calling user A as confirmation of the Invite message, and the calling user A responds with an ACK message.
最终,主叫用户A和代答用户C通话。Finally, calling user A talks with pickup user C.
对应于上述同组代答业务的实现方法,本发明实施例还提供一种通信系统,如图10所示为本发明实施例的通信系统的一结构示意图,所述通信系统包括:被叫用户1001、代答用户1002、代答用户1002所属的第一应用服务器1003和被叫用户1001所属的第三应用服务器1004。Corresponding to the implementation method of the same-group pickup service, the embodiment of the present invention also provides a communication system, as shown in FIG. 10 , which is a schematic structural diagram of the communication system of the embodiment of the present invention. 1001, the
所述第一应用服务器1003包括:The
获取模块10031,用于在接收到所述代答用户1002的第一同组代答请求时,根据本应用服务器或第二应用服务器中存储的被叫用户的振铃信息,获取与所述代答用户1002属于同一用户组的一被叫用户作为被代答用户,所述被叫用户的振铃信息是被叫用户所属的第三应用服务器1004在所述被叫用户振铃时,向所述第一应用服务器1001或所述第二应用服务器发送的;The acquiring
请求模块10032,用于向所述被代答用户所属的第三应用服务器1004发送第二同组代答请求,所述第二同组代答请求用于通知所述被代答用户所属的第三应用服务器1004接通主叫用户与所述代答用户1002之间的会话。The
在主叫用户呼叫被叫用户1001时,被叫用户1001所属的第三应用服务器1004可以通过两种方式向指定服务器发送所述被叫用户1001的振铃信息:When the calling user calls the called
一种发送方式为:第三应用服务器1004向多个指定应用服务器(包括代答用户1002所属的第一应用服务器1003)广播所述被叫用户1001的振铃信息,所述多个指定应用服务器通常满足以下条件:属于该应用服务器的用户中具有与所述被叫用户1001属于同一用户组的用户,该种发送方式又称为广播发送方式;One sending method is: the
另一种发送方式为:第三应用服务器1004向用于集中存储被叫用户的振铃信息的第二应用服务器发送所述被叫用户1001的振铃信息,即系统内的所有应用服务器均可以将属于本应用服务器的被叫用户的振铃信息,发送给用于集中存储振铃信息的第二应用服务器,该种发送方式又称为集中发送方式。Another sending method is: the
在第一种发送方式下,所述第三应用服务器1004包括:In the first sending manner, the
第一发送模块,用于在属于本应用服务器的被叫用户振铃时,向所述第一应用服务器1003发送所述被叫用户的振铃信息;The first sending module is configured to send the ringing information of the called user to the
所述获取模块10031包括:The
第一处理单元,用于根据本应用服务器中存储的被叫用户的振铃信息,获取与所述代答用户属于同一用户组的一被叫用户作为被代答用户。The first processing unit is configured to acquire a called user belonging to the same user group as the pickup user as the pickup user according to the ringing information of the called user stored in the application server.
如图11所示为本发明实施例的通信系统的另一结构示意图,在第二种发送方式下,所述通信系统还包括:用于集中存储被叫用户的振铃信息的第二应用服务器1005。As shown in Figure 11, it is another structural schematic diagram of the communication system of the embodiment of the present invention. In the second transmission mode, the communication system further includes: a second application server for centrally storing the ringing information of the called user 1005.
所述第三应用服务器1004还包括:The
第二发送单元,用于在属于本应用服务器的被叫用户振铃时,仅向所述第二应用服务器1005发送所述被叫用户的振铃信息;The second sending unit is configured to only send the ringing information of the called user to the second application server 1005 when the called user belonging to the application server rings;
所述获取模块10031还包括:The
第二处理单元,用于根据所述第二应用服务器1005中存储的被叫用户的振铃信息,获取与所述代答用户属于同一用户组的一被叫用户作为被代答用户。The second processing unit is configured to acquire a called user belonging to the same user group as the pickup user as the pickup user according to the ringing information of the called user stored in the second application server 1005 .
由于代答用户可以代替被代答用户应答主叫用户的呼叫,此时,所述被代答用户所属的第三应用服务器1004需要停止被代答用户的振铃,防止被代答用户处于振铃状态而被接听,因此,所述第三应用服务器1004包括:Since the pickup user can answer the calling user's call instead of the pickup user, at this time, the
取消模块,用于在接收到所述第二同组代答请求时,向所述被代答用户发送振铃取消请求。A canceling module, configured to send a ringing cancellation request to the picked-up user when receiving the second group pickup request.
另外,为了防止被代答用户被再次代答,此时,被代答用户所属的第三应用服务器1004需要删除本应用服务器中存储的被代答用户的振铃信息,因此,所述第三应用服务器1004还包括:In addition, in order to prevent the picked-up user from being picked up again, at this time, the
删除模块,用于在接收到所述第二同组代答请求时,向所述第一应用服务器或第二应用服务器发送删除请求,所述删除请求用于通知所述第一应用服务器或所述第二应用服务器删除本应用服务器中存储的所述被代答用户的振铃信息。A deletion module, configured to send a deletion request to the first application server or the second application server when receiving the second group pickup request, and the deletion request is used to notify the first application server or the second application server The second application server deletes the ringing information of the user to be answered stored in the application server.
上述实施例中,所述代答用户1002所属的第一应用服务器1003可能会从本应用服务器或所属第二应用服务器1005中获取到多个与所述代答用户1002属于同一用户组的被叫用户,此时,所述第一应用服务器1003可以从所述多个被叫用户中任意选择一被叫用户作为被代答用户,从而使得代答用户代替该被代答用户响应主叫用户的呼叫。通常情况下,所述第一应用服务器1003是从所述多个被叫用户中选择振铃时间最早的被叫用户作为被代答用户。In the above embodiment, the
通过上述实施例提供的同组代答业务的实现方法和通信系统,被叫用户所属的应用服务器在被叫用户振铃时,将被叫用户的振铃信息发送的指定应用服务器;在代答用户所属的应用服务器属于指定应用服务器时,则根据本应用服务器中存储的被叫用户的振铃信息,获取与所述代答用户属于同一用户组的一被叫用户作为被代答用户,代替所述被代答用户响应主叫用户的呼叫;在代答用户所属的应用服务器不属于指定应用服务器时,则根据指定应用服务器中存储的被叫用户的振铃信息,获取与所述代答用户属于同一用户组的一被叫用户作为被代答用户,代替所述被代答用户响应主叫用户的呼叫,根据上述方法则可以实现属于不同应用服务器的同组用户之间的同组代答业务,解决了跨服务器实现同组代答业务的难题,弥补了现有技术的空白。Through the implementation method and communication system of the same group pickup service provided by the above embodiment, the application server to which the called user belongs is the designated application server that sends the ringing information of the called user when the called user rings; When the application server to which the user belongs belongs to the specified application server, according to the ringing information of the called user stored in the application server, a called user belonging to the same user group as the pickup user is obtained as the pickup user, instead of The called user responds to the call of the calling user; when the application server to which the picked-up user belongs does not belong to the specified application server, then according to the ringing information of the called user stored in the specified application server, the A called user who belongs to the same user group as a pickup user replaces the pickup user to respond to the calling user's call. According to the above method, the same group proxy between users of the same group belonging to different application servers can be realized. The answering business solves the problem of realizing the same group answering business across servers, and makes up for the gaps in the existing technology.
以上所述仅是本发明的优选实施方式,应当指出,对于本技术领域的普通技术人员来说,在不脱离本发明原理的前提下,还可以作出若干改进和润饰,这些改进和润饰也应视为本发明的保护范围。The above is only a preferred embodiment of the present invention, it should be pointed out that for those of ordinary skill in the art, without departing from the principle of the present invention, some improvements and modifications can also be made, and these improvements and modifications should also be It is regarded as the protection scope of the present invention.
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201010105695.1ACN101778363B (en) | 2010-01-22 | 2010-01-22 | Implementation method of co-group pickup and communication system |
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201010105695.1ACN101778363B (en) | 2010-01-22 | 2010-01-22 | Implementation method of co-group pickup and communication system |
| Publication Number | Publication Date |
|---|---|
| CN101778363A CN101778363A (en) | 2010-07-14 |
| CN101778363Btrue CN101778363B (en) | 2014-06-11 |
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201010105695.1AExpired - Fee RelatedCN101778363B (en) | 2010-01-22 | 2010-01-22 | Implementation method of co-group pickup and communication system |
| Country | Link |
|---|---|
| CN (1) | CN101778363B (en) |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN107172099B (en)* | 2017-07-12 | 2020-04-07 | 浪潮集团有限公司 | Secret key configurable system and method in MMtel application server |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101232649A (en)* | 2008-01-29 | 2008-07-30 | 中国移动通信集团公司 | Method for realizing same-group pickup service, application server and communication system |
| CN101237490A (en)* | 2007-01-31 | 2008-08-06 | 华为技术有限公司 | Call pickup method, pickup server and communication system |
| CN101448334A (en)* | 2008-12-29 | 2009-06-03 | 华为技术有限公司 | Implementation method of distributed services as well as device and system thereof |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101237490A (en)* | 2007-01-31 | 2008-08-06 | 华为技术有限公司 | Call pickup method, pickup server and communication system |
| CN101232649A (en)* | 2008-01-29 | 2008-07-30 | 中国移动通信集团公司 | Method for realizing same-group pickup service, application server and communication system |
| CN101448334A (en)* | 2008-12-29 | 2009-06-03 | 华为技术有限公司 | Implementation method of distributed services as well as device and system thereof |
| Publication number | Publication date |
|---|---|
| CN101778363A (en) | 2010-07-14 |
| Publication | Publication Date | Title |
|---|---|---|
| US8744060B2 (en) | Communicating information pertaining to cancelling of forked call requests | |
| US8953583B2 (en) | Method and system for selective call forwarding based on media attributes in telecommunication network | |
| CN105847295B (en) | For establishing the method and server of the communication for not providing caller identity in the telecommunication system | |
| US8812700B2 (en) | Method and apparatus for providing network based services to non-registering endpoints | |
| CN102123211B (en) | Realizing method and system of multi-party calling service | |
| US20090181657A1 (en) | Merging call notifications in cross ringing systems | |
| CN104137523B (en) | A kind of method, apparatus and system that realize meeting access | |
| KR20100074237A (en) | Accommodation of two independent telephony systems | |
| CN101123647A (en) | A communication method, system and service control functional entity | |
| CN101764802B (en) | Method, server and terminal device for playing multimedia ring tone during call | |
| CN101369906B (en) | Conference service implementing method and apparatus | |
| Prasad et al. | Analysis of SIP and realization of advanced IP-PBX features | |
| CN101448334A (en) | Implementation method of distributed services as well as device and system thereof | |
| JP2013527709A (en) | Method and apparatus for branching a call request to a called user address | |
| CN101247440B (en) | Method for implementing call switching service | |
| CN102457772A (en) | Information display method and information display device | |
| US8213373B2 (en) | Supporting method for REFER message expansion parameter | |
| EP2186294B1 (en) | End-user notification updates of session events | |
| WO2008036008A1 (en) | Multiple response options for incoming communication attempts | |
| CN101778363B (en) | Implementation method of co-group pickup and communication system | |
| US8761057B2 (en) | Broadband service nesting processing method and device, and service application server | |
| CN101286951B (en) | Session preemption method | |
| CN101790006B (en) | Method for realizing co-group pick-up service and communication system | |
| CN101998324A (en) | Method for implementing unified message order ringing service and unified message order ringing application server | |
| CN101222540A (en) | Multimedia service implementing method for IP multimedia subsystem |
| 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 | ||
| CF01 | Termination of patent right due to non-payment of annual fee | ||
| CF01 | Termination of patent right due to non-payment of annual fee | Granted publication date:20140611 |