[go: up one dir, main page]

CN104754144A - Method and device for controlling polyphonic ringtone calling - Google Patents

Method and device for controlling polyphonic ringtone calling Download PDF

Info

Publication number
CN104754144A
CN104754144A CN201310750728.1A CN201310750728A CN104754144A CN 104754144 A CN104754144 A CN 104754144A CN 201310750728 A CN201310750728 A CN 201310750728A CN 104754144 A CN104754144 A CN 104754144A
Authority
CN
China
Prior art keywords
unit
ctip
pool
request message
ring tone
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
Application number
CN201310750728.1A
Other languages
Chinese (zh)
Other versions
CN104754144B (en
Inventor
刘丽洁
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China Mobile Group Hebei Co Ltd
Original Assignee
China Mobile Group Hebei Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China Mobile Group Hebei Co Ltd filed Critical China Mobile Group Hebei Co Ltd
Priority to CN201310750728.1A priority Critical patent/CN104754144B/en
Publication of CN104754144A publication Critical patent/CN104754144A/en
Application granted granted Critical
Publication of CN104754144B publication Critical patent/CN104754144B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Telephonic Communication Services (AREA)

Abstract

本发明公开了一种彩铃呼叫控制方法,所述方法包括:将所有呼叫节点的CTIP、DB和FS进行整合,分别对应地组成CTIP池、DB池和FS池;接入设备接收核心网发送的彩铃呼叫请求消息并经CTIP池发送至DB池;DB池根据所述彩铃呼叫请求消息获取所需播放的铃音文件路径,并经CTIP池将所述铃音文件路径发送给所述接入设备;所述接入设备根据所述铃音文件路径向所述FS池发送铃音获取请求消息;所述FS池根据所述铃音获取请求消息向所述接入设备发送所需的铃音播放文件的数据流。本发明同时还公开了一种彩铃呼叫控制装置。采用本发明的技术方案,能够对原来分散的计算机与电话集成平台、存储用户信息数据库服务器和文件服务器进行集中管理,做到资源共享。

The invention discloses a color ring call control method. The method includes: integrating CTIP, DB and FS of all call nodes to respectively form a CTIP pool, a DB pool and a FS pool correspondingly; The CRBT call request message is sent to the DB pool via the CTIP pool; the DB pool obtains the ring tone file path to be played according to the CRBT call request message, and sends the ring tone file path to the access device via the CTIP pool ; The access device sends a ring tone acquisition request message to the FS pool according to the ring tone file path; the FS pool sends the required ring tone playback to the access device according to the ring tone acquisition request message The data stream of the file. At the same time, the invention also discloses a color ring call control device. By adopting the technical scheme of the invention, it is possible to carry out centralized management on the original scattered computer and telephone integration platform, database server and file server for storing user information, and realize resource sharing.

Description

一种彩铃呼叫控制方法及装置Method and device for controlling ring tone call

技术领域technical field

本发明涉及通信领域的彩铃业务,尤其涉及一种彩铃呼叫控制方法及装置。The invention relates to a color ring service in the communication field, in particular to a color ring call control method and device.

背景技术Background technique

彩铃业务(CRBT,Coloring Ring Back Tone),又称为个性化回铃音业务。当用户申请了这项服务后,主叫用户拨打该用户的移动号码时,听到的回铃音再也不是以前单调的“嘟,嘟”铃声,一般回铃音为一段音乐、广告或者是被叫用户自己设定的留言,可以是系统提供的铃音/音乐,也可以是被叫用户事先录制的语音文件。彩铃业务也可以是主叫用户自己为自己提交的一段悦耳的音乐或一段定制者自行录制语音。CRBT (Coloring Ring Back Tone), also known as personalized ring back tone service. After the user has applied for this service, when the calling user dials the mobile number of the user, the ring back tone heard is no longer the monotonous "beep, beep" ring tone before. The general ring back tone is a piece of music, advertisement or The message set by the called user can be the ring tone/music provided by the system, or a voice file recorded by the called user in advance. The CRBT service can also be a piece of melodious music submitted by the calling user himself or a voice recorded by the customizer himself.

随着业务的发展,越来越多的人喜欢上彩铃业务,彩铃系统的容量也随之增长。为了满足业务的需求,彩铃需要建设多个呼叫节点,每个节点都需要部署彩铃放音设备、呼叫控制设备、用户信息数据库以及铃音文件服务器。在业务发展初期,此种建设方案具有可以快速部署上线、对其它彩铃呼叫节点影响小的优点。但是,随着彩铃业务容量的增长,加上节点设备类型参差不齐,从而导致维护工作量剧增。With the development of services, more and more people like the CRBT service, and the capacity of the CRBT system also increases accordingly. In order to meet business requirements, multiple call nodes need to be built for CRBT, and each node needs to deploy CRBT playback equipment, call control equipment, user information database, and ring tone file server. In the initial stage of business development, this construction scheme has the advantages of rapid deployment and online deployment and little impact on other CRBT calling nodes. However, with the growth of the CRBT service capacity and the uneven types of node devices, the maintenance workload increases dramatically.

现有的方案存在如下缺陷:每个彩铃呼叫节点独立建设,每个呼叫节点的呼叫控制设备、用户信息数据库和铃音文件服务器,不仅无法做到资源共享,而且维护工作量大。The existing solutions have the following defects: each CRBT call node is constructed independently, and the call control equipment, user information database and ring tone file server of each call node not only cannot share resources, but also have a large maintenance workload.

发明内容Contents of the invention

有鉴于此,本发明实施例为解决现有技术中存在的问题而提供一种彩铃呼叫控制方法及装置,能够对原来分散的彩铃相关设备和信息集中进行管理,做到资源共享。In view of this, the embodiments of the present invention provide a method and device for controlling CRBT calls to solve the problems existing in the prior art, which can centrally manage the originally scattered CRBT-related equipment and information, and achieve resource sharing.

本发明实施例的技术方案是这样实现的:The technical scheme of the embodiment of the present invention is realized like this:

一种彩铃呼叫控制方法,将所有呼叫节点的计算机与电话集成平台CTIP、数据库DB和文件服务器FS进行整合,分别对应地组成CTIP池、DB池和FS池;所述方法包括:A kind of color ring call control method, the computer of all calling nodes is integrated with telephone integration platform CTIP, database DB and file server FS, forms CTIP pool, DB pool and FS pool correspondingly respectively; Described method comprises:

接入设备接收核心网发送的彩铃呼叫请求消息并经CTIP池发送至DB池;The access device receives the CRBT call request message sent by the core network and sends it to the DB pool through the CTIP pool;

DB池根据所述彩铃呼叫请求消息获取所需播放的铃音文件路径,并经CTIP池将所述铃音文件路径发送给所述接入设备;The DB pool acquires the path of the ring tone file to be played according to the CRBT call request message, and sends the path of the ring tone file to the access device via the CTIP pool;

所述接入设备根据所述铃音文件路径向所述FS池发送铃音获取请求消息;The access device sends a ring tone acquisition request message to the FS pool according to the ring tone file path;

所述FS池根据所述铃音获取请求消息向所述接入设备发送所需的铃音播放文件的数据流。The FS pool sends the required data stream of the ring tone playing file to the access device according to the ring tone acquisition request message.

优选地,在所述将所有呼叫节点的CTIP、DB和FS进行整合,分别对应地组成CTIP池、DB池和FS池之后,所述方法还包括:Preferably, after the CTIP, DB and FS of all call nodes are integrated to form a CTIP pool, a DB pool and a FS pool correspondingly, the method further includes:

在所述CTIP池中,为每一个当前发送彩铃呼叫请求消息的接入设备分别映射两个虚拟CTIP单元,其中一个为主用CTIP单元,另一个为备用CTIP单元;以及,在所述DB池中,为每一个当前激活的CTIP单元映射两个虚拟DB单元,其中一个为主用DB单元,另一个为备用DB单元;In the CTIP pool, two virtual CTIP units are respectively mapped for each access device currently sending a CRBT call request message, one of which is an active CTIP unit and the other is a standby CTIP unit; and, in the DB pool , map two virtual DB units for each currently activated CTIP unit, one of which is the active DB unit and the other is the standby DB unit;

对应地,Correspondingly,

所述接入设备接收核心网发送的彩铃呼叫请求消息并经CTIP池发送至DB池为:确定主用CTIP单元有效时,接入设备接收核心网发送的彩铃呼叫请求消息并经主用CTIP单元发送给主用DB单元;The access device receives the CRBT call request message sent by the core network and sends it to the DB pool through the CTIP pool: when it is determined that the active CTIP unit is valid, the access device receives the CRBT call request message sent by the core network and sends it to the DB pool through the active CTIP unit. Send to the main DB unit;

所述DB池根据所述彩铃呼叫请求消息获取所需播放的铃音文件路径,并经CTIP池将所述铃音文件路径发送给所述接入设备为:确定主用DB单元有效时,主用DB单元根据所述彩铃呼叫请求消息获取所需播放的铃音文件路径,并经主用CTIP单元将所述铃音文件路径发送给所述接入设备。The DB pool obtains the path of the ring tone file to be played according to the CRBT call request message, and sends the path of the ring tone file to the access device through the CTIP pool as follows: when it is determined that the active DB unit is valid, the active The DB unit obtains the path of the ring tone file to be played according to the CRBT call request message, and sends the path of the ring tone file to the access device through the active CTIP unit.

优选地,所述方法还包括:确定主用CTIP单元失效时,接入设备将所接收的核心网发送的彩铃呼叫请求消息发送至备用CTIP单元;Preferably, the method further includes: when determining that the active CTIP unit fails, the access device sends the received CRBT call request message sent by the core network to the standby CTIP unit;

确定主用DB单元失效时,主用CTIP单元访问备用DB单元,备用DB单元根据所述彩铃呼叫请求消息获取所需播放的铃音文件路径,并经主用CTIP单元将所述铃音文件路径发送给所述接入设备。When it is determined that the active DB unit fails, the active CTIP unit accesses the standby DB unit, and the standby DB unit obtains the ring tone file path to be played according to the CRBT call request message, and transfers the ring tone file path through the active CTIP unit. sent to the access device.

优选地,所述方法还包括:向第一单元发送心跳消息,所述第一单元为主用CTIP单元、备用CTIP单元、主用DB单元和备用DB单元;Preferably, the method further includes: sending a heartbeat message to the first unit, where the first unit is an active CTIP unit, a standby CTIP unit, an active DB unit, and a standby DB unit;

当发送超过一定阈值次数的心跳消息后,仍未接收到所述第一单元发送的心跳响应消息时,确定所述第一单元失效。When the heartbeat response message sent by the first unit is still not received after sending heartbeat messages exceeding a certain threshold number of times, it is determined that the first unit fails.

一种彩铃呼叫控制装置,所述装置包括设置单元、第一发送单元、获取单元、第二发送单元、第三发送单元和第四发送单元,其中:A CRBT call control device, the device includes a setting unit, a first sending unit, an acquiring unit, a second sending unit, a third sending unit and a fourth sending unit, wherein:

所述设置单元,用于将所有呼叫节点的计算机与电话集成平台CTIP、数据库DB和文件服务器FS进行整合,分别对应地组成CTIP池、DB池和FS池;The setting unit is used to integrate the computers of all call nodes with the telephone integration platform CTIP, database DB and file server FS, and form CTIP pool, DB pool and FS pool correspondingly respectively;

所述第一发送单元,用于接收核心网发送的彩铃呼叫请求消息并经CTIP池发送至DB池;The first sending unit is used to receive the CRBT call request message sent by the core network and send it to the DB pool via the CTIP pool;

所述获取单元,用于根据所述彩铃呼叫请求消息获取所需播放的铃音文件路径,并发送给CTIP池;The obtaining unit is used to obtain the path of the ring tone file to be played according to the CRBT call request message, and send it to the CTIP pool;

所述第二发送单元,用于将所述铃音文件路径发送给接入设备;The second sending unit is configured to send the ringtone file path to the access device;

所述第三发送单元,用于根据所述铃音文件路径向所述FS池发送铃音获取请求消息;The third sending unit is configured to send a ring tone acquisition request message to the FS pool according to the ring tone file path;

所述第四发送单元,用于所述FS池根据所述铃音获取请求消息向接入设备发送所需的铃音播放文件的数据流。The fourth sending unit is used for the FS pool to send the required data stream of the ring tone playing file to the access device according to the ring tone acquisition request message.

优选地,所述装置还包括映射单元,在所述CTIP池中,为每一个当前发送彩铃呼叫请求消息的接入设备分别映射两个虚拟CTIP单元,其中一个为主用CTIP单元,另一个为备用CTIP单元;以及,在所述DB池中,为每一个当前激活的CTIP单元映射两个虚拟DB单元,其中一个为主用DB单元,另一个为备用DB单元;Preferably, the device further includes a mapping unit. In the CTIP pool, two virtual CTIP units are respectively mapped for each access device currently sending a CRBT call request message, one of which is the active CTIP unit, and the other is the active CTIP unit. Standby CTIP unit; and, in the DB pool, map two virtual DB units for each currently activated CTIP unit, one of which is the active DB unit and the other is the standby DB unit;

对应地,Correspondingly,

所述第一发送单元,还用于确定主用CTIP单元有效时,接收核心网发送的彩铃呼叫请求消息并经主用CTIP单元发送至主用DB单元;The first sending unit is also used to receive the CRBT call request message sent by the core network and send it to the main DB unit through the main CTIP unit when it is determined that the main CTIP unit is valid;

所述获取单元,还用于确定主用DB单元有效时,根据所述彩铃呼叫请求消息获取所需播放的铃音文件路径,并发送给主用CTIP单元。The obtaining unit is also used to obtain the path of the ring tone file to be played according to the CRBT call request message when it is determined that the main DB unit is valid, and send it to the main CTIP unit.

优选地,所述装置还包括第一确定单元和第二确定单元,Preferably, the device further includes a first determination unit and a second determination unit,

所述第一确定单元,用于确定主用CTIP单元失效时,将所接收的核心网发送的彩铃呼叫请求消息发送至备用CTIP单元;The first determination unit is configured to send the received CRBT call request message sent by the core network to the backup CTIP unit when it is determined that the active CTIP unit fails;

所述第二确定单元,用于确定主用DB单元失效时,访问备用DB单元,备用DB单元根据所述彩铃呼叫请求消息获取所需播放的铃音文件路径,并发送给主用CTIP单元,由主用CTIP单元将所述铃音文件路径发送给接入设备。The second determining unit is configured to access the standby DB unit when the main DB unit fails, and the standby DB unit obtains the path of the ring tone file to be played according to the CRBT call request message, and sends it to the main CTIP unit, The active CTIP unit sends the ring tone file path to the access device.

优选地,所述装置还包括第五发送单元和第六发送单元,其中:Preferably, the device further includes a fifth sending unit and a sixth sending unit, wherein:

所述第五发送单元,用于向第一单元发送心跳消息,所述第一单元为主用CTIP单元、备用CTIP单元、主用DB单元和备用DB单元;The fifth sending unit is configured to send a heartbeat message to the first unit, and the first unit is an active CTIP unit, a standby CTIP unit, an active DB unit, and a standby DB unit;

所述第六发送单元,用于当发送超过一定阈值次数的心跳消息后,仍未接收到所述第一单元发送的心跳响应消息时,确定所述第一单元失效。The sixth sending unit is configured to determine that the first unit is invalid when the heartbeat response message sent by the first unit has not been received after sending heartbeat messages exceeding a certain threshold number of times.

本发明实施例提供的彩铃呼叫控制方法及装置,先将所有呼叫节点的CTIP、DB和FS进行整合,分别对应地组成CTIP池、DB池和FS池;接入设备接收核心网发送的彩铃呼叫请求消息并经CTIP池发送至DB池;DB池根据所述彩铃呼叫请求消息获取所需播放的铃音文件路径,并经CTIP池将所述铃音文件路径发送给所述接入设备;所述接入设备根据所述铃音文件路径向所述FS池发送铃音获取请求消息;所述FS池根据所述铃音获取请求消息向所述接入设备发送所需的铃音播放文件的数据流;如此,能够对原来分散的计算机与电话集成平台、存储用户信息的数据库服务器和文件服务器进行集中管理,做到资源共享。In the CRBT call control method and device provided by the embodiments of the present invention, the CTIP, DB and FS of all call nodes are first integrated to form a CTIP pool, DB pool and FS pool correspondingly; the access device receives the CRBT call sent by the core network The request message is sent to the DB pool through the CTIP pool; the DB pool obtains the ring tone file path to be played according to the CRBT call request message, and sends the ring tone file path to the access device through the CTIP pool; The access device sends a ring tone acquisition request message to the FS pool according to the ring tone file path; the FS pool sends the required ring tone playback file to the access device according to the ring tone acquisition request message Data flow; in this way, the original scattered computer and telephone integration platform, database server and file server for storing user information can be centrally managed, and resource sharing can be achieved.

附图说明Description of drawings

图1为相关技术中彩铃的组网结构示意图;FIG. 1 is a schematic diagram of a network structure of CRBT in the related art;

图2为图1所示的彩铃组网在处理彩铃呼叫时的实现流程示意图;Fig. 2 is a schematic diagram of the implementation flow of the CRBT network shown in Fig. 1 when processing CRBT calls;

图3-1为本发明实施例一彩铃呼叫控制方法的实现流程示意图;FIG. 3-1 is a schematic diagram of an implementation flow of a method for controlling a CRBT call according to an embodiment of the present invention;

图3-2为本发明实施例彩铃组网的结构示意图;FIG. 3-2 is a schematic structural diagram of a CRBT network according to an embodiment of the present invention;

图4-1为本发明实施例二彩铃呼叫控制方法的实现流程示意图;FIG. 4-1 is a schematic diagram of an implementation flow of a method for controlling a CRBT call according to Embodiment 2 of the present invention;

图4-2为采用1+1主备保护机制的彩铃组网中每一呼叫节点处理彩铃呼叫时的实现流程示意图;Figure 4-2 is a schematic diagram of the implementation process when each call node processes a CRBT call in the CRBT network using the 1+1 active/standby protection mechanism;

图5为本发明实施例调度服务器的调度过程示意图;5 is a schematic diagram of a scheduling process of a scheduling server according to an embodiment of the present invention;

图6为本发明实施例彩铃呼叫控制装置的组成结构示意图。FIG. 6 is a schematic diagram of the composition and structure of a CRBT call control device according to an embodiment of the present invention.

具体实施方式Detailed ways

图1为相关技术中彩铃的组网结构示意图,如图1所示,该彩铃的组网结构包括若干独立的采用垂直结构部署的呼叫节点,图1中仅示出四个呼叫节点11至14,每一个呼叫节点都包括通用资源平台15(URP,Universal ResourcePlatform)、计算机与电话集成平台16(CTIP,Computer Telephony IntegrationPlatform)、存储用户信息的数据库17(DB,Data Base)和文件服务器18(FS,File Server);其中:Fig. 1 is a schematic diagram of the network structure of the CRBT in the related art. As shown in Fig. 1, the network structure of the CRBT includes several independent call nodes deployed in a vertical structure, and only four call nodes 11 to 14 are shown in Fig. 1 , each call node includes a universal resource platform 15 (URP, Universal Resource Platform), a computer and telephone integration platform 16 (CTIP, Computer Telephony Integration Platform), a database 17 (DB, Data Base) for storing user information, and a file server 18 (FS , File Server); where:

CTIP16,其作为呼叫控制设备,可以是一台服务器,是后端业务控制系统中的核心部件。CTIP负责完成呼叫控制和路由,提供与呼叫同步的用户数据及监视信息,并根据上层业务逻辑的指示完成对URP的控制。CTIP与URP之间通过前端处理器(FEP,Front End Processor)通讯,CTIP经FEP向URP发送与呼叫相关的控制指令。CTIP16, as a call control device, may be a server, and is a core component in the back-end service control system. CTIP is responsible for completing call control and routing, providing user data and monitoring information synchronized with the call, and completing the control of URP according to the instructions of the upper layer business logic. CTIP communicates with URP through Front End Processor (FEP, Front End Processor), and CTIP sends call-related control commands to URP through FEP.

DB17是彩铃业务管理层中的核心存储部件,是业务数据存储中心,存储有业务用户数据和所有的业务数据,如用户数据、铃音信息、铃音定购关系等。DB17 is the core storage component in the management layer of the CRBT service, and is a service data storage center, storing service user data and all service data, such as user data, ring tone information, ring tone order relations, etc.

FS18是文件存储设备,主要用于存储系统的语音资源。FS18 is a file storage device, mainly used to store voice resources of the system.

在图1中,由于呼叫节点相互独立,因此会导致资源设备如CTIP、DB和FS不能共享;另外,由于呼叫节点很可能分布在不同的地理区域,因此还会造成升级维护困难,进而无法实现统一的管理。In Figure 1, since the call nodes are independent of each other, resource devices such as CTIP, DB, and FS cannot be shared; in addition, since the call nodes are likely to be distributed in different geographical areas, it will also cause difficulties in upgrading and maintenance, and thus cannot be implemented Unified management.

图2为图1所示的彩铃组网每一呼叫节点处理彩铃呼叫时的实现流程示意图,如图2所示,该彩铃呼叫的实现流程包括以下步骤:Fig. 2 is a schematic diagram of the implementation process when each call node in the CRBT network shown in Fig. 1 processes a CRBT call. As shown in Fig. 2, the implementation process of the CRBT call includes the following steps:

步骤201,移动交换中心服务器(MSCS,Mobile Switching Center Server)向URP发起彩铃呼叫请求消息;Step 201, Mobile Switching Center Server (MSCS, Mobile Switching Center Server) initiates a CRBT call request message to URP;

这里,MSCS是核心网整体解决方案的核心控制网元,位于移动软交换网络的核心控制层;MSCS提供呼叫控制、媒体网关控制、用户数据管理、网间互通等功能。Here, MSCS is the core control network element of the core network overall solution, located at the core control layer of the mobile softswitch network; MSCS provides functions such as call control, media gateway control, user data management, and inter-network interworking.

这里,所述彩铃呼叫请求消息中至少携带有主叫号码信息和备叫号码信息。Here, the CRBT call request message carries at least calling number information and backup calling number information.

步骤202,URP接收到彩铃呼叫请求消息后,URP发送该彩铃呼叫请求消息至CTIP;Step 202, after the URP receives the CRBT call request message, the URP sends the CRBT call request message to the CTIP;

具体地,URP访问固定映射的CTIP:CTIP失效时,该彩铃放音流程失败,从而进入呼叫拆线处理步骤;CTIP有效时,进入步骤203;Specifically, the URP accesses the fixedly mapped CTIP: when the CTIP fails, the CRBT playback process fails, and thus enters the call disconnection processing step; when the CTIP is valid, enters step 203;

步骤203,CTIP请求DB获取需要放音的铃音文件路径;Step 203, CTIP requests DB to obtain the ring tone file path that needs to be played;

如果DB失效时,该彩铃放音流程失败,并通知URP进入呼叫拆线步骤;如果DB有效时,进入步骤204;If the DB fails, the CRBT playback process fails, and the URP is notified to enter the call disconnection step; if the DB is valid, enter step 204;

步骤204,DB根据CTIP发来的主叫号码信息和被叫号码信息,查询需要放音的铃音文件路径,发送给CTIP;Step 204, DB queries the path of the ring tone file that needs to be played according to the calling number information and called number information sent by CTIP, and sends it to CTIP;

步骤205,CTIP向URP发送彩铃文件路径;Step 205, CTIP sends the CRBT file path to URP;

步骤206,URP根据彩铃文件路径向FS发起铃音获取请求消息,从FS读取铃音文件;Step 206, the URP initiates a ring tone acquisition request message to the FS according to the CRBT file path, and reads the ring tone file from the FS;

如果FS失效时,则该彩铃放音流程失败,并通知URP进入呼叫拆线步骤;如果FS有效时,进入步骤207;If the FS fails, the ring tone playback process fails, and the URP is notified to enter the call disconnection step; if the FS is valid, enter step 207;

步骤207,FS接到URP访问请求后,在FS和URP之间建立铃音传送数据流,并向URP发送铃音文件码流;Step 207, after receiving the URP access request, the FS establishes a ring tone transmission data stream between the FS and the URP, and sends the ring tone file code stream to the URP;

步骤208,URP将此铃音文件码流发送给MSCS,自此建立正确的彩铃放音流程。In step 208, the URP sends the code stream of the ring tone file to the MSCS, and then establishes a correct playback process of the ring tone.

图2所示的彩铃呼叫流程存在如下弊端:1)每个呼叫节点都包括URP、CTIP、DB和FS,垂直独立组网,资源存在浪费情况;2)呼叫节点的各网元间映射关系是1对1的关系;如果某个网元如CTIP或DB或FS失效,就会导致呼叫放音失败,可见现有的彩铃组网结构中缺乏有效的容错保护机制;在现有技术中虽然可以采用1+1的主、备保护机制,但是,这种主、备保护机制也存在一些缺陷如日常情况下备用设备不参与工作,所以大量备用设备处于闲置,从而造成一定的资源浪费。The CRBT call process shown in Figure 2 has the following disadvantages: 1) Each call node includes URP, CTIP, DB, and FS, and the vertical independent networking results in waste of resources; 2) The mapping relationship between the network elements of the call node is 1-to-1 relationship; if a certain network element such as CTIP or DB or FS fails, it will cause call playback failure, which shows that there is no effective fault-tolerant protection mechanism in the existing CRBT network structure; although it can The 1+1 master and backup protection mechanism is adopted, but this master and backup protection mechanism also has some defects. For example, the backup device does not participate in the work in daily situations, so a large number of backup devices are idle, resulting in a certain waste of resources.

