CN101005541B - Voice playing method, system and SCP and IP for support multiple coins - Google Patents
Voice playing method, system and SCP and IP for support multiple coins Download PDFInfo
- Publication number
- CN101005541B CN101005541B CN2006101682662A CN200610168266A CN101005541B CN 101005541 B CN101005541 B CN 101005541B CN 2006101682662 A CN2006101682662 A CN 2006101682662A CN 200610168266 A CN200610168266 A CN 200610168266A CN 101005541 B CN101005541 B CN 101005541B
- Authority
- CN
- China
- Prior art keywords
- currency type
- amount
- information
- operation instruction
- intelligent peripheral
- 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.)
- Expired - Fee Related
Links
Images
Landscapes
- Telephonic Communication Services (AREA)
Abstract
本发明公开了支持多币种的语音播放方法及系统,包括:智能业务流程在向用户播放账户余额时向IP设备指示币种信息,IP设备根据业务指示的币种在播放账户金额时播放正确的提示信息;或者,预先在IP设备上设置币种信息,IP设备在播放时找到该语音对应的币种信息,播放包含币种信息的语音提示。同时,本发明方法不但支持INAP协议和CAP协议的网络适用,对于支持WIN MAP协议的网络同样适用。本发明同时还公开了一种业务控制点和智能外设。
The invention discloses a multi-currency voice playback method and system, comprising: an intelligent business process indicates currency information to an IP device when playing the account balance to the user, and the IP device plays the correct amount when playing the account amount according to the currency indicated by the business. Or, set the currency information on the IP device in advance, and the IP device will find the currency information corresponding to the voice when playing, and play the voice prompt containing the currency information. At the same time, the method of the invention is not only applicable to the network supporting the INAP protocol and the CAP protocol, but also applicable to the network supporting the WIN MAP protocol. The invention also discloses a service control point and an intelligent peripheral.
Description
技术领域technical field
本发明涉及智能网技术领域,特别涉及支持多币种的语音播放方法、系统及业务控制点(SCP)和智能外设(IP)。 The invention relates to the field of intelligent network technology, in particular to a voice playing method and system supporting multiple currencies, a service control point (SCP) and an intelligent peripheral (IP). the
背景技术Background technique
智能网技术体系中主要包括业务控制点(SCP,Service Control Point)、业务交换点(SSP,Service Switching Point)、智能外设(IP,IntelligentPeripheral)等功能实体。SCP是智能网的核心构件,它存储用户数据和业务逻辑。SCP的主要功能是根据SSP上报的呼叫事件启动不同的业务逻辑,根据业务逻辑向相应的SSP发出呼叫控制指令,从而实现各种智能呼叫。SSP提供呼叫接续功能,SSP可检出智能呼叫请求并建立与SCP的控制关系;对SCP的指示做出响应,允许SCP中的业务逻辑影响呼叫处理。IP是协助完成智能业务的特殊资源,通常具有各种语音功能,如语音合成,播放录音通知,接收双音多频拨号,进行语音识别等等。 The intelligent network technology system mainly includes functional entities such as Service Control Point (SCP, Service Control Point), Service Switching Point (SSP, Service Switching Point), and Intelligent Peripheral (IP, Intelligent Peripheral). SCP is the core component of the intelligent network, which stores user data and business logic. The main function of the SCP is to start different service logics according to the call events reported by the SSP, and send call control instructions to the corresponding SSP according to the service logic, so as to realize various intelligent calls. The SSP provides the call connection function. The SSP can detect the intelligent call request and establish a control relationship with the SCP; it responds to the instructions of the SCP and allows the service logic in the SCP to affect the call processing. IP is a special resource to assist in the completion of intelligent services, and usually has various voice functions, such as voice synthesis, playing recorded notifications, receiving dual-tone multi-frequency dialing, voice recognition, and so on. the
在智能业务中,SCP往往不仅与SSP进行交互,而且还需要与IP进行交互来实现业务流程与用户的人机交互,向用户播放语音提示并收集用户信息,IP可能集成于SSP中,也可能独立于SSP,集成了IP的SSP被称为综合SSP/IP,独立于SSP而单独为一个设备的IP被称为独立IP。SCP首先请求SSP将当前呼叫接续到IP设备上,然后再下发指令给IP请求向当前呼叫方播放通知音或播放通知音并收集用户信息。 In intelligent business, SCP often not only interacts with SSP, but also needs to interact with IP to realize human-computer interaction between business processes and users, play voice prompts to users and collect user information. IP may be integrated in SSP, or may Independent of SSP, the SSP that integrates IP is called integrated SSP/IP, and the IP that is independent of SSP and is a single device is called independent IP. The SCP first requests the SSP to connect the current call to the IP device, and then sends an instruction to the IP to request to play a notification sound to the current caller or to play a notification sound and collect user information. the
在智能网业务中,业务通过IP设备与用户进行交互,向用户播放通知音并收集用户信息。在标准的智能网规范INAP/CAP(INAP,Intelligent NetworkApplication Part/CAP,CAMEL Application Part,智能网应用部分/CAMEL应用部分)定义的播放语音提示(PA,Play Announcement)、语音提示并收集用户信息(PC,Prompt And Collect User Information)、语音提示并接受消息(PR,Prompt And Receive Message)操作中可变音部分(VariablePart)参数中对于价格Price的定义仅仅定义了价格数值字段,没有定义Price对应的货 币种类。在实际业务运营过程中,同一个业务的不同用户可能拥有不同币种的账户,而由于VariablePart参数对于Price的定义仅仅定义了价格数值字段,没有定义Price对应的货币种类,因此IP系统只能采用一种默认的币种来播放语音提示,无法满足业务实际运营需要。 In the intelligent network service, the service interacts with users through IP equipment, plays notification sounds to users and collects user information. Play voice prompts (PA, Play Announcement), voice prompts and collect user information ( PC, Prompt And Collect User Information), Voice Prompt and Receive Message (PR, Prompt And Receive Message) The definition of Price in the Variable Part (VariablePart) parameter only defines the price value field, and does not define the corresponding Price Currency type. In the actual business operation process, different users of the same business may have accounts in different currencies, and because the VariablePart parameter only defines the price value field for the Price definition, and does not define the currency type corresponding to the Price, the IP system can only use A default currency is used to play voice prompts, which cannot meet the actual needs of business operations. the
发明内容Contents of the invention
本发明实施例要解决的技术问题是使得IP能够针对不同的币种播放不同的提示语音,为此,本发明实施例提供了支持多币种的语音播放方法、系统及SCP和IP。 The technical problem to be solved by the embodiment of the present invention is to enable IP to play different prompt voices for different currencies. Therefore, the embodiment of the present invention provides a voice playback method and system supporting multiple currencies, as well as SCP and IP. the
本发明实施例的技术方案如下: The technical scheme of the embodiment of the present invention is as follows:
一种支持多币种的语音播放方法,设置货币类型可变音参数,该方法还包括: A voice playback method that supports multiple currencies, setting currency type variable voice parameters, the method also includes:
智能外设IP接收来自业务控制点SCP的放音操作指示,从所述放音操作指示中提取货币类型信息和金额信息,进行语音合成,播放包含货币类型的金额提示音;其中,所述放音操作指示基于INAP协议、CAP协议或WINMAP协议;所述基于INAP协议或CAP协议的放音操作指示,包括播放语音提示PA,语音提示并收集用户信息PC,或语音提示并接受消息PR,或所述三者的任意组合。 The intelligent peripheral IP receives the playback operation instruction from the service control point SCP, extracts the currency type information and amount information from the playback operation instruction, performs speech synthesis, and plays the amount prompt tone including the currency type; wherein, the playback The sound operation instruction is based on the INAP protocol, the CAP protocol or the WINMAP protocol; the play operation instruction based on the INAP protocol or the CAP protocol includes playing a voice prompt PA, a voice prompt and collecting user information PC, or a voice prompt and accepting a message PR, or Any combination of the three. the
所述货币类型信息和金额信息包含在所述放音操作指示中新增加的金额和货币类型字段中,该金额和货币类型字段中包括当前货币类型信息和金额信息。 The currency type information and amount information are included in the newly added amount and currency type fields in the announcement operation instruction, and the amount and currency type fields include current currency type information and amount information. the
所述货币类型信息和金额信息包含在所述放音操作指示中已修改的金额参数中,该金额参数中包含当前货币类型信息和金额信息。 The currency type information and amount information are included in the modified amount parameter in the announcement operation instruction, and the amount parameter includes the current currency type information and amount information. the
所述金额信息包含在所述放音操作指示中已有的金额参数中,所述货币类型信息包含在所述放音操作指示中新增的货币类型参数中,该两个参数分别包含金额信息和货币类型信息;或者, The amount information is included in the existing amount parameter in the announcement operation instruction, and the currency type information is included in the newly added currency type parameter in the announcement operation instruction, and the two parameters respectively include amount information and currency type information; or,
所述金额信息包含在所述放音操作指示中已有的金额参数中,所述货币类型信息包含在所述放音操作指示中可变化信息参数内已修改的参数中,该两个参数分别包含金额信息和货币类型信息。 The amount information is included in the existing amount parameter in the announcement operation instruction, and the currency type information is included in the modified parameter in the changeable information parameter in the announcement operation instruction. The two parameters are respectively Contains amount information and currency type information. the
所述智能外设为独立智能外设,或综合在SSP内。 The intelligent peripherals are independent intelligent peripherals, or integrated in the SSP. the
一种支持多币种的语音播放方法,在智能外设IP内设置货币类型与语音号的对应关系,该方法还包括: A voice playback method supporting multiple currencies, the corresponding relationship between the currency type and the voice number is set in the intelligent peripheral IP, and the method also includes:
智能外设IP接收来自业务控制点SCP的放音操作指示,从所述放音操作指示中提取金额参数和语音号,根据所述对应关系提取与该语音号对应的货币类型,将所述货币类型和金额进行语音合成,播放包含货币类型的金额提示音。 The intelligent peripheral IP receives the playback operation instruction from the service control point SCP, extracts the amount parameter and the voice number from the playback operation instruction, extracts the currency type corresponding to the voice number according to the correspondence, and transfers the currency The type and amount are synthesized into speech, and the amount prompt tone including the currency type is played. the
所述智能外设为独立智能外设,或综合在SSP内。 The intelligent peripherals are independent intelligent peripherals, or integrated in the SSP. the
一种支持多币种的语音播放系统,至少包括业务控制点SCP、业务交换点SSP和智能外设IP,所述SCP通过SSP与IP建立连接, A voice playback system supporting multiple currencies, at least including a service control point SCP, a service switching point SSP and an intelligent peripheral IP, the SCP establishes a connection with the IP through the SSP,
所述SCP,用于向智能外设IP下发放音操作指示,该指示中包含货币类型信息和金额信息; The SCP is used to issue sound operation instructions to the intelligent peripheral IP, and the instructions include currency type information and amount information;
所述IP,用于根据接收到的所述放音操作指示,提取货币类型信息和金额信息,进行语音合成,播放包含货币类型的金额提示音。 The IP is used to extract currency type information and amount information according to the received sound playback operation instruction, perform speech synthesis, and play an amount prompt tone including the currency type. the
所述智能外设为独立智能外设,或综合在SSP内。 The intelligent peripherals are independent intelligent peripherals, or integrated in the SSP. the
一种SCP,包括:可变音设置单元和指示下发单元, An SCP, including: a variable tone setting unit and an instruction issuing unit,
所述可变音设置单元,用于设置可变音的货币类型信息和金额信息,将所设置的货币类型信息和金额信息传送给指示下发单元; The variable sound setting unit is used to set the currency type information and amount information of the variable sound, and transmit the set currency type information and amount information to the instruction issuing unit;
所述指示下发单元,用于根据业务逻辑下发包含货币类型和金额信息的放音操作指示。 The instruction issuing unit is configured to issue an announcement operation instruction including currency type and amount information according to business logic. the
一种智能外设,包括:提取单元和播放单元,其中, An intelligent peripheral device, including: an extraction unit and a playback unit, wherein,
所述提取单元,用于从接收到的放音操作指示中提取货币类型信息和金额信息,传送给播放单元; The extraction unit is used to extract currency type information and amount information from the received playback operation instructions, and transmit them to the playback unit;
所述播放单元,用于将货币类型和金额信息进行语音合成,播放包含货币类型的金额提示音。 The playing unit is used for performing speech synthesis on currency type and amount information, and playing an amount prompt tone including the currency type. the
所述智能外设为独立智能外设,或综合在SSP内。 The intelligent peripherals are independent intelligent peripherals, or integrated in the SSP. the
一种智能外设,包括:提取单元和播放单元,其中, An intelligent peripheral device, including: an extraction unit and a playback unit, wherein,
所述提取单元,用于从接收到的放音操作指示中提取金额信息和语音号,传送给播放单元;所述播放单元,用于按照自身已设置的货币类型与语音号的对应关系,根据所述语音号获取货币类型,将所述货币类型和金额进行语音合成,播放包含货币类型的金额提示音。 The extraction unit is used to extract the amount information and the voice number from the received playback operation instruction, and transmits it to the playback unit; the playback unit is used to set the corresponding relationship between the currency type and the voice number according to The voice number obtains the currency type, performs speech synthesis on the currency type and amount, and plays an amount prompt tone including the currency type. the
所述智能外设为独立智能外设,或综合在SSP内。 The intelligent peripherals are independent intelligent peripherals, or integrated in the SSP. the
应用本发明,智能业务流程在向用户播放账户余额时向IP设备指示币种信息,IP设备根据业务指示的币种在播放账户金额时播放正确的提示信息;或者,预先在IP设备上设置币种信息,IP设备在播放时找到该语音对应的币种信息,播放包含币种信息的语音提示。应用本发明实施例,可以同时支持不同用户账户采用不同的货币种类,丰富了业务特性,满足电信运营商业务推广需要。例如:在给用户充值时需要以充值卡币种或者用户账户的币种给用户播报充值结果语音,如:您的资金已注入,您现在的余额是XX美元XX美分。或者您的资金已注入,您现在的余额是XX元XX分。本发明方法不但对于支持INAP协议和CAP协议的网络适用,对于支持无线智能网移动应用部分(WIN MAP)协议的CDMA网络同样适用。 Applying the present invention, the intelligent business process indicates the currency information to the IP device when playing the account balance to the user, and the IP device plays the correct prompt information when playing the account amount according to the currency indicated by the business; or, the currency is set on the IP device in advance. The IP device finds the currency information corresponding to the voice when playing, and plays the voice prompt containing the currency information. By applying the embodiment of the present invention, it is possible to support different user accounts to use different types of currencies at the same time, which enriches service characteristics and meets the service promotion needs of telecom operators. For example: when recharging the user, it is necessary to broadcast the recharge result voice to the user in the currency of the recharge card or the currency of the user account, such as: your funds have been injected, and your current balance is XX US dollars and XX cents. Or your funds have been injected, and your current balance is XX yuan XX cents. The method of the invention is not only applicable to the network supporting the INAP protocol and the CAP protocol, but also applicable to the CDMA network supporting the Wireless Intelligent Network Mobile Application Part (WIN MAP) protocol. the
附图说明Description of drawings
图1a是根据本发明实施方式一中一实施例的基于INCP或CAP协议的实现播放包含货币类型的金额提示音的流程示意图; Fig. 1a is a schematic flow diagram of playing an amount prompt tone including a currency type based on an INCP or CAP protocol according to an embodiment of the first embodiment of the present invention;
图1b是根据本发明实施方式一中另一实施例的基于INCP或CAP协议的实现播放包含货币类型的金额提示音的流程示意图; Fig. 1b is a schematic flow diagram of playing an amount prompt tone including a currency type based on INCP or CAP protocol according to another embodiment of the first embodiment of the present invention;
图2是根据本发明实施方式一中一实施例的基于WIN MAP协议的实现播放包含货币类型的金额提示音的流程示意图。 Fig. 2 is a schematic flow diagram of playing an amount prompt tone including a currency type based on the WIN MAP protocol according to an embodiment one of the first embodiment of the present invention. the
具体实施方式Detailed ways
下面结合附图及具体实施例对本发明做详细说明。 The present invention will be described in detail below in conjunction with the accompanying drawings and specific embodiments. the
实施方式一:设置货币类型可变音参数,智能外设(IP)接收来自业务控制点(SCP)的放音操作指示,从所述放音操作指示中提取货币类型信息和金额信息,进行语音合成,播放包含货币类型的金额提示音。 Embodiment 1: Set currency type variable tone parameters, the intelligent peripheral (IP) receives the playback operation instruction from the service control point (SCP), extracts currency type information and amount information from the playback operation instruction, and performs voice Synthesis, play the amount prompt sound containing the currency type. the
实例一:新增加一个金额和货币类型(priceAndCurrencyType)字段,使其既包含可变的金额信息又包括货币类型信息。 Example 1: A new amount and currency type (priceAndCurrencyType) field is added to include both variable amount information and currency type information. the
下面以INAP协议和CAP协议为例进行说明。为满足业务实际运营过程中多币种的需求,需要在原来标准规范的基础上对放音操作指示中可变部分 (VariablePart)参数进行修改扩展,增加一个金额和货币类型(priceAndCurrencyType)字段,该金额和货币类型字段中包括当前货币类型信息和金额信息。根据实际操作需要,上述放音操作指示包括播放语音提示(PA,Play Announcement)操作、语音提示并收集用户信息(PC,Prompt AndCollect User Information)操作或语音提示并接受消息(PR,Prompt AndReceive Message),或所述三者的任意组合。 The following uses the INAP protocol and the CAP protocol as examples for description. In order to meet the needs of multiple currencies in the actual operation of the business, it is necessary to modify and expand the variable part (VariablePart) parameter in the playback operation instruction on the basis of the original standard specification, and add an amount and currency type (priceAndCurrencyType) field. The Amount and Currency Type fields include current currency type information and amount information. According to actual operation needs, the above playback operation instructions include the operation of playing voice prompts (PA, Play Announcement), voice prompts and collecting user information (PC, Prompt AndCollect User Information) or voice prompts and receiving messages (PR, Prompt AndReceive Message) , or any combination of the three. the
对于CAP协议,本实施例的修改为对标准的修改定义为: For the CAP protocol, the modification of this embodiment is defined as the modification of the standard:
VariablePart::=CHOICE{ VariablePart::=CHOICE{
integer [0]Integer4, integer [0]Integer4,
number [1]Digits,--Generic digits number [1]Digits, --Generic digits
time [2]OCTET STRING(SIZE(2)),--HH:MM,BCD coded time [2]OCTET STRING(SIZE(2)), --HH:MM, BCD coded
date [3]OCTET STRING(SIZE(4)),--YYYYMMDD,BCD date [3]OCTET STRING(SIZE(4)), --YYYYMMDD, BCD
coded Coded
price [4]OCTET STRING(SIZE(4)) price [4]OCTET STRING(SIZE(4))
priceAndCurrencyType[31]OCTET STRING(SIZE(5)) priceAndCurrencyType[31]OCTET STRING(SIZE(5))
} }
对PriceAndCurrencyType的定义如表1所示: The definition of PriceAndCurrencyType is shown in Table 1:
表1 Table 1
从上述描述可以看出:在VariablePan下,新增加了priceAndCurrencyType字段,该字段中包含当前货币类型信息和金额信息。如果SCP将priceAndCurrencyType字段下发给IP,IP就可以直接从接收到的消息中提取处货币类型和金额信息。 It can be seen from the above description that under VariablePan, a new priceAndCurrencyType field is added, which contains current currency type information and amount information. If the SCP sends the priceAndCurrencyType field to the IP, the IP can directly extract the currency type and amount information from the received message. the
对于INAP协议,修改如下: For the INAP protocol, modify as follows:
VariablePart ::=CHOICE{ VariablePart ::=CHOICE{
integer [0]Integer4, integer [0]Integer4,
number [1]Digits, --Generic digits number [1]Digits, --Generic digits
time [2]OCTET STRING(SIZE(2)),--HH:MM,BCD coded time [2]OCTET STRING(SIZE(2)), --HH:MM, BCD coded
date [3]OCTET STRING(SIZE(3)),--YYMMDD,BCD coded date [3]OCTET STRING(SIZE(3)), --YYMMDD, BCD coded
price [4]OCTET STRING(SIZE(4)),--BCD coded price [4]OCTET STRING(SIZE(4)), --BCD coded
priceAndCurrencyType[31]OCTET STRING(SIZE(5)) priceAndCurrencyType[31]OCTET STRING(SIZE(5))
} }
对PriceAndCurrencyType定义如表2所示: The definition of PriceAndCurrencyType is shown in Table 2:
表2 Table 2
与CAP协议类似,在VariablePart下,新增加了priceAndCurrencyType字段,该字段中包含当前货币类型信息和金额信息。如果SCP将priceAndCurrencyType字段下发给IP,IP就可以直接从接收到的消息中提取处货币类型和金额信息。 Similar to the CAP protocol, under VariablePart, a new priceAndCurrencyType field is added, which contains current currency type information and amount information. If the SCP sends the priceAndCurrencyType field to the IP, the IP can directly extract the currency type and amount information from the received message. the
对于网线智能网移动应用部分(WIN MAP)协议,修改如下: For the network cable intelligent network mobile application part (WIN MAP) protocol, the modification is as follows:
放音操作指示由于专用资源功能指示(SRFDIR)操作承载。由于SRFDIR操作包括两种类型放音方式:一个是由语音列表参数(AnnouncementList)指示的放音方式,另外一个是由执行脚本(ExecuteScript)定义的放音方式。由于语音列表方式放音无法支持可变音播放,因此采用脚本方式来播放可变 语音。WIN MAP相关规范定义的ExecuteScript参数定义如表3所示: The play operation indication is carried by a dedicated resource function indication (SRFDIR) operation. Because the SRFDIR operation includes two types of announcement modes: one is the announcement mode indicated by the voice list parameter (AnnouncementList), and the other is the announcement mode defined by the execution script (ExecuteScript). Since the voice list mode cannot support variable voice playback, the script mode is used to play variable voice. The ExecuteScript parameter definition defined by WIN MAP related specifications is shown in Table 3:
表3 table 3
现有规范中没有明确定义脚本的名称(ScriptName)和脚本执行控制(ScriptArgument)参数,只是给出了最大字节长度为96个字节。改变ScriptArgument的取值可以改变播放的语音。在此,本实例中定义ScriptArgument的格式如表4所示: The name (ScriptName) and script execution control (ScriptArgument) parameters of the script are not clearly defined in the existing specification, but the maximum byte length is given as 96 bytes. Changing the value of ScriptArgument can change the voice played. Here, the format of defining ScriptArgument in this example is shown in Table 4:
表4 Table 4
固定部分的格式如表5所示: The format of the fixed part is shown in Table 5:
表5 table 5
增设了PriceAndCurrencyType字段,这样,共有7种可变音类型: The PriceAndCurrencyType field has been added, so that there are 7 variable pronunciation types:
数字 Number 1 Number Number 1
整数 Integer 2 Integer Integer 2
日期 Date 3 Date Date Date 3
时间 Time 4 Time Time 4
金额 Price 5 Amount Price Price 5
持续时间 Duration 6 Duration Duration 6
含币种的金额 PriceAndCurrencyType 254 Amount with currency PriceAndCurrencyType 254
对PriceAndCurrencyType的定义如表6所示:播放含币种的金额时,可变音部分为9个字节八位位组。 The definition of PriceAndCurrencyType is shown in Table 6: when playing the amount including currency, the variable tone part is 9-byte octets. the
表6 Table 6
从上述描述可知,新增加了一种可变音类型即priceAndCurrencyType字段,该字段中包含当前货币类型信息和金额信息。如果SCP将priceAndCurrencyType字段下发给IP,IP就可以直接从接收到的消息中提取处货币类型和金额信息。 It can be seen from the above description that a new type of variable sound is added, that is, the priceAndCurrencyType field, which contains current currency type information and amount information. If the SCP sends the priceAndCurrencyType field to the IP, the IP can directly extract the currency type and amount information from the received message. the
实例二:修改已有的金额参数,使其既包含可变的金额信息又包括货币类型信息。 Example 2: Modify the existing amount parameter to include variable amount information and currency type information. the
可以采用修改INAP/CAP规范定义的PA、PC操作中的VariablePart参数或WIN MAP规范定义SRFDIR操作ExecuteSrcipt参数中子参数ScriptArgument的Price子参数的某些字段bit位含义来实现。 It can be realized by modifying the PA and VariablePart parameters in the PC operation defined by the INAP/CAP specification or the bit meanings of some fields of the Price sub-parameter of the sub-parameter ScriptArgument in the ExecuteSrcipt parameter defined by the WIN MAP specification. the
例如CAP规范定义的可变部分参数如下: For example, the variable part parameters defined by the CAP specification are as follows:
VariablePart::=CHOICE{ VariablePart::=CHOICE{
integer [0]Integer4, integer [0]Integer4,
number [1]Digits,--Generic digits number [1] Digits, --Generic digits
time [2]OCTET STRING(SIZE(2)),--HH:MM,BCD coded time [2]OCTET STRING(SIZE(2)), --HH:MM,BCD coded
date [3]OCTET STRING(SIZE(4)),--YYYYMMDD,BCD coded date [3]OCTET STRING(SIZE(4)), --YYYYMMDD, BCD coded
price [4]OCTET STRING(SIZE(4)) price [4]OCTET STRING(SIZE(4))
} }
其中现有price的结构如表7所示: The structure of the existing price is shown in Table 7:
表7 Table 7
在此,可以利用price的第一个字节的E~H位作为货币种类。修改后的price结构如表8所示: Here, bits E to H of the first byte of price can be used as the currency type. The modified price structure is shown in Table 8:
表8 Table 8
修改的方式可以有多种,上述只是提供了一个修改的例子,但并不陷于上面的修改例子。 There are many ways of modification, and the above only provides an example of modification, but is not limited to the above modification example. the
对于WIN MAP规范,可通过修改ScriptArgument的Price子参数来实现,其原理与CAP协议的实现方式相同,不再重复说明。 For the WIN MAP specification, it can be implemented by modifying the Price sub-parameter of ScriptArgument. The principle is the same as the implementation of the CAP protocol, and will not be described again. the
实例三:新增加或修改已有参数,使其包含货币类型信息。 Example 3: Add or modify existing parameters to include currency type information. the
比如,PA、PC等操作的参数非常多,而且有很多参数是复合参数类型,这样,可以在PA、PC的其他参数中新增一个货币类型的参数,该新增的参数可不同于实例一,例如在现有的可变信息(variableMessage)这个参数中新增一个和variableParts并行的货币类型参数;或者,也可以是修改现有某个参数的结构,类似实例二中修改price的结构,例如可以修改PA、PC中已有的基本信息标识(elementarymessageID),使其携带货币类型。这样,该新增加或修改已有参数,与已有的金额参数分别包含货币类型信息和金额信息。 For example, there are many parameters in operations such as PA and PC, and many parameters are composite parameter types. In this way, a currency type parameter can be added to other parameters of PA and PC. , for example, add a currency type parameter parallel to variableParts in the existing variable message (variableMessage) parameter; or, it can also modify the structure of an existing parameter, similar to modifying the price structure in Example 2, for example The existing elementary message ID (elementary message ID) in PA and PC can be modified to carry the currency type. In this way, the newly added or modified existing parameters and the existing amount parameters include currency type information and amount information respectively. the
总之,在实施方式一中,只要放音操作指示中包含了货币类型信息和金额信息即可,至于如何在放音操作指示中设置货币类型信息和金额信息本申请并不做限定。 In short, in Embodiment 1, as long as the announcement operation instruction includes currency type information and amount information, this application does not limit how to set the currency type information and amount information in the announcement operation instruction. the
参见图1a,其是根据本发明实施方式一中一实施例的基于INCP或CAP协议的实现播放包含货币类型的金额提示音的流程示意图。在本图所示实施例中,SCP指示IP进行PA和PC操作,智能设备为独立IP。 Referring to FIG. 1 a , it is a schematic flowchart of playing an amount prompt tone including currency type based on INCP or CAP protocol according to an embodiment of the first embodiment of the present invention. In the embodiment shown in this figure, the SCP instructs the IP to perform PA and PC operations, and the smart device is an independent IP. the
步骤101~104,SCP与SSP建立初始化连接,SSP向SCP发送初始化DP(InitialDP),SCP向SSP发送请求上报BCSM事件(RequestReportBCSMEvent)请求,以及建立临时连接(EstablishTemporaryConnection)请求,SSP根据接收到的请求与IP之间建立起临时连接,之后,IP给SCP发送辅助请求指示(AssisRequestInstruction),以请求SCP下发语音操作指示。上述所有步骤与现有的处理方式完全相同。 Steps 101-104, the SCP establishes an initial connection with the SSP, the SSP sends an initialization DP (InitialDP) to the SCP, the SCP sends a request to the SSP to report a BCSM event (RequestReportBCSMEvent) request, and establishes a temporary connection (EstablishTemporaryConnection) request, and the SSP sends a request according to the received request After establishing a temporary connection with the IP, the IP sends an assistance request instruction (AssisRequestInstruction) to the SCP to request the SCP to issue a voice operation instruction. All the above steps are exactly the same as the existing processing. the
步骤105~106,SCP向IP下发播放语音提示(PlayAnnouncement)和语音提示并收集用户信息(PromptAndCollectUserInformation)的语音操作指示,该两个指示中均包含货币类型信息和金额信息。 In steps 105-106, the SCP issues voice operation instructions of playing the voice announcement (PlayAnnouncement) and voice announcement and collecting user information (PromptAndCollectUserInformation) to the IP, both of which include currency type information and amount information. the
步骤107,IP从接收到的指示中提取货币类型信息和金额信息,进行语音合成,播放包含货币类型的金额提示音。 Step 107, the IP extracts currency type information and amount information from the received instruction, performs speech synthesis, and plays an amount prompt tone including the currency type. the
步骤108,IP给SCP返回语音提示并收集用户信息结果(PromptAndCollectUserInformation Result)。 Step 108, the IP returns a voice prompt to the SCP and collects user information results (PromptAndCollectUserInformation Result). the
步骤109,SCP接收到IP返回的信息后,向SSP发送拆开前向连接(DisconnectForwardConnention),以断开和IP之间的连接。 Step 109, after receiving the information returned by the IP, the SCP sends a DisconnectForwardConnention to the SSP to disconnect the connection with the IP. the
至此,实现了播放包含货币类型的金额提示音。 So far, the amount prompt tone including the currency type has been played. the
参见图1b,其是根据本发明实施方式一中另一实施例的基于INCP或CAP协议的实现播放包含货币类型的金额提示音的流程示意图。其与图1a所示实施例的区别是:图1b中IP被设置在SSP内,而图1a中的IP是个独立IP。基于此,SCP与IP建立连接的过程有所不同,即图1a中的步骤103和104相当于图1b中的步骤103。其余与图1所示内容完全相同。 Referring to FIG. 1 b , it is a schematic flowchart of playing an amount prompt tone including currency type based on INCP or CAP protocol according to another embodiment of the first embodiment of the present invention. The difference between it and the embodiment shown in FIG. 1a is that the IP in FIG. 1b is set in the SSP, while the IP in FIG. 1a is an independent IP. Based on this, the process of establishing a connection between the SCP and the IP is different, that is, steps 103 and 104 in FIG. 1a are equivalent to step 103 in FIG. 1b. The rest are exactly the same as those shown in Figure 1. the
SCP与独立IP的建立连接的过程和SCP与综合SSP/IP的建立连接的过程完全是现有技术,并不是本发明的重点,不再详细说明。本发明的重点在于让IP能够播放包含货币类型的金额提示音,而这一点与IP是独立的还是综合在SSP内没有关系。 The process of establishing a connection between the SCP and the independent IP and the process of establishing the connection between the SCP and the integrated SSP/IP are completely prior art, and are not the focus of the present invention, and will not be described in detail. The key point of the present invention is to enable the IP to play the amount prompt tone including the currency type, and this has nothing to do with whether the IP is independent or integrated in the SSP. the
参见图2,其是根据本发明实施方式一的基于WIN MAP协议的实现播放包含货币类型的金额提示音的流程示意图。 Referring to Fig. 2, it is a schematic flow diagram of playing the amount prompt tone including the currency type based on the WIN MAP protocol according to Embodiment 1 of the present invention. the
步骤201~205,SSP向SCP发送ORREQ(OriginationRequest)消息,SCP向SSP发送SEIZERES(SeizeResource)消息,SSP给SCP返回响应seizeres;SCP向SSP发送CONNRES(ConnectResource)消息,SSP根据接收到的请求与IP之间建立起临时连接,之后,IP向SCP发送INSERQ(InstructionRequest)消息。上述所有步骤与现有的处理方式完全相同。 Steps 201-205, SSP sends ORREQ (OriginationRequest) message to SCP, SCP sends SEIZERES (SeizeResource) message to SSP, SSP returns response seizeres to SCP; SCP sends CONNRES (ConnectResource) message to SSP, SSP according to the received request and IP A temporary connection is established between them, after which IP sends an INSERQ (InstructionRequest) message to SCP. All the above steps are exactly the same as the existing processing. the
步骤206,SCP向IP发送SRFDIR(SRFDirective)消息,该消息中包含货币类型信息和金额信息。 In step 206, the SCP sends a SRFDIR (SRFDirective) message to the IP, and the message includes currency type information and amount information. the
步骤207,IP从接收到的指示中提取货币类型信息和金额信息,进行语音合成,播放包含货币类型的金额提示音。 Step 207, the IP extracts currency type information and amount information from the received instruction, performs speech synthesis, and plays an amount prompt tone including the currency type. the
步骤208,IP给SCP返回响应srfdir。 In step 208, the IP returns a response srfdir to the SCP. the
步骤209~210,SCP给IP返回响应instreq,给SSP返回响应orreq。 In steps 209-210, the SCP returns a response instreq to the IP, and returns a response orreq to the SSP. the
至此,实现了播放包含货币类型的金额提示音。 So far, the amount prompt tone including the currency type has been played. the
图2所示实施例中的IP也是独立存在的,在实际应用中该IP也可以综合在SSP中。 The IP in the embodiment shown in FIG. 2 also exists independently, and the IP can also be integrated in the SSP in practical applications. the
实施方式二:在智能外设IP内设置货币类型与语音号的对应关系,智能外设IP接收来自业务控制点SCP的放音操作指示,从所述放音操作指示中 提取金额参数和语音号,根据所述对应关系提取与该语音号对应的货币类型,将所述货币类型和金额进行语音合成,播放包含货币类型的金额提示音。 Embodiment 2: The corresponding relationship between the currency type and the voice number is set in the intelligent peripheral IP, and the intelligent peripheral IP receives the playback operation instruction from the service control point SCP, and extracts the amount parameter and the voice number from the playback operation instruction , extracting the currency type corresponding to the voice number according to the corresponding relationship, performing speech synthesis on the currency type and amount, and playing an amount prompt tone including the currency type. the
同样地,对于实施方式二中的IP,既可以是独立IP,也可以是综合在SSP内的。 Similarly, for the IP in the second embodiment, it can be an independent IP or integrated in the SSP. the
上述来自SCP的放音操作指示可以基于INAP协议,也可以基于CAP协议或WIN MAP协议。根据实际需要,基于INAP协议或CAP协议的放音操作指示包PA,PC,或PR,或三者的任意组合。 The above-mentioned playback operation instruction from the SCP may be based on the INAP protocol, or may be based on the CAP protocol or the WIN MAP protocol. According to actual needs, the announcement operation instruction packet PA, PC, or PR based on the INAP protocol or the CAP protocol, or any combination of the three. the
可见,实施方式二与实施方式一的区别在于:在实施方式一中,货币类型信息同通过放音操作指示下发给IP的,IP根据接收的到的消息直接获取货币类型信息和金额信息;而在实施方式二中,货币类型信息是被设置在IP内的,且使货币类型信息和语音号相关联,这样,当IP接收到放音指示信息后,从该接收到的消息中提取出语音号,再根据设置在本地的关联关系,获得货币类型信息。 It can be seen that the difference between the second embodiment and the first embodiment is: in the first embodiment, the currency type information is sent to the IP through the announcement operation instruction, and the IP directly obtains the currency type information and amount information according to the received message; In the second embodiment, the currency type information is set in the IP, and the currency type information is associated with the voice number, so that when the IP receives the announcement indication information, it extracts the information from the received message. The voice number, and then obtain the currency type information according to the association relationship set in the local area. the
针对实施方式一,本发明实施例还提供了一种支持多币种的语音播放系统,至少包括SCP、SSP和IP,SCP通过SSP与IP建立连接关系,其中, For the first embodiment, the embodiment of the present invention also provides a voice playback system supporting multiple currencies, including at least SCP, SSP and IP, and the SCP establishes a connection relationship with the IP through the SSP, wherein,
SCP用于IP下发放音操作指示,该指示中包含货币类型信息和金额信息;该SCP下发的放音操作指示可以基于INAP协议或CAP协议,还可以基于WIN MAP协议。 The SCP is used to issue tone operation instructions under the IP, and the instructions include currency type information and amount information; the tone operation instructions issued by the SCP can be based on the INAP protocol or the CAP protocol, and can also be based on the WIN MAP protocol. the
IP用于根据接收到的所述放音操作指示,提取货币类型信息和金额信息,进行语音合成,播放包含货币类型的金额提示音。 The IP is used for extracting currency type information and amount information according to the received sound playback operation instruction, performing speech synthesis, and playing the amount prompt sound including the currency type. the
SCP用于IP下发放音操作指示,该指示中包含货币类型和金额信息 SCP is used to issue tone operation instructions under IP, which contains currency type and amount information
IP用于根据接收到的所述放音操作指示,提取货币类型和金额信息,进行语音合成,播放包含货币类型的金额提示音。 The IP is used to extract currency type and amount information according to the received sound playback operation instruction, perform speech synthesis, and play the amount prompt tone including the currency type. the
上述IP为独立IP,或综合在SSP内。 The above IPs are independent IPs, or integrated in SSP. the
针对实施方式一,本发明实施例还提供了一种SCP,包括:可变音设置单元和指示下发单元, For the first embodiment, the embodiment of the present invention also provides an SCP, including: a variable tone setting unit and an instruction issuing unit,
可变音设置单元用于设置可变音的货币类型信息和金额信息,将所设置的货币类型信息和金额信息传送给指示下发单元;上述货币类型信息和金额信息被设置在新增加的金额和货币类型字段内,或被设置在已修改的金额参数中,或者,货币类型信息被设置在新增的或已修改的参数中,金额信息被设置在金额参数中。 The variable sound setting unit is used to set the currency type information and amount information of the variable sound, and transmit the set currency type information and amount information to the instruction issuing unit; the above currency type information and amount information are set at the newly added amount and currency type fields, or is set in the modified amount parameter, or the currency type information is set in the newly added or modified parameter, and the amount information is set in the amount parameter. the
指示下发单元,用于根据业务逻辑下发包含货币类型和金额信息的放音操作指示。 The instruction issuing unit is configured to issue the announcement operation instruction including currency type and amount information according to the business logic. the
针对实施方式一,本发明实施例还提供了一种智能外设,包括:提取单元和播放单元,其中, For the first embodiment, the embodiment of the present invention also provides an intelligent peripheral, including: an extraction unit and a playback unit, wherein,
提取单元用于从接收到的放音操作指示中提取货币类型信息和金额信息,传送给播放单元; The extraction unit is used to extract currency type information and amount information from the received playback operation instructions, and transmit them to the playback unit;
播放单元用于将货币类型和金额信息进行语音合成,播放包含货币类型的金额提示音。 The playback unit is used for performing speech synthesis on currency type and amount information, and playing an amount prompt tone including the currency type. the
上述IP为独立IP,或综合在SSP内。 The above IPs are independent IPs, or integrated in SSP. the
针对实施方式二,本发明实施例还提供了一种智能外设,包括:提取单元和播放单元,其中, For the second embodiment, the embodiment of the present invention also provides an intelligent peripheral, including: an extraction unit and a playback unit, wherein,
提取单元用于从接收到的放音操作指示中提取金额信息和语音号,传送给播放单元; The extraction unit is used to extract the amount information and the voice number from the received playback operation instructions, and transmit them to the playback unit;
播放单元用于按照自身已设置的货币类型与语音号的对应关系,根据所述语音号获取货币类型,将所述货币类型和金额进行语音合成,播放包含货币类型的金额提示音。 The playback unit is used to obtain the currency type according to the corresponding relationship between the currency type and the voice number that has been set by itself, perform voice synthesis on the currency type and the amount, and play the amount prompt sound including the currency type. the
上述IP为独立IP,或综合在SSP内。 The above IPs are independent IPs, or integrated in SSP. the
以上所述仅为本发明的较佳实施例而已,并非用于限定本发明的保护范围。凡在本发明的精神和原则之内所作的任何修改、等同替换、改进等,均包含在本发明的保护范围内。 The above descriptions are only preferred embodiments of the present invention, and are not intended to limit the protection scope of the present invention. Any modification, equivalent replacement, improvement, etc. made within the spirit and principles of the present invention are included in the protection scope of the present invention. the
Claims (18)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2006101682662A CN101005541B (en) | 2006-12-25 | 2006-12-25 | Voice playing method, system and SCP and IP for support multiple coins |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2006101682662A CN101005541B (en) | 2006-12-25 | 2006-12-25 | Voice playing method, system and SCP and IP for support multiple coins |
Publications (2)
Publication Number | Publication Date |
---|---|
CN101005541A CN101005541A (en) | 2007-07-25 |
CN101005541B true CN101005541B (en) | 2011-04-20 |
Family
ID=38704388
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN2006101682662A Expired - Fee Related CN101005541B (en) | 2006-12-25 | 2006-12-25 | Voice playing method, system and SCP and IP for support multiple coins |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN101005541B (en) |
Families Citing this family (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101247536A (en) * | 2007-12-27 | 2008-08-20 | 华为技术有限公司 | Multi-currency play method and system |
CN101227627B (en) * | 2008-02-02 | 2011-07-06 | 华为技术有限公司 | Method, device and system for playing multilingual variable voices during a call |
CN101510923B (en) * | 2009-02-26 | 2011-12-28 | 中兴通讯股份有限公司 | Method and system for implementing interactive voice response business |
CN102421075A (en) * | 2011-11-18 | 2012-04-18 | 中兴通讯股份有限公司 | Method for service and user interaction in intelligent network and SCP |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1468420A (en) * | 2000-08-18 | 2004-01-14 | Method and device for transferring electronic amounts from deposit storage | |
CN1716985A (en) * | 2005-07-07 | 2006-01-04 | 中国工商银行 | Method and system for forming speech user interface |
CN1798222A (en) * | 2004-12-22 | 2006-07-05 | 华为技术有限公司 | Method and equipment for controlling dialogue |
-
2006
- 2006-12-25 CN CN2006101682662A patent/CN101005541B/en not_active Expired - Fee Related
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1468420A (en) * | 2000-08-18 | 2004-01-14 | Method and device for transferring electronic amounts from deposit storage | |
CN1798222A (en) * | 2004-12-22 | 2006-07-05 | 华为技术有限公司 | Method and equipment for controlling dialogue |
CN1716985A (en) * | 2005-07-07 | 2006-01-04 | 中国工商银行 | Method and system for forming speech user interface |
Also Published As
Publication number | Publication date |
---|---|
CN101005541A (en) | 2007-07-25 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN101406032B (en) | Value-added service network and IVR server and real-time flow path track analysis method | |
CN101534492B (en) | System for synthetizing virtual private network and method for realizing virtual private network | |
CN1340268A (en) | Method for realizing remote recharging of mobile prepaid service | |
CN101005541B (en) | Voice playing method, system and SCP and IP for support multiple coins | |
US6693898B1 (en) | Call control model for a packet-based intelligent telecommunications network | |
GB2318701A (en) | Intelligent network protocol gateway | |
WO2010135880A1 (en) | Interactive voice response system and realization method thereof | |
CN1946120B (en) | Method and system for implementing bill association | |
CN1863261B (en) | Intelligent external designing charge system and method | |
CN101227627B (en) | Method, device and system for playing multilingual variable voices during a call | |
CN101610489A (en) | A method and system for implementing OCS-based called toll service | |
CN100589591C (en) | A method for realizing intelligent service variable voice playback | |
CN105657156A (en) | Method and terminal for customizing ringtones of incoming calls | |
CN100464583C (en) | A charging method for video calls | |
CN100562039C (en) | A call connection method | |
CN102547605A (en) | Method and system for realizing caller polyphonic ringtone services | |
CN101420677A (en) | Sound playing method and system | |
CN100536586C (en) | A voice playing method and service control point for ultra-large sum in the intelligent network | |
CN100562139C (en) | A method for controlling the caller or called party to play the sound during a call | |
CN100388711C (en) | System and method for realizing prepaid user virtual private network service | |
CN100551092C (en) | A kind of method of controlling number receiving mode of service switching point | |
CN101317439B (en) | Method, system and bureau switchboard for implementing telephone bill association | |
CN1731797B (en) | A method of realizing color dial tone | |
CN101282501B (en) | Method and system for initiating intelligent call by network | |
CN101309433A (en) | Implementing method and system for intelligent service voice play |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
C17 | Cessation of patent right | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20110420 Termination date: 20121225 |