WO2016201977A1 - 一种话单处理方法及装置 - Google Patents

一种话单处理方法及装置 Download PDF

Info

Publication number
WO2016201977A1
WO2016201977A1 PCT/CN2016/071241 CN2016071241W WO2016201977A1 WO 2016201977 A1 WO2016201977 A1 WO 2016201977A1 CN 2016071241 W CN2016071241 W CN 2016071241W WO 2016201977 A1 WO2016201977 A1 WO 2016201977A1
Authority
WO
WIPO (PCT)
Prior art keywords
rule
matching
charging
match
call
Prior art date
Application number
PCT/CN2016/071241
Other languages
English (en)
French (fr)
Inventor
梁华升
Original Assignee
中兴通讯股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2016201977A1 publication Critical patent/WO2016201977A1/zh

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/02Details
    • H04L12/14Charging, metering or billing arrangements for data wireline or wireless communications
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M15/00Arrangements for metering, time-control or time indication ; Metering, charging or billing arrangements for voice wireline or wireless communications, e.g. VoIP

Definitions

  • This paper relates to the field of communications, and in particular to a method and apparatus for bill processing.
  • the call center platform When developing an outsourced call center lease service, the call center platform needs to generate bills of different tariff types according to the tenant's call characteristics and charging rules, and send them to the billing system for sorting; the usual processing method in the field is based on the tenant's calculation.
  • Fee feature writing software code to generate bills, this method has many problems in practical applications, mainly in:
  • the bill generation program needs to be customized according to the call characteristics or service type, resulting in a long online period;
  • the technical problem to be solved by the embodiments of the present invention is to provide a method and an apparatus for processing bills to improve the flexibility of tenant billing and the reliability of services.
  • an embodiment of the present invention provides a method for processing a bill, including:
  • the charging bill is generated according to the matching call log and the charging rule in the corresponding bill rule.
  • the CDR rule in the rule-by-segment CDR rule base includes:
  • the CDR rules in the CDR rule base are scanned one by one.
  • the above method also has the following features:
  • the call start time of the matched call log is within the valid start time and the valid end time of the corresponding bill rule.
  • the above method also has the following features:
  • the matching rule includes: a number matching rule and a rule matching manner.
  • the number matching rule includes at least one of the following: a number exact match, a number left match, and a number right match;
  • the rule matching manner is at least one of the following:
  • the calling number matches the called number
  • the charging rule includes the following information:
  • the charging method includes at least one of charging according to the calling party, charging according to the called party, charging the calling party and the called party, and not charging;
  • the tariff type includes at least one of the following: standard tariff, IP tariff, long-distance fee allocated by the main called party, no billing, interactive voice answering call charge, and agent call-out according to standard billing.
  • the foregoing method further has the following features:
  • the CDR configuration rule is configured to receive the CDR rules configured by the user in real time, and the CDR rule database is updated according to the CDR rules configured by the user.
  • the above method also has the following features:
  • the bill rule configuration interface includes matching rule information and charging rule information.
  • the matching rule information includes: a number matching rule and a rule matching manner, where the number matching rule includes one or more of the following options: number exact match, number left match, and number right match; and the rule matching manner includes one or more of the following: Options: match by calling number, match by called number, match by calling number and called number at the same time, match by original called number;
  • the charging rule information includes the following information: a service code, a charging mode, and a tariff type, and the charging mode includes one or more of the following options: charging by calling party, charging by calling party, and sharing of the called party and the called party. Fees, no billing; the tariff type includes one or more of the following options: standard tariff, IP tariff, long-distance fee allocated by the main and called party, no billing, interactive voice response call charge, and agent call-out according to standard billing .
  • the embodiment of the present invention further provides an apparatus for processing bills, which includes:
  • the scanning module is configured to scan the CDR rules in the CDR rule base one by one;
  • a finding module configured to search for a matching call log from the call log according to a matching rule in each bill rule
  • the generating module is configured to generate a charging bill according to the matching call log and the charging rule in the corresponding bill rule.
  • the above device also has the following features:
  • the scanning module scans the CDR rules in the pre-established CDR rule base one by one according to the priority of the CDR rule.
  • the above device also has the following features:
  • the searching module searches for a matching call log whose call start time is within a valid start time and a valid end time of the corresponding bill rule.
  • the above device also has the following features:
  • the matching module includes: a number matching rule and a rule matching manner, where the number matching rule includes at least one of the following: a number exact match, a number left match, and a number right match; the rule matching manner is the following: At least one of the following: matching by calling number, matching by called number, matching by calling number and called number, matching by original called number.
  • the above device further has the following features: further comprising:
  • the configuration module is configured to provide a configuration interface, and receive the CDR rules configured by the user in real time, and update the CDR rule base according to the CDR rules configured by the user, where the configuration interface includes matching rule information and charging rule information, and the matching
  • the rule information includes: a number matching rule and a rule matching manner, where the number matching rule includes one or more of the following options: number exact match, number left match, and number right match; and the rule matching manner includes one or more of the following options: According to the calling number matching, matching by the called number, matching by the calling number and the called number, and matching by the original called number; the charging rule information includes the following information: service coding, charging mode, tariff type,
  • the charging method includes one or more of the following options: charging by calling party, charging by called party, charging by calling party and called party, and charging; the type of tariff includes one or more of the following options: standard tariff , IP tariffs, long-distance charges allocated by the main and called parties, no billing, interactive voice response call-to-economy,
  • the embodiment of the present invention provides a method and a device for processing a bill, realizing a real-time online configuration rule, periodically parsing the rule information by the bill processing engine, generating a bill for the billing system, saving the version delivery period, and reducing
  • the risk of frequent upgrades increases the flexibility of tenant billing and the reliability of the business.
  • FIG. 1 is a flowchart of a method for processing a bill according to an embodiment of the present invention
  • FIG. 2 is a schematic diagram of a bill rule configuration interface according to an embodiment of the present invention.
  • FIG. 4 is a schematic diagram of a method for processing a bill according to another embodiment of the present invention.
  • FIG. 5 is a schematic diagram of an apparatus for processing a bill according to an embodiment of the present invention.
  • Embodiments of the present invention provide a support for combining according to tenant call characteristics and service characteristics.
  • FIG. 1 is a flowchart of a method for processing a bill according to an embodiment of the present invention. As shown in FIG. 1 , the method in this embodiment includes:
  • the tenant bill required by the billing system can be generated in real time and dynamically through online configuration.
  • the method of the embodiment further provides a CDR configuration interface, and receives the CDR rules configured by the user in real time, and updates the CDR rule base according to the CDR rules configured by the user.
  • the bill rule configuration interface includes matching rule information and charging rule information.
  • the matching rule information includes: a number matching rule and a rule matching manner, where the number matching rule includes one or more of the following options: number exact match, number left match, and number right match; and the rule matching manner includes one or more of the following: Options: match by calling number, match by called number, match by calling number and called number at the same time, match by original called number;
  • the charging rule information includes the following information: a service code, a charging mode, and a tariff type, and the charging mode includes one or more of the following options: charging by calling party, charging by calling party, and sharing of the called party and the called party. Fees, no billing; the tariff type includes one or more of the following options: standard tariff, IP tariff, long-distance fee allocated by the main and called party, no billing, interactive voice response call charge, and agent call-out according to standard billing .
  • FIG. 2 is a schematic diagram of a CDR rule configuration interface according to an embodiment of the present invention.
  • the CDR rule configuration interface of the embodiment can directly add, modify, and delete rule base information according to service requirements.
  • Charging method including but not limited to 0-unknown, 1-by-call billing, 2--by-call billing, 3-main-call allocation, 4-no billing; more information can be based on actual demand Expansion.
  • FIG. 3 is a flow diagram of an application example of the present invention, and FIG. 3 includes the following steps:
  • Step S101 Establish a bill rule base library
  • the rule base information may include the following information: priority, service code, calling number, called number, original called, charging method, tariff code, charging number, number matching rule, rule matching method, rule effective starting time and rule Effective end time.
  • Step S102 Configure a billing rule online according to the service requirement.
  • a WEB configuration interface is provided to configure the rule base, and the rule base information can be newly added, modified, and deleted according to business requirements.
  • the configuration interface may include: matching rule information and charging rule information,
  • the matching rule information includes: a number matching rule and a rule matching manner, where
  • the number matching rule may include one or more of the following options: number exact match, number left match, number right match, and the like;
  • the rule matching manner may include one or more of the following options: matching by calling number, matching by called number, matching by calling number and called number, matching by original called number, etc.
  • the charging rule information may include the following information: a service code, a charging mode, and a tariff type, where
  • the charging method may include one or more of the following options: charging by calling party, charging by called party, charging by calling party and called party, not charging, etc.
  • the tariff type includes one or more of the following options: standard tariff, IP tariff, long-distance fee allocated by the main called party, no billing, interactive voice answering call charge, and agent call-out according to standard billing.
  • Step S103 The outsourced call center generates a tenant call log record according to the call data of the user.
  • Step S104 The device for processing the bill can process the matching call log according to the bill rules configured in step S101 to generate a billing bill.
  • Step S105 The device for bill processing submits the generated billing bill to the billing system.
  • FIG. 4 is a schematic diagram of a method for processing a bill according to another embodiment of the present invention. As shown in FIG. 4, the method includes the following steps:
  • Step S401 Scan the CDR rules in the pre-established CDR rule base one by one;
  • the priority of the CDR rule is determined, and the execution is performed from the highest priority and executed one by one.
  • Step S402 For each CDR rule, it is determined that the call start time in the call log is within the rule valid start time and the rule valid end time, and is processed according to the corresponding CDR rule.
  • Step S403 For each CDR rule, firstly, according to the rule matching manner and the number matching rule, the call logs that meet the conditions are combined:
  • the caller number in the rule is matched to the caller number in the call log according to the rule; for example, the caller number is 0755567871 in the rule, and the caller number 075567887106, 075567887108 in the call log will be Match on.
  • the caller number in the call log is matched right according to the calling number in the rule. For example, the calling number 10000 in the rule, the calling number in the call log 075510000, 02310000, etc. will be matched.
  • Step S404 If the matching condition is met, the charging bill is generated according to the selected call log plus the service code, charging mode, tariff code and charging number configured in the rule table.
  • FIG. 5 is a schematic diagram of an apparatus for processing a bill according to an embodiment of the present invention. As shown in FIG. 5, the apparatus of this embodiment includes:
  • the scanning module is configured to scan the CDR rules in the CDR rule base one by one;
  • a finding module configured to search for a matching call log from the call log according to a matching rule in each bill rule
  • the generating module is configured to generate a charging bill according to the matching call log and the charging rule in the corresponding bill rule.
  • the scanning module scans the bill rules in the pre-established bill rule base one by one according to the priority of the preset bill rules.
  • the calling module finds that the call start time of the matched call log is within the valid start time and the valid end time of the corresponding bill rule.
  • the matching module, the matching rule according to the query includes: a number matching rule and a rule matching manner, where the number matching rule includes at least one of the following: a number exact match, a number left match, and a number right match;
  • the rule matching manner is at least one of the following: matching by the calling number, matching by the called number, matching by the calling number and the called number, and matching by the original called number.
  • the foregoing apparatus may further include:
  • the configuration module is configured to provide a configuration interface, and receive the CDR rules configured by the user in real time, and update the CDR rule base according to the CDR rules configured by the user, where the configuration interface includes matching rule information and charging rule information, and the matching
  • the rule information includes: a number matching rule and a rule matching manner, where the number matching rule includes one or more of the following options: number exact match, number left match, and number right match; and the rule matching manner includes one or more of the following options: According to the calling number matching, matching by the called number, matching by the calling number and the called number, and matching by the original called number;
  • the charging rule information includes: the charging rule information includes one or the following information: Service code, charging mode, and tariff type, the charging mode includes one or more of the following options: charging by calling party, charging by called party, charging by calling party and called party, not charging; Includes the following options: standard tariff, IP tariff, long-distance fee for the main called party, no billing, interactive voice A call transfer rates, according to the standard billing agent exha
  • the method and the device of the embodiment of the present invention have achieved substantial progress compared with the related technologies, and the online configuration rule is obtained, and the rule information is periodically parsed by the bill processing engine to generate a bill for the billing system. It saves the version delivery cycle, reduces the risk of frequent upgrades, and improves the flexibility of tenant billing and the reliability of the business.
  • all or part of the steps of the above embodiments may also be implemented by using an integrated circuit. These steps may be separately fabricated into individual integrated circuit modules, or multiple modules or steps may be fabricated into a single integrated circuit module. achieve.
  • the devices/function modules/functional units in the above embodiments may be implemented by a general-purpose computing device, which may be centralized on a single computing device or distributed over a network of multiple computing devices.
  • each device/function module/functional unit in the above embodiment When each device/function module/functional unit in the above embodiment is implemented in the form of a software function module and sold or used as a stand-alone product, it can be stored in a computer readable storage medium.
  • the above mentioned computer readable storage medium may be a read only memory, a magnetic disk or an optical disk or the like.
  • the invention provides a method and a device for processing a bill, realizing a real-time online configuration rule, periodically parsing the rule information by the bill processing engine, generating a bill for the billing system, saving the version delivery period and reducing the risk of frequent upgrades. Increased flexibility in tenant billing and business reliability.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)
  • Telephonic Communication Services (AREA)
  • Meter Arrangements (AREA)