下面结合附图和具体实施例对本发明的技术方案进一步详细阐述。The technical solutions of the present invention will be further elaborated below in conjunction with the accompanying drawings and specific embodiments.

实施例一Embodiment one

本发明实施例一提供一种彩铃呼叫控制方法,图3-1为本发明实施例一彩铃呼叫控制方法的实现流程示意图,如图3-1所示,该彩铃呼叫控制方法包括:Embodiment 1 of the present invention provides a method for controlling a CRBT call. FIG. 3-1 is a schematic diagram of an implementation flow of the method for controlling a CRBT call according to Embodiment 1 of the present invention. As shown in FIG. 3-1 , the method for controlling a CRBT call includes:

步骤301,将所有呼叫节点的CTIP、DB和FS进行整合,分别对应地组成CTIP池、DB池和FS池;Step 301, integrating the CTIP, DB and FS of all call nodes to form a CTIP pool, a DB pool and a FS pool correspondingly;

这里,通过步骤301实现的彩铃组网如图3-2所示,图3-2所示的彩铃组网可以通过以下三个阶段来实现:阶段一,对所有呼叫节点的CTIP进行整合,组成一个CTIP池,CTIP池用于负责处理全网的彩铃呼叫请求;阶段二,对所有呼叫节点的DB进行整合,组成一个DB池;阶段三,对所有呼叫节点的FS进行整合组成一个FS池。Here, the CRBT networking realized through step 301 is shown in Figure 3-2, and the CRBT networking shown in Figure 3-2 can be realized through the following three stages: Phase 1, integrate the CTIPs of all call nodes to form a A CTIP pool, CTIP pool is used to process the CRBT call requests of the whole network; Phase 2, integrate the DBs of all call nodes to form a DB pool; Phase 3, integrate the FSs of all call nodes to form a FS pool.

