一种业务过滤的方法、系统和装置的制作方法

文档序号:7926268阅读:146来源:国知局
专利名称:一种业务过滤的方法、系统和装置的制作方法
技术领域
本发明涉及通信技术领域,具体涉及一种业务过滤的方法、系统和装置。
背景技术
电话投票(V0T :Televoting)是向社会提供一种征询意见或民意测验的服务,即用户拨打一个号码表示意见,系统将登记和记数此电话,同时,用户收到一个确认的录音通知。网络对每个投票号码的呼叫次数和用户意见信息进行统计,业务用户可随时通过终端和双音多频(DTMF, Dual Tone MultiFrequency)话机查询自己业务的统计信息,现有技术中可以通过利用智能网应用协议(INAP Intelligent Network A卯lication Protocol)提供的激活业务过滤(ASF :Activate Service Filtering)和业务过滤响应(SRF :ServiceFilteringResponse)实现业务过滤。 但现有技术的业务过滤方法无法适用于下 一 代网络(NGN, NextGenerationNetwork)或IP多媒体子系统(IMS, IP multimedia subsystem)网络中的基于会话发起协议(SIP, Session Initiation Protocol)的电话投票业务。这将导致电话投票业务在实际运营中受限于应用服务器(AS,即plicationserver)的处理能力,无法支持大量的用户的同时投票,超过AS处理能力的将被丢失,导致用户满意度下降、运营商盈利无法最大化。

发明内容
有鉴于此,本发明提供一种业务过滤的方法和系统,解决SIP电话投票业务不支持基于SIP的业务激活过滤问题。 —种业务过滤方法,包括,业务接入设备接收业务控制设备发送的基于SIP协议的请求消息,请求消息中包含业务过滤请求Service filter request信息;业务接入设备根据Service filter request信息对接入的呼叫进行过滤,并统计呼叫中满足过滤条件的呼叫;向业务控制设备发送基于SIP协议的请求响应,请求响应中包含业务过滤请求响应Service filter response信息,Service filterresponse信息包含统计结果;
—种业务过滤系统,包括,业务控制设备,用于向业务接入设备发送业务过滤请求Service filter request信息,接收业务接入设备发送的业务过滤请求响应Servicefilter response信息;业务接入设备,用于接收业务控制设备发送的业务过滤请求Service filter request信息,根据Service filter request信息对接入的呼口L]进行过滤,对满足过滤条件的呼叫进行统计,向业务控制设备发送业务过滤请求响应Servicefilter response信息,Service filter response信息用于将统计结果上报给业务控制设备; —种业务接入设备,包括,接收单元,用于接收业务控制设备发送的基于SIP协议的请求消息,请求消息中包含业务过滤请求Service filter request信息;过滤统计单元,用于根据Service filter request信息对接入的呼叫进行过滤,并统计呼叫中满足过滤条件的呼叫;发送单元,用于向业务控制设备发送基于SIP协议的请求响应,请求响应中包含
5业务过滤请求口向应Service filter response信息,Service filter response信息包含统计结果; —种业务控制设备,包括,请求发送单元,用于向业务接入设备发送基于SIP协议的请求消息,请求消息中包含业务过滤请求Service filter request信息;请求接收单元,用于接收业务接入设备发送的基于SIP协议的请求响应,请求响应中包含业务过滤请求响应Service filter response信息,Service filter response信息包含统计结果。
—种业务过滤方法,包括,业务接入设备接收业务控制设备发送的SOAP请求消息,SOAP消息中包含业务过滤请求Service filter request信息,业务接入设备根据Service filter request信息对接入的呼叫进行过滤,并统计呼叫中满足过滤条件的呼叫,业务接入设备向业务控制设备发送SOAP请求响应,S0AP请求响应中包含业务过滤请求响应Service filter response信息,Service filterresponse信息包含统计结果。
—种业务过滤系统,包括,业务控制设备,用于向业务接入设备发送业务过滤请求Service filter request信息,接收业务接入设备发送的业务过滤请求响应Servicefilter response信息,业务接入设备,用于接收业务控制设备发送的业务过滤请求Service filter request信息,根据Service filter request信息对接入的呼口L]进行过滤,对满足过滤条件的呼叫进行统计,向业务控制设备发送业务过滤请求响应Servicefilter response信息,Service filter response信息用于将统计结果上报给业务控制设备。 —种业务接入设备,包括,接收单元,用于接收业务控制设备发送的SOAP请求消息,SOAP请求消息中包含业务过滤请求Service filter request信息,过滤统计单元,用于根据Service filter request信息对接入的呼叫进行过滤,并统计呼叫中满足过滤条件的呼叫,发送单元,用于向业务控制设备发送SOAP请求响应,请求响应中包含业务过滤请求响应Service filter response信息,Servicefilter response信息包含统计结果。
—种业务控制设备,包括,请求发送单元,用于向业务接入设备发送SOAP请求消息,请求消息中包含业务过滤请求Service filter request信息,请求接收单元,用于接收业务接入设备发送的SOAP请求响应,请求响应中包含业务过滤请求响应Service filterresponse信息,Service filter response信息包含统计结果 本发明实施例通过对于逻辑比较简单的业务,通过本专利,可以让Proxy实现相同的逻辑,以增加SIP业务处理大呼叫量业务的需求,从而可以提供面向大众的电话投票业务,降低运营成本,提高客户满意度和运营商的收益。