Abstract

一种话单处理的方法及装置,该方法包括:获取呼叫日志;逐条扫描话单规则库中的话单规则;根据每条话单规则中的匹配规则从所述呼叫日志中查找匹配的呼叫日志;根据所述匹配的呼叫日志和对应话单规则中的计费规则生成计费话单。通过本发明实施例可以实现实时在线配置规则、由话单处理引擎定时解析规则信息,生成计费系统所需话单,节省了版本交付周期,减少了频繁升级风险,提高了租户计费的灵活性和业务的可靠性。

Description

一种话单处理方法及装置 技术领域
本文涉及通讯领域,特别是涉及一种话单处理的方法及其装置。
背景技术
在发展外包呼叫中心租赁业务时,呼叫中心平台需要根据租户的呼叫特征、计费规则生成不同资费类型的话单,送给计费系统进行分拣;该领域通常的处理方法是,根据租户的计费特征编写软件代码生成话单,该方法在实际应用中存在很多问题,主要表现在:
1、每新增一租户,话单生成程序都需要根据呼叫特征或者业务类型进行定制开发,导致上线周期长;
2、版本太多,造成维护不方便,如果业务特征发生了变化,则需要修改大量版本和代码;
3、系统升级频繁,对共享该平台资源的其他租户造成业务中断影响,甚至对全网运行造成安全隐患。
发明内容
本发明实施例要解决的技术问题是提供一种话单处理的方法及装置,以提高了租户计费的灵活性和业务的可靠性。
为了解决上述技术问题,本发明实施例提供了一种话单处理的方法,包括:
获取呼叫日志;
逐条扫描话单规则库中的话单规则;
根据每条话单规则中的匹配规则从所述呼叫日志中查找匹配的呼叫日志;
根据所述匹配的呼叫日志和对应话单规则中的计费规则生成计费话单。
可选地,上述方法还具有下面特点:所述逐条扫描话单规则库中的话单规则包括:
根据话单规则的优先级,逐条扫描话单规则库中的话单规则。
可选地,上述方法还具有下面特点:
所述匹配的呼叫日志的通话开始时间位于对应话单规则的有效开始时间和有效结束时间之内。
可选地,上述方法还具有下面特点:
所述匹配规则包括:号码匹配规则和规则匹配方式,
所述号码匹配规则包括以下至少一种:号码完全匹配、号码左匹配、号码右匹配;
所述规则匹配方式为以下的至少一种:
按主叫号码匹配;
按被叫号码匹配;
同时按主叫号码和被叫号码匹配;
按原始被叫号码匹配。
可选地,上述方法还具有下面特点:所述计费规则包括以下信息:
业务编码、计费方式、资费类型,
所述计费方式包括以下的至少一种:按主叫计费、按被叫计费、主被叫分摊计费、不计费;
所述资费类型包括以下的至少一种:标准资费、IP资费、主被叫分摊的长途费、不计费、互动式语音应答呼转资费、坐席呼出按标准计费。
可选地,上述方法还具有下面特点:还包括:
提供一话单规则配置界面,实时在线接收用户配置的话单规则,根据用户配置的话单规则更新所述话单规则库。
可选地,上述方法还具有下面特点:
所述话单规则配置界面包括匹配规则信息和计费规则信息,
所述匹配规则信息包括:号码匹配规则和规则匹配方式,所述号码匹配规则包括以下一个或者多个选项:号码完全匹配、号码左匹配、号码右匹配;所述规则匹配方式包括以下一个或者多个选项:按主叫号码匹配、按被叫号码匹配、同时按主叫号码和被叫号码匹配、按原始被叫号码匹配;
所述计费规则信息包括以下信息:业务编码、计费方式、资费类型,所述计费方式包括以下一个或者多个选项:按主叫计费、按被叫计费、主被叫分摊计费、不计费;所述资费类型包括以下一个或者多个选项:标准资费、IP资费、主被叫分摊的长途费、不计费、互动式语音应答呼转资费、坐席呼出按标准计费。
为了解决上述问题,本发明实施例还提供了一种话单处理的装置,其中,包括:
获取模块,设置为获取呼叫日志;
扫描模块,设置为逐条扫描话单规则库中的话单规则;
查找模块,设置为根据每条话单规则中的匹配规则从所述呼叫日志中查找匹配的呼叫日志;
生成模块,设置为根据所述匹配的呼叫日志和对应话单规则中的计费规则生成计费话单。
可选地,上述装置还具有下面特点:
所述扫描模块,根据话单规则的优先级,逐条扫描预先建立的话单规则库中的话单规则。
可选地,上述装置还具有下面特点:
所述查找模块,查找的匹配的呼叫日志的通话开始时间位于对应话单规则的有效开始时间和有效结束时间之内。
可选地,上述装置还具有下面特点:
所述查找模块,查找根据的匹配规则包括:号码匹配规则和规则匹配方式,所述号码匹配规则包括以下至少一种:号码完全匹配、号码左匹配、号码右匹配;所述规则匹配方式为以下的至少一种:按主叫号码匹配、按被叫号码匹配、同时按主叫号码和被叫号码匹配、按原始被叫号码匹配。
可选地,上述装置还具有下面特点:还包括:
配置模块,设置为提供一配置界面,实时在线接收用户配置的话单规则,根据用户配置的话单规则更新所述话单规则库,所述配置界面包括匹配规则信息和计费规则信息,所述匹配规则信息包括:号码匹配规则和规则匹配方式,所述号码匹配规则包括以下一个或者多个选项:号码完全匹配、号码左匹配、号码右匹配;所述规则匹配方式包括以下一个或者多个选项:按主叫号码匹配、按被叫号码匹配、同时按主叫号码和被叫号码匹配、按原始被叫号码匹配;所述计费规则信息包括以下信息:业务编码、计费方式、资费类型,所述计费方式包括以下一个或者多个选项:按主叫计费、按被叫计费、主被叫分摊计费、不计费;所述资费类型包括以下一个或者多个选项:标准资费、IP资费、主被叫分摊的长途费、不计费、互动式语音应答呼转资费、坐席呼出按标准计费。
综上,本发明实施例提供一种话单处理的方法及装置,实现实时在线配置规则、由话单处理引擎定时解析规则信息,生成计费系统所需话单,节省了版本交付周期,减少了频繁升级风险,提高了租户计费的灵活性和业务的可靠性。
附图概述
图1为本发明一实施例的一种话单处理的方法的流程图;
图2为本发明实施例的话单规则配置界面的示意图;
图3为本发明一应用示例的流图;
图4为本发明另一实施例的话单处理的方法的示意图;
图5为本发明实施例的一种话单处理的装置的示意图。
本发明的较佳实施方式
下文中将结合附图对本发明的实施例进行详细说明。需要说明的是,在不冲突的情况下,本申请中的实施例及实施例中的特征可以相互任意组合。
本发明实施例提供一个支持按照租户呼叫特征、业务特征进行组合的话 单规则库,并提供一个配置界面允许实时在线配置话单规则;话单处理引擎扫描规则库,逐条进行分析处理,根据规则内容和呼叫中心的呼叫日志为每个外包租户产生正确的话单,并提交给计费系统。
图1为本发明一实施例的一种话单处理的方法的流程图,如图1所示,本实施例的方法包括:
S11、获取呼叫日志;
S12、逐条扫描话单规则库中的话单规则;
S13、根据每条话单规则中的匹配规则从所述呼叫日志中查找匹配的呼叫日志;
S14、根据所述匹配的呼叫日志和对应话单规则中的计费规则生成计费话单。
本发明实施例的话单处理的方法,当呼叫特征、业务类型发生变化时,不需要软件代码编程,通过在线配置,即可实时、动态的生成计费系统所需的租户话单。
本实施例的方法还提供一话单规则配置界面,实时在线接收用户配置的话单规则,根据用户配置的话单规则更新所述话单规则库,
所述话单规则配置界面包括匹配规则信息和计费规则信息,
所述匹配规则信息包括:号码匹配规则和规则匹配方式,所述号码匹配规则包括以下一个或者多个选项:号码完全匹配、号码左匹配、号码右匹配;所述规则匹配方式包括以下一个或者多个选项:按主叫号码匹配、按被叫号码匹配、同时按主叫号码和被叫号码匹配、按原始被叫号码匹配;
所述计费规则信息包括以下信息:业务编码、计费方式、资费类型,所述计费方式包括以下一个或者多个选项:按主叫计费、按被叫计费、主被叫分摊计费、不计费;所述资费类型包括以下一个或者多个选项:标准资费、IP资费、主被叫分摊的长途费、不计费、互动式语音应答呼转资费、坐席呼出按标准计费。
图2为本发明实施例的话单规则配置界面的示意图,通过本实施例的话单规则配置界面可以根据业务需求在线新增、修改和删除规则库信息。
如图2所示配置话单规则时可以定义:
1)计费方式,包含但不限于0-未知、1-按主叫计费、2-按被叫计费、3-主被叫分摊、4-不计费;更多信息可以根据实际需求扩展。
2)资费代号(即资费类型),包含但不限于0-未知、1-标准资费、2-IP资费、3-主被叫分摊的长途费、4-不计费、5-IVR(Interactive Voice Response,互动式语音应答)呼转按0.10元/分钟计费、坐席呼出按标准计费;更多信息可以根据实际需求扩展。
3)常用的号码匹配规则,包含但不限于1-完全匹配、2-左匹配、3-右匹配;更多信息可以根据实际需求扩展。
4)常用的规则匹配方式,包含但不限于1-按主叫匹配、2-按被叫匹配、3-同时按主、被叫匹配、4-按原始被叫号码匹配;更多信息可以根据实际需求扩展。
图3为本发明一应用示例的流图,如图3包括如下步骤:
步骤S101:建立话单规则库;
规则库信息可以包括以下信息:优先级、业务编码、主叫号码、被叫号码、原始被叫、计费方式、资费代号、收费号码、号码匹配规则、规则匹配方式、规则有效开始时间和规则有效结束时间。
步骤S102:根据业务需求在线配置话单规则;
提供一个WEB配置界面来配置规则库,可以根据业务需求在线新增、修改和删除规则库信息。
所述配置界面可以包括:匹配规则信息和计费规则信息,
所述匹配规则信息包括:号码匹配规则和规则匹配方式,其中,
所述号码匹配规则可以包括以下一个或者多个选项:号码完全匹配、号码左匹配、号码右匹配等;
所述规则匹配方式可以包括以下一个或者多个选项:按主叫号码匹配、按被叫号码匹配、同时按主叫号码和被叫号码匹配、按原始被叫号码匹配等;
所述计费规则信息可以包括以下信息:业务编码、计费方式、资费类型,其中,
所述计费方式可以包括以下一个或者多个选项:按主叫计费、按被叫计费、主被叫分摊计费、不计费等;
所述资费类型包括以下一个或者多个选项:标准资费、IP资费、主被叫分摊的长途费、不计费、互动式语音应答呼转资费、坐席呼出按标准计费等。
步骤S103:外包呼叫中心根据用户的呼叫数据,生成租户呼叫日志记录。
步骤S104:话单处理的装置可以定时根据步骤S101配置的话单规则处理匹配呼叫日志,生成计费话单。
步骤S105:话单处理的装置将生成的计费话单提交给计费系统。
图4为本发明另一实施例的话单处理的方法的示意图,如图4所示,包括如下步骤:
步骤S401:逐条扫描预先建立的话单规则库中的话单规则;
首先判断话单规则的优先级,从优先级最高的开始执行,逐条执行。
步骤S402:针对每条话单规则,判断呼叫日志中的通话开始时间位于规则有效开始时间和规则有效结束时间之内才按照对应的话单规则处理。
步骤S403:针对每条话单规则,首先根据规则匹配方式和号码匹配规则进行组合查找符合条件的呼叫日志:
1)如果按照主叫匹配和完全匹配,则根据规则中的主叫号码完全匹配呼叫日志中的主叫号码;
2)如果按照主叫匹配和左匹配,则根据规则中的主叫号码左匹配呼叫日志中的主叫号码;例如,规则中主叫号码0755678871,呼叫日志中主叫号码075567887106、075567887108等都会被匹配上。
3)如果按照主叫匹配和右匹配,则根据规则中的主叫号码右匹配呼叫日志中的主叫号码。例如,规则中主叫号码10000,呼叫日志中主叫号码 075510000、02310000等都会被匹配上。
4)如果按照被叫匹配和完全匹配,则根据规则中的被叫号码完全匹配呼叫日志中的被叫号码;
5)如果按照被叫匹配和左匹配,则根据规则中的被叫号码左匹配呼叫日志中的被叫号码;
6)如果按照被叫匹配和右匹配,则根据规则中的被叫号码右匹配呼叫日志中的被叫号码。
7)如果按照主被叫匹配和完全匹配,则根据规则中的主叫号码和被叫号码完全匹配呼叫日志中的主叫号码和被叫号码;
8)如果按照主被叫匹配和左匹配,则根据规则中的主叫号码和被叫号码左匹配呼叫日志中的主叫号码和被叫号码;
9)如果按照主被叫匹配和右匹配,则根据规则中的主叫号码和被叫号码右匹配呼叫日志中的主叫号码和被叫号码;
10)如果按照原始被叫号码匹配和完全匹配,则根据规则中的原始被叫号码完全匹配呼叫日志中的原始被叫号码;
11)如果按照原始被叫号码匹配和左匹配,则根据规则中的原始被叫号码左匹配呼叫日志中的原始被叫号码;
12)如果按照原始被叫号码匹配和右匹配,则根据规则中的原始被叫号码右匹配呼叫日志中的原始被叫号码;
步骤S404:若符合匹配条件,则根据选定的呼叫日志加上规则表中配置的业务编码、计费方式、资费代号和收费号码生成计费话单。
若规则执行完毕,仍然有不符合匹配规则条件的呼叫日志,则记录到匹配日志表中,由维护人员进行人工审核、排查原因。
图5为本发明实施例的一种话单处理的装置的示意图,如图5所示,本实施例的装置包括:
获取模块,设置为获取呼叫日志;
扫描模块,设置为逐条扫描话单规则库中的话单规则;
查找模块,设置为根据每条话单规则中的匹配规则从所述呼叫日志中查找匹配的呼叫日志;
生成模块,设置为根据所述匹配的呼叫日志和对应话单规则中的计费规则生成计费话单。
在一优选实施例中,所述扫描模块,根据预先设置的话单规则的优先级,逐条扫描预先建立的话单规则库中的话单规则。
其中,所述查找模块,查找的匹配的呼叫日志的通话开始时间位于对应话单规则的有效开始时间和有效结束时间之内。
在一优选实施例中,所述查找模块,查找根据的匹配规则包括:号码匹配规则和规则匹配方式,所述号码匹配规则包括以下至少一种:号码完全匹配、号码左匹配、号码右匹配;所述规则匹配方式为以下的至少一种:按主叫号码匹配、按被叫号码匹配、同时按主叫号码和被叫号码匹配、按原始被叫号码匹配。
在一优选实施例中,上述装置还可以包括:
配置模块,设置为提供一配置界面,实时在线接收用户配置的话单规则,根据用户配置的话单规则更新所述话单规则库,所述配置界面包括匹配规则信息和计费规则信息,所述匹配规则信息包括:号码匹配规则和规则匹配方式,所述号码匹配规则包括以下一个或者多个选项:号码完全匹配、号码左匹配、号码右匹配;所述规则匹配方式包括以下一个或者多个选项:按主叫号码匹配、按被叫号码匹配、同时按主叫号码和被叫号码匹配、按原始被叫号码匹配;所述计费规则信息包括:所述计费规则信息包括一个或者以下信息:业务编码、计费方式、资费类型,所述计费方式包括以下一个或者多个选项:按主叫计费、按被叫计费、主被叫分摊计费、不计费;所述资费类型包括以下多个选项:标准资费、IP资费、主被叫分摊的长途费、不计费、互动式语音应答呼转资费、坐席呼出按标准计费。
采用本发明实施例的所述方法和装置,与相关技术相比,取得了实质性的进步,达到了在线配置规则、由话单处理引擎定时解析规则信息,生成计费系统所需话单,节省了版本交付周期,减少了频繁升级风险,提高了租户计费的灵活性和业务的可靠性。
本领域普通技术人员可以理解上述实施例的全部或部分步骤可以使用计算机程序流程来实现,所述计算机程序可以存储于一计算机可读存储介质中,所述计算机程序在相应的硬件平台上(如系统、设备、装置、器件等)执行,在执行时,包括方法实施例的步骤之一或其组合。
可选地,上述实施例的全部或部分步骤也可以使用集成电路来实现,这些步骤可以被分别制作成一个个集成电路模块,或者将它们中的多个模块或步骤制作成单个集成电路模块来实现。
上述实施例中的各装置/功能模块/功能单元可以采用通用的计算装置来实现,它们可以集中在单个的计算装置上,也可以分布在多个计算装置所组成的网络上。
上述实施例中的各装置/功能模块/功能单元以软件功能模块的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。上述提到的计算机可读取存储介质可以是只读存储器,磁盘或光盘等。
工业实用性
本发明提供一种话单处理的方法及装置,实现实时在线配置规则、由话单处理引擎定时解析规则信息,生成计费系统所需话单,节省了版本交付周期,减少了频繁升级风险,提高了租户计费的灵活性和业务的可靠性。