这里,本领域的技术人员在阶段一和阶段二整合所有呼叫节点的DB和CTIP时,还可以将DB池和CTIP池一起集中部署。本领域技术人员可以根据各种现有技术将所有呼叫节点的CTIP、DB和FS进行整合,分别对应地组成CTIP池、DB池和FS池,这里不再赘述。Here, those skilled in the art may also centrally deploy the DB pool and the CTIP pool together when the DBs and CTIPs of all call nodes are integrated in Phase 1 and Phase 2. Those skilled in the art can integrate the CTIP, DB and FS of all call nodes according to various existing technologies to respectively form a CTIP pool, a DB pool and a FS pool correspondingly, which will not be repeated here.

步骤302,URP接收核心网发送的彩铃呼叫请求消息并经CTIP池发送至DB池;Step 302, URP receives the CRBT call request message sent by the core network and sends it to the DB pool via the CTIP pool;

这里,所述URP的功能也可以通过其他的接入设备来实现。Here, the function of the URP may also be implemented by other access devices.

步骤303,DB池根据所述彩铃呼叫请求消息获取所需播放的铃音文件路径,并经CTIP池将所述铃音文件路径发送给所述URP;Step 303, the DB pool acquires the path of the ring tone file to be played according to the CRBT call request message, and sends the path of the ring tone file to the URP via the CTIP pool;

