CN104270735A - A charging method and charging system based on prefix tree - Google Patents
A charging method and charging system based on prefix tree Download PDFInfo
- Publication number
- CN104270735A CN104270735A CN201410565251.4A CN201410565251A CN104270735A CN 104270735 A CN104270735 A CN 104270735A CN 201410565251 A CN201410565251 A CN 201410565251A CN 104270735 A CN104270735 A CN 104270735A
- Authority
- CN
- China
- Prior art keywords
- charging
- billing
- resources
- product description
- accounting
- 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
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
- H04W4/24—Accounting or billing
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/02—Details
- H04L12/14—Charging, metering or billing arrangements for data wireline or wireless communications
- H04L12/1403—Architecture for metering, charging or billing
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M15/00—Arrangements for metering, time-control or time indication ; Metering, charging or billing arrangements for voice wireline or wireless communications, e.g. VoIP
- H04M15/10—Metering calls from calling party, i.e. A-party charged for the communication
- H04M15/12—Discriminative metering, charging or billing
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Business, Economics & Management (AREA)
- Accounting & Taxation (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
- Meter Arrangements (AREA)
Abstract
Description
技术领域 technical field
本发明涉及业务计费领域,更具体地,涉及一种基于前缀树结构的计费方法及计费系统。 The present invention relates to the field of service charging, and more specifically, to a prefix tree structure-based charging method and charging system.
背景技术 Background technique
随着移动网络及应用的多样化,新业务平台不断出现,业务与产品服务日趋复杂化。 With the diversification of mobile networks and applications, new business platforms continue to emerge, and business and product services are becoming increasingly complex.
计费系统总体可划分为在线计费和离线计费两大类。在线计费处理过程是将用户消费过程经过网关设备识别出的通信事件,通过实时数据采集设备采集并由计费引擎批价得到话费,即CF(Charging Function);然后对客户进行记账处理形成实时账单,即RF(Recording Function)。离线计费处理过程是将用户占用通讯要素资源的计费信息的收集起来,形成通话信息记录(CDR,Call Detail Record),经过离线引擎汇总处理,得到记费账单。 Billing systems can be generally divided into two categories: online billing and offline billing. The online billing process is to collect the communication events identified by the gateway device in the user's consumption process, collect them through real-time data collection equipment, and get the call charges from the billing engine's rating, that is, CF (Charging Function); and then perform billing processing on customers to form Real-time billing, that is, RF (Recording Function). The process of offline billing is to collect the billing information of the user’s occupation of communication element resources to form a call information record (CDR, Call Detail Record), which is aggregated and processed by the offline engine to obtain a bill.
然而,由于商业的迅速发展,现有的计费业务变得更加的复杂化以及层次化,例如,某电信运营商提供的电信服务中,每分钟收取的服务费取决于多个参数:主叫使用的品牌、主叫所处的位置、被叫处于的位置、是否使用优惠套餐…,不同的参数组合收取的服务费也不同。 However, due to the rapid development of business, the existing billing business has become more complicated and hierarchical. For example, in the telecommunications services provided by a certain telecommunications operator, the service fee charged per minute depends on multiple parameters: The brand used, the location of the calling party, the location of the called party, whether to use a preferential package...the service fees charged for different parameter combinations are also different.
上述复杂化以及层次化的计费业务给现有计费系统以及计费方法带来了很大的挑战。因此,用户急需一种能对复杂化、层次化计费业务进行计费的计费系统或计费方法。 The above-mentioned complicated and hierarchical charging services bring great challenges to the existing charging systems and charging methods. Therefore, users urgently need a charging system or charging method capable of charging complex and hierarchical charging services.
发明内容Contents of the invention
本发明的发明目的一在于提供一种基于前缀树的计费方法,该计费方法能够克服现有技术的缺陷,对复杂化、层次化的计费业务进行快速计费。 The first object of the present invention is to provide a prefix tree-based charging method, which can overcome the defects of the prior art and quickly charge complex and hierarchical charging services.
本发明的发明目的二在于提供一种计费系统,该系统应用了发明目的一的计费方法,因此能够对复杂化、层次化的计费业务进行计费。 The second object of the present invention is to provide a charging system, which applies the charging method of the first object of the invention, so that it can charge complex and hierarchical charging services.
为实现发明目的一,本发明的技术方案如下: For realizing the purpose of the invention one, the technical scheme of the present invention is as follows:
一种基于前缀树的计费方法,提取用户的消费数据和配置数据,根据用户的消费数据和配置数据确定计费策略;根据消费数据、配置数据、计费策略对用户进行计费,所述计费策略具体为: A charging method based on a prefix tree, extracting user consumption data and configuration data, determining a charging strategy according to the user's consumption data and configuration data; charging the user according to the consumption data, configuration data, and charging strategy, the described The billing policy is specifically:
S1.提取计费业务中所有的计费资源和计费资源对应的记账规则,使用形式化的语法与语义对计费资源和记账规则进行定义; S1. Extract all billing resources and billing rules corresponding to billing resources in the billing business, and use formal syntax and semantics to define billing resources and billing rules;
S2.对计费资源的语法与语义使用前缀树结构进行描述,得到计费资源前缀 S2. Use the prefix tree structure to describe the syntax and semantics of billing resources, and obtain the prefix of billing resources
树;对记账规则的语法与语义进行描述; tree; describe the syntax and semantics of accounting rules;
S3.计费资源前缀树与描述后的记账规则进行关联,得到产品描述; S3. The billing resource prefix tree is associated with the described accounting rules to obtain the product description;
S4.对产品描述进行处理,生成产品描述文件; S4. Process the product description to generate a product description file;
S5.对产品描述文件进行编译,生成与计费策略。 S5. Compiling the product description file, generating and charging policy.
优选地,计费资源前缀树上为一条根资源节点到叶子资源节点的路径,该路径包括若干资源节点或若干资源节点和子资源节点,其中资源节点是计费业务为其定义的元素;子资源节点是资源节点根据增值业务需求,对元素进行细化的子元素。 Preferably, the charging resource prefix tree is a path from the root resource node to the leaf resource node, the path includes several resource nodes or several resource nodes and sub-resource nodes, wherein the resource node is an element defined for the charging service; the sub-resource A node is a sub-element of a resource node that refines elements according to value-added service requirements.
优选地,所述子资源节点在计费资源前缀树上的描述为:增值业务名称计费业务为该资源节点定义的集合元素名称。 Preferably, the description of the sub-resource node on the charging resource prefix tree is: the value-added service name and the collection element name defined by the charging service for the resource node.
优选地,若提取的计费资源中存在记账规则相同的计费资源,步骤S2还包括在得到的计费资源前缀树上,对这些记账规则相同的计费资源进行组合描述,得到计费资源组合。 Preferably, if there are charging resources with the same accounting rules in the extracted charging resources, step S2 further includes combining and describing these charging resources with the same accounting rules on the obtained charging resource prefix tree to obtain resource combination.
优选地,采用以下基本算子对记账规则相同的计费资源进行组合描述: Preferably, the following basic operators are used to describe the combination of charging resources with the same accounting rules:
* :包含计费业务为资源节点定义的所有元素; * : Contains all elements defined by the charging service for resource nodes;
+:合并计费资源在资源节点上的元素; +: Merge billing resource elements on the resource node;
- :排除计费资源在资源节点上的元素。 - : Exclude elements on resource nodes for billable resources.
优选地,所述步骤S5中,编译过程具体如下: Preferably, in the step S5, the compilation process is specifically as follows:
S11.扫描产品描述文件; S11. Scanning the product description file;
S12.读入产品描述,将产品描述解析成计费资源和记账规则; S12. Read in the product description, and parse the product description into billing resources and accounting rules;
S13.对计费资源进行解析,若该计费资源是计费资源组合,则拆分成一组等价的计费资源; S13. Analyze the charging resource, if the charging resource is a combination of charging resources, split it into a group of equivalent charging resources;
S14.若计费资源中包含子资源节点,则标注该资源为优先级高的资源; S14. If the charging resource contains sub-resource nodes, mark the resource as a resource with high priority;
S15.对每个计费资源的资源节点和子资源节点,按前缀顺序生成RETE网络表示的计费规则,计费规则包括计费参数; S15. For the resource node and sub-resource node of each charging resource, generate charging rules represented by the RETE network in the order of prefixes, and the charging rules include charging parameters;
S16.提取记账规则中的记账参数,将计费规则中的计费参数替换为对应记账参数。 S16. Extract the billing parameters in the billing rules, and replace the billing parameters in the billing rules with corresponding billing parameters.
优选地,:所述根据消费数据、配置数据、计费策略对用户进行计费的过程具体如下: Preferably, the process of charging the user according to the consumption data, configuration data and charging policy is specifically as follows:
S21. 对消费数据和配置数据进行封装,得到计费对象; S21. Encapsulate the consumption data and configuration data to obtain the billing object;
S22.使用RETE匹配算法对计费对象和计费规则进行比较匹配,计费对象执行匹配的计费规则,产生计费动作,得到计费结果; S22. Using the RETE matching algorithm to compare and match the charging object and the charging rule, the charging object executes the matching charging rule, generates a charging action, and obtains a charging result;
S23.若执行计费规则的过程中出现冲突,或计费对象同时与多条计费规则匹配,则将这些计费规则放入冲突集合; S23. If a conflict occurs during the execution of the charging rules, or the charging object matches multiple charging rules at the same time, put these charging rules into a conflict set;
S24.冲突集合中,按事先定义好的算法将计费规则进行顺序/优先级排序;计费对象与顺序/优先级最前/最高的计费规则进行匹配,计费对象执行匹配的计费规则,产生计费动作,得到计费结果。 S24. In the conflict set, sort the order/priority of the charging rules according to the pre-defined algorithm; the charging object is matched with the charging rule with the highest order/priority/highest, and the charging object executes the matching charging rule , generate a billing action, and get the billing result.
为实现发明目的二,采用的技术方案如下: For realizing object two of the invention, the technical scheme that adopts is as follows:
一种应用了发明目的一提供的方法的计费系统,包括产品描述单元、计费规则生成单元、消费数据提取单元、配置数据提取单元、计费单元和汇总分析单元; A billing system applying the method provided by the first object of the invention, including a product description unit, a billing rule generation unit, a consumption data extraction unit, a configuration data extraction unit, a billing unit, and a summary analysis unit;
其中产品描述单元用于录入产品描述,生成产品描述文件;其中产品描述的生长方式为: The product description unit is used to enter product descriptions and generate product description files; the growth mode of product descriptions is:
S1.提取计费业务中所有的计费资源和计费资源对应的记账规则,使用形式化的语法与语义对计费资源和记账规则进行定义; S1. Extract all billing resources and billing rules corresponding to billing resources in the billing business, and use formal syntax and semantics to define billing resources and billing rules;
S2.对计费资源的语法与语义使用前缀树结构进行描述,得到计费资源前缀 S2. Use the prefix tree structure to describe the syntax and semantics of billing resources, and obtain the prefix of billing resources
树;对记账规则的语法与语义进行描述; tree; describe the syntax and semantics of accounting rules;
S3.计费资源前缀树与描述后的记账规则进行关联,得到产品描述; S3. The billing resource prefix tree is associated with the described accounting rules to obtain the product description;
计费规则生成单元用于对产品描述文件进行编译,生成计费规则; The billing rule generation unit is used to compile the product description file and generate billing rules;
消费数据提取单元用于从系统提取用户的消费数据; The consumption data extraction unit is used to extract the user's consumption data from the system;
配置数据提取单元用于从系统提取用户的配置数据; The configuration data extraction unit is used to extract user configuration data from the system;
计费单元运用计费规则,对提取的消费数据进行计费,得到计费结果; The billing unit uses the billing rules to bill the extracted consumption data, and obtains the billing result;
汇总分析单元用于汇总计费结果。 The summary analysis unit is used to summarize the charging results.
本发明提供的计费方法,采用前缀树结构对计费业务中的计费资源进行表达,因此生成的计费规则可以表达复杂化、层次化的计费业务,提取消费数据,执行这些计费规则,就可以对复杂化、层次化的计费业务进行计费。 The billing method provided by the present invention adopts the prefix tree structure to express the billing resources in the billing business, so the generated billing rules can express complex and hierarchical billing services, extract consumption data, and perform these billing According to the rules, complex and hierarchical charging services can be charged.
附图说明 Description of drawings
图1为本发明实施例中计费资源前缀树结构示意图。 FIG. 1 is a schematic diagram of a prefix tree structure of charging resources in an embodiment of the present invention.
图2为本发明实施例中计费系统结构示意图。 Fig. 2 is a schematic structural diagram of the billing system in the embodiment of the present invention.
图3为本发明实施例中计费系统工作过程示意图。 Fig. 3 is a schematic diagram of the working process of the billing system in the embodiment of the present invention.
具体实施方式 Detailed ways
下面结合附图和实施例对本发明的技术方案做进一步的说明。 The technical solutions of the present invention will be further described below in conjunction with the accompanying drawings and embodiments.
实施例1 Example 1
本发明提供了一种基于前缀树的计费方法,提取用户的消费数据和配置数据,根据用户的消费数据和配置数据确定计费策略;根据消费数据、配置数据、计费策略对用户进行计费,所述计费策略具体为: The invention provides a prefix tree-based billing method, which extracts user consumption data and configuration data, and determines a billing strategy based on the user's consumption data and configuration data; calculates the user according to the consumption data, configuration data, and billing strategy. fee, the billing policy is specifically:
S1.提取计费业务中所有的计费资源和计费资源对应的记账规则,使用形式化的语法与语义对计费资源和记账规则进行定义; S1. Extract all billing resources and billing rules corresponding to billing resources in the billing business, and use formal syntax and semantics to define billing resources and billing rules;
S2.对计费资源的语法与语义使用前缀树结构进行描述,得到计费资源前缀 S2. Use the prefix tree structure to describe the syntax and semantics of billing resources, and obtain the prefix of billing resources
树;对记账规则的语法与语义进行描述; tree; describe the syntax and semantics of accounting rules;
S3.计费资源前缀树与描述后的记账规则进行关联,得到产品描述; S3. The billing resource prefix tree is associated with the described accounting rules to obtain the product description;
S4.对产品描述进行处理,生成产品描述文件; S4. Process the product description to generate a product description file;
S5.对产品描述文件进行编译,生成与计费策略。 S5. Compiling the product description file, generating and charging policy.
如图1所示,计费资源前缀树上为一条根资源节点到叶子资源节点的路径,该路径包括若干资源节点或若干资源节点和子资源节点,其中资源节点是计费业务为其定义的元素,子资源节点是资源节点根据增值业务需求,对元素进行细化的子元素。例如,例如计费资源“语音·本地·普通呼叫·本地电话”包括 “语音”、“本地”、“普通呼叫”、“本地电话”四个资源节点,资源节点“本地”为计费业务定义的集合{本地,省内,省际}中的一个元素,“普通呼叫”为{普通呼叫,被叫,有条件转移}中的一个元素。 As shown in Figure 1, the billing resource prefix tree is a path from the root resource node to the leaf resource node, which includes several resource nodes or several resource nodes and sub-resource nodes, where the resource node is an element defined by the billing service , the sub-resource node is a sub-element for the resource node to refine the element according to the value-added service requirements. For example, for example, the billing resource "voice·local·common call·local call" includes four resource nodes "voice", "local", "common call" and "local call", and the resource node "local" is defined for the billing service An element in the set of {local, intra-provincial, inter-provincial}, and "ordinary call" is an element in {ordinary call, called, conditional transfer}.
本实施例中,子资源节点在计费资源前缀树上的描述为:增值业务名称计费业务为该资源节点定义的集合元素名称。例如,子资源节点“亲情号码省内”表示省内有一个细分的计费资源“亲情号码”。 In this embodiment, the description of the sub-resource node on the charging resource prefix tree is: the name of the value-added service and the name of the set element defined by the charging service for the resource node. For example, the sub-resource node "family number in the province" indicates that there is a subdivided charging resource "family number" in the province.
同时,若提取的计费资源中存在记账规则相同的计费资源,则步骤S2还包括在得到的计费资源前缀树上,对这些记账规则相同的计费资源进行组合描述,得到计费资源组合。 At the same time, if there are charging resources with the same accounting rules in the extracted charging resources, step S2 also includes combining and describing these charging resources with the same accounting rules on the obtained charging resource prefix tree to obtain resource combination.
本实施例中,采用以下基本算子对记账规则相同的计费资源进行组合描述: In this embodiment, the following basic operators are used to describe the combination of charging resources with the same accounting rules:
* :包含计费业务为资源节点定义的所有元素; * : Contains all elements defined by the charging service for resource nodes;
+:合并计费资源在资源节点上的元素; +: Merge billing resource elements on the resource node;
- :排除计费资源在资源节点上的元素。 - : Exclude elements on resource nodes for billable resources.
例如计费资源在计费资源树上的路径为:语音·省际·*-17951·省际。表示不包含17951IP电话这个渠道在内的所有国内长途电话。 For example, the path of the billing resource on the billing resource tree is: voice · interprovincial · *-17951 · interprovincial. Indicates all domestic long-distance calls excluding the 17951 IP phone channel.
本实施例中,采用赋值符号“<-”表示步骤S3中的关联,例如, In this embodiment, the assignment symbol "<-" is used to indicate the association in step S3, for example,
语音·省际漫游·普通呼叫·本地+省内+省际 <- R(长途费, 0.39元/分钟) Voice · inter-provincial roaming · general call · local + intra-provincial + inter-provincial <- R (long-distance fee, 0.39 yuan/minute)
该语句表示省际漫游通话时,呼叫国内均采用R记账规则,单价0. 39元/分钟的长途费,它等价于以下三条路径: This sentence means that when inter-provincial roaming calls are made, the R billing rule is adopted for domestic calls, and the long-distance fee with a unit price of 0.39 yuan/minute is equivalent to the following three paths:
语音·省际漫游·普通呼叫·本地 <- R(长途费,0.39元/分钟) Voice, inter-provincial roaming, ordinary call, local <- R (long-distance fee, 0.39 yuan/minute)
语音·省际漫游·普通呼叫·省内 <- R(长途费,0.39元/分钟) Voice, inter-provincial roaming, ordinary call, intra-provincial <- R (long distance fee, 0.39 yuan/minute)
语音·省际漫游·普通呼叫·省际 <- R(长途费,0.39元/分钟) Voice, inter-provincial roaming, ordinary call, inter-provincial <- R (long distance fee, 0.39 yuan/minute)
其中,步骤S5中,编译的过程具体如下: Wherein, in step S5, the compilation process is specifically as follows:
S11.扫描产品描述文件; S11. Scanning the product description file;
S12.读入产品描述文件中的产品描述,将产品描述解析成计费资源和记账规则; S12. Read in the product description in the product description file, and parse the product description into billing resources and accounting rules;
S13.对计费资源进行解析,若该计费资源是计费资源组合,则拆分成一组等价的计费资源; S13. Analyze the charging resource, if the charging resource is a combination of charging resources, split it into a group of equivalent charging resources;
S14.若计费资源中包含子资源节点,则标注该资源为优先级高的资源; S14. If the charging resource contains sub-resource nodes, mark the resource as a resource with high priority;
S15.对每个计费资源的资源节点和子资源节点,按前缀顺序生成RETE网络表示的计费规则,计费规则包括计费参数; S15. For the resource node and sub-resource node of each charging resource, generate charging rules represented by the RETE network in the order of prefixes, and the charging rules include charging parameters;
S16.提取记账规则中的记账参数,将计费规则中的计费参数替换为对应记账参数。 S16. Extract the billing parameters in the billing rules, and replace the billing parameters in the billing rules with corresponding billing parameters.
通过以上处理,得到可以执行的计费规则,如下, Through the above processing, the billing rules that can be executed are obtained, as follows,
计费规则when部分由计费资源生成,then部分由记账规则生成。 The when part of the billing rule is generated by the billing resource, and the then part is generated by the billing rule.
:所述根据消费数据、配置数据、计费策略对用户进行计费的过程具体如下: : The process of charging the user according to the consumption data, configuration data and charging policy is as follows:
S21. 对消费数据和配置数据进行封装,得到计费对象; S21. Encapsulate the consumption data and configuration data to obtain the billing object;
S22.使用RETE匹配算法对计费对象和计费规则进行比较匹配,计费对象执行匹配的计费规则,产生计费动作,得到计费结果; S22. Using the RETE matching algorithm to compare and match the charging object and the charging rule, the charging object executes the matching charging rule, generates a charging action, and obtains a charging result;
S23.若执行计费规则的过程中出现冲突,或计费对象同时与多条计费规则匹配,则将这些计费规则放入冲突集合; S23. If a conflict occurs during the execution of the charging rules, or the charging object matches multiple charging rules at the same time, put these charging rules into a conflict set;
S24.冲突集合中,按事先定义好的算法将计费规则进行顺序/优先级排序;计费对象与顺序/优先级最前/最高的计费规则进行匹配,计费对象执行匹配的计费规则,产生计费动作,得到计费结果。 S24. In the conflict set, sort the order/priority of the charging rules according to the pre-defined algorithm; the charging object is matched with the charging rule with the highest order/priority/highest, and the charging object executes the matching charging rule , generate a billing action, and get the billing result.
本发明还提供了一种计费系统,如图2、图3所示,该系统组成包括产品描述单元、计费规则生成单元、消费数据提取单元、配置数据提取单元、计费单元和汇总分析单元; The present invention also provides a billing system, as shown in Figure 2 and Figure 3, the system consists of a product description unit, a billing rule generation unit, a consumption data extraction unit, a configuration data extraction unit, a billing unit and a summary analysis unit;
其中产品描述单元用于录入产品描述,生成产品描述文件;其中产品描述的生长方式为: The product description unit is used to enter product descriptions and generate product description files; the growth mode of product descriptions is:
S1.提取计费业务中所有的计费资源和计费资源对应的记账规则,使用形式化的语法与语义对计费资源和记账规则进行定义; S1. Extract all billing resources and billing rules corresponding to billing resources in the billing business, and use formal syntax and semantics to define billing resources and billing rules;
S2.对计费资源的语法与语义使用前缀树结构进行描述,得到计费资源前缀 S2. Use the prefix tree structure to describe the syntax and semantics of billing resources, and obtain the prefix of billing resources
树;对记账规则的语法与语义进行描述; tree; describe the syntax and semantics of accounting rules;
S3.计费资源前缀树与描述后的记账规则进行关联,得到产品描述 S3. The billing resource prefix tree is associated with the billing rules after the description to obtain the product description
计费规则生成单元用于对产品描述文件进行编译,生成计费规则;具体过程如S11-S16所示; The billing rule generation unit is used to compile the product description file and generate billing rules; the specific process is shown in S11-S16;
消费数据提取单元用于从系统提取用户的消费数据; The consumption data extraction unit is used to extract the user's consumption data from the system;
配置数据提取单元用于从系统提取用户的配置数据; The configuration data extraction unit is used to extract user configuration data from the system;
计费单元运用计费规则,对提取的消费数据进行计费,得到计费结果;具体过程如S21-S24所示。 The billing unit charges the extracted consumption data by using the billing rules, and obtains the billing result; the specific process is shown in S21-S24.
汇总分析单元用于汇总计费结果。 The summary analysis unit is used to summarize the charging results.
其中,产品描述单元采用向导界面,逐步帮助业务人员完成产品描述。在录入产品描述过程中,若业务人员重复对一个计费资源赋予多个记账规则,系统将给出错误提示,在完成了产品描述之后,该单元产生产品描述文件。 Among them, the product description unit uses a wizard interface to help business personnel complete product description step by step. In the process of entering the product description, if the business personnel repeatedly assign multiple accounting rules to one billing resource, the system will give an error prompt. After the product description is completed, the unit will generate a product description file.
在计费规则生成的时候,如果一个计费资源被赋予多个记账规则,则表示计费规则冲突,违反一致性原则;如果前缀节点后续集合未覆盖,则表示计费规则的完整性有缺陷。同时计费规则生成单元输出静态检测报告,供业务人员进行完整性、一致性分析。 When billing rules are generated, if a billing resource is assigned multiple billing rules, it means that the billing rules conflict and violate the principle of consistency; if the subsequent set of prefix nodes is not covered, it means that the integrity of the billing rules defect. At the same time, the billing rule generation unit outputs a static detection report for business personnel to conduct integrity and consistency analysis.
在进行计费的过程中,计费单元生成运行检测报告供业务人员做进一步的分析。 During the billing process, the billing unit generates an operation detection report for further analysis by business personnel.
在一种优选的方案中,消费数据提取单元、消费数据提取单元从BOSS系统中提取用户的消费数据和配置数据。汇总分析单元汇总计费结果后,输出计费结果文件,供用户做进一步的分析。 In a preferred solution, the consumption data extracting unit and the consumption data extracting unit extract the user's consumption data and configuration data from the BOSS system. After summarizing the billing results, the summary analysis unit outputs a billing result file for further analysis by the user.
本发明提供的计费方法,采用前缀树结构对计费业务中的计费资源进行表达,因此生成的计费规则可以表达复杂化、层次化的计费业务。提取消费数据,执行这些计费规则,就可以对复杂化、层次化的计费业务进行计费。 The billing method provided by the invention adopts the prefix tree structure to express the billing resources in the billing service, so the generated billing rules can express complicated and hierarchical billing services. By extracting consumption data and executing these charging rules, complex and hierarchical charging services can be charged.
Claims (8)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201410565251.4A CN104270735B (en) | 2014-10-22 | 2014-10-22 | A kind of charging method and charge system based on prefix trees |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201410565251.4A CN104270735B (en) | 2014-10-22 | 2014-10-22 | A kind of charging method and charge system based on prefix trees |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN104270735A true CN104270735A (en) | 2015-01-07 |
| CN104270735B CN104270735B (en) | 2017-07-14 |
Family
ID=52162211
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201410565251.4A Expired - Fee Related CN104270735B (en) | 2014-10-22 | 2014-10-22 | A kind of charging method and charge system based on prefix trees |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN104270735B (en) |
Cited By (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN108389079A (en) * | 2018-02-13 | 2018-08-10 | 腾讯科技(深圳)有限公司 | The formulation of charging policy and querying method, device, terminal and readable storage medium storing program for executing |
| CN111199464A (en) * | 2019-12-02 | 2020-05-26 | 泰康保险集团股份有限公司 | Receipt data processing system, receipt data processing method, device, and medium |
| CN111277719A (en) * | 2020-01-08 | 2020-06-12 | 卓望数码技术(深圳)有限公司 | Flexible service charging method, device and medium |
Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20040032942A1 (en) * | 2002-08-13 | 2004-02-19 | Sbc Properties, L.P. | System and method for determining characteristics of international calls |
| CN101018136A (en) * | 2007-02-15 | 2007-08-15 | 中兴通讯股份有限公司 | Partition charging method and device for the telecom system and mobile terminal partition card |
| CN101296272A (en) * | 2008-06-10 | 2008-10-29 | 腾讯科技(深圳)有限公司 | Charging management method |
| US8369829B2 (en) * | 2010-03-03 | 2013-02-05 | Kodiak Networks, Inc. | Prepaid billing solutions for push-to-talk in a wireless communications network |
-
2014
- 2014-10-22 CN CN201410565251.4A patent/CN104270735B/en not_active Expired - Fee Related
Patent Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20040032942A1 (en) * | 2002-08-13 | 2004-02-19 | Sbc Properties, L.P. | System and method for determining characteristics of international calls |
| CN101018136A (en) * | 2007-02-15 | 2007-08-15 | 中兴通讯股份有限公司 | Partition charging method and device for the telecom system and mobile terminal partition card |
| CN101296272A (en) * | 2008-06-10 | 2008-10-29 | 腾讯科技(深圳)有限公司 | Charging management method |
| US8369829B2 (en) * | 2010-03-03 | 2013-02-05 | Kodiak Networks, Inc. | Prepaid billing solutions for push-to-talk in a wireless communications network |
Non-Patent Citations (4)
| Title |
|---|
| ANDRA LUTU: "An economic side-effect for prefix deaggregation", 《COMPUTER COMMUNICATIONS WORKSHOPS》 * |
| GUANGMING XING: "Extendible range-based numbering scheme for XML document", 《INFORMATION TECHNOLOGY:CODING AND COMPUTING》 * |
| 王堃: "网络计费策略的研究", 《中兴通讯技术》 * |
| 王秀敏: "电信业运营支撑系统中计费系统的计费引擎", 《计算机工程》 * |
Cited By (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN108389079A (en) * | 2018-02-13 | 2018-08-10 | 腾讯科技(深圳)有限公司 | The formulation of charging policy and querying method, device, terminal and readable storage medium storing program for executing |
| CN111199464A (en) * | 2019-12-02 | 2020-05-26 | 泰康保险集团股份有限公司 | Receipt data processing system, receipt data processing method, device, and medium |
| CN111199464B (en) * | 2019-12-02 | 2023-06-30 | 泰康保险集团股份有限公司 | Processing system of collection data, processing method, device and medium of collection data |
| CN111277719A (en) * | 2020-01-08 | 2020-06-12 | 卓望数码技术(深圳)有限公司 | Flexible service charging method, device and medium |
Also Published As
| Publication number | Publication date |
|---|---|
| CN104270735B (en) | 2017-07-14 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US8068431B2 (en) | System and method for deep packet inspection | |
| CN101582776B (en) | Service charging method and service charging system | |
| CN102780574B (en) | The collocation method of the office data of service-oriented, device and check method, device | |
| CN112100250B (en) | Data processing method and device | |
| US20200082810A1 (en) | System and method for mapping a customer journey to a category | |
| CN109871309B (en) | Method and system for generating test case for billing system | |
| US8897745B2 (en) | Method and apparatus for optimizing delivery of network usage and billing data | |
| CN103138981A (en) | Method and device for social network service analysis | |
| CN103684803A (en) | Flow collecting device and system and method for directional flow accounting | |
| CN113888050B (en) | A method for implementing risk control rule configuration based on rule engine | |
| CN104270735B (en) | A kind of charging method and charge system based on prefix trees | |
| Li et al. | Enhancing telco service quality with big data enabled churn analysis: infrastructure, model, and deployment | |
| WO2020071962A1 (en) | System for classifying traffic | |
| CN110505069A (en) | A method and device for generating customized bills | |
| CN105025254B (en) | A kind of multi-platform monitoring terminal system development approach | |
| CN103959715A (en) | Methods, systems, and computer readable media for testing a diameter routing node | |
| CN105260168B (en) | Log-output method and device | |
| US10956914B2 (en) | System and method for mapping a customer journey to a category | |
| RU2339171C2 (en) | Method and system for implementation of communication services tariffication | |
| CN111371575B (en) | A method and device for delimiting a call problem | |
| CN107835190A (en) | A kind of malice SP orders check method | |
| Ouyang et al. | Ontology-based network intent refinement framework | |
| CN111352932B (en) | Method and device for improving data processing efficiency based on bitmap tree algorithm | |
| CN104573034B (en) | User group's division method and system based on CDR tickets | |
| CN104065490B (en) | The system and method for analog transceiver equipment signaling is realized based on online charging environment |
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 | ||
| CF01 | Termination of patent right due to non-payment of annual fee | ||
| CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20170714 |