图1是本发明实施例业务过滤的方法的基本流程示意图; 图2是本发明实施例业务过滤的方法系统的基本框图; 图3是本发明实施例的业务接入设备的基本框图; 图4是本发明实施例的业务控制设备的基本框图; 图5是本发明实施例SIP组网图; 图6是本发明实施例的业务过滤方法的一实施例流程图; 图7是本发明实施例的业务过滤方法的另一实施例流程6
图8是本发明实施例的业务过滤方法的另一实施例流程具体实施例方式
为了使本领域的技术人员更好的理解本发明内容,以下结合附图以及具体实施例对本发明内容作具体说明。
本发明实施例的业务过滤的基本流程可参考图1,主要包括步骤 A1、业务接入设备接收业务控制设备发送的基于SIP协议的请求消息,所述请求
消息中包含业务过滤请求Service filter request信息; 具体的,应用服务器(AS,即plication server)向软交换(SS,Soft Switch)发送SUBCRIBE订阅请求,该请求中包含新事件Event,如业务过滤请求包ServiceFilterevent,业务过滤请求包ServiceFilter中的新的内容类型Content-Type,这里为业务过滤请求service filter request,在service filter request中又定义了新的参数,如下所示
过滤呼叫播放语音FilteredCallTreatmentMessage :当前呼叫满足呼叫过滤条件时,播放相应一条或多条语音; 过滤间隔Filteringlnterval :上报间隔时间; 过滤超时类型filteringTimeOutType :时长或结束时间; 时长filteringTimeOutDuration :过滤时长; 过滤结束时间filteringTimeOutStopTime :结束时间; 过滤类型filteringCriteriaType :To域的uri形式或FROM域的uri形式进行过滤; 过滤的uri filteringCriteriaUri :任何形式的uri ;
过滤开始时间startTime :过滤开始时间。 A2、业务接入设备根据所述Service filter request信息对接入的呼叫进行过滤,并统计所述呼叫中满足过滤条件的呼叫; 业务接入设备在接收到订阅请求SUBCRIBE后,根据所述Service filterrequest对接入的呼叫进行过滤,这里的过滤条件由service filter request定义,如filteringCriteriaType为To域的uri形式,filteringCriteriaUri为401,艮卩表不主口1]号码为401满足过滤条件,同时对满足过滤条件的呼叫进行统计。 A3、业务接入设备向所述业务控制设备发送基于SIP协议的请求响应,所述请求口向应中包含业务过滤请求口向应Service filter response信息,所述Servicefilterresponse信息包含统计结果。 当上报时间间隔Filteringlnterval为200时,即表示200秒上报一次,向业务控
制设备发送通知消息NOTIFY, NOTIFY中包含业务过滤请求响应Servicefilter response
信息,而Service filter response中定义了参数 统计次数Counters Value 。 本发明实施例提供一种业务过滤系统,包括, 业务控制设备201,用于向业务接入设备202发送业务过滤请求Servicefilterrequest信息,接收所述业务接入设备202发送的业务过滤请求响应Servicefilterresponse信息;
7
业务接入设备202,用于用于接收业务控制设备201发送的业务过滤请Servicefilter request信息,根据所述Service filter request信息对接入的呼叫进行过滤,对满足过滤条件的所述呼叫进行统计,向所述业务控制设备201发送业务过滤请求响应Service filter response信息,所述Service filter response信息用于将统计结果上报给所述业务控制设备。 本发明实施例提供一种业务接入设备,包括, 接收单元301,用于接收业务控制设备发送的基于SIP协议的请求消息,所述请求消息中包含业务过滤请求Service filter request信息; 过滤统计单元302,用于根据所述Service filter request信息对接入的呼叫进行过滤,并统计所述呼叫中满足过滤条件的呼叫; 发送单元303,用于向所述业务控制设备发送基于SIP协议的请求响应,所述请求响应中包含业务过滤请求响应Service filter response信息,所述Service filterresponse信息包含统计结果。 可替代的,基于SIP协议的请求消息可替换为SOAP请求消息,相应的,基于SIP协议的请求响应可替换为SOAP请求响应。
—种业务控制设备,包括, 请求发送单元401,用于向业务接入设备发送基于SIP协议的请求消息,所述请求消息中包含业务过滤请求Service filter request信息; 请求接收单元402,用于接收所述业务接入设备发送的基于SIP协议的请求响应,所述请求响应中包含业务过滤请求响应Service filter response信息,所述Servicefilter response信息包含统计结果。 可替代的,基于SIP协议的请求消息可替换为SOAP请求消息,相应的,基于SIP协议的请求响应可替换为SOAP请求响应。 参考图5,具体地,SIP协议下的业务接入设备可以是代理PR0XY,比如,NGN架构下的软交换(SS,Soft Switch) 、IMS架构下的服务类型的呼叫会话控制功能(S-CSCF,S-CallSession Control Function),而业务控制设备可以是后端对后端用户代理(B2BUA,Business_to_Business User Agent)、应用月艮务器(AS,Application Server)。其中,业务接入设备处理业务接入请求,将业务接入请求发送给业务控制设备,由业务控制设备提供相应的业务逻辑,如,播放语音、收集信息、翻译被叫号码并接续等。 为更好的理解上述实施例,下面结合业务过滤的方法的一个具体执行过程为例进行说明,在NGN网络中,流程示意图如图6所示,包括软交换(SS, Softswitch),应用服务器(AS, application server),具体流程如下 601 、AS发送订阅请求(SUBSCRIBE)消息给SS,订阅请求消息中包含业务过滤请求(Service Filter Request),其中,订阅请求SUBSCRIBE消息可以具体包括如下参数 SUBSCRIBE si。servicefilter@。roxy. example, com SIP/2.0 Via :SIP/2. 0/UDP host, example, com ;b屋ch = z9hG4bKnashds7 To :〈si。servicefilter@。roxy. example. com> From :〈si。 televoting恥2bim. example. com> ;tag = h876851208 Call—ID : 12345678@host. example, com
CSeq : 1 SUBSCRIBE Max-Forwards :70 Expires :3600 Event :servicefilterevnt Contact :sip:user@host. example, com Content-Type :即plication/servicefilterrequest Content-Length :… filteredCallTreatmentMessage = 0x01010001 ilteringlnterval = 1000 filteringTimeOutType = duration filteringTimeOutDuration = 1800 filteringCriteriaType= to_uri filteringCriteriaUri = 401 startTime = 103000 其中,Event域中包含扩展的业务过滤事件servicefilterevnt ; 而Content-Type域包含业务过滤请求邻plication/servicef ilterrequest ; 而servicefilterrequest中定义的具体参数包括 filteredCallTreatmentMessage :当前用户发起的呼叫满足过滤条件时,SS播放一条语音; 这里的过滤条件具体为filteringCriteriaUri = 401,如某选星电话投票业务接入码为401,选民可以通过拨打40101投票给选手1,拨打40102投票给选手2,等,则过滤条件具体为所有用户拨打401开头的号码; ilteringlnterval = 1000 :表示间隔1000秒上报一次; filteringTimeOutType :业务过滤类型为时长; filteringTimeOutDuration = 1800 :过滤1800秒后结束过滤; filteringCriteriaType :以To域的uri进行过滤控制; filteringCriteriaUri :uri形式为401 ; startTime :过滤开始时间为10:30:00。 602 :SS发送2000K给AS,表示收到订阅请求,并启动业务过滤,具体消息如下 SIP/2.0 200 OK Via :SIP/2. 0/UDP host, example, com ;b屋ch = z9hG4bKnashds7 ;
received = 192. 0. 2. 1 To :〈si。servicefilter@。roxy. example. com> ;tag = w085727567 From :〈si。 televoting恥2bim. example. com> ;tag = h876851208 Call-ID :12345678@host. example, com CSeq :1 SUBSCRIBE Contact :sip:pa. example, com Expires :3600 Content—Length :0
9
603、 SS对接收到的用户发起的呼叫进行过滤; 604、 SS立即发送NOTIFY给AS,确保反馈业务过滤结果可以正确上报给AS,具体消息如下; NOTIFY sip: televoting恥2bua. example, com SIP/2.0 Via :SIP/2. 0/UDP pa. example, com ;branch 二 z9hG4bK8sdf2 To :〈sip:televoting恥2bua. example, com〉 ;tag = h87685120S From :〈sip:servicefilter@proxy. example. com> ;tag = w085727567 Call-ID :12345678@host. example, com CSeq :1 NOTIFY Max-Forwards :70 Event :servicefilterevnt Subscription—State :active ;expires = 3600 Contact :sip:pa. example, com Content-Type :即plication/servicefilterresponse Content-Length :… countersValue = 0 其中,Event :servicefilterevnt为业务过滤事件; Content-Type :即plication/servicefilterresponse :表不业务过滤响应; servicef ilterresponse具体参数包括 countersValue = 0 :表示统计次数为0 605、 AS返回2000K,表示收到业务过滤结果,具体消息如下; SIP/2.0 200 OK Via :SIP/2. 0/UDP pa. example, com ;b屋ch = z9hG4bK8sdf2 ; received = 192. 0. 2. 2 To :《sip:televoting恥2bua. example.固> ;tag = h876851208 From :〈sip:servicefilterOproxy. example, com〉 ;tag = w085727567 Call-ID :12345678@host. example, com CSeq :1 NOTIFY 606、 SS对满足条件的请求进行统计,当达到统计上报条件时,发送NOTIFY给AS,具体消息如下; NOTIFY sin: televoting恥2bua. example, com SIP/2.0 Via :SIP/2. 0/UDP pa. example, com ;branch 二 z9hG4bK8sdf2 To :<si。televoting@b2bua. example, com〉 ;tag = h8768512Q8 From :<si。
servicef ilter@。roxy. example. com> ;tag = w085727567 Call-ID :12345678@host. example, com CSeq :2 NOTIFY Max-Forwards :70 Event "servicefilterevnt Subscription—State :active ;expires = 2600
Contact :sip:pa. example, com Content-Type :即plication/servicefilterresponse
Content-Length :…
co皿tersValue = 1210 其中Event :servicefilterevnt为业务过滤事件; Content-Type :即plication/servicefilterresponse :表不业务过滤口向应; servicefilterresponse的具体参数包括 countersValue = 1210 :表示统计次数为1210 607、 AS返回2000K,表示收到业务过滤结果,具体消息如下; SIP/2.0 200 OK Via :SIP/2. 0/UDP pa. example, com ;branch = z9hG4bK8sdf2
;received = 192. 0. 2. 2 To :〈sip: televoting恥2bim. example. com> ;tag = h876851208
From :〈sip:servicefilter@proxy. example. com> ;tag = w085727567
Call-ID :12345678@host. example, com
CSeq :2 NOTIFY 本发明实施例中,扩展了 SIP协议中SUBSCRIBE和NOTIFY的事件Event,即业务过滤请求包ServiceFilterevent,在扩展后的SUBSCRIBE包含业务过滤请求Service FilterResquest ;而NOTIFY包含业务过滤响应Service FilterResponse ;由AS发送扩展后的SUBSCRIBE到SS,请求SS对呼叫进行过滤,SS针对满足过滤条件(Event定义)的呼叫进行统计,并将统计结果通过扩展后的NOTIFY消息发送给B2BUA。从而实现了 SIP协议下的业务过滤,使得投票业务不再受限于应用服务器的处理能力,提高了用户满意度、运营商的业务发展。 为更好的理解上述实施例,下面结合业务过滤的方法的一个具体执行过程为例进行说明,IMS架构组网中,流程示意图如图7所示,包括服务类型的呼叫会话控制功會g (S—CSCF, Serving—Call Session Control Function),应用月艮务器(AS, ApplicationServer),具体流程如下 701 :AS发送INFO消息给S-CSCF, INFO消息中包含业务过滤请求(Service Filter
Request),其中,INFO消息可以具体包括如下参数 INFO si。
servicef ilter@。roxy. example, com SIP/2.0 Via :SIP/2. 0/UDP host, example, com ;b屋ch = z9hG4bKnashds7 To :〈si。servicefilter@。roxy. example. com> From :〈si。 televoting恥2bim. example. com> ;tag = h876851208 Call-ID :12345678@host. example, com CSeq :1 SUBSCRIBE Max-Forwards :70 Expires :3600 Contact :sip:user@host. example, com Content—Type :即plication/servicefilterrequest
110161] Content-Length : ..
0162] filteredCallTreatmentMessage = 0x01010001
0163] filteringlnterval = 1000
0164] f ilteringTimeOutType = duration
0165] filteringTimeOutDuration = 1800
0166] filteringCriteriaType = to-uri
0167] filteringCriteriaUri = 401
0168] startTime = 103000
0169] 其中Content-Type域包含业务过滤请求卿lication/servicefilterrequest ;
0170] 而servicefilterrequest中定义的具体参数包括
0171] filteredCallTreatmentMessage :当前用户发起的呼叫满足过滤条件时,S-CSCF播放一条语音;
0172] 这里的过滤条件具体为filteringCriteriaUri = 401,如某选星电话投票业务接入码为401,选民可以通过拨打40101投票给选手1,拨打40102投票给选手2,等,则过滤条件具体为所有用户拨打401开头的号码;
0173] ilteringlnterval = 1000 :表示间隔1000秒上报一次;
0174] filteringTimeOutType :业务过滤类型为时长;
0175] filteringTimeOutDuration = 1800 :过滤1800秒后结束过滤;
0176] filteringCriteriaType :以To域的uri进行过滤控制;
0177] filteringCriteriaUri :uri形式为401 ;
0178] startTime :过滤开始时间为10:30:00。
0179] 702, S-CSCF发送2000K给AS表示收到INFO消息,并启动业务过滤,具体消息如下;
0180] SIP/2.0 200 OK
0181] Via :SIP/2. 0/UDP host, example, com ;
0182] branch = z9hG4bKnashds7 ;received = 192.0.2.1
0183] To :〈si。servicefilter@。roxy. example. com> ;tag = w085727567
0184] From :〈si。 televoting恥2bim. example. com> ;tag = h876851208
0185] Call-ID :12345678@host. example, com
0186] CSeq :1 INFO
0187] Contact :sip:pa. example, com
0188] Expires :3600
0189] Content-Length :0
0190] 703、 S-CSCF对接收到的用户发起的呼叫进行过滤,具体消息如下;
0191] 704, S-CSCF对满足条件的请求进行统计,当达到统计上报条件时,发送INFO消息给AS,具体消息如下;
0192] INFO si。televoting恥2bim. example, com SIP/2.0
0193] Via :SIP/2. 0/UDP pa. example, com ;branch = z9hG4bK8sdf2
0194] To :〈si。 televoting恥2bim. example. com> ;tag = h8768512Q8
12
From :〈sip:servicefilter@proxy. example. com> ;tag = w085727567 Call-ID :12345678@host. example, com CSeq :2 INFO Max-Forwards :70 Contact :sip:pa. example, com Content-Type :即plication/servicefilterresponse
Content-Length :…
co皿tersValue = 1000 其中,Content-Type邻plication/servicefilterresponse :表不业务过滤口向 应; servicefilterresponse的具体参数包括
countersValue = 1000 :表示统计次数为1000。 705, AS返回2000K给S-CSCF,表示收到业务过滤结果,具体消息如下;
SIP/2.0 200 OK Via :SIP/2. 0/UDP pa. example, com ;branch = z9hG4bK8sdf2
received = 192. 0. 2. 2 To :〈sip:televoting恥2bua. example. com> :tag = h8768512Q8
From :〈sip:servicefilter@proxy. example. com> ;tag = w085727567
Call-ID :12345678@host. example, com
CSeq :2 NOTIFY 本发明实施例中,在INFO消息中扩展业务过滤请求Service Filter Resquest和 业务过滤响应Service Filter Response ;由AS发送扩展后的INFO消息到S-CSCF, i青求 S-CSCF对呼叫进行过滤,S-CSCF针对满足过滤条件(ServiceFilter Resquest定义)的呼 叫进行统计,并将统计结果通过扩展后的INFO消息发送给AS,从而实现了INFO消息下的业 务过滤,使得投票业务不再受限于应用服务器的处理能力,提高了用户满意度、运营商的业 务发展。 为更好的理解上述实施例,下面结合业务过滤的方法的一个具体执行过程为例进 行说明,在NGN网络中,流程示意图如图8所示,包括软交换(SS, Softswitch),应用服务器 (AS, application server),该实施例基于SOAP消息,
SOAP消息定义 〈? xml version =〃 1.0〃 encoding = 〃 UTF-8" Xdefinitions xmlns = 〃 http://schemas. xmlso即.org/wsdl/〃 xmlns :tns=〃 urn:SoapRequestlnterface〃 xmlns :xsd = 〃 http:〃www. w3. org/2001/XMLSchema" xmlns:soap=〃 http://schemas. xmlso即.org/wsdl/so即/" name = 〃 SoapRequestlnterface 〃 targetNamespace =〃 urn:SoapRequestlnterface" > 〈types〉 〈schema xmlns =〃 http://www.w3.org/2001/XMLSchema"
xmlns: soapll-enc = 〃 http: //schemas. xmlsoap. org/soap/encoding/〃 xmlns:xsi = 〃 http://www. w3. org/2001/XMLSchema_instance〃 xmlns:wsdl = 〃 http://schemas. xmlsoap. org/wsdl/〃 targetNamespace = 〃 urn:SoapRequestlnterface〃 〉 〈import namespace = 〃 http://schemas. xmlsoap. org/soap/encoding/〃 /〉 〈/Schema〉 〈/types〉 〈message name = 〃 SoapRequestInterface_ServiceFilterRequest〃 〉 〈part name =〃 0perationType〃type =〃 xsd:string〃 /〉 〈part name = 〃 filteredCallTreatmentMessage 〃 type=〃 xsd:hexBinary〃 /〉 〈part name =〃 f ilteringlnterval 〃 type =〃 xsd: integer 〃 /〉 〈part name =〃 f ilteringTimeOutType 〃 type =〃 xsd: string〃 /〉 〈part name =〃 filteringTimeOutDuration〃 type =〃 xsd:integer〃 /〉 〈part name =〃 f ilteringTimeOutStopTime 〃 type =〃 xsd: string〃 /〉 〈part name =〃 f ilteringCriteriaType 〃 type =〃 xsd: string〃 /〉 〈part name =〃 f ilteringCriteriaUri 〃 type =〃 xsd: string〃 /〉 〈part name =〃 startTime〃 type =〃 xsd:string〃 /X/message〉 〈message name =〃 SoapRequestInterface_ServiceFilterResponse〃 〉 〈part name =〃 countersValue〃 type =〃 xsd:integer〃 /X/message〉 〈portType name =〃 SoapRequestlnterface 〃 〉 〈operation name =〃 ServiceFilterRequest〃 〉 〈input message = 〃 tns:SoapRequestInterface_ServiceFilterRequest〃 /〉 〈output message = 〃 tns:SoapRequestInterface_ServiceFilterResponse 〃 /〉〈/
operation 〉 〈/portType〉 〈binding name =〃 SoapRequestlnterfaceBinding〃 type = 〃 tns: SoapRequestlnterface 〃 〉 〈soap:binding transport = 〃 http://schemas. xmlsoap. org/soap/http〃 style =〃 rpc〃 /〉 〈operation name =〃 ServiceFilterRequest〃 〉 〈soap: operation so即Action =〃 〃 /〉 〈i叩ut〉 〈so即body encodingStyle =〃 http://schemas. xmlsoap. org/soap/encoding/〃 use = 〃 encoded〃 namespace = 〃 urn :SoapRequestInterface 〃 /X/i叩ut〉 〈output〉
14
〈so即body encodingStyle =〃 http://schemas. xmlsoap. org/soap/encoding/〃 use =〃 encoded" namespace = 〃 urn:SoapRequestlnterface 〃 /〉〈/output〉〈/operation〉 〈/binding〉 〈service name =〃 SoapRequestlnterface 〃 〉 〈port name =〃 SoapRequestlnterfacePort 〃 binding = 〃 tns:SoapRequestlnterfaceBinding〃 〉 〈soap: address location = 〃 http://www. example, com servicefilterrequest 〃 xmlns:wsdl = 〃 http://schemas. xmlsoap. org/wsdl/ 〃 /X/portX, service〉〈/defi nitions〉 具体流程如下 801 :AS向SS发送SOAP请求,该请求中包含启动begin标识,具体消息如下; POST/InStock HTTP/1. 1 Host :www. example, org Content-Type :即plication/so即+xml ;charset = utf_8 Content-Length -mm 〈? xml version =〃 1.0"〉 〈so即Envelope xmlns:soap = 〃 http://www. w3. org/2001/12/soap-envelope" soap:encodingStyle = 〃 http://www. w3. org/2001/12/soap_encoding〃 〉 〈so即Body xmlns:m = 〃 http://www. example, org/servicefilterrequest〃 〉 〈m:ServiceFilterRequest〉 〈m:OperationType〉Begin〈/m:OperationType〉 〈m:filteredCallTreatmentMessage〉01010001〈/m:filteredCallTreatm entMessage〉 〈m:filteringlnterval〉1000〈/m:filteringlnterval〉 〈m:filteringTimeOutType〉duration〈/m:filteringTimeOutType〉 〈m:filteringTime0utDuration〉1800〈/m:filteringTimeOutDuration〉 〈m:filteringCriteriaType〉to_uri〈/m:filteringCriteriaType〉 〈m:filteringCriteriaUri〉401〈/m:filteringCriteriaUri〉 〈m:startTime〉103000〈/m:startTime〉 〈/m:ServiceFilterRequest〉 〈/so即Body〉 〈/so即Envelope〉 其中〈m:ServiceFilterRequest〉包含业务过滤请求servicef ilterrequest ;12/15页 而servicefilterrequest中定义的具体参数包括 filteredCallTreatmentMessage :当前用户发起的呼叫满足过滤条件时,S-CSCF播放一条语音; 这里的过滤条件具体为filteringCriteriaUri为401,如某选星电话投票业务接入码为401,选民可以通过拨打40101投票给选手1,拨打40102投票给选手2,等,则过滤条件具体为所有用户拨打401开头的号码; ilteringlnterval 为1000 :表示间隔1000秒上报一次; filteringTimeOutType :业务过滤类型为时长; filteringTimeOutDuration 为1800 :过滤1800秒后结束过滤; f ilteringCriteriaType :以To域的uri进行过滤控制; filteringCriteriaUri :uri形式为401 ; startTime :103000 802 :SS接收到启动请求后,启动业务激活过滤,并立即返回过滤响应给AS,具体消息如下; HTTP/1. 1 200 OK Content-Type :即plication/so即+xml 5charset = utf_8 Content-Length -皿n 〈? xml version =〃 1.0〃 ? > 〈so即Envelope xmlns:soap=〃 http://www.w3.org/2001/12/soap_envelope" soap:encodingStyle =〃 http://www.w3.org/2001/12/soap_encoding" > 〈so即Body xmlns:m = 〃 http://www.example.org/servicefilterrequest" > 〈m: ServiceFilte:rResponse> 〈m: coimtersValue>0〈/m: coimtersValue> 〈/m: ServiceFilte:rResponse> 〈/soap:Body> 〈/soap:Envelope> 其中,〈/m:ServiceFilterResponse〉表示业务过滤响应; 〈m: countersValue>0〈/m: countersValue〉为0 ,表示统计次数为0 ; 803、 SS对接收到的用户发起的呼叫进行过滤,具体消息如下; 804 :AS向SS发送SOAP请求,该请求中包含中间Internal标识请求,具体消息如
下; POST/InStock HTTP/1. 1 Host :www. example, org Content-Type :即plication/so即+xml 5charset = utf_8 Content-Length -皿n 〈? xml version =〃 1.0〃 ? > 〈soap:Envelope
16
xmlns:soap = 〃 http://www. w3. org/2001/12/soap_envelope〃 soap:encodingStyle = 〃 http://www. w3. org/2001/12/soap_encoding〃 〉 〈so即Body xmlns:m = 〃 http://www. example, org/servicefilteirequest〃 〉 〈m:ServiceFilterRequest〉 〈m:OperationType〉Internal〈/m:OperationType〉 〈m:filteredCallTreatmentMessage〉01010001〈/m:filteredCallTreatm entMessage〉 〈m:filteringlnterval〉1000〈/m:filteringlnterval〉 〈m:filteringTimeOutType〉duration〈/m:filteringTimeOutType〉 〈m:filteringTimeOutDuration〉1800〈/m:filteringTimeOutDuration〉 〈m:filteringCriteriaType〉to_uri〈/m:filteringCriteriaType〉 〈m:filteringCriteriaUri〉401〈/m:filteringCriteriaUri〉 〈/m:ServiceFilterRequest〉 〈/so即Body〉 〈/soap: Envelope〉 805 :SS接收到中间标识请求后,将已经统计的结果反馈给AS,具体消息如下; HTTP/1. 1 200 OK Content-Type :即plication/so即+xml ;charset = utf_8 Content-Length -mm 〈? xml version =〃 1.0"〉 〈so即Envelope xmlns:soap = 〃 http://www. w3. org/2001/12/soap-envelope" soap:encodingStyle = 〃 http://www. w3. org/2001/12/soap_encoding〃 〉 〈so即Body xmlns:m = 〃 http://www. example, org/servicefilterrequest〃 〉 〈m: ServiceFilterResponse〉 〈m:countersValue〉1000〈/m:countersValue〉 〈/m:ServiceFilterResponse〉 〈/so即Body〉 〈/soap: Envelope〉 其中,〈/m:ServiceFilterResponse〉表示业务过滤响应; 〈m:countersValue〉0〈/m:countersValue〉为1000,表示统计次数为1000 ; 806、AS向SS发送SOAP请求,该请求中包含结束Internal标识请求,具体消息如
下; POST/InStock HTTP/1. 1 Host :www. example, org Content-Type :即plication/so即+xml ;charset = utf_8 Content—Length -mm
〈? xml version =〃 1.0"〉 〈so即Envelope xmlns:soap = 〃 http://www. w3. org/2001/12/soap_envelope〃 soap:encodingStyle = 〃 http://www. w3. org/2001/12/soap_encoding〃 〉 〈so即Body xmlns:m = 〃 http://www. example, org/servicefilteirequest〃 〉 〈m:ServiceFilterRequest〉 〈m:OperationType〉End〈/m:OperationType〉 〈m:filteredCallTreatmentMessage〉01010001〈/m:filteredCallTreatm entMessage〉 〈m:filteringlnterval〉1000〈/m:filteringlnterval〉 〈m:filteringTimeOutType〉duration〈/m:filteringTimeOutType〉 〈m:filteringTime0utDuration〉1800〈/m:filteringTimeOutDuration〉 〈m:filteringCriteriaType〉to_uri〈/m:filteringCriteriaType〉 〈m:filteringCriteriaUri〉401〈/m:filteringCriteriaUri〉 〈/m:ServiceFilterRequest〉 〈/so即Body〉 〈/so即Envelope〉 807、SS接收到结束End标识请求后,结束业务激活过滤,并反回统计结果给AS,具体消息如下; HTTP/1. 1 200 OK Content-Type :即plication/so即+xml ;charset = utf_8 Content-Length -mm 〈? xml version =〃 1.0"〉 〈so即Envelope xmlns:soap = 〃 http://www. w3. org/2001/12/soap-envelope" soap:encodingStyle = 〃 http://www. w3. org/2001/12/soap_encoding〃 〉 〈so即Body xmlns:m = 〃 http://www. example, org/servicefilterrequest〃 〉 〈m: ServiceFilterResponse〉 〈m:countersValue〉1200〈/m:countersValue〉 〈/m:ServiceFilterResponse〉 〈/so即Body〉 〈/soap: Envelope〉 其中,〈/m:ServiceFilterResponse〉表示业务过滤响应; 〈m:countersValue〉1200〈/m:countersValue〉为1200,表示统计次数为1200 ; 本发明实施例中,在SOAP消息中扩展业务过滤请求Service FilterResquest和
业务过滤响应Service Filter Response ;由AS发送扩展后的SOAP消息到SS,请求SS对呼叫进行过滤,SS针对满足过滤条件(Service Filter Resquest定义)的呼叫进行统计,
18并将统计结果通过扩展后的INFO消息发送给AS,从而实现了 SOAP消息下的业务过滤,使得 投票业务不再受限于应用服务器的处理能力,提高了用户满意度、运营商的业务发展
本领域普通技术人员可以理解上述实施例的各种方法中的全部或部分步骤是可 以通过程序来指令相关的硬件来完成,该程序可以存储于一计算机可读存储介质中,存储 介质可以包括ROM、RAM、磁盘或光盘等。 以上对本发明实施例所提供一种业务过滤的方法、系统和装置,本文中应用了具 体个例对本发明的原理及实施方式进行了阐述,以上实施例的说明只是用于帮助理解本发 明的方法及其核心思想;同时,对于本领域的一般技术人员,依据本发明的思想,在具体实 施方式及应用范围上均会有改变之处,综上所述,本说明书内容不应理解为对本发明的限 制。
权利要求
一种业务过滤方法,其特征在于,包括,业务接入设备接收业务控制设备发送的基于SIP协议的请求消息,所述请求消息中包含业务过滤请求Service filter request信息;业务接入设备根据所述Service filter request信息对接入的呼叫进行过滤,并统计所述呼叫中满足过滤条件的呼叫;业务接入设备向所述业务控制设备发送基于SIP协议的请求响应,所述请求响应中包含业务过滤请求响应Service filter response信息,所述Service filterresponse信息包含统计结果。
2. 根据权利要求1所述的业务过滤方法,其特征在于,所述基于SIP协议的请求消息包 括,订阅请求SUBCRIBE消息或INFO消息。
3. 根据权利要求1至2任意一项所述的业务过滤方法,其特征在于,所述Service filter request信息包括如下参数过滤呼叫播放语音Fi 1 teredCallTreatmentMessage :当前呼叫满足呼叫过滤条件时, 播放相应一条或多条语音;过滤间隔Filteringlnterval :上报间隔时间; 过滤超时类型filteringTimeOutType :时长或结束时间; 时长filteringTimeOutDuration :过滤时长; 过滤结束时间filteringTimeOutStopTime :结束时间;过滤类型f ilteringCriteriaType :To域的uri形式或FROM域的uri形式进行过滤; 过滤的urifilteringCriteriaUri :任何形式的uri ; 过滤开始时间startTime :过滤开始时间。
4. 根据权利要求1至2任意一项所述的方法,其特征在于,所述Servicefilter response信息包括如下参数co皿tersValue :统计次数。
5. —种业务过滤系统,其特征在于,包括,业务控制设备,用于向业务接入设备发送业务过滤请求Service filterrequest信息, 接收所述业务接入设备发送的业务过滤请求响应Service filterresponse信息;业务接入设备,用于接收业务控制设备发送的业务过滤请求Service filterrequest 信息,根据所述Service filter request信息对接入的呼叫进行过滤,对满足过滤条 件的所述呼叫进行统计,向所述业务控制设备发送业务过滤请求响应Service filter response信息,所述Service filter response信息用于将统计结果上报给所述业务控制 设备。
6. —种业务接入设备,包括,接收单元,用于接收业务控制设备发送的基于SIP协议的请求消息,所述请求消息中 包含业务过滤请求Service filter request信息;过滤统计单元,用于根据所述Service filter request信息对接入的呼叫进行过滤, 并统计所述呼叫中满足过滤条件的呼叫;发送单元,用于向所述业务控制设备发送基于SIP协议的请求响应,所述请求响应中 包含业务过滤请求口向应Service filter response信息,所述Servicefilter response信息包含统计结果。
7. —种业务控制设备,包括,请求发送单元,用于向业务接入设备发送基于SIP协议的请求消息,所述请求消息中 包含业务过滤请求Service filter request信息;请求接收单元,用于接收所述业务接入设备发送的基于SIP协议的请求响应,所述请 求响应中包含业务过滤请求响应Service filter response信息,所述Service filter response信息包含统计结果。
8. —种业务过滤方法,其特征在于,包括,业务接入设备接收业务控制设备发送的SOAP请求消息,所述SOAP消息中包含业务过 滤请求Service filter request信息;业务接入设备根据所述Service filter request信息对接入的呼叫进行过滤,并统计 所述呼叫中满足过滤条件的呼叫;业务接入设备向所述业务控制设备发送SOAP请求响应,所述SOAP请求响应中包含业 务过滤请求口向应Service filter response信息,所述Service filterresponse信息包含 统计结果。
9. 根据权利要求8所述的方法,其特征在于,所述Service filter request信息包括 如下参数过滤呼叫播放语音FilteredCallTreatmentMessage :当前呼叫满足呼叫过滤条件时, 播放相应一条或多条语音;过滤间隔Filteringlnterval :上J艮间隔时间; 过滤超时类型filteringTimeOutType :时长或结束时间; 时长filteringTimeOutDuration :过滤时长; 过滤结束时间filteringTimeOutStopTime :结束时间;过滤类型f ilteringCriteriaType :To域的uri形式或FROM域的uri形式进行过滤; 过滤的uri filteringCriteriaUri :任何形式的uri ; 过滤开始时间startTime :过滤开始时间。
10. 根据权利要求8至9任意一项所述的方法,其特征在于,所述Servicefilter response信息包括如下参数co皿tersValue :统计次数。
11. 一种业务过滤系统,其特征在于,包括,业务控制设备,用于向业务接入设备发送业务过滤请求Service filterrequest信息, 接收所述业务接入设备发送的业务过滤请求响应Service filterresponse信息;业务接入设备,用于接收业务控制设备发送的业务过滤请求Service filterrequest 信息,根据所述Service filter request信息对接入的呼叫进行过滤,对满足过滤条 件的所述呼叫进行统计,向所述业务控制设备发送业务过滤请求响应Service filter response信息,所述Service filter response信息用于将统计结果上报给所述业务控制 设备。
12. —种业务接入设备,包括,接收单元,用于接收业务控制设备发送的SOAP请求消息,所述SOAP请求消息中包含业务过滤请求Service filter request信息;过滤统计单元,用于根据所述Service filter request信息对接入的呼叫进行过滤, 并统计所述呼叫中满足过滤条件的呼叫;发送单元,用于向所述业务控制设备发送SOAP请求响应,所述请求响应中包含业务过 滤请求响应Service filter response信息,所述Service filterresponse信息包含统计 结果。
13. —种业务控制设备,包括,请求发送单元,用于向业务接入设备发送SOAP请求消息,所述请求消息中包含业务过 滤请求Service filter request信息;请求接收单元,用于接收所述业务接入设备发送的SOAP请求响应,所述请求响应中包 含业务过滤请求口向应Service filter response信息,所述Servicefilter response信息 包含统计结果。
全文摘要
本发明实施例公开了一种业务过滤的方法、系统和装置,本发明实施例业务接入设备接收业务控制设备发送的基于SIP协议的请求消息,所述请求消息中包含业务过滤请求Service filter request信息,业务接入设备根据所述Servicefilter request信息对接入的呼叫进行过滤,并统计所述呼叫中满足过滤条件的呼叫,业务接入设备向所述业务控制设备发送基于SIP协议的请求响应,所述请求响应中包含业务过滤请求响应Service filter response信息,所述Servicefilter response信息包含统计结果,以增加SIP业务处理大呼叫量业务的需求,从而可以提供面向大众的电话投票业务,降低运营成本,提高客户满意度和运营商的收益。
文档编号H04M7/00GK101741995SQ20081021780
公开日2010年6月16日 申请日期2008年11月17日 优先权日2008年11月17日
发明者夏秀岩 申请人:华为技术有限公司
网友询问留言 已有0条留言
  • 还没有人留言评论。精彩留言会获得点赞!
1