步骤304,所述URP根据所述铃音文件路径向所述FS池发送铃音获取请求消息;Step 304, the URP sends a ring tone acquisition request message to the FS pool according to the ring tone file path;

步骤305,所述FS池根据所述铃音获取请求消息向所述URP发送所需的铃音播放文件的数据流。Step 305, the FS pool sends the required data stream of the ring tone playing file to the URP according to the ring tone acquisition request message.

本发明实施例中,在步骤305之后,所述方法还包括:所述URP向核心网发送所述所需的铃音播放文件的数据流。In the embodiment of the present invention, after step 305, the method further includes: the URP sending the data stream of the required ringtone playing file to the core network.

本发明实施例中,通过将所有呼叫节点的CTIP、DB和FS进行整合,分别对应地组成CTIP池、DB池和FS池;这样,本发明实施例提供的技术方案,能够对原来分散的CTIP、DB和FS进行集中管理,做到资源共享。In the embodiment of the present invention, by integrating the CTIP, DB and FS of all call nodes, the CTIP pool, the DB pool and the FS pool are correspondingly formed respectively; , DB and FS for centralized management to achieve resource sharing.

实施例二Embodiment two

本发明实施例二提供一种彩铃呼叫控制方法,图4-1为本发明实施例二彩铃呼叫控制方法的实现流程示意图,如图4-1所示,该彩铃呼叫控制方法包括:Embodiment 2 of the present invention provides a method for controlling a CRBT call. FIG. 4-1 is a schematic diagram of an implementation flow of the method for controlling a CRBT call in Embodiment 2 of the present invention. As shown in FIG. 4-1 , the method for controlling a CRBT call includes:

步骤401a,将所有呼叫节点的CTIP、DB和FS进行整合,分别对应地组成CTIP池、DB池和FS池;Step 401a, integrating the CTIP, DB and FS of all call nodes to form a CTIP pool, a DB pool and a FS pool correspondingly;

步骤402a,在所述CTIP池中,为每一个当前发送彩铃呼叫请求消息的URP分别映射两个虚拟CTIP单元,其中一个为主用CTIP单元,另一个为备用CTIP单元;以及,在所述DB池中,为每一个当前激活的CTIP单元映射两个虚拟DB单元,其中一个为主用DB单元,另一个为备用DB单元;Step 402a, in the CTIP pool, map two virtual CTIP units for each URP currently sending the CRBT call request message, one of which is the active CTIP unit and the other is the standby CTIP unit; and, in the DB In the pool, two virtual DB units are mapped to each currently activated CTIP unit, one of which is the active DB unit and the other is the standby DB unit;

这里,为每一个当前发送彩铃呼叫请求消息的URP分别映射两个虚拟CTIP单元是出于安全性考虑,当主用CTIP单元失效时,备用CTIP单元可以接管呼叫业务,从而避免业务中断;Here, mapping two virtual CTIP units for each URP currently sending the CRBT call request message is for security reasons. When the active CTIP unit fails, the standby CTIP unit can take over the call service, thereby avoiding service interruption;

为每一个当前激活的CTIP单元映射两个虚拟DB单元也是出于从安全性考虑,当主用DB单元失效时,备用DB单元可以接管呼叫查询,从而避免业务中断;Mapping two virtual DB units for each currently activated CTIP unit is also for safety reasons. When the active DB unit fails, the standby DB unit can take over the call query, thereby avoiding service interruption;