Claims (13)

  1. 一种话单处理的方法,包括:
    获取呼叫日志;
    逐条扫描话单规则库中的话单规则;
    根据每条话单规则中的匹配规则从所述呼叫日志中查找匹配的呼叫日志;
    根据所述匹配的呼叫日志和对应话单规则中的计费规则生成计费话单。
  2. 如权利要求1所述的方法,其中:所述逐条扫描话单规则库中的话单规则包括:
    根据话单规则的优先级,逐条扫描话单规则库中的话单规则。
  3. 如权利要求1所述的方法,其中:
    所述匹配的呼叫日志的通话开始时间位于对应话单规则的有效开始时间和有效结束时间之内。
  4. 如权利要求1所述的方法,其中:
    所述匹配规则包括:号码匹配规则和规则匹配方式,
    所述号码匹配规则包括以下至少一种:号码完全匹配、号码左匹配、号码右匹配;
    所述规则匹配方式为以下的至少一种:
    按主叫号码匹配;
    按被叫号码匹配;
    同时按主叫号码和被叫号码匹配;
    按原始被叫号码匹配。
  5. 如权利要求1所述的方法,其中:所述计费规则包括以下信息:
    业务编码、计费方式、资费类型,
    所述计费方式包括以下的至少一种:按主叫计费、按被叫计费、主被叫分摊计费、不计费;
    所述资费类型包括以下的至少一种:标准资费、IP资费、主被叫分摊的长途费、不计费、互动式语音应答呼转资费、坐席呼出按标准计费。
  6. 如权利要求1-5任一项所述的方法,还包括:
    提供一话单规则配置界面,实时在线接收用户配置的话单规则,根据用户配置的话单规则更新所述话单规则库。
  7. 如权利要求6所述的方法,其中:
    所述话单规则配置界面包括匹配规则信息和计费规则信息,
    所述匹配规则信息包括:号码匹配规则和规则匹配方式,所述号码匹配规则包括以下一个或者多个选项:号码完全匹配、号码左匹配、号码右匹配;所述规则匹配方式包括以下一个或者多个选项:按主叫号码匹配、按被叫号码匹配、同时按主叫号码和被叫号码匹配、按原始被叫号码匹配;
    所述计费规则信息包括以下信息:业务编码、计费方式、资费类型,所述计费方式包括以下一个或者多个选项:按主叫计费、按被叫计费、主被叫分摊计费、不计费;所述资费类型包括以下一个或者多个选项:标准资费、IP资费、主被叫分摊的长途费、不计费、互动式语音应答呼转资费、坐席呼出按标准计费。
  8. 一种话单处理的装置,包括:
    获取模块,设置为获取呼叫日志;
    扫描模块,设置为逐条扫描话单规则库中的话单规则;
    查找模块,设置为根据每条话单规则中的匹配规则从所述呼叫日志中查找匹配的呼叫日志;
    生成模块,设置为根据所述匹配的呼叫日志和对应话单规则中的计费规则生成计费话单。
  9. 如权利要求8所述的装置,其中:
    所述扫描模块,根据话单规则的优先级,逐条扫描预先建立的话单规则库中的话单规则。
  10. 如权利要求8所述的装置,其中:
    所述查找模块,查找的匹配的呼叫日志的通话开始时间位于对应话单规则的有效开始时间和有效结束时间之内。
  11. 如权利要求8所述的装置,其中:
    所述查找模块,查找根据的匹配规则包括:号码匹配规则和规则匹配方式,所述号码匹配规则包括以下至少一种:号码完全匹配、号码左匹配、号码右匹配;所述规则匹配方式为以下至少一种:按主叫号码匹配、按被叫号码匹配、同时按主叫号码和被叫号码匹配、按原始被叫号码匹配。
  12. 如权利要求8-11任一项所述的装置,还包括:
    配置模块,设置为提供一配置界面,实时在线接收用户配置的话单规则,根据用户配置的话单规则更新所述话单规则库,所述配置界面包括匹配规则信息和计费规则信息,所述匹配规则信息包括:号码匹配规则和规则匹配方式,所述号码匹配规则包括以下一个或者多个选项:号码完全匹配、号码左匹配、号码右匹配;所述规则匹配方式包括以下一个或者多个选项:按主叫号码匹配、按被叫号码匹配、同时按主叫号码和被叫号码匹配、按原始被叫号码匹配;所述计费规则信息包括以下信息:业务编码、计费方式、资费类型,所述计费方式包括以下一个或者多个选项:按主叫计费、按被叫计费、主被叫分摊计费、不计费;所述资费类型包括以下一个或者多个选项:标准资费、IP资费、主被叫分摊的长途费、不计费、互动式语音应答呼转资费、坐席呼出按标准计费。
  13. 一种计算机可读存储介质,存储有程序指令,当该程序指令被执行时可实现权利要求1-7任一项所述的方法。
