CN105025454A - Billing method, system and network side equipment - Google Patents
Billing method, system and network side equipment Download PDFInfo
- Publication number
- CN105025454A CN105025454A CN201410183456.6A CN201410183456A CN105025454A CN 105025454 A CN105025454 A CN 105025454A CN 201410183456 A CN201410183456 A CN 201410183456A CN 105025454 A CN105025454 A CN 105025454A
- Authority
- CN
- China
- Prior art keywords
- call request
- user
- called
- side device
- calling
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Landscapes
- Meter Arrangements (AREA)
- Telephonic Communication Services (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
Description
技术领域technical field
本发明涉及通信业务领域,尤其涉及一种计费方法、系统及网络侧设备。The present invention relates to the field of communication services, in particular to a charging method, system and network side equipment.
背景技术Background technique
在集团客户通过专线(时分复用模式(TDM)专线和IP专线)接入运营商网络的业务场景中,现行的计费原则规定,当主叫(个人用户)通过直拨特服号码呼叫集团客户,且涉及长途话务时,由被叫(集团客户)承担主叫(个人用户)的长途费,而主叫(个人用户)只需要支付本地通话费或基础漫游费。In the business scenario where group customers access the operator's network through dedicated lines (time division multiplexing mode (TDM) dedicated lines and IP dedicated lines), the current billing principle stipulates that when a caller (individual user) calls a group customer through a direct dial special service number , and when long-distance traffic is involved, the called party (group customer) bears the long-distance charges of the calling party (individual user), and the calling party (individual user) only needs to pay local call charges or basic roaming charges.
目前在现网,集团客户只能通过网关移动交换中心(GatewayMobileSwitchingCenter,GMSC)以TDM中继的方式直连电路域(CS域),作为集团客户计费点的GMSC,由其出具的被叫话单中由于无法体现主叫发话地信息,运营商计费系统无法判断该话单是否是长途话单,所以也无法收取集团客户所需要承担的长途费,从而导致运营商损失一大笔收入。现有解决方案是根据GMSC的入局中继收费,该方案要求GMSC严格区分入局中继为本地中继和长途中继,且同步中继信息到计费系统,由计费系统分拣所有长途中继的来话中被叫号码是特服号(例如95588)的话单,再向集团客户收取长途费。Currently on the live network, group customers can only directly connect to the circuit domain (CS domain) through the Gateway Mobile Switching Center (GMSC) in the form of a TDM trunk. Since the bill cannot reflect the information of the calling place, the billing system of the operator cannot judge whether the bill is a long-distance bill, so it cannot collect the long-distance charges that the group customers need to bear, resulting in a large loss of revenue for the operator. The existing solution is to charge according to the incoming trunk of the GMSC. This solution requires the GMSC to strictly distinguish the incoming trunks as local trunks and long-distance trunks, and synchronize the trunk information to the billing system, and the billing system sorts all long-distance trunks. In the subsequent incoming calls, the called number is a special service number (such as 95588), and the long-distance fee will be charged to the group customer.
然而上述方案只适用于面向集团客户通过GMSC直连CS域的业务场景,而且只针对主叫(个人用户)是CS手机的情况。随着集团客户内部通信系统的不断升级,越来越多的IP型通信系统被部署到集团客户侧,集团客户通过ISBC以会话启动协议(Session Initiation Protocol,SIP)中继的方式直连IMS域即将成为主流接入方式,其服务对象也将扩展为包括CS手机、IMS固话和IMS移动用户在内的所有用户类型,而上述计费方案应用范围较窄,并不适用。所以,如何在集团客户直连IMS的场景下,获取主叫CS用户的发话地和IMS用户的接入地信息,对集团客户实施精确计费是急需解决的问题,而目前尚未有相关技术方案满足这类需求。However, the above solution is only applicable to the business scenario where group customers are directly connected to the CS domain through the GMSC, and only for the case where the calling party (individual user) is a CS mobile phone. With the continuous upgrading of the internal communication system of group customers, more and more IP-based communication systems are deployed to the side of the group customer, and the group customer directly connects to the IMS domain through ISBC in the form of Session Initiation Protocol (SIP) relay It will soon become the mainstream access method, and its service objects will also be extended to all types of users, including CS mobile phone, IMS fixed-line and IMS mobile users. However, the application range of the above-mentioned billing scheme is narrow and not applicable. Therefore, in the scenario where group customers are directly connected to IMS, how to obtain the calling location of the calling CS user and the access location of the IMS user, and implement accurate billing for group customers is an urgent problem to be solved, and there is no relevant technical solution at present meet such needs.
发明内容Contents of the invention
有鉴于此,为解决现有存在的技术问题,本发明实施例提供:In view of this, in order to solve the existing technical problems, the embodiments of the present invention provide:
一种计费方法,包括:A billing method comprising:
第一网络侧设备接收第一呼叫请求,根据所述第一呼叫请求确定主叫用户类型,所述第一呼叫请求至少携带主叫号码和被叫号码;The first network side device receives a first call request, and determines the calling user type according to the first call request, and the first call request carries at least a calling number and a called number;
当主叫用户为电路域CS用户时,根据被叫号码是否携带第一标示符确定是否对被叫用户进行长途计费;当主叫用户为IP多媒体子系统IMS用户时,根据主叫用户接入地是否与所述第一网络侧设备所在地不一致确定是否对被叫用户进行长途计费。When the calling user is a circuit domain CS user, determine whether to perform toll charging for the called user according to whether the called number carries the first identifier; when the calling user is an IP Multimedia Subsystem IMS user, It is determined whether to perform long-distance charging for the called user according to whether the locality is inconsistent with the location of the first network side device.
较佳的,所述第一网络侧设备为互通型边界控制器ISBC,所述第一网络侧设备接收第一呼叫请求,包括:Preferably, the first network-side device is an interworking border controller ISBC, and the first network-side device receives the first call request, including:
ISBC接收来自媒体网关控制功能MGCF的第一呼叫请求,所述第一呼叫请求不携带主叫用户接入地信息,或者,The ISBC receives the first call request from the media gateway control function MGCF, and the first call request does not carry the calling user access location information, or,
ISBC接收来自查询呼叫会话控制功能I-CSCF或服务呼叫会话控制功能S-CSCF的第一呼叫请求,所述第一呼叫请求携带主叫用户接入地信息。The ISBC receives a first call request from an I-CSCF or an S-CSCF, where the first call request carries information about the calling user's access location.
较佳的,所述根据第一呼叫请求确定主叫用户类型,包括:Preferably, the determining the calling user type according to the first call request includes:
判断第一呼叫请求是否携带主叫用户接入地信息,如果是,确定主叫用户为IMS用户;否则,确定主叫用户为CS用户。Judging whether the first call request carries the information of the calling user's access location, if yes, determining that the calling user is an IMS user; otherwise, determining that the calling user is a CS user.
较佳的,所述判断第一呼叫请求是否携带主叫用户接入地信息,包括:Preferably, the judging whether the first call request carries information about the calling user's access location includes:
判断所述第一呼叫请求的PANI头域取值是否非空,如果所述PANI头域取值非空,则所述第一呼叫请求携带主叫用户接入地信息;否则,所述第一呼叫请求未携带主叫用户接入地信息。Judging whether the value of the PANI header field of the first call request is not empty, if the value of the PANI header field is not empty, the first call request carries the information of the calling user's access location; otherwise, the first The call request does not carry the access location information of the calling user.
较佳的,所述ISBC接收来自媒体网关控制功能MGCF的第一呼叫请求之前,该方法还包括:Preferably, before the ISBC receives the first call request from the media gateway control function MGCF, the method further includes:
MGCF接收来自本地中继或长途中继的第二呼叫请求,所述第二呼叫请求携带主叫号码和被叫号码;The MGCF receives a second call request from a local trunk or a toll trunk, where the second call request carries a calling number and a called number;
当所述第二呼叫请求来自长途中继,且被叫号码不包含被叫用户所在地区号时,在被叫号码前添加被叫用户所在地区号,生成第一呼叫请求;当所述第二呼叫请求来自本地中继,或者,所述第二呼叫请求来自长途中继,且被叫号码包含被叫用户所在地区号时,将被叫号码统一为不包含被叫用户所在地区号的特服号码,生成第一呼叫请求;When the second call request comes from a long-distance relay, and the called number does not include the area code of the called user, add the area code of the called user before the called number to generate the first call request; when the second call request When the second call request comes from a local relay, or the second call request comes from a long-distance relay, and the called number includes the area code of the called user, the called number is unified into a special service number that does not include the area code of the called user, and the second call request is generated. a call request;
将所述第一呼叫请求发送至ISBC。Sending the first call request to ISBC.
较佳的,该方法还包括:确定对被叫用户进行长途计费时,将话单中的第二标示符取值设置为真;确定不对被叫用户进行长途计费时,将话单中的第二标示符取值设置为假;Preferably, the method further includes: when it is determined that long-distance charging is performed on the called user, setting the value of the second identifier in the bill to true; The value of the second identifier of is set to false;
根据话单中的第二标示符进行长途计费。Carry out long-distance charging according to the second identifier in the bill.
一种网络侧设备,包括:接收模块、第一确定模块、第二确定模块、第三确定模块和计费模块;其中,A network side device, comprising: a receiving module, a first determining module, a second determining module, a third determining module and a billing module; wherein,
所述接收模块,用于接收第一呼叫请求,所述第一呼叫请求至少携带主叫号码和被叫号码;The receiving module is configured to receive a first call request, and the first call request carries at least a calling number and a called number;
所述第一确定模块,用于根据所述第一呼叫请求确定主叫用户类型;The first determining module is configured to determine the calling user type according to the first call request;
所述第二确定模块,用于当第一确定模块确定主叫用户为CS用户时,根据被叫号码是否携带第一标示符确定是否对被叫用户进行长途计费;The second determining module is configured to determine whether to perform long-distance charging for the called user according to whether the called number carries the first identifier when the first determining module determines that the calling user is a CS user;
所述第三确定模块,用于当第一确定模块确定主叫用户为IMS用户时,根据主叫用户接入地是否与所述网络侧设备所在地不一致确定是否对被叫用户进行长途计费;The third determination module is configured to determine whether to perform long-distance charging for the called user according to whether the access location of the calling user is inconsistent with the location of the network side device when the first determination module determines that the calling user is an IMS user;
所述计费模块,用于根据第二确定模块或第三确定模块的确定结果进行计费。The billing module is configured to perform billing according to the determination result of the second determination module or the third determination module.
较佳的,所述网络侧设备为ISBC。Preferably, the network side device is an ISBC.
较佳的,所述第一确定模块,具体用于判断第一呼叫请求是否携带主叫用户接入地信息,如果是,确定主叫用户为IMS用户;否则,确定主叫用户为CS用户。Preferably, the first determination module is specifically configured to determine whether the first call request carries the information of the calling user's access location, and if so, determine that the calling user is an IMS user; otherwise, determine that the calling user is a CS user.
较佳的,所述第一确定模块,具体用于判断所述第一呼叫请求的PANI头域取值是否非空,如果所述PANI头域取值非空,则所述第一呼叫请求携带主叫用户接入地信息;否则,所述第一呼叫请求未携带主叫用户接入地信息。Preferably, the first determination module is specifically configured to determine whether the value of the PANI header field of the first call request is not empty, and if the value of the PANI header field is not empty, the first call request carries Information about the access location of the calling user; otherwise, the first call request does not carry the information about the access location of the calling user.
较佳的,该网络侧设备还包括话单存储模块,Preferably, the network side device also includes a bill storage module,
所述话单存储模块,用于存储话单;The bill storage module is used to store bills;
所述第二确定模块或第三确定模块,用于在确定对被叫用户进行长途计费时,通知话单存储模块将相应话单中的第二标示符取值设置为真;否则,话单中的第二标示符取值设置为假;The second determination module or the third determination module is used to notify the bill storage module to set the value of the second identifier in the corresponding bill to true when determining toll charging for the called user; otherwise, the The value of the second identifier in the list is set to false;
所述计费模块,具体用于根据所述话单中的第二标示符进行长途计费。The charging module is specifically configured to perform long-distance charging according to the second identifier in the bill.
一种网络侧设备,包括:接收模块、转换模块和发送模块;其中,A network side device, including: a receiving module, a conversion module and a sending module; wherein,
所述接收模块,用于接收第二呼叫请求,所述第二呼叫请求携带主叫号码和被叫号码;The receiving module is configured to receive a second call request, and the second call request carries a calling number and a called number;
所述转换模块,用于当所述第二呼叫请求来自长途中继,且被叫号码不包含被叫用户所在地区号时,在被叫号码前添加被叫用户所在地区号,生成第一呼叫请求;当所述第二呼叫请求来自本地中继,或者,所述第二呼叫请求来自长途中继,且被叫号码包含被叫用户所在地区号时,将被叫号码统一为不包含被叫用户所在地区号的特服号码,生成第一呼叫请求;The conversion module is used to add the area code of the called user before the called number to generate the first call request when the second call request comes from a long-distance relay and the called number does not include the area code of the called user; When the second call request comes from a local trunk, or the second call request comes from a toll trunk, and the called number includes the area code of the called user, unify the called number to not include the area code of the called user the special service number to generate the first call request;
所述发送模块,用于发送所述第一呼叫请求。The sending module is configured to send the first call request.
较佳的,该网络侧设备为MGCF,Preferably, the network side device is an MGCF,
所述接收模块,具体用于接收来自本地中继或长途中继的第二呼叫请求;The receiving module is specifically configured to receive a second call request from a local relay or a long-distance relay;
所述发送模块,具体用于将所述第一呼叫请求发送至ISBC。The sending module is specifically configured to send the first call request to ISBC.
一种计费系统,包括上述的网络侧设备。A billing system includes the above-mentioned network side equipment.
本发明实施例所述的计费方法、系统及网络侧设备,第一网络侧设备接收第一呼叫请求,根据所述第一呼叫请求确定主叫用户类型,所述第一呼叫请求至少携带主叫号码和被叫号码;当主叫用户为电路域CS用户时,根据被叫号码是否携带第一标示符确定是否对被叫用户进行长途计费;当主叫用户为IP多媒体子系统IMS用户时,根据主叫用户接入地是否与所述第一网络侧设备所在地不一致确定是否对被叫用户进行长途计费。本发明实施例所述的计费方案适用于集团客户通过ISBC以SIP中继方式直连IMS域的场景,且面向各类用户服务,计费准确且应用范围较广。In the charging method, system, and network-side equipment described in the embodiments of the present invention, the first network-side equipment receives the first call request, determines the type of the calling user according to the first call request, and the first call request at least carries the Calling number and called number; when the calling user is a circuit domain CS user, determine whether to perform long-distance charging for the called user according to whether the called number carries the first identifier; when the calling user is an IP Multimedia Subsystem IMS user At this time, it is determined whether to perform long-distance charging for the called user according to whether the access location of the calling user is inconsistent with the location of the first network-side device. The billing scheme described in the embodiment of the present invention is applicable to the scenario where group customers directly connect to the IMS domain through ISBC through SIP relay, and is oriented to various user services, with accurate billing and a wide application range.
附图说明Description of drawings
图1为本发明实施例一种计费方法流程示意图;FIG. 1 is a schematic flow chart of a billing method according to an embodiment of the present invention;
图2为本发明实施例一种网络侧设备结构示意图;FIG. 2 is a schematic structural diagram of a network side device according to an embodiment of the present invention;
图3为本发明实施例再一种网络侧设备结构示意图;FIG. 3 is a schematic structural diagram of yet another network-side device according to an embodiment of the present invention;
图4为本发明实施例再一种网络侧设备结构示意图;FIG. 4 is a schematic structural diagram of yet another network-side device according to an embodiment of the present invention;
图5为本发明实施例1中集团客户通过ISBC直连IMS域,CS手机用户做主叫的呼叫路由图;Fig. 5 is the calling routing figure that the group client directly connects to the IMS domain through the ISBC in Embodiment 1 of the present invention, and the CS mobile phone user is the calling party;
图6为本发明实施例2中集团客户通过ISBC直连IMS域,IMS手机和固话用户做主叫的呼叫路由图;Fig. 6 is the call routing diagram of the group customer directly connected to the IMS domain through the ISBC in Embodiment 2 of the present invention, and the IMS mobile phone and the fixed-line user as the calling party;
图7为本发明实施例3所述的计费方法流程示意图。Fig. 7 is a schematic flow chart of the billing method according to Embodiment 3 of the present invention.
具体实施方式Detailed ways
集团客户以TDM中继接入运营商网络、且做被叫时的计费原则如表1所示:Table 1 shows the billing principles when a group customer accesses the operator's network through a TDM trunk and acts as a called party:
表1Table 1
如表1所示,当主叫(个人用户)以直拨特服号码(95588)的方式呼叫集团客户时,如果涉及长途话务,则由被叫(集团客户)承担主叫的长途费,主叫(个人用户)只需要支付本地通话费或基础漫游费。As shown in Table 1, when the calling party (individual user) calls the group customer by direct dialing the special service number (95588), if long-distance traffic is involved, the called party (group customer) shall bear the long-distance charges of the calling party, and the calling party Calls (individual users) only need to pay local call charges or basic roaming charges.
本发明实施例所述的计费方案中,集团客户以SIP中继方式直连IMS之后的计费原则也将遵循以上原则。In the billing scheme described in the embodiment of the present invention, the billing principles after the group customers directly connect to the IMS through SIP trunking will also follow the above principles.
本发明实施例提出了一种计费方法,如图1所示,该方法包括:The embodiment of the present invention proposes a charging method, as shown in Figure 1, the method includes:
步骤101:第一网络侧设备接收第一呼叫请求,根据所述第一呼叫请求确定主叫用户类型,所述第一呼叫请求至少携带主叫号码和被叫号码;Step 101: The first network side device receives a first call request, determines the calling user type according to the first call request, and the first call request carries at least a calling number and a called number;
步骤102:当主叫用户为电路域CS用户时,根据被叫号码是否携带第一标示符确定是否对被叫用户进行长途计费;当主叫用户为IP多媒体子系统IMS用户时,根据主叫用户接入地是否与所述第一网络侧设备所在地不一致确定是否对被叫用户进行长途计费。Step 102: When the calling user is a circuit domain CS user, determine whether to perform toll charging for the called user according to whether the called number carries the first identifier; Whether the calling user's access location is inconsistent with the location of the first network-side device determines whether to perform long-distance charging for the called user.
可选的,第一标示符具体可以为区号。Optionally, the first identifier may specifically be an area code.
可选的,所述第一网络侧设备为互通型边界控制器ISBC,步骤101所述第一网络侧设备接收第一呼叫请求,包括:Optionally, the first network-side device is an interworking border controller ISBC, and step 101, where the first network-side device receives the first call request, includes:
ISBC接收来自媒体网关控制功能MGCF的第一呼叫请求,所述第一呼叫请求不携带主叫用户接入地信息,或者,The ISBC receives the first call request from the media gateway control function MGCF, and the first call request does not carry the calling user access location information, or,
ISBC接收来自查询呼叫会话控制功能I-CSCF或服务呼叫会话控制功能S-CSCF的第一呼叫请求,所述第一呼叫请求携带主叫用户接入地信息。The ISBC receives a first call request from an I-CSCF or an S-CSCF, where the first call request carries information about the calling user's access location.
可选的,步骤101所述根据第一呼叫请求确定主叫用户类型,包括:Optionally, determining the calling user type according to the first call request in step 101 includes:
判断第一呼叫请求是否携带主叫用户接入地信息,如果是,确定主叫用户为IMS用户;否则,确定主叫用户为CS用户。Judging whether the first call request carries the information of the calling user's access location, if yes, determining that the calling user is an IMS user; otherwise, determining that the calling user is a CS user.
可选的,所述判断第一呼叫请求是否携带主叫用户接入地信息,包括:Optionally, the judging whether the first call request carries the calling user access location information includes:
判断所述第一呼叫请求的PANI头域取值是否非空,如果所述PANI头域取值非空,则所述第一呼叫请求携带主叫用户接入地信息;否则,所述第一呼叫请求未携带主叫用户接入地信息。Judging whether the value of the PANI header field of the first call request is not empty, if the value of the PANI header field is not empty, the first call request carries the information of the calling user's access location; otherwise, the first The call request does not carry the access location information of the calling user.
可选的,所述ISBC接收来自媒体网关控制功能MGCF的第一呼叫请求之前,该方法还包括:Optionally, before the ISBC receives the first call request from the media gateway control function MGCF, the method further includes:
MGCF接收来自本地中继或长途中继的第二呼叫请求,所述第二呼叫请求携带主叫号码和被叫号码;The MGCF receives a second call request from a local trunk or a toll trunk, where the second call request carries a calling number and a called number;
当所述第二呼叫请求来自长途中继,且被叫号码不包含被叫用户所在地区号时,在被叫号码前添加被叫用户所在地区号,生成第一呼叫请求;当所述第二呼叫请求来自本地中继,或者,所述第二呼叫请求来自长途中继,且被叫号码包含被叫用户所在地区号时,将被叫号码统一为不包含被叫用户所在地区号的特服号码,生成第一呼叫请求;When the second call request comes from a long-distance relay, and the called number does not include the area code of the called user, add the area code of the called user before the called number to generate the first call request; when the second call request When the second call request comes from a local relay, or the second call request comes from a long-distance relay, and the called number includes the area code of the called user, the called number is unified into a special service number that does not include the area code of the called user, and the second call request is generated. a call request;
将所述第一呼叫请求发送至ISBC。Sending the first call request to ISBC.
可选的,该方法还包括:确定对被叫用户进行长途计费时,将话单中的第二标示符取值设置为真;确定不对被叫用户进行长途计费时,将话单中的第二标示符取值设置为假;Optionally, the method further includes: when it is determined that long-distance charging is performed on the called user, setting the value of the second identifier in the bill to true; The value of the second identifier of is set to false;
根据话单中的第二标示符进行长途计费。Carry out long-distance charging according to the second identifier in the bill.
本发明实施例还相应地提出了一种网络侧设备,如图2所示,该网络侧设备包括:接收模块21、第一确定模块22、第二确定模块23、第三确定模块24和计费模块25;其中,The embodiment of the present invention also correspondingly proposes a network side device. As shown in FIG. fee module 25; where,
接收模块21,用于接收第一呼叫请求,所述第一呼叫请求至少携带主叫号码和被叫号码;A receiving module 21, configured to receive a first call request, the first call request carrying at least a calling number and a called number;
第一确定模块22,用于根据所述第一呼叫请求确定主叫用户类型;The first determining module 22 is configured to determine the calling user type according to the first call request;
第二确定模块23,用于当第一确定模块22确定主叫用户为CS用户时,根据被叫号码是否携带第一标示符确定是否对被叫用户进行长途计费;The second determining module 23 is used to determine whether to carry out long-distance charging to the called user according to whether the called number carries the first identifier when the first determining module 22 determines that the calling user is a CS user;
第三确定模块24,用于当第一确定模块22确定主叫用户为IMS用户时,根据主叫用户接入地是否与所述网络侧设备所在地不一致确定是否对被叫用户进行长途计费;The third determining module 24 is used to determine whether to perform toll charging for the called user according to whether the calling user's access location is inconsistent with the location of the network side device when the first determining module 22 determines that the calling user is an IMS user;
计费模块25,用于根据第二确定模块23或第三确定模块24的确定结果进行计费。The billing module 25 is configured to perform billing according to the determination result of the second determination module 23 or the third determination module 24 .
可选的,所述网络侧设备为ISBC。Optionally, the network side device is an ISBC.
可选的,第一确定模块22,具体用于判断第一呼叫请求是否携带主叫用户接入地信息,如果是,确定主叫用户为IMS用户;否则,确定主叫用户为CS用户。Optionally, the first determination module 22 is specifically configured to determine whether the first call request carries the information of the calling user's access location, and if so, determine that the calling user is an IMS user; otherwise, determine that the calling user is a CS user.
可选的,第一确定模块22,具体用于判断所述第一呼叫请求的PANI头域取值是否非空,如果所述PANI头域取值非空,则所述第一呼叫请求携带主叫用户接入地信息;否则,所述第一呼叫请求未携带主叫用户接入地信息。Optionally, the first determination module 22 is specifically configured to determine whether the value of the PANI header field of the first call request is not empty, and if the value of the PANI header field is not empty, the first call request carries the main The calling user access information; otherwise, the first call request does not carry the calling user access information.
可选的,如图3所示,该网络侧设备还包括话单存储模块26,Optionally, as shown in FIG. 3, the network side device also includes a bill storage module 26,
话单存储模块26,用于存储话单;Bill storage module 26, used for storing bills;
第二确定模块23或第三确定模块24,用于在确定对被叫用户进行长途计费时,通知话单存储模块26将相应话单中的第二标示符取值设置为真;否则,话单中的第二标示符取值设置为假;The second determination module 23 or the third determination module 24 are used to notify the bill storage module 26 to set the value of the second identifier in the corresponding bill to true when determining that the called user is charged for long distance; otherwise, The value of the second identifier in the bill is set to false;
计费模块25,具体用于根据所述话单中的第二标示符进行长途计费。The charging module 25 is specifically configured to perform long-distance charging according to the second identifier in the bill.
本发明实施例还相应地提出了一种网络侧设备,如图4所示,该网络侧设备包括:接收模块41、转换模块42和发送模块43;其中,The embodiment of the present invention also correspondingly proposes a network side device, as shown in FIG. 4 , the network side device includes: a receiving module 41, a converting module 42, and a sending module 43; wherein,
接收模块41,用于接收第二呼叫请求,所述第二呼叫请求携带主叫号码和被叫号码;A receiving module 41, configured to receive a second call request, the second call request carrying a calling number and a called number;
转换模块42,用于当所述第二呼叫请求来自长途中继,且被叫号码不包含被叫用户所在地区号时,在被叫号码前添加被叫用户所在地区号,生成第一呼叫请求;当所述第二呼叫请求来自本地中继,或者,所述第二呼叫请求来自长途中继,且被叫号码包含被叫用户所在地区号时,将被叫号码统一为不包含被叫用户所在地区号的特服号码,生成第一呼叫请求;The conversion module 42 is used to add the area code of the called user before the called number to generate the first call request when the second call request comes from a long-distance relay and the called number does not include the area code of the called user. If the second call request comes from a local relay, or if the second call request comes from a long-distance relay, and the called number includes the area code where the called user is located, unify the called number to one that does not include the area code where the called user resides. Special service number, generate the first call request;
发送模块43,用于发送所述第一呼叫请求。A sending module 43, configured to send the first call request.
可选的,该网络侧设备为MGCF,Optionally, the network side device is an MGCF,
接收模块41,具体用于接收来自本地中继或长途中继的第二呼叫请求;The receiving module 41 is specifically configured to receive a second call request from a local relay or a long-distance relay;
发送模块43,具体用于将所述第一呼叫请求发送至ISBC。The sending module 43 is specifically configured to send the first call request to ISBC.
本发明实施例还相应地提出了一种计费系统,该计费系统包括图2或图3所示的网络侧设备、以及图4所示的网络侧设备。The embodiment of the present invention also correspondingly proposes a billing system, which includes the network-side device shown in FIG. 2 or 3 and the network-side device shown in FIG. 4 .
下面通过具体实施例对本发明的技术方案作进一步详细说明。The technical solution of the present invention will be further described in detail through specific examples below.
需要说明的是,本发明下述实施例中,是否向集团客户收取长途费的关键在于判断主叫CS手机发话地(即漫游地)和IMS用户接入地信息,并对比集团客户所在地信息,以此判断该通话是否占用了长途网络资源。将该信息传递给集团客户的计费点,可以此为依据向集团客户收取长途费。集团客户通过ISBC直连IMS域时,集团客户的计费点为ISBC,且由ISBC出具被叫话单。It should be noted that, in the following embodiments of the present invention, the key to whether to charge the group customer the long-distance fee is to judge the information of the caller CS mobile phone's place of speech (i.e. roaming) and the IMS user's access location, and compare the group customer's location information, In this way, it is judged whether the call occupies long-distance network resources. Pass this information to the billing point of the group customer, and use this as a basis to charge the long-distance fee to the group customer. When a group customer directly connects to the IMS domain through ISBC, the billing point of the group customer is ISBC, and ISBC issues the called bill.
实施例1Example 1
本实施例中,集团客户通过ISBC直连IMS域,CS手机用户做主叫,集团客户做被叫。In this embodiment, the group customer is directly connected to the IMS domain through the ISBC, the CS mobile phone user is the calling party, and the group customer is the called party.
图5为本发明实施例1中集团客户通过ISBC直连IMS域,CS手机用户做主叫的呼叫路由图,如图5所示,集团客户通过ISBC直连IMS域,CS手机用户分别从集团客户所在地和非集团客户所在地呼叫集团客户,拨号方式可以是直拨特服号码(95588)或在特服号码前加拨集团客户所在地区号(01095588)。Fig. 5 is the group client directly connected IMS domain by ISBC in the embodiment 1 of the present invention, and the call routing diagram of the CS mobile phone user as the calling party, as shown in Fig. To call a group customer from the location and non-group customer's location, the dialing method can be to directly dial the special service number (95588) or dial the group customer's area code (01095588) before the special service number.
该场景下,为了向集团客户收取长途话费,ISBC需要知晓是长途来话还是本地来话。由于CS手机的发话地(漫游地)信息无法通过MGCF从CS网络传递到IMS网络,也无法传递给集团客户的计费点ISBC,所以本实施例通过对MGCF定义特殊的被叫号码规整原则来实现本地和长途来话的区分,解决方案如下:In this scenario, in order to collect long-distance call charges from group customers, ISBC needs to know whether it is a long-distance call or a local call. Since the calling location (roaming location) information of the CS mobile phone cannot be transmitted from the CS network to the IMS network through the MGCF, and cannot be transmitted to the billing point ISBC of the group customer, this embodiment defines a special called number regulation principle for the MGCF. To realize the distinction between local and long-distance incoming calls, the solution is as follows:
1)MGCF区分本地和长途中继。1) The MGCF distinguishes between local and long distance relays.
2)MGCF对来话做号码规整,具体的:2) MGCF performs number regulation on incoming calls, specifically:
本地中继来话,且被叫号码为特服号(如95588),被叫号码不做规整(仍旧为95588);Local trunk calls, and the called number is a special service number (such as 95588), and the called number is not regularized (still 95588);
本地中继来话,且被叫号码为集团客户所在地区号+特服号码(01095588),将被叫号码规整为特服号(95588);Incoming calls from the local trunk, and the called number is the area code of the group customer + the special service number (01095588), and the called number is adjusted to the special service number (95588);
长途中继来话,且被叫号码为特服号(95588),在被叫号码前添加区号(规整为01095588);For long-distance relay incoming calls, and the called number is a special service number (95588), add the area code (regularly 01095588) before the called number;
长途中继来话,且被叫号码为集团客户所在地区号+特服号码(01095588),将区号删除(规整为95588)。For long-distance relay incoming calls, and the called number is the area code of the group customer + special service number (01095588), delete the area code (regularized to 95588).
本实施例中,第一标示符即区号。In this embodiment, the first identifier is the area code.
3)ISBC根据来自MGCF的呼叫请求生成话单,通过识别自身话单中的Access-Network-Info字段判断主叫(个人用户)类型:若该字段为空,则主叫为CS手机,若该字段非空,则主叫为IMS用户。3) ISBC generates a bill according to the call request from MGCF, and judges the caller (individual user) type by identifying the Access-Network-Info field in its own bill: if this field is empty, the caller is a CS mobile phone; If the field is not empty, the caller is an IMS user.
4)ISBC再判断被叫号码类型,若被叫号码为特服号(95588),则标示符取值为真(Callflag设为1);若被叫号码前带区号(01095588),则标示符取值为假(Callflag设为0);4) ISBC judges the type of the called number again. If the called number is a special service number (95588), the value of the identifier is true (Callflag is set to 1); if the called number is preceded by an area code (01095588), the identifier The value is false (Callflag is set to 0);
本实施例中,ISBC话单中新增标示符Callflag(即第二标示符),用于标识该话单是否需要收取长途费,该标示符取值为真时表明需要收取长途费(Callflag=1),取值为假时表明不需要收取长途费(Callflag=0)。In this embodiment, the newly added identifier Callflag (i.e. the second identifier) in the ISBC call list is used to identify whether the bill needs to collect long-distance charges, and when the value of the identifier is true, it shows that long-distance charges need to be collected (Callflag= 1), when the value is false, it indicates that long-distance charges do not need to be charged (Callflag=0).
5)运营商计费系统在Callflag=1的场景下对集团客户收取长途费5) The operator's billing system charges group customers long-distance charges in the scenario of Callflag=1
实施例2Example 2
本实施例中,集团客户通过ISBC直连IMS域,IMS手机和固话用户做主叫,集团客户做被叫。In this embodiment, the group customer is directly connected to the IMS domain through the ISBC, the IMS mobile phone and the fixed line user are the calling party, and the group customer is the called party.
图6为本发明实施例2中集团客户通过ISBC直连IMS域,IMS手机和固话用户做主叫的呼叫路由图,如图6所示,集团客户通过IMS直连IMS域,集团客户所在省或他省的IMS用户(包括IMS手机和固话)分别呼叫集团客户,拨号方式可以是直拨特服号码(95588)或在特服号码前加拨集团客户所在地区号(01095588)。Fig. 6 is the call routing diagram of the group customer directly connecting the IMS domain through ISBC in the embodiment 2 of the present invention, and the IMS mobile phone and the fixed-line user make the caller, as shown in Fig. Or IMS users in other provinces (including IMS mobile phones and fixed lines) call group customers respectively, and the dialing method can be to directly dial the special service number (95588) or dial the area code of the group customer (01095588) before the special service number.
该场景下,为了向集团客户收取长途话费,需要将IMS用户的接入地信息转递给集团客户的计费点ISBC,然后从使用网络资源的角度收取相应费用。解决方案如下:In this scenario, in order to collect long-distance call charges from group customers, it is necessary to transfer the access location information of IMS users to the group customer's billing point ISBC, and then charge corresponding fees from the perspective of using network resources. The solution is as follows:
1)ISBC根据来自I-CSCF或S-CSCF的呼叫请求生成话单,ISBC话单中的Access-Network-Info字段来自PANI头域,用于标识IMS用户接入地信息,格式为SBC1.010.SBC.chinamobile.com(CS用户拨打时,该字段为空)1) ISBC generates a bill according to the call request from I-CSCF or S-CSCF. The Access-Network-Info field in the ISBC bill comes from the PANI header field and is used to identify the information of the IMS user's access location. The format is SBC1.010 .SBC.chinamobile.com (this field is empty when a CS user dials)
2)当Access-Network-Info字段非空时(表明主叫为IMS用户):2) When the Access-Network-Info field is not empty (indicating that the calling party is an IMS user):
ISBC对比自己的位置信息和Access-Network-Info字段,如果不同,表明则主叫(IMS用户)漫游到非集团客户所在地,则呼叫将占用长途网络资源,如果被叫号码是特服号(95588),则标示符取值为真(CallFlag=1);ISBC compares its own location information with the Access-Network-Info field. If they are different, it means that the caller (IMS user) roams to a non-corporate customer location, and the call will occupy long-distance network resources. If the called number is a special service number (95588 ), then the value of the identifier is true (CallFlag=1);
如果不同,则主叫(IMS用户)漫游到非集团客户所在地,则呼叫将占用长途网络资源,但如果被叫号码前带区号(01095588),则不需要收取长途费,标示符取值为假(Callflag设为0)If it is different, the caller (IMS user) roams to a non-group customer location, and the call will occupy long-distance network resources, but if the called number is preceded by an area code (01095588), there is no need to charge long-distance charges, and the value of the identifier is false (Callflag is set to 0)
如果相同,则用户漫游到集团客户所在地,呼叫将不会占用长途网络资源,不论被叫号码是否带区号,都不需要收取长途费,则标示符取值为假(Callflag设为0)。If they are the same, the user roams to the location of the group customer, and the call will not occupy long-distance network resources. No matter whether the called number has an area code or not, long-distance charges do not need to be charged, and the value of the identifier is false (Callflag is set to 0).
需要说明的是,本实施例中,ISBC话单中新增标示符Callflag(对应第二标示符),用于标识该话单是否需要收取长途费,该标示符取值为真时表明需要收取长途费(Callflag=1),取值为假时表明不需要收取长途费(Callflag=0)。It should be noted that, in this embodiment, a new identifier Callflag (corresponding to the second identifier) is added in the ISBC bill, which is used to identify whether the bill needs to collect long-distance charges. When the value of the identifier is true, it indicates that it needs to collect Long-distance fee (Callflag=1), when the value is false, it indicates that long-distance fee (Callflag=0) is not required.
3)运营商计费系统在Callflag=1的场景下对集团客户收取长途费。3) The operator's billing system charges the group customer the long-distance fee in the scenario of Callflag=1.
实施例3Example 3
本实施例描述集团客户通过ISBC以SIP中继接入IMS域的场景下,对集团客户做被叫时的计费方法,图7为本发明实施例3所述的计费方法流程示意图,如图7所示,该流程包括:This embodiment describes the billing method when a group customer accesses the IMS domain through an ISBC with a SIP trunk, and when the group customer is called, FIG. 7 is a schematic flow chart of the billing method described in Embodiment 3 of the present invention, as As shown in Figure 7, the process includes:
步骤701:ISBC根据IMS用户接入信息判断主叫来源,即判断IMS用户接入信息是否为空,如果是,表示主叫为CS手机,转到步骤702;如果IMS用户接入信息非空,表示主叫为IMS用户,转到步骤705。Step 701: ISBC judges the source of the caller according to the IMS user access information, that is, judges whether the IMS user access information is empty, if yes, it means that the caller is a CS mobile phone, and proceeds to step 702; if the IMS user access information is not empty, Indicates that the calling party is an IMS user, go to step 705.
步骤702:判断被叫号码前是否有区号,且被叫号码是否为特服号,如果被叫号码前有区号且被叫号码为特服号,执行步骤703;否则,执行步骤704。Step 702: Determine whether there is an area code before the called number and whether the called number is a special service number, if there is an area code before the called number and the called number is a special service number, go to step 703; otherwise, go to step 704.
步骤703:确定向被叫集团客户收取长途费。Step 703: Determine to charge the long-distance fee to the called group customer.
步骤704:确定不向被叫集团客户收取长途费。Step 704: Determine that no long-distance fee will be charged to the called group customer.
步骤705:判断IMS用户接入地信息是否与ISBC位置信息不同,且被叫号码是否为特服号,如果IMS用户接入地信息与ISBC位置信息不同,且被叫号码为特服号,执行步骤706;否则,执行步骤707。Step 705: Determine whether the IMS user access location information is different from the ISBC location information, and whether the called number is a special service number, if the IMS user access location information is different from the ISBC location information, and the called number is a special service number, execute Step 706; otherwise, go to step 707.
步骤706:确定向被叫集团客户收取长途费。Step 706: Determine to charge the long-distance fee to the called group customer.
步骤707:确定不向被叫集团客户收取长途费。Step 707: Determine that no long-distance fee will be charged to the called group customer.
本实施例中,ISBC话单中新增标示符,用于标识该话单是否向被叫集团客户收取长途费,可选的,取值为真表示向被叫集团客户收取长途费,取值为假时表示不向被叫集团客户收取长途费。In this embodiment, a new identifier is added in the ISBC call list, which is used to identify whether the call list charges long-distance charges to the called group customer. When it is false, it means that the long-distance fee will not be charged to the called group customer.
需要说明的是,对于主叫为IMS用户的场景,ISBC从MGCF获取呼叫信息,MGCF在从中继接收呼叫请求后,需要进行以下处理:It should be noted that, for the scenario where the calling party is an IMS user, the ISBC obtains the call information from the MGCF, and the MGCF needs to perform the following processing after receiving the call request from the trunk:
区分本地中继和长途中继;Distinguish between local trunks and toll trunks;
对来话被叫号码进行规整,当长途中继来话,且被叫号码为不带区号的特服号码时,在被叫号码前加区号,其他情况均将被叫号码规整为不带区号的特服号码。Regularize the called number of the incoming call. When the long-distance relay incoming call and the called number is a special service number without an area code, the area code is added before the called number. In other cases, the called number is adjusted to be without an area code special service number.
总言之,本发明上述实施例中,集团客户通过ISBC以SIP中继直连IMS域的场景下,不论主叫(个人用户)来自于CS域或IMS域,一旦涉及长途话务,均以统一原则按网络资源使用情况向集团客户计费的方法和流程;并且,获知主叫是手机用户之后,通过对MGCF定义特殊的号码规整原则区分长途和本地话务;在获知主叫是IMS手机或固话用户之后,ISBC通过根据对比本身位置信息和IMS用户接入地信息判断是否向集团客户收取长途费的判断逻辑。In a word, in the above-mentioned embodiment of the present invention, in the scenario where the group customer is directly connected to the IMS domain through the ISBC through the SIP trunk, no matter the caller (individual user) is from the CS domain or the IMS domain, once the long-distance traffic is involved, the The unified principle is the method and process of billing group customers according to the usage of network resources; and, after knowing that the calling party is a mobile phone user, define a special number regulation principle for MGCF to distinguish between long-distance and local traffic; after knowing that the calling party is an IMS mobile phone Or fixed-line users, ISBC judges whether to charge long-distance charges to group customers based on the comparison of its own location information and IMS user access information.
相比于相关技术,本发明实施例适用于集团客户通过ISBC直连IMS域的场景,并且,可以为所有用户(CS手机、IMS手机和固化)实行统一的计费原则,与现行计费原则保持一致,且做到按网络资源使用率实施精确计费。Compared with related technologies, the embodiment of the present invention is applicable to the scenario where group customers directly connect to the IMS domain through ISBC, and can implement a unified charging principle for all users (CS mobile phone, IMS mobile phone and solidification), which is different from the current charging principle Be consistent and implement accurate billing based on network resource usage.
以上所述,仅为本发明的较佳实施例而已,并非用于限定本发明的保护范围。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 (14)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410183456.6A CN105025454B (en) | 2014-04-30 | 2014-04-30 | A kind of charging method, system and network side equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410183456.6A CN105025454B (en) | 2014-04-30 | 2014-04-30 | A kind of charging method, system and network side equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105025454A true CN105025454A (en) | 2015-11-04 |
CN105025454B CN105025454B (en) | 2019-06-25 |
Family
ID=54415085
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410183456.6A Active CN105025454B (en) | 2014-04-30 | 2014-04-30 | A kind of charging method, system and network side equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105025454B (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109257691A (en) * | 2017-07-12 | 2019-01-22 | 中国移动通信集团公司 | A kind of judgment method and device of calling and called terminal location relationship |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101110998A (en) * | 2007-08-22 | 2008-01-23 | 中兴通讯股份有限公司 | Method for intercommunication routing between multimedia subsystem field and circuit field |
CN101662482A (en) * | 2009-09-29 | 2010-03-03 | 华为技术有限公司 | Method, equipment and system for circuit domain user to call IMS domain user |
WO2012041138A1 (en) * | 2010-09-27 | 2012-04-05 | 中兴通讯股份有限公司 | Method and system for final call accessing via visited ims access point |
CN103067414A (en) * | 2013-01-30 | 2013-04-24 | 北京天地互连信息技术有限公司 | Method for solving mutual communication of transitioning IPv4 (Internet Protocol version 4) to IPv6 (Internet Protocol version 6) in IMS (IP Multimedia Subsystem) |
-
2014
- 2014-04-30 CN CN201410183456.6A patent/CN105025454B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101110998A (en) * | 2007-08-22 | 2008-01-23 | 中兴通讯股份有限公司 | Method for intercommunication routing between multimedia subsystem field and circuit field |
CN101662482A (en) * | 2009-09-29 | 2010-03-03 | 华为技术有限公司 | Method, equipment and system for circuit domain user to call IMS domain user |
WO2012041138A1 (en) * | 2010-09-27 | 2012-04-05 | 中兴通讯股份有限公司 | Method and system for final call accessing via visited ims access point |
CN103067414A (en) * | 2013-01-30 | 2013-04-24 | 北京天地互连信息技术有限公司 | Method for solving mutual communication of transitioning IPv4 (Internet Protocol version 4) to IPv6 (Internet Protocol version 6) in IMS (IP Multimedia Subsystem) |
Non-Patent Citations (1)
Title |
---|
梁朝霞等:: ""IMS计费部署及关键问题研究"", 《电信科学》 * |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109257691A (en) * | 2017-07-12 | 2019-01-22 | 中国移动通信集团公司 | A kind of judgment method and device of calling and called terminal location relationship |
Also Published As
Publication number | Publication date |
---|---|
CN105025454B (en) | 2019-06-25 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109639717B (en) | Communication method for number portability transfer, calling side/called side service control point server | |
US8438290B2 (en) | Method for selecting a policy and charging rules function entity in the non-roaming scenario | |
CN103906067B (en) | The recognition methods of false calling number and device | |
CN103118347B (en) | Method, system and query facility that a kind of terminal room short codes is called out | |
WO2012152152A1 (en) | Method and system for implementing multimedia call | |
WO2011029323A1 (en) | Call method, system and mobile switching center for transferring network service | |
CN101534492B (en) | System for synthetizing virtual private network and method for realizing virtual private network | |
CN104902436A (en) | VoLTE scene-based method for acquiring user location information at network side | |
EP2466929B1 (en) | Method, device and system for implementing emergency call override service | |
US9203977B2 (en) | Method, apparatus and system for service association based on service nesting charging | |
CN102340765A (en) | Disaster recovery load balancing method, device and system | |
EP2057779B1 (en) | Charging control in ip multimedia subsystem | |
CN103107975A (en) | Communication method and voice gateway supporting one-card multi-number mode | |
CN103414700A (en) | Method and device for calling routing | |
CN109802958B (en) | Communication method, service control point/server and media gateway control function entity | |
CN105025454B (en) | A kind of charging method, system and network side equipment | |
CN103200383B (en) | Realize the methods, devices and systems of high definition visual telephone service | |
CN105306758A (en) | Method for transmitting enterprise network identifier when call is established, IBCF and IMS | |
CN103457938A (en) | Route calling method, device and system | |
WO2014166184A1 (en) | Call service method and system, system terminal, and calling terminal | |
CN102316425A (en) | Method and internet protocol multimedia service switching function (IM-SSF) for signaling interaction between internet protocol multimedia subsystem (IMS) and intelligent network | |
CN114363901B (en) | Device and method for preventing fraudulent calls | |
JP4289012B2 (en) | IP telephone supplementary service provision method | |
CN105634751B (en) | Method, device and system for charging IP call center | |
CN104301450A (en) | Addressing method and device |
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 |