这里,为每一个当前发送彩铃呼叫请求消息的URP分别映射两个虚拟CTIP单元,并为每一个当前激活的CTIP单元映射两个虚拟DB单元,都可以采用动态映射的方式;具体地,假设彩铃组网中一共包括50个URP,当前只有三个URP接收到彩铃呼叫请求消息;CTIP池为这三个URP分别映射两个CTIP单元,这样CTIP池中一共包括六个CTIP单元,其中,这六个CTIP单元中只有三个CTIP单元处于闲置状态的,有三个CTIP单元是在处理呼叫业务的;而DB池会为处理呼叫业务的三个CTIP单元分别映射两个DB单元,这样在DB池中一共包括六个DB单元,其中有三个处于闲置的,有三个是在处理查询业务的。Here, two virtual CTIP units are respectively mapped for each URP currently sending a CRBT call request message, and two virtual DB units are mapped for each currently activated CTIP unit, and a dynamic mapping method can be used; specifically, assuming a CRBT The network includes a total of 50 URPs, and currently only three URPs receive the CRBT call request message; the CTIP pool maps two CTIP units for the three URPs respectively, so that the CTIP pool includes a total of six CTIP units, of which the six Among the CTIP units, only three CTIP units are idle, and three CTIP units are processing call services; and the DB pool will map two DB units for the three CTIP units processing call services, so that in the DB pool A total of six DB units are included, three of which are idle, and three of which are processing query business.

步骤403a,确定主用CTIP单元有效时,URP接收核心网发送的彩铃呼叫请求消息并发送至主用CTIP单元;Step 403a, when it is determined that the active CTIP unit is valid, the URP receives the CRBT call request message sent by the core network and sends it to the active CTIP unit;

步骤404a,确定主用DB单元有效时,主用CTIP单元访问主用DB单元;Step 404a, when it is determined that the active DB unit is valid, the active CTIP unit accesses the active DB unit;

步骤405a,主用DB单元根据所述彩铃呼叫请求消息获取所需播放的铃音文件路径,并发送给主用CTIP单元;Step 405a, the main DB unit obtains the path of the ring tone file to be played according to the CRBT call request message, and sends it to the main CTIP unit;

步骤406a,主用CTIP单元将所述铃音文件路径发送给所述URP;Step 406a, the active CTIP unit sends the path of the ring tone file to the URP;

步骤407a,所述URP根据所述铃音文件路径向所述FS池发送铃音获取请求消息;Step 407a, the URP sends a ring tone acquisition request message to the FS pool according to the ring tone file path;

步骤408a,所述FS池根据所述铃音获取请求消息向所述URP发送所需的铃音播放文件的数据流。Step 408a, the FS pool sends the required data stream of the ring tone playing file to the URP according to the ring tone acquisition request message.

本发明实施例中,该方法还包括:确定主用CTIP单元失效时,URP将所接收的核心网发送的彩铃呼叫请求消息发送至备用CTIP单元。In the embodiment of the present invention, the method further includes: when it is determined that the main CTIP unit fails, the URP sends the received CRBT call request message sent by the core network to the standby CTIP unit.

本发明实施例中,该方法还包括:确定主用DB单元失效时,主用CTIP单元访问备用DB单元,备用DB单元根据所述彩铃呼叫请求消息获取所需播放的铃音文件路径,并发送给主用CTIP单元,由主用CTIP单元将所述铃音文件路径发送给所述URP。In the embodiment of the present invention, the method further includes: when it is determined that the active DB unit fails, the active CTIP unit accesses the standby DB unit, and the standby DB unit obtains the path of the ring tone file to be played according to the CRBT call request message, and sends the To the active CTIP unit, the active CTIP unit sends the ring tone file path to the URP.

本发明实施例中,所述方法还包括:向第一单元发送心跳消息,所述第一单元为主用CTIP单元、备用CTIP单元、主用DB单元和备用DB单元;In the embodiment of the present invention, the method further includes: sending a heartbeat message to the first unit, where the first unit is an active CTIP unit, a standby CTIP unit, an active DB unit, and a standby DB unit;

当发送超过一定阈值次数的心跳消息后,仍未接收到所述第一单元发送的心跳响应消息时,确定所述第一单元失效。When the heartbeat response message sent by the first unit is still not received after sending heartbeat messages exceeding a certain threshold number of times, it is determined that the first unit fails.

图4-2为采用1+1主备保护机制的彩铃组网中每一呼叫节点处理彩铃呼叫时的实现流程示意图,如图4-2所示,该彩铃呼叫的实现流程包括以下步骤:Figure 4-2 is a schematic diagram of the implementation process of each call node in the CRBT network using the 1+1 active/standby protection mechanism when processing CRBT calls. As shown in Figure 4-2, the implementation process of the CRBT call includes the following steps:

步骤401b,MSCS向URP发起彩铃呼叫请求消息;Step 401b, MSCS initiates a CRBT call request message to URP;

具体地,URP访问映射的主用CTIP单元:主用CTIP单元有效时,进入步骤403;主用CTIP单元失效时,进入步骤403;Specifically, URP accesses the mapped active CTIP unit: when the active CTIP unit is valid, enter step 403; when the active CTIP unit fails, enter step 403;

步骤402b,URP发送该彩铃呼叫请求消息至主用CTIP单元,进入步骤404;Step 402b, URP sends the CRBT call request message to the active CTIP unit, and enters step 404;

步骤403b,URP映射到备用CTIP单元,进入步骤404;Step 403b, URP is mapped to the spare CTIP unit, and enters step 404;

步骤404b,主用DB单元有效时,访问主用DB单元,请求获取需要放音的铃音文件路径;Step 404b, when the main DB unit is valid, access the main DB unit, and request to obtain the path of the ring tone file that needs to be played;

这里,访问主用DB单元是主用CTIP单元还是备用CTIP单元,需要进行确定,若主用CTIP单元有效,主用CTIP单元访问主用DB单元;若主用CTIP单元失效,则备用CTIP单元访问主用DB单元。Here, whether to access the active DB unit is the active CTIP unit or the backup CTIP unit, which needs to be determined. If the active CTIP unit is valid, the active CTIP unit accesses the active DB unit; if the active CTIP unit fails, the standby CTIP unit accesses The main DB unit.

步骤405b,主用DB单元失效时,访问备用DB单元,请求获取需要放音的铃音文件路径;Step 405b, when the active DB unit fails, access the standby DB unit, and request to obtain the path of the ring tone file to be played;

这里,访问备用DB单元是主用CTIP单元还是备用CTIP单元,需要进行确定,若主用CTIP单元有效,主用CTIP单元访问备用DB单元;若主用CTIP单元失效,则备用CTIP单元访问备用DB单元。Here, whether to access the standby DB unit is the active CTIP unit or the standby CTIP unit, it needs to be determined. If the active CTIP unit is valid, the active CTIP unit accesses the standby DB unit; if the active CTIP unit fails, the standby CTIP unit accesses the standby DB. unit.

步骤406b,根据彩铃呼叫请求消息查询需要放音的铃音文件路径,发送给主用或备用CTIP单元;Step 406b, query the path of the ring tone file that needs to be played according to the CRBT call request message, and send it to the active or standby CTIP unit;

这里,根据彩铃呼叫请求消息查询需要放音的铃音文件路径的DB单元可能是主用CTIP单元,也可能是备用CTIP单元,这里与步骤405确定访问备用DB单元是主用CTIP单元还是备用CTIP单元类似,因此不再赘述。Here, the DB unit of the ring tone file path that needs to be played according to the CRBT call request message may be the main CTIP unit or the standby CTIP unit, and step 405 determines whether the access standby DB unit is the main CTIP unit or the standby CTIP The units are similar, so I won't repeat them here.

步骤407b,向URP发送彩铃文件路径;Step 407b, send the color ring back tone file path to URP;

这里,向URP发送彩铃文件路径的可能是主用DB单元,也可能是备用DB单元,与步骤405确定访问备用DB单元是主用CTIP单元还是备用CTIP单元类似,因此不再赘述。Here, it may be the active DB unit or the standby DB unit that sends the CRBT file path to the URP, which is similar to determining in step 405 whether the accessing standby DB unit is the active CTIP unit or the standby CTIP unit, so details are not repeated here.

步骤408b,主用FS单元有效时,URP根据彩铃文件路径向主用FS单元发起铃音获取请求消息,从主用FS单元读取铃音文件;Step 408b, when the active FS unit is valid, the URP initiates a ring tone acquisition request message to the active FS unit according to the CRBT file path, and reads the ring tone file from the active FS unit;

这里,如果主用FS单元失效时,则映射备用FS单元;Here, if the active FS unit fails, the backup FS unit is mapped;

步骤409b,向URP发送铃音文件码流;Step 409b, sending the code stream of the ring tone file to the URP;