PCT/CN2016/071241 2015-06-19 2016-01-18 一种话单处理方法及装置 WO2016201977A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201510345775.7 2015-06-19
CN201510345775.7A CN106331406A (zh) 2015-06-19 2015-06-19 一种话单处理方法及装置

Publications (1)

Publication Number Publication Date
WO2016201977A1 true WO2016201977A1 (zh) 2016-12-22

Family

ID=57545023

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/071241 WO2016201977A1 (zh) 2015-06-19 2016-01-18 一种话单处理方法及装置

Country Status (2)

Country Link
CN (1) CN106331406A (zh)
WO (1) WO2016201977A1 (zh)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113490202A (zh) * 2021-07-23 2021-10-08 恒安嘉新(北京)科技股份公司 一种语音话单的合成方法、装置、计算机设备和存储介质

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030048887A1 (en) * 1997-04-25 2003-03-13 Ameritech Corporation Method and system for generating a billing record
CN1674519A (zh) * 2004-03-24 2005-09-28 华为技术有限公司 一种通信业务计费的实现方法
CN103490909A (zh) * 2012-06-13 2014-01-01 中兴通讯股份有限公司 计费处理方法及装置

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030048887A1 (en) * 1997-04-25 2003-03-13 Ameritech Corporation Method and system for generating a billing record
CN1674519A (zh) * 2004-03-24 2005-09-28 华为技术有限公司 一种通信业务计费的实现方法
CN103490909A (zh) * 2012-06-13 2014-01-01 中兴通讯股份有限公司 计费处理方法及装置