这里,向URP发送铃音文件码流的FS单元可能是主用FS单元,也可能是备用FS单元;主用FS单元有效时,由主用FS单元向URP发送铃音文件码流;主用FS单元失效时,由备用FS单元向URP发送铃音文件码流。Here, the FS unit that sends the code stream of the ring tone file to the URP may be the main FS unit or the standby FS unit; when the main FS unit is valid, the main FS unit sends the code stream of the ring tone file to the URP; When the FS unit fails, the standby FS unit sends the ring tone file code stream to the URP.

步骤410b,URP将此铃音文件码流发送给MSCS;Step 410b, URP sends the code stream of the ring tone file to MSCS;

步骤411b,MSCS播放彩铃音。In step 411b, the MSCS plays the CRBT tone.

实施例三Embodiment three

本发明实施例二中提供的确定主、备单元是否可用可以通过调度服务器来完成,所述主备单元包括主用FS单元、备用FS单元、主用DB单元、备用DB单元、主用CTIP单元和备用CTIP单元;The determination of whether the active and standby units are available in Embodiment 2 of the present invention can be completed by a scheduling server, and the active and standby units include an active FS unit, a standby FS unit, an active DB unit, a standby DB unit, and an active CTIP unit and spare CTIP units;

该调度服务器对所有的主、备CTIP、DB、FS单元进行集中管理,与每一个主、备单元维持心跳消息(Heart beat)交互;当调度服务器探测与某个单元之间的心跳握手消息失败,将该单元从相应的资源池中删除,删掉的单元作为失效单元。The scheduling server centrally manages all active and standby CTIP, DB, and FS units, and maintains heartbeat message (Heart beat) interaction with each active and standby unit; when the dispatching server detects that the heartbeat handshake message with a certain unit fails , delete the unit from the corresponding resource pool, and the deleted unit is regarded as a failure unit.

图5为本发明实施例调度服务器的调度过程示意图,如图5所示,该调度过程包括以下步骤:FIG. 5 is a schematic diagram of a scheduling process of a scheduling server according to an embodiment of the present invention. As shown in FIG. 5, the scheduling process includes the following steps:

步骤501,调度服务器轮询CTIP池中每个CTIP单元发送心跳消息,当连续三次没有接收到心跳响应消息,则认定该单元失效,并告警;如果失效的CTIP单元可以正常工作时,可以重新在调度服务器中注册;In step 501, the scheduling server polls each CTIP unit in the CTIP pool to send a heartbeat message. When the heartbeat response message is not received three times in a row, the unit is deemed invalid and an alarm is issued; Register in the scheduling server;

步骤502,调度服务器轮询DB池中每个DB单元发送心跳消息,当连续三次没有接收到心跳响应消息,则认定该单元失效,并告警;如果失效DB单元可以正常工作时,可以重新在调度服务器中注册;Step 502, the dispatching server polls each DB unit in the DB pool to send a heartbeat message. When no heartbeat response message is received three times in a row, the unit is deemed invalid and an alarm is issued; Register in the server;

步骤503,调度服务器轮询FS池中每个FS单元发送心跳消息,当连续三次没有接收到心跳响应消息,则认定该单元失效,并告警,如果FS单元可以正常工作时,可以重新在调度服务器中注册;Step 503, the dispatching server polls each FS unit in the FS pool to send a heartbeat message. When the heartbeat response message is not received three times in a row, the unit is deemed to be invalid and an alarm is given. If the FS unit can work normally, it can be restarted on the dispatching server registered in;

步骤504,调度服务器接收到URP的访问CTIP请求,例如,该访问CTIP请求可以是URP发送彩铃呼叫请求消息,从CTIP池轮询有效单元反馈给URP;Step 504, the dispatching server receives the visit CTIP request of URP, for example, this visit CTIP request can be that URP sends the CRBT call request message, polls valid unit from CTIP pool and feeds back to URP;

具体地,步骤504包括步骤504A和步骤504B;其中,Specifically, step 504 includes step 504A and step 504B; wherein,

步骤504A,调度服务器确定主用CTIP单元有效时,URP向主用CTIP单元发送彩铃呼叫请求消息;Step 504A, when the scheduling server determines that the active CTIP unit is valid, the URP sends a CRBT call request message to the active CTIP unit;

步骤504B,调度服务器确定备用CTIP单元有效时,URP向备用CTIP单元发送彩铃呼叫请求消息;Step 504B, when the scheduling server determines that the standby CTIP unit is valid, the URP sends a CRBT call request message to the standby CTIP unit;

步骤505,调度服务器接收到CTIP单元的访问DB请求时,从DB池轮询有效的DB单元反馈给CTIP单元;Step 505, when the scheduling server receives the access DB request from the CTIP unit, it polls the effective DB unit from the DB pool and feeds back to the CTIP unit;

步骤506,调度服务器接收到URP的访问FS请求时,从FS池轮询有效的FS单元反馈给URP;Step 506, when the scheduling server receives the request for accessing the FS from the URP, it polls the valid FS unit from the FS pool and feeds it back to the URP;

这里,步骤505和步骤506与步骤504相似,因此不再赘述。Here, step 505 and step 506 are similar to step 504, so they are not repeated here.

在本实施例中,本领域的技术人员应该理解调度服务器维持心跳消息交互的功能也可以由其他的设备来完成,例如,URP在向其映射的主用CTIP单元发送彩铃呼叫请求之前,可以通过心跳消息交互来确定主用CTIP单元是否有效,这里不再赘述。In this embodiment, those skilled in the art should understand that the function of the scheduling server to maintain the exchange of heartbeat messages can also be completed by other devices. Heartbeat messages are exchanged to determine whether the active CTIP unit is valid, which will not be repeated here.

在本实施例中,调度服务器同时管理多个URP发送的彩铃呼叫请求,因此,CTIP池中的主用CTIP单元和备用CTIP单元、DB池中的主用DB单元和备用DB单元、FS池中的主用FS单元和备用FS单元的数量都是多个。而在实施例二中,CTIP池中的主用CTIP单元和备用CTIP单元、DB池中的主用DB单元和备用DB单元、FS池中的主用FS单元和备用FS单元的数量都是一个,是与URP之间建立有一一映射关系。In this embodiment, the scheduling server manages the CRBT call requests sent by multiple URPs at the same time. Therefore, the active CTIP unit and the standby CTIP unit in the CTIP pool, the active DB unit and the standby DB unit in the DB pool, and the FS pool The number of active FS units and standby FS units is multiple. In Embodiment 2, the number of active CTIP units and standby CTIP units in the CTIP pool, active DB units and standby DB units in the DB pool, and active FS units and standby FS units in the FS pool is one , is to establish a one-to-one mapping relationship with URP.

实施例四Embodiment four

本发明实施例提供一种彩铃呼叫控制装置,图6为本发明实施例彩铃呼叫控制装置的组成结构示意图,如图6所示,该装置包括设置单元61、第一发送单元62、获取单元63、第二发送单元64、第三发送单元65和第四发送单元66,其中:An embodiment of the present invention provides a CRBT call control device. FIG. 6 is a schematic diagram of the composition and structure of the CRBT call control device according to an embodiment of the present invention. As shown in FIG. 6 , the device includes a setting unit 61, a first sending unit 62, and an acquisition unit 63 , the second sending unit 64, the third sending unit 65 and the fourth sending unit 66, wherein:

所述设置单元61,用于将所有呼叫节点的计算机与电话集成平台CTIP、数据库DB和文件服务器FS进行整合,分别对应地组成CTIP池、DB池和FS池;The setting unit 61 is used to integrate the computers of all call nodes with the telephone integration platform CTIP, database DB and file server FS, and respectively correspondingly form a CTIP pool, a DB pool and a FS pool;

所述第一发送单元62,用于接收核心网发送的彩铃呼叫请求消息并经CTIP池发送至DB池;The first sending unit 62 is configured to receive the CRBT call request message sent by the core network and send it to the DB pool via the CTIP pool;

这里,所述第一发送单元进一步包括第一发送模块和第二发送模块,其中所述第一发送模块用于接收核心网发送的彩铃呼叫请求消息发送给CTIP池;所述第一发送模块用于将所接收的彩铃呼叫请求消息发送给DB池。Here, the first sending unit further includes a first sending module and a second sending module, wherein the first sending module is used to receive the CRBT call request message sent by the core network and send it to the CTIP pool; the first sending module uses To send the received CRBT call request message to the DB pool.

所述获取单元63,用于根据所述彩铃呼叫请求消息获取所需播放的铃音文件路径,并发送给CTIP池;The obtaining unit 63 is used to obtain the path of the ring tone file to be played according to the CRBT call request message, and send it to the CTIP pool;

所述第二发送单元64,用于将所述铃音文件路径发送给接入设备;The second sending unit 64 is configured to send the ringtone file path to the access device;

所述第三发送单元65,用于根据所述铃音文件路径向所述FS池发送铃音获取请求消息;The third sending unit 65 is configured to send a ring tone acquisition request message to the FS pool according to the ring tone file path;

所述第四发送单元66,用于根据所述铃音获取请求消息向接入设备发送所需的铃音播放文件的数据流。The fourth sending unit 66 is configured to send the required data stream of the ring tone playing file to the access device according to the ring tone acquisition request message.

本发明实施例中,所述装置还包括映射单元,在所述CTIP池中,为每一个当前发送彩铃呼叫请求消息的URP分别映射两个虚拟CTIP单元,其中一个为主用CTIP单元,另一个为备用CTIP单元;以及,在所述DB池中,为每一个当前激活的CTIP单元映射两个虚拟DB单元,其中一个为主用DB单元,另一个为备用DB单元;In the embodiment of the present invention, the device further includes a mapping unit. In the CTIP pool, two virtual CTIP units are respectively mapped for each URP currently sending a CRBT call request message, one of which is the active CTIP unit and the other as a standby CTIP unit; and, in the DB pool, map two virtual DB units for each currently activated CTIP unit, one of which is the active DB unit and the other is the standby DB unit;

对应地,Correspondingly,

所述第一发送单元,还用于确定主用CTIP单元有效时,接收核心网发送的彩铃呼叫请求消息并经主用CTIP单元发送至主用DB单元;The first sending unit is also used to receive the CRBT call request message sent by the core network and send it to the main DB unit through the main CTIP unit when it is determined that the main CTIP unit is valid;

所述获取单元,还用于确定主用DB单元有效时,根据所述彩铃呼叫请求消息获取所需播放的铃音文件路径,并发送给主用CTIP单元。The obtaining unit is further configured to obtain the path of the ring tone file to be played according to the CRBT call request message when determining that the main DB unit is valid, and send it to the main CTIP unit.

本发明实施例中,所述装置还包括第一确定单元,用于确定主用CTIP单元失效时,将所接收的核心网发送的彩铃呼叫请求消息发送至备用CTIP单元。In the embodiment of the present invention, the device further includes a first determination unit, configured to send the received CRBT call request message sent by the core network to the backup CTIP unit when it is determined that the active CTIP unit fails.

本发明实施例中,所述装置还包括第二确定单元,用于确定主用DB单元失效时,访问备用DB单元,备用DB单元根据所述彩铃呼叫请求消息获取所需播放的铃音文件路径,并发送给主用CTIP单元,由主用CTIP单元将所述铃音文件路径发送给接入设备。In the embodiment of the present invention, the device further includes a second determination unit, configured to access the backup DB unit when the main DB unit fails, and the backup DB unit obtains the path of the ring tone file to be played according to the CRBT call request message , and send it to the active CTIP unit, and the active CTIP unit sends the ring tone file path to the access device.

本发明实施例中,所述装置还包括第五发送单元和第六发送单元,其中:In the embodiment of the present invention, the device further includes a fifth sending unit and a sixth sending unit, wherein:

所述第五发送单元,用于向第一单元发送心跳消息,所述第一单元为主用CTIP单元、备用CTIP单元、主用DB单元和备用DB单元;The fifth sending unit is configured to send a heartbeat message to the first unit, and the first unit is an active CTIP unit, a standby CTIP unit, an active DB unit, and a standby DB unit;

所述第六发送单元,用于当发送超过一定阈值次数的心跳消息后,仍未接收到所述第一单元发送的心跳响应消息时,确定所述第一单元失效。The sixth sending unit is configured to determine that the first unit is invalid when the heartbeat response message sent by the first unit has not been received after sending heartbeat messages exceeding a certain threshold number of times.

本发明实施例中,第一发送模块、第一确定模块和第三发送单元的功能可以通过URP的处理器来实现,也可以通过其他的接入设备的处理器来实现;获取单元的功能可以通过DB池的处理器来实现,第二发送单元可以通过CTIP池的处理器来实现,第四发送单元可以通过FS池的处理器来实现,第五发送单元和第六发送单元的功能可以通过调度服务器的处理器来实现。In the embodiment of the present invention, the functions of the first sending module, the first determining module and the third sending unit can be realized by the processor of the URP, or can be realized by the processor of other access devices; the function of the acquiring unit can be The processor of the DB pool can be implemented, the second sending unit can be realized by the processor of the CTIP pool, the fourth sending unit can be realized by the processor of the FS pool, and the functions of the fifth sending unit and the sixth sending unit can be realized by The processor of the scheduling server is implemented.

本领域的技术人员应当理解,本发明实施例中彩铃呼叫控制装置的各单元的实现功能可参照前述彩铃呼叫控制方法的相关描述而理解。本发明上述集成的单元如果以软件功能模块的形式实现并作为独立的产品销售或使用时,也可以存储在一个计算机可读取存储介质中。基于这样的理解,本发明实施例的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机、服务器、或者网络设备等)执行本发明各个实施例所述方法的全部或部分。而前述的存储介质包括:移动存储设备、只读存储器(ROM,Read-Only Memory)、磁碟或者光盘等各种可以存储程序代码的介质。Those skilled in the art should understand that the functions implemented by each unit of the CRBT call control device in the embodiment of the present invention can be understood with reference to the related description of the CRBT call control method. If the above-mentioned integrated units of the present invention are implemented in the form of software function modules and sold or used as independent products, they can also be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the embodiment of the present invention is essentially or the part that contributes to the prior art can be embodied in the form of a software product. The computer software product is stored in a storage medium and includes several instructions for Make a computer device (which may be a personal computer, a server, or a network device, etc.) execute all or part of the methods described in the various embodiments of the present invention. The aforementioned storage media include: various media capable of storing program codes such as removable storage devices, read-only memory (ROM, Read-Only Memory), magnetic disks or optical disks.

以上所述,仅为本发明的较佳实施例而已,并非用于限定本发明的保护范围。The above descriptions are only preferred embodiments of the present invention, and are not intended to limit the protection scope of the present invention.

Claims (8)