Also Published As

Publication number Publication date
CN106331406A (zh) 2017-01-11

Similar Documents

Publication Publication Date Title
US9774726B1 (en) Detecting and preventing fraud and abuse in real time
US9118779B2 (en) System and method for inbound call billing
CN110474863B (zh) 微服务安全认证方法及装置
CN106886371B (zh) 缓存数据处理方法及装置
US8064579B2 (en) Prepaid services accounts with multi-user customers and individualized quotas
WO2019179423A1 (zh) 卡调用方法、装置、信息推送方法、装置及卡分配系统
WO2018209939A1 (zh) 一种翻译订单的派送方法和装置
US8838488B1 (en) Maintaining a common identifier for a user session on a communication network
CN111597246B (zh) 账单生成方法和装置、存储介质、电子设备
CN108632047A (zh) 一种资费数据的确定方法及装置
US20060069783A1 (en) Program, method and device for managing information shared among components, recording medium and communication apparatus
CN101815135B (zh) 一种构建电话座席和业务系统之间服务平台的实现方法
WO2016201977A1 (zh) 一种话单处理方法及装置
CN101567944A (zh) 一种交互语音应答系统及其实现方法
CN101841804A (zh) 业务管理系统和方法
CN109743179A (zh) 一种电子证照按需签发方法
WO2005011194A1 (fr) Procede de mise en oeuvre de compte et systeme de compte
US7697672B2 (en) Configurable rating system for a telecommunications service provider
CN102387264A (zh) 呼叫控制策略的处理方法、装置及呼叫中心
EP2713550A1 (en) Centralized online charging method and equipment
CN102970159B (zh) 数据稽核及修复处理方法和装置
CN112181817B (zh) 用于soa架构平台的测试方法及测试装置
CN110704501B (zh) 用户账号关联方法及装置
CN108769249A (zh) iOS高性能高扩展网络架构及实现方法、服务器及介质
CN109729223A (zh) 呼叫业务处理方法、装置、改号业务平台和存储介质

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 16810718

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 16810718

Country of ref document: EP

Kind code of ref document: A1