1. A color ring calling control method is characterized in that a computer of all calling nodes is integrated with a telephone integration platform CTIP, a database DB and a file server FS to respectively and correspondingly form a CTIP pool, a DB pool and an FS pool; the method comprises the following steps:
the access equipment receives a color ring calling request message sent by a core network and sends the color ring calling request message to the DB pool through the CTIP pool;
the DB pool acquires a ring tone file path to be played according to the polyphonic ringtone calling request message and sends the ring tone file path to the access equipment through the CTIP pool;
the access equipment sends a ring tone acquisition request message to the FS pool according to the ring tone file path;
and the FS pool sends the data stream of the required ring tone playing file to the access equipment according to the ring tone acquisition request message.
2. The method of claim 1, wherein after the integrating CTIP, DB and FS of all call nodes to respectively form a CTIP pool, a DB pool and an FS pool, the method further comprises:
in the CTIP pool, two virtual CTIP units are respectively mapped for each access device currently sending the CRBT call request message, wherein one virtual CTIP unit is a main CTIP unit, and the other virtual CTIP unit is a standby CTIP unit; mapping two virtual DB units for each CTIP unit which is currently activated in the DB pool, wherein one virtual DB unit is an active DB unit, and the other virtual DB unit is a standby DB unit;
in a corresponding manner, the first and second electrodes are,
the access equipment receives a color ring calling request message sent by a core network and sends the color ring calling request message to the DB pool through the CTIP pool: when the active CTIP unit is determined to be effective, the access equipment receives a color ring calling request message sent by a core network and sends the color ring calling request message to the active DB unit through the active CTIP unit;
the DB pool obtains a ring tone file path to be played according to the CRBT call request message, and sends the ring tone file path to the access equipment through the CTIP pool: and when the active DB unit is determined to be effective, the active DB unit acquires a ring tone file path to be played according to the polyphonic ringtone call request message and sends the ring tone file path to the access equipment through the active CTIP unit.
3. The method of claim 2, further comprising: when the active CTIP unit is determined to be invalid, the access equipment sends the received CRBT call request message sent by the core network to the standby CTIP unit;
and when the master DB unit is determined to be invalid, the master CTIP unit accesses the standby DB unit, and the standby DB unit acquires a ring tone file path to be played according to the polyphonic ringtone call request message and sends the ring tone file path to the access equipment through the master CTIP unit.
4. A method according to claim 2 or 3, characterized in that the method further comprises: sending heartbeat messages to a first unit, wherein the first unit is a main CTIP unit, a standby CTIP unit, a main DB unit and a standby DB unit;
and when the heartbeat response message sent by the first unit is not received after the heartbeat message exceeding a certain threshold number of times is sent, determining that the first unit is invalid.
5. A color ring calling control device is characterized in that the device comprises a setting unit, a first sending unit, an obtaining unit, a second sending unit, a third sending unit and a fourth sending unit, wherein:
the setting unit is used for integrating computers of all calling nodes with a telephone integration platform CTIP, a database DB and a file server FS, and correspondingly forming a CTIP pool, a DB pool and an FS pool respectively;
the first sending unit is used for receiving a polyphonic ringtone calling request message sent by a core network and sending the polyphonic ringtone calling request message to the DB pool through the CTIP pool;
the obtaining unit is used for obtaining a ring tone file path to be played according to the polyphonic ringtone calling request message and sending the ring tone file path to the CTIP pool;
the second sending unit is used for sending the ringtone file path to access equipment;
the third sending unit is used for sending a ring tone acquisition request message to the FS pool according to the ring tone file path;
and the fourth sending unit is used for sending the data stream of the required ringtone playing file to the access equipment according to the ringtone acquisition request message.
6. The apparatus according to claim 5, further comprising a mapping unit, wherein two virtual CTIP units are mapped in the CTIP pool for each access device currently sending the polyphonic ringtone call request message, one of the virtual CTIP units is an active CTIP unit, and the other virtual CTIP unit is a standby CTIP unit; mapping two virtual DB units for each CTIP unit which is currently activated in the DB pool, wherein one virtual DB unit is an active DB unit, and the other virtual DB unit is a standby DB unit;
in a corresponding manner, the first and second electrodes are,
the first sending unit is also used for receiving a color ring calling request message sent by the core network and sending the color ring calling request message to the main DB unit through the main CTIP unit when the main CTIP unit is determined to be effective;
and the obtaining unit is also used for obtaining a ring tone file path to be played according to the polyphonic ringtone calling request message and sending the ring tone file path to the active CTIP unit when the active DB unit is determined to be effective.
7. The apparatus of claim 6, further comprising a first determination unit and a second determination unit,
the first determining unit is used for sending the received color ring calling request message sent by the core network to the standby CTIP unit when determining that the active CTIP unit fails;
and the second determining unit is used for accessing the backup DB unit when determining that the main DB unit fails, the backup DB unit acquires a ring tone file path to be played according to the polyphonic ringtone call request message and sends the ring tone file path to the main CTIP unit, and the main CTIP unit sends the ring tone file path to the access equipment.
8. The apparatus according to claim 6 or 7, characterized in that the apparatus further comprises a fifth transmitting unit and a sixth transmitting unit, wherein:
the fifth sending unit is used for sending heartbeat messages to the first unit, and the first unit is a CTIP (computer telephony integration protocol) unit, a standby CTIP unit, a DB unit and a standby DB unit;
the sixth sending unit is configured to determine that the first unit is invalid when a heartbeat response message sent by the first unit is not received after the heartbeat message exceeding a certain threshold number of times is sent.
CN201310750728.1A 2013-12-31 2013-12-31 A kind of CRBT call control method and apparatus Active CN104754144B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310750728.1A CN104754144B (en) 2013-12-31 2013-12-31 A kind of CRBT call control method and apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310750728.1A CN104754144B (en) 2013-12-31 2013-12-31 A kind of CRBT call control method and apparatus

Publications (2)

Publication Number Publication Date
CN104754144A true CN104754144A (en) 2015-07-01
CN104754144B CN104754144B (en) 2017-11-14

Family

ID=53593220

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310750728.1A Active CN104754144B (en) 2013-12-31 2013-12-31 A kind of CRBT call control method and apparatus

Country Status (1)

Country Link
CN (1) CN104754144B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107181878A (en) * 2016-03-10 2017-09-19 中国移动通信集团浙江有限公司 A kind of color bell playing method and device

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070116244A1 (en) * 2003-12-09 2007-05-24 Choi Sung S Method and system for providing ring back tone service by using play announcement message in intellegent network
CN101076062A (en) * 2007-07-20 2007-11-21 中兴通讯股份有限公司 Color bell system and method for calling service in color-bell system
CN101217711A (en) * 2008-01-15 2008-07-09 中国移动通信集团福建有限公司 Stripping method of CRBT Portal and new framework device of CRBT platform after stripping
CN101674495A (en) * 2009-10-20 2010-03-17 中兴通讯股份有限公司 Method and device for preprocessing data disaster tolerance
CN101917484A (en) * 2010-08-23 2010-12-15 中兴通讯股份有限公司 Load balancing system and method for service data request

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070116244A1 (en) * 2003-12-09 2007-05-24 Choi Sung S Method and system for providing ring back tone service by using play announcement message in intellegent network
CN101076062A (en) * 2007-07-20 2007-11-21 中兴通讯股份有限公司 Color bell system and method for calling service in color-bell system
CN101217711A (en) * 2008-01-15 2008-07-09 中国移动通信集团福建有限公司 Stripping method of CRBT Portal and new framework device of CRBT platform after stripping
CN101674495A (en) * 2009-10-20 2010-03-17 中兴通讯股份有限公司 Method and device for preprocessing data disaster tolerance
CN101917484A (en) * 2010-08-23 2010-12-15 中兴通讯股份有限公司 Load balancing system and method for service data request

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107181878A (en) * 2016-03-10 2017-09-19 中国移动通信集团浙江有限公司 A kind of color bell playing method and device
CN107181878B (en) * 2016-03-10 2019-12-03 中国移动通信集团浙江有限公司 A kind of color bell playing method and device

Also Published As

Publication number Publication date
CN104754144B (en) 2017-11-14

Similar Documents

Publication Publication Date Title
US10645223B2 (en) Hospitality private branch exchange (PBX) system with dynamic rules for complementing mobile phones of currently checked in guests
EP2770714B1 (en) Cloud agent realizing method and system, and cloud agent server
US20190045063A1 (en) System and method for providing carrier-independent voip communication
CN110445882A (en) Communication connecting method, device, computer equipment and storage medium
JP4713492B2 (en) Network device backup
CN103516759B (en) Cloud system method for managing resource, cloud call center are attended a banquet management method and cloud system
JP2006109407A (en) Method and apparatus for merging call components during call reconstruction
CN109547512A (en) A kind of method and device of the distributed Session management based on NoSQL
CN113194012B (en) Multi-agent management method, device, equipment and storage medium based on Internet of things
WO2013185655A1 (en) Method and device for distributing mobile attendant call
CN100563285C (en) Call transfer method, computer telephony integration platform, traffic resource equipment, call center system and communication system
CN107566475B (en) Session failover method and device
CN104754144B (en) A kind of CRBT call control method and apparatus
WO2015168994A1 (en) Agent bidding method and agent bidding system, and computer storage medium
US8982902B1 (en) Backup server architecture in a VoIP system
CN112543150A (en) Dynamic load balancing method based on server control
CN117155933A (en) Multi-cluster nano-tube method, platform, equipment and storage medium
CN116567802A (en) Method for realizing 5G core network service interface slice error correction
CN105227349A (en) Nomadic MANET dispatching patcher and dispatching method thereof
RU2673018C2 (en) Systems and methods of managing communication endpoints
CN210444292U (en) Outbound task management device
CN107959674A (en) Gateway device, access control method and system to third party ldap server user
CN110167028B (en) System and method for realizing decentralized WIFI roaming authentication function
JP5768005B2 (en) Data center apparatus, control method and program
CN111082975A (en) A method, system and device for adding domains based on inCloud Manager

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant