CN106936601B - Service charging method and device - Google Patents
Service charging method and device Download PDFInfo
- Publication number
- CN106936601B CN106936601B CN201511028652.7A CN201511028652A CN106936601B CN 106936601 B CN106936601 B CN 106936601B CN 201511028652 A CN201511028652 A CN 201511028652A CN 106936601 B CN106936601 B CN 106936601B
- Authority
- CN
- China
- Prior art keywords
- charging
- factor
- result
- current service
- service
- 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.)
- Active
Links
Images
Classifications
-
- 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
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
- Charge And Discharge Circuits For Batteries Or The Like (AREA)
Abstract
本发明实施例公开了一种业务计费方法及装置,涉及通信技术领域,可以减少业务计费过程中的计算量,简化计费过程,进而可以降低对系统性能的消耗。具体方案为:获取一用户的当前业务的业务使用信息;确定用户为当前业务订购的资费策略,并从用户为当前业务订购的资费策略中,确定出当前业务的计费因子;采用当前业务的计费因子匹配预先存储的历史计费结果,历史计费结果中包含计费因子以及与计费因子存在对应关系的计费结果;若存在与当前业务的计费因子匹配的历史计费结果,则采用与当前业务的计费因子匹配的历史计费结果,根据当前业务的业务使用信息为当前业务计费,以获得当前业务的计费结果。本发明用于电信业务的计费过程中。
The embodiment of the invention discloses a service charging method and device, which relate to the technical field of communications, can reduce the calculation amount in the service charging process, simplify the charging process, and further reduce the consumption of system performance. The specific scheme is as follows: obtain the service usage information of a user's current service; determine the tariff policy subscribed by the user for the current service, and determine the charging factor of the current service from the tariff policy subscribed by the user for the current service; The charging factor matches the pre-stored historical charging result, and the historical charging result includes the charging factor and the charging result that has a corresponding relationship with the charging factor; if there is a historical charging result that matches the charging factor of the current service, Then, the historical charging result matching the charging factor of the current service is used, and the current service is charged according to the service usage information of the current service, so as to obtain the charging result of the current service. The present invention is used in the charging process of telecommunication services.
Description
技术领域technical field
本发明涉及通信技术领域,尤其涉及一种业务计费方法及装置。The present invention relates to the field of communication technologies, and in particular, to a service charging method and device.
背景技术Background technique
随着电子信息产业的发展,运营商可以针对不同的客户群体设计出可供客户选择的多种资费策略,以满足客户的业务需求。运营商可以将这些配置到计费系统中,形成资费数据,以便于根据用户订购的资费策略以及其业务使用情况对用户业务进行计费。With the development of the electronic information industry, operators can design a variety of tariff strategies for customers to choose from for different customer groups to meet customers' business needs. The operator can configure these into the charging system to form tariff data, so as to charge the user's services according to the tariff policy subscribed by the user and the service usage of the user.
现有技术对用户业务进行计费的过程,可以包括:获取用户的计费号码、当前业务的业务类型(如数据业务和语音业务)以及业务使用量等计费因子;获取该用户订购的所有资费策略;采用上述计费因子分别匹配每一个资费策略,进行计费(即计算出仅适用该资费策略时,该用户应该支付的费用),得到计算结果;将多个资费策略的计费结果进行合并(如选取所有计算结果中资费最少的资费策略的计算结果),得到最终计费结果。The process of charging user services in the prior art may include: acquiring the charging number of the user, the service type of the current service (such as data service and voice service), and charging factors such as service usage; Tariff policy; use the above charging factors to match each tariff policy respectively, perform charging (that is, calculate the fee that the user should pay when only this tariff policy is applied), and obtain the calculation result; combine the charging results of multiple tariff policies Merge (for example, select the calculation result of the tariff policy with the least tariff among all the calculation results) to obtain the final charging result.
但是,现有技术进行用户业务的计费处理过程中,需要逐个、循序渐进的采用每一个资费策略分别进行计费,然后再多个资费策略的计算结果进行合并,过程复杂,对系统性能消耗较大。However, in the process of charging user services in the prior art, it is necessary to use each tariff policy for charging one by one and step by step, and then combine the calculation results of multiple tariff policies. The process is complicated, and the system performance consumption is relatively high. big.
发明内容SUMMARY OF THE INVENTION
本发明的实施例提供一种业务计费方法及装置,可以减少业务计费过程中的计算量,简化计费过程,进而可以降低对系统性能的消耗。Embodiments of the present invention provide a service charging method and device, which can reduce the amount of calculation in the service charging process, simplify the charging process, and further reduce the consumption of system performance.
为达到上述目的,本发明的实施例采用如下技术方案:To achieve the above object, the embodiments of the present invention adopt the following technical solutions:
本发明实施例的第一方面,提供一种业务计费方法,包括:A first aspect of the embodiments of the present invention provides a service charging method, including:
获取一用户的当前业务的业务使用信息;Acquiring service usage information of a user's current service;
确定所述用户为所述当前业务订购的资费策略,并从所述用户为所述当前业务订购的资费策略中,确定出所述当前业务的计费因子;determining the tariff policy subscribed by the user for the current service, and determining the charging factor of the current service from the tariff policy subscribed by the user for the current service;
采用所述当前业务的计费因子匹配预先存储的历史计费结果,所述历史计费结果中包含计费因子以及与所述计费因子存在对应关系的计费结果;The charging factor of the current service is used to match a pre-stored historical charging result, and the historical charging result includes a charging factor and a charging result that has a corresponding relationship with the charging factor;
若存在与所述当前业务的计费因子匹配的历史计费结果,则采用与所述当前业务的计费因子匹配的历史计费结果,根据所述当前业务的业务使用信息为所述当前业务计费,以获得所述当前业务的计费结果。If there is a historical charging result that matches the charging factor of the current service, the historical charging result that matches the charging factor of the current service is used, and the current service is the current service according to the service usage information of the current service. charging to obtain the charging result of the current service.
通过本方案,可以从用户为当前业务订购的资费策略中,确定出当前业务的计费因子,然后采用当前业务的计费因子匹配历史计费结果,存在与当前业务的计费因子匹配的历史计费结果,则可以直接复用该历史计费结果对当前业务进行计费,而不是逐个、循序渐进的采用每一个资费策略分别进行计费。复用历史计费结果对当前业务进行计费可以减少业务计费过程中的计算量,简化计费过程,进而可以降低对系统性能的消耗。Through this solution, the charging factor of the current service can be determined from the charging policy subscribed by the user for the current service, and then the charging factor of the current service is used to match the historical charging result, and there is a history matching the charging factor of the current service. If the charging result is obtained, the historical charging result can be directly reused to perform charging for the current service, instead of charging each charging strategy one by one and step by step. Charging the current service by multiplexing the historical charging results can reduce the amount of calculation in the service charging process, simplify the charging process, and further reduce the consumption of system performance.
可选的,本发明实施例的一种可能的实现方式中,所述当前业务的计费因子包括:精确计费因子、复杂计费因子以及阶梯计费因子中的至少一项;Optionally, in a possible implementation manner of the embodiment of the present invention, the charging factor of the current service includes: at least one of a precise charging factor, a complex charging factor, and a stepped charging factor;
其中,所述精确计费因子为取值范围有限、且其直接取值影响计费结果的计费因子;Wherein, the precise charging factor is a charging factor whose value range is limited and whose value directly affects the charging result;
所述复杂计费因子为经过逻辑运算后的运算结果影响计费结果的计费因子;The complex charging factor is a charging factor whose operation result after logical operation affects the charging result;
所述阶梯计费因子为取值范围不可枚举、通过数学公式规整、映射后可转换为所述精确计费因子的计费因子。The stepped charging factor is a charging factor whose value range is not enumerable, and can be converted into the precise charging factor after being regulated by a mathematical formula and mapped.
本方案中,根据用户业务的不同将计费因子分为精确计费因子、复杂计费因子以及阶梯计费因子三类。本方案中的计费因子可以为精确计费因子、复杂计费因子以及阶梯计费因子中的至少一项;由此,通过本方案,便可以采用精确计费因子、复杂计费因子以及阶梯计费因子中任一项或者任意组合,匹配历史计费结果,从而对当前业务进行计费。In this solution, charging factors are divided into three categories: precise charging factors, complex charging factors, and stepped charging factors according to different user services. The billing factor in this solution can be at least one of the precise billing factor, the complex billing factor, and the stepped billing factor; thus, through this scheme, the precise billing factor, the complex billing factor, and the stepped billing factor can be adopted. Any one or any combination of the charging factors matches the historical charging results, thereby charging the current service.
可选的,本发明实施例的一种可能的实现方式中,所述精确计费因子包括:精确因子标识和精确因子取值;Optionally, in a possible implementation manner of the embodiment of the present invention, the precise charging factor includes: an exact factor identifier and an exact factor value;
所述复杂计费因子包括:复杂因子标识、复杂因子函数和复杂因子参数;The complex charging factor includes: a complex factor identifier, a complex factor function, and a complex factor parameter;
所述阶梯计费因子包括:阶梯因子标识、阶梯因子函数、阶梯资费标识和阶梯因子参数。The tiered charging factor includes a tiered factor identifier, a tiered factor function, a tiered tariff identifier, and a tiered factor parameter.
可选的,在本发明实施例的一种可能的实现方式中,所述历史计费结果中包含的与所述计费因子存在对应关系的计费结果包括:历史计费公式和业务计费结果中的至少一项;Optionally, in a possible implementation manner of the embodiment of the present invention, the charging results that have a corresponding relationship with the charging factors included in the historical charging results include: historical charging formulas and service charging. at least one of the results;
所述历史计费公式为在历史计费过程中归纳总结得到的与所述计费因子对应的用于计费计算的数学公式;The historical charging formula is a mathematical formula for charging calculation corresponding to the charging factor obtained by summarizing and summarizing in the historical charging process;
所述业务计费结果为在历史计费过程中归纳总结得到的与所述计费因子对应的使用固定业务所需的计费金额。The service charging result is the charging amount required for using the fixed service corresponding to the charging factor obtained by summarizing and summarizing in the historical charging process.
对于资费策略较为简单的计费因子,其所对应的计费结果则可以为上述业务计费结果(即使用固定业务所需的计费金额),例如使用一个数据流量包的计费金额是固定的;而对于资费策略较为复杂的计费因子,其所对应的计费结果则可能需要采用一定的数学公式进行计费计算的数学公式,例如当语音通信的时长大于一定阈值时,其计费金额与固定阈值区间内的语音通信时长满足一定的线性关系。For a charging factor with a relatively simple tariff policy, the corresponding charging result can be the above-mentioned service charging result (that is, the charging amount required for using a fixed service). For example, the charging amount for using a data flow package is fixed. For the charging factor with complex tariff policy, the corresponding charging result may need to use a certain mathematical formula for charging calculation. For example, when the duration of voice communication is greater than a certain threshold, the charging The amount and the voice communication duration within the fixed threshold interval satisfy a certain linear relationship.
可选的,在本发明实施例的一种可能的实现方式中,所述当前业务的计费因子包括:所述精确计费因子和所述复杂计费因子;Optionally, in a possible implementation manner of the embodiment of the present invention, the charging factor of the current service includes: the precise charging factor and the complex charging factor;
所述当前业务的计费因子包括:所述精确计费因子和所述复杂计费因子;The charging factor of the current service includes: the precise charging factor and the complex charging factor;
所述采用所述当前业务的计费因子匹配预先存储的历史计费结果,包括:The use of the charging factor of the current service to match the pre-stored historical charging result includes:
采用所述精确计费因子匹配第一计费结果,所述第一计费结果为所述历史计费结果;Matching a first charging result by using the precise charging factor, where the first charging result is the historical charging result;
若存在第二计费结果,则采用所述复杂计费因子匹配所述第二计费结果,所述第二计费结果为所述第一计费结果中与所述精确计费因子匹配的计费结果;If there is a second charging result, the complex charging factor is used to match the second charging result, and the second charging result is the first charging result that matches the precise charging factor. billing result;
所述若存在与所述当前业务的计费因子匹配的历史计费结果,则采用与所述当前业务的计费因子匹配的历史计费结果,根据所述当前业务的业务使用信息为所述当前业务计费,以获得所述当前业务的计费结果,包括:If there is a historical charging result that matches the charging factor of the current service, the historical charging result that matches the charging factor of the current service is used, and the service usage information of the current service is used for the Current service charging, to obtain the charging result of the current service, including:
若存在第三计费结果,则采用所述第三计费结果,根据所述当前业务的业务使用信息为所述当前业务计费,所述第三计费结果为所述第二计费结果中与所述复杂计费因子匹配的计费结果,以获得所述当前业务的计费结果。If there is a third charging result, the third charging result is used, the current service is charged according to the service usage information of the current service, and the third charging result is the second charging result The charging result that matches the complex charging factor is obtained in order to obtain the charging result of the current service.
由于精确计费因子为取值范围有限、且其直接取值影响计费结果的计费因子,而复杂计费因子为经过逻辑运算后的运算结果影响计费结果的计费因子;因此可知精确计费因子相较于复杂计费因子,更容易匹配历史计费结果,即精确计费因子直接复用历史计费结果的可能性更高。Because the precise charging factor is a charging factor whose value range is limited and whose value directly affects the charging result, while the complex charging factor is a charging factor whose operation result after logical operation affects the charging result; Compared with complex charging factors, charging factors are easier to match with historical charging results, that is, precise charging factors have a higher possibility of directly multiplexing historical charging results.
如此,当当前业务的计费因子包括精确计费因子和复杂计费因子时,优先采用精确计费因子匹配历史计费结果(第一计费结果),然后再采用复杂计费因子匹配与精确计费因子匹配的历史计费结果(第二计费结果),则可以提高匹配成功的可能性以及复用历史计费结果的可能性。In this way, when the charging factor of the current service includes the precise charging factor and the complex charging factor, the precise charging factor is preferentially used to match the historical charging result (the first charging result), and then the complex charging factor matching and accurate charging The historical charging result (second charging result) whose charging factor matches can improve the possibility of successful matching and the possibility of multiplexing the historical charging result.
可选的,在本发明实施例的一种可能的实现方式中,所述当前业务的计费因子包括:所述精确计费因子、所述复杂计费因子和所述阶梯计费因子;Optionally, in a possible implementation manner of the embodiment of the present invention, the charging factor of the current service includes: the precise charging factor, the complex charging factor, and the stepped charging factor;
所述采用所述当前业务的计费因子匹配预先存储的历史计费结果,包括:The use of the charging factor of the current service to match the pre-stored historical charging result includes:
采用所述精确计费因子匹配第一计费结果,所述第一计费结果为所述历史计费结果;Matching a first charging result by using the precise charging factor, where the first charging result is the historical charging result;
若存在第二计费结果,则采用所述复杂计费因子匹配所述第二计费结果,所述第二计费结果为所述第一计费结果中与所述精确计费因子匹配的计费结果;If there is a second charging result, the complex charging factor is used to match the second charging result, and the second charging result is the first charging result that matches the precise charging factor. billing result;
若存在第三计费结果,则采用所述阶梯计费因子匹配所述第三计费结果,所述第三计费结果为所述第二计费结果中与所述复杂计费因子匹配的计费结果;If there is a third charging result, the step charging factor is used to match the third charging result, and the third charging result is the second charging result that matches the complex charging factor billing result;
所述若存在与所述当前业务的计费因子匹配的历史计费结果,则采用与所述当前业务的计费因子匹配的历史计费结果,根据所述当前业务的业务使用信息为所述当前业务计费,以获得所述当前业务的计费结果,包括:If there is a historical charging result that matches the charging factor of the current service, the historical charging result that matches the charging factor of the current service is used, and the service usage information of the current service is used for the Current service charging, to obtain the charging result of the current service, including:
若存在第四计费结果,则采用所述第四计费结果,根据所述当前业务的业务使用信息为所述当前业务计费,所述第四计费结果为所述第三计费结果中与所述阶梯计费因子匹配的计费结果,以获得所述当前业务的计费结果。If there is a fourth charging result, the fourth charging result is used, the current service is charged according to the service usage information of the current service, and the fourth charging result is the third charging result The charging result that matches the step charging factor is obtained in order to obtain the charging result of the current service.
由于精确计费因子为取值范围有限、且其直接取值影响计费结果的计费因子,而复杂计费因子为经过逻辑运算后的运算结果影响计费结果的计费因子,阶梯计费因子为取值范围不可枚举、通过数学公式规整、映射后可转换为所述精确计费因子的计费因子;因此可知精确计费因子相较于复杂计费因子,更容易匹配历史计费结果,即精确计费因子直接复用历史计费结果的可能性更高;复杂计费因子相较于阶梯计费因子,更容易匹配历史计费结果,即复杂计费因子复用历史计费结果的可能性高于阶梯计费因子复用历史计费结果的可能性。Because the precise charging factor is a charging factor whose value range is limited and whose value directly affects the charging result, while the complex charging factor is a charging factor whose operation result after logical operation affects the charging result, step charging The factor is a charging factor whose value range is not enumerable, and can be converted into the precise billing factor after mapping through mathematical formulas. Therefore, it is known that the precise billing factor is easier to match with historical billing than the complex billing factor. As a result, the exact charging factor is more likely to directly reuse historical charging results; complex charging factors are more likely to match historical charging results than step charging factors, that is, complex charging factors reuse historical charging The probability of the result is higher than the possibility of multiplexing historical charging results by the step charging factor.
如此,当当前业务的计费因子包括精确计费因子、复杂计费因子和阶梯计费因子时,依次采用精确计费因子、复杂计费因子以及阶梯计费因子匹配历史计费结果,可以提高匹配成功的可能性以及复用历史计费结果的可能性。In this way, when the charging factor of the current service includes the precise charging factor, the complex charging factor, and the stepped charging factor, the precise charging factor, the complex charging factor, and the stepped charging factor are used in sequence to match the historical charging results, which can improve the efficiency of the charging process. The probability of a successful match and the possibility of reusing historical billing results.
优选的,在本发明实施例的一种可能的实现方式中,所述当前业务的计费因子中包含所述当前业务的计费因子对应的序列化特征值,该序列化特征值用于唯一标识该计费因子;Preferably, in a possible implementation manner of the embodiment of the present invention, the charging factor of the current service includes a serialized characteristic value corresponding to the charging factor of the current service, and the serialized characteristic value is used to uniquely Identifies the charging factor;
所述历史计费结果中包含计费因子以及与所述计费因子存在对应关系的计费结果,具体为:The historical charging result includes a charging factor and a charging result that has a corresponding relationship with the charging factor, specifically:
所述历史计费结果中包含待匹配序列化特征值以及与所述待匹配序列化特征值存在对应关系的计费结果,一个所述待匹配序列化特征值用于唯一标识一个计费因子。The historical charging results include serialized characteristic values to be matched and charging results that have a corresponding relationship with the serialized characteristic values to be matched, and one serialized characteristic value to be matched is used to uniquely identify a charging factor.
可以想到的是,为了提高计费因子与历史计费结果的匹配速度,本发明实施例中可以对计费因子进行序列化,为其生成一个可以唯一标识该计费因子的序列化特征值,然后通过序列化特征值的匹配实现计费因子与历史计费结果的匹配。It is conceivable that, in order to improve the matching speed between the charging factor and the historical charging result, in the embodiment of the present invention, the charging factor can be serialized, and a serialized characteristic value that can uniquely identify the charging factor is generated for it, Then, the matching between the charging factor and the historical charging result is realized by matching the serialized characteristic value.
可选的,在本发明实施例的一种可能的实现方式中,所述采用所述当前业务的计费因子匹配预先存储的历史计费结果,包括:Optionally, in a possible implementation manner of the embodiment of the present invention, the use of the charging factor of the current service to match a pre-stored historical charging result includes:
采用所述当前业务的计费因子对应的序列化特征值匹配预先存储的待匹配序列化特征值;Use the serialized feature value corresponding to the charging factor of the current service to match the pre-stored serialized feature value to be matched;
其中,当所述当前业务的计费因子对应的序列化特征值等于一待匹配序列化特征值时,所述当前业务的计费因子与该待匹配序列化特征值对应的计费结果匹配。Wherein, when the serialization characteristic value corresponding to the charging factor of the current service is equal to a serialization characteristic value to be matched, the charging factor of the current service matches the charging result corresponding to the serialization characteristic value to be matched.
进一步的,在本发明实施例的一种可能的实现方式中,所述业务计费方法还包括:Further, in a possible implementation manner of the embodiment of the present invention, the service charging method further includes:
若不存在与所述当前业务的计费因子匹配的历史计费结果,则分别采用所述用户为所述当前业务订购的资费策略中的每一个资费策略,为所述当前业务计费,以获得所述当前业务的计费结果。If there is no historical charging result matching the charging factor of the current service, each of the tariff policies subscribed by the user for the current service is adopted to charge for the current service, with Obtain the charging result of the current service.
本方案中,当不存在与当前业务的计费因子匹配的历史计费结果时,则可以分别采用用户为所述当前业务订购的资费策略中的每一个资费策略,为当前业务计费。如此,无论是否存在与当前业务的计费因子匹配的历史计费结果,通过本方案均可以为当前业务计费,获得当前业务的计费结果。In this solution, when there is no historical charging result matching the charging factor of the current service, each of the charging policies subscribed by the user for the current service can be used to charge the current service. In this way, regardless of whether there is a historical charging result matching the charging factor of the current service, the current service can be charged by the solution, and the charging result of the current service can be obtained.
需要说明的是,本发明实施例这里的提到的“不存在与当前业务的计费因子匹配的历史计费结果”包括:“不存在与上述精确计费因子匹配的历史计费结果”、“不存在与上述复杂计费因子匹配的历史计费结果”以及“不存在与上述阶梯计费因子匹配的历史计费结果”中的任意一项。It should be noted that "there is no historical charging result matching the charging factor of the current service" mentioned in this embodiment of the present invention includes: "there is no historical charging result matching the above-mentioned precise charging factor", Either "there is no historical charging result matching the above complex charging factor" and "there is no historical charging result matching the above step charging factor".
需要强调的是,当当前业务的计费因子包括:精确计费因子和复杂计费因子,或者当前业务的计费因子包括:精确计费因子、复杂计费因子和阶梯计费因子时,若不存在与上述精确计费因子匹配的历史计费结果,则不需要再采用复杂计费因子匹配历史计费结果。It should be emphasized that when the charging factor of the current service includes: precise charging factor and complex charging factor, or the charging factor of the current service includes: precise charging factor, complex charging factor and stepped charging factor, if If there is no historical charging result matching the above precise charging factor, it is not necessary to use complex charging factor to match the historical charging result.
同理,当前业务的计费因子包括:精确计费因子、复杂计费因子和阶梯计费因子时,若不存在与上述复杂计费因子匹配的历史计费结果,则不需要再采用阶梯计费因子匹配历史计费结果。Similarly, when the charging factors of the current service include: precise charging factors, complex charging factors, and step-by-step charging factors, if there is no historical charging result matching the above-mentioned complex charging factors, the step-by-step charging is not required. The fee factor matches historical billing results.
可选的,在所述若不存在与所述当前业务的计费因子匹配的历史计费结果,则分别采用所述用户为所述当前业务订购的资费策略中的每一个资费策略,为所述当前业务计费,以获得所述当前业务的计费结果之后,所述方法还包括:保存所述当前业务的计费因子与所述当前业务的计费结果之间的对应关系。Optionally, if there is no historical charging result matching the charging factor of the current service, each charging policy in the charging policies subscribed by the user for the current service is respectively adopted as the charging factor for the current service. After charging the current service to obtain the charging result of the current service, the method further includes: saving the corresponding relationship between the charging factor of the current service and the charging result of the current service.
可以想到的是,保存当前业务的计费因子与当前业务的计费结果之间的对应关系后,下次对类似业务进行计费时,则可以直接复用本次保存的与当前业务的计费因子存在对应关系的计费结果,则不需要按照第五种可能的实现方式中所述的计费方式对类似业务进行计费,从而可以减少上述类似业务计费过程中的计算量,简化计费过程,进而可以降低对系统性能的消耗。It is conceivable that after saving the corresponding relationship between the charging factor of the current service and the charging result of the current service, when charging for a similar service next time, you can directly reuse the current service and the current service. If there is a charging result in which there is a corresponding relationship between the charging factors, it is not necessary to charge similar services according to the charging method described in the fifth possible implementation manner, so that the amount of calculation in the charging process of the similar services can be reduced and simplified. The billing process can reduce the consumption of system performance.
优选的,所述保存所述当前业务的计费因子与所述当前业务的计费结果之间的对应关系,包括:Preferably, the storing the corresponding relationship between the charging factor of the current service and the charging result of the current service includes:
若所述当前业务的计费因子的使用频率高于第一频率阈值,则保存所述当前业务的计费因子与所述当前业务的计费结果之间的对应关系。If the usage frequency of the charging factor of the current service is higher than the first frequency threshold, the corresponding relationship between the charging factor of the current service and the charging result of the current service is saved.
本方案中,仅保存使用频率高于第一频率阈值的计费因子以及与其存在对应关系的计费结果,可以避免不常用(即使用频率较低)的计费因子以及与其存在对应关系的计费结果对计费系统存储空间的占用,影响系统性能。In this solution, only the charging factors whose usage frequency is higher than the first frequency threshold and the charging results that have a corresponding relationship with them are stored, which can avoid infrequently used (that is, the usage frequency is low) and the accounting factors that have a corresponding relationship with them. The billing result occupies the storage space of the billing system and affects the system performance.
可选的,为了进一步避免不常用(即使用频率较低)的计费因子以及与其存在对应关系的计费结果对计费系统存储空间的占用,本发明实施例的方法还可以包括:Optionally, in order to further avoid the occupation of the storage space of the charging system by the charging factors that are not commonly used (that is, the frequency of use is low) and the charging results that have a corresponding relationship with them, the method in the embodiment of the present invention may further include:
若所述当前业务的计费因子的使用频率低于第二频率阈值,则删除所述当前业务的计费因子与所述当前业务的计费结果之间的对应关系。If the usage frequency of the charging factor of the current service is lower than the second frequency threshold, the corresponding relationship between the charging factor of the current service and the charging result of the current service is deleted.
本发明实施例的第二方面,提供一种业务计费装置,包括:In a second aspect of the embodiments of the present invention, a service charging device is provided, including:
获取单元,用于获取一用户的当前业务的业务使用信息;an obtaining unit, used for obtaining service usage information of a user's current service;
确定单元,用于确定所述用户为所述当前业务订购的资费策略,并从所述用户为所述当前业务订购的资费策略中,确定出所述当前业务的计费因子;a determining unit, configured to determine the tariff policy subscribed by the user for the current service, and determine the charging factor of the current service from the tariff policy subscribed by the user for the current service;
匹配单元,用于采用所述确定单元确定的所述当前业务的计费因子匹配预先存储的历史计费结果,所述历史计费结果中包含计费因子以及与所述计费因子存在对应关系的计费结果;a matching unit, configured to use the charging factor of the current service determined by the determining unit to match a pre-stored historical charging result, where the historical charging result includes the charging factor and has a corresponding relationship with the charging factor the billing result;
计费单元,用于若所述匹配单元确定存在与所述当前业务的计费因子匹配的历史计费结果,则采用与所述当前业务的计费因子匹配的历史计费结果,根据所述当前业务的业务使用信息为所述当前业务计费,以获得所述当前业务的计费结果。A charging unit, configured to use the historical charging result matching the charging factor of the current service if the matching unit determines that there is a historical charging result matching the charging factor of the current service, and according to the The service usage information of the current service is charging for the current service, so as to obtain the charging result of the current service.
结合第二方面,在第一种可能的实现方式中,所述当前业务的计费因子包括:精确计费因子、复杂计费因子以及阶梯计费因子中的至少一项;With reference to the second aspect, in a first possible implementation manner, the charging factor of the current service includes: at least one of a precise charging factor, a complex charging factor, and a stepped charging factor;
其中,所述精确计费因子为取值范围有限、且其直接取值影响计费结果的计费因子;Wherein, the precise charging factor is a charging factor whose value range is limited and whose value directly affects the charging result;
所述复杂计费因子为经过函数运算后的运算结果影响计费结果的计费因子;The complex charging factor is a charging factor whose operation result after function operation affects the charging result;
所述阶梯计费因子为取值范围不可枚举、通过数学公式规整、映射后可转换为所述精确计费因子的计费因子。The stepped charging factor is a charging factor whose value range is not enumerable, and can be converted into the precise charging factor after being regulated by a mathematical formula and mapped.
结合第一种可能的实现方式,在第二种可能的实现方式中,所述精确计费因子包括:精确因子标识和精确因子取值;With reference to the first possible implementation manner, in the second possible implementation manner, the precise charging factor includes: an exact factor identifier and an exact factor value;
所述复杂计费因子包括:复杂因子标识、复杂因子函数和复杂因子参数;The complex charging factor includes: a complex factor identifier, a complex factor function, and a complex factor parameter;
所述阶梯计费因子包括:阶梯因子标识、阶梯因子函数、阶梯资费标识和阶梯因子参数。The tiered charging factor includes a tiered factor identifier, a tiered factor function, a tiered tariff identifier, and a tiered factor parameter.
结合第二方面、第一种可能的实现方式或第二种可能的实现方式,在第三种可能的实现方式中,所述历史计费结果中包含的与所述计费因子存在对应关系的计费结果包括:历史计费公式和业务计费结果中的至少一项;With reference to the second aspect, the first possible implementation manner, or the second possible implementation manner, in a third possible implementation manner, the historical charging results included in the charging factor have a corresponding relationship. The charging result includes: at least one of historical charging formula and service charging result;
所述历史计费公式为在历史计费过程中归纳总结得到的与所述计费因子对应的用于计费计算的数学公式;The historical charging formula is a mathematical formula for charging calculation corresponding to the charging factor obtained by summarizing and summarizing in the historical charging process;
所述业务计费结果为在历史计费过程中归纳总结得到的与所述计费因子对应的计费金额。The service charging result is the charging amount corresponding to the charging factor obtained by summarizing and summarizing in the historical charging process.
结合第一种可能的实现方式或第二种可能的实现方式,在第四种可能的实现方式中,所述当前业务的计费因子包括:所述精确计费因子和所述复杂计费因子;With reference to the first possible implementation manner or the second possible implementation manner, in a fourth possible implementation manner, the charging factor of the current service includes: the precise charging factor and the complex charging factor ;
所述匹配单元,具体用于:The matching unit is specifically used for:
采用所述精确计费因子匹配第一计费结果,所述第一计费结果为所述历史计费结果;Matching a first charging result by using the precise charging factor, where the first charging result is the historical charging result;
若存在第二计费结果,则采用所述复杂计费因子匹配所述第二计费结果,所述第二计费结果为所述第一计费结果中与所述精确计费因子匹配的计费结果;If there is a second charging result, the complex charging factor is used to match the second charging result, and the second charging result is the first charging result that matches the precise charging factor. billing result;
所述计费单元,具体用于:The billing unit is specifically used for:
若所述匹配单元确定存在第三计费结果,则采用所述第三计费结果,根据所述当前业务的业务使用信息为所述当前业务计费,所述第三计费结果为所述第二计费结果中与所述复杂计费因子匹配的计费结果,以获得所述当前业务的计费结果。If the matching unit determines that there is a third charging result, the third charging result is used, and the current service is charged according to the service usage information of the current service, and the third charging result is the The charging result matching the complex charging factor in the second charging result is used to obtain the charging result of the current service.
结合第一种可能的实现方式或第二种可能的实现方式,在第五种可能的实现方式中,所述当前业务的计费因子包括:所述精确计费因子、所述复杂计费因子和所述阶梯计费因子;With reference to the first possible implementation manner or the second possible implementation manner, in a fifth possible implementation manner, the charging factor of the current service includes: the precise charging factor, the complex charging factor and the tiered billing factor;
所述匹配单元,具体用于:The matching unit is specifically used for:
采用所述精确计费因子匹配第一计费结果,所述第一计费结果为所述历史计费结果;Matching a first charging result by using the precise charging factor, where the first charging result is the historical charging result;
若存在第二计费结果,则采用所述复杂计费因子匹配所述第二计费结果,所述第二计费结果为所述第一计费结果中与所述精确计费因子匹配的计费结果;If there is a second charging result, the complex charging factor is used to match the second charging result, and the second charging result is the first charging result that matches the precise charging factor. billing result;
若存在第三计费结果,则采用所述阶梯计费因子匹配所述第三计费结果,所述第三计费结果为所述第二计费结果中与所述复杂计费因子匹配的计费结果;If there is a third charging result, the step charging factor is used to match the third charging result, and the third charging result is the second charging result that matches the complex charging factor billing result;
所述计费单元,具体用于:The billing unit is specifically used for:
若所述匹配单元确定存在第四计费结果,则采用所述第四计费结果,根据所述当前业务的业务使用信息为所述当前业务计费,所述第四计费结果为所述第三计费结果中与所述阶梯计费因子匹配的计费结果,以获得所述当前业务的计费结果。If the matching unit determines that there is a fourth charging result, the fourth charging result is used, and the current service is charged according to the service usage information of the current service, and the fourth charging result is the The charging result matching the step charging factor in the third charging result is to obtain the charging result of the current service.
结合第二方面,第一种可能的实现方式或第二种可能的实现方式,在第六种可能的实现方式中,所述当前业务的计费因子中包含所述当前业务的计费因子对应的序列化特征值,该序列化特征值用于唯一标识该计费因子;With reference to the second aspect, the first possible implementation manner or the second possible implementation manner, in a sixth possible implementation manner, the charging factor of the current service includes the charging factor corresponding to the current service. The serialized characteristic value of , the serialized characteristic value is used to uniquely identify the billing factor;
所述历史计费结果中包含计费因子以及与所述计费因子存在对应关系的计费结果,具体为:The historical charging result includes a charging factor and a charging result that has a corresponding relationship with the charging factor, specifically:
所述历史计费结果中包含待匹配序列化特征值以及与所述待匹配序列化特征值存在对应关系的计费结果,一个所述待匹配序列化特征值用于唯一标识一个计费因子。The historical charging results include serialized characteristic values to be matched and charging results that have a corresponding relationship with the serialized characteristic values to be matched, and one serialized characteristic value to be matched is used to uniquely identify a charging factor.
结合第六种可能的实现方式,在第七种可能的实现方式中,所述匹配单元,具体用于:With reference to the sixth possible implementation manner, in the seventh possible implementation manner, the matching unit is specifically used for:
采用所述当前业务的计费因子对应的序列化特征值匹配预先存储的待匹配序列化特征值;Use the serialized feature value corresponding to the charging factor of the current service to match the pre-stored serialized feature value to be matched;
其中,当所述当前业务的计费因子对应的序列化特征值等于一待匹配序列化特征值时,所述当前业务的计费因子与该待匹配序列化特征值对应的计费结果匹配。Wherein, when the serialization characteristic value corresponding to the charging factor of the current service is equal to a serialization characteristic value to be matched, the charging factor of the current service matches the charging result corresponding to the serialization characteristic value to be matched.
结合第二方面,第一种可能的实现方式或第二种可能的实现方式,在第八种可能的实现方式中,所述计费单元,还用于:With reference to the second aspect, the first possible implementation manner or the second possible implementation manner, in an eighth possible implementation manner, the charging unit is further used for:
若所述匹配单元确定不存在与所述当前业务的计费因子匹配的历史计费结果,则分别采用所述用户为所述当前业务订购的资费策略中的每一个资费策略,为所述当前业务计费,以获得所述当前业务的计费结果。If the matching unit determines that there is no historical charging result matching the charging factor of the current service, each of the tariff policies subscribed by the user for the current service is respectively adopted as the current service Service charging, so as to obtain the charging result of the current service.
结合第七种可能的实现方式,在第九种可能的实现方式中,所述业务计费装置还包括:With reference to the seventh possible implementation manner, in the ninth possible implementation manner, the service charging apparatus further includes:
保存单元,用于在所述计费单元分别采用所述用户为所述当前业务订购的资费策略中的每一个资费策略,为所述当前业务计费,以获得所述当前业务的计费结果之后,保存所述当前业务的计费因子与所述当前业务的计费结果之间的对应关系。A saving unit, configured to use each of the tariff policies subscribed by the user for the current service in the charging unit to charge for the current service, so as to obtain the charging result of the current service Afterwards, the corresponding relationship between the charging factor of the current service and the charging result of the current service is saved.
结合第九种可能的实现方式,在第十种可能的实现方式中,所述保存单元,具体用于:With reference to the ninth possible implementation manner, in the tenth possible implementation manner, the storage unit is specifically used for:
若所述当前业务的计费因子的使用频率高于第一频率阈值,则保存所述当前业务的计费因子与所述当前业务的计费结果之间的对应关系。If the usage frequency of the charging factor of the current service is higher than the first frequency threshold, the corresponding relationship between the charging factor of the current service and the charging result of the current service is saved.
结合第九种可能的实现方式,在第十一种可能的实现方式中,所述业务计费装置,还包括:With reference to the ninth possible implementation manner, in the eleventh possible implementation manner, the service charging device further includes:
删除单元,用于若所述当前业务的计费因子的使用频率低于第二频率阈值,则删除所述当前业务的计费因子与所述当前业务的计费结果之间的对应关系。A deletion unit, configured to delete the corresponding relationship between the charging factor of the current service and the charging result of the current service if the usage frequency of the charging factor of the current service is lower than the second frequency threshold.
本发明实施例的第三方面提供一种业务计费装置,所述业务计费装置包括:一个或多个处理器、存储器、总线系统、收发器以及一个或多个应用程序,所述一个或多个处理器、所述存储器和所述收发器通过所述总线系统相连;A third aspect of the embodiments of the present invention provides a service charging apparatus, where the service charging apparatus includes: one or more processors, a memory, a bus system, a transceiver, and one or more application programs, the one or more a plurality of processors, the memory and the transceiver are connected through the bus system;
所述一个或多个应用程序存储在所述存储器中,所述一个或多个应用程序包括指令,当所述业务计费装置的处理器执行所述指令时,所述业务计费装置执行如第一方面以及第一方面的各种可选方式所述的业务计费方法。The one or more application programs are stored in the memory, and the one or more application programs include instructions, when the processor of the service charging apparatus executes the instructions, the service charging apparatus executes the following: The service charging method described in the first aspect and various optional manners of the first aspect.
本发明实施例的第四方面提供一种计算机可读存储介质,所述计算机可读存储介质中存储有一个或多个程序,所述一个或多个程序包括指令,当所述业务计费装置的处理器执行所述指令时,所述业务计费装置执行如第一方面以及第一方面的各种可选方式所述的业务计费方法。A fourth aspect of the embodiments of the present invention provides a computer-readable storage medium, where one or more programs are stored in the computer-readable storage medium, and the one or more programs include instructions, when the service charging apparatus When the processor of the device executes the instruction, the service charging apparatus executes the service charging method described in the first aspect and various optional manners of the first aspect.
需要说明的是,本发明实施例第二方面以及第三方面提供的业务计费装置的相关技术效果可参见上述第一方面及其各种可选方式中的相关描述,此处不再赘述。It should be noted that, for the related technical effects of the service charging apparatus provided in the second aspect and the third aspect of the embodiments of the present invention, reference may be made to the relevant descriptions in the above-mentioned first aspect and various optional manners, which are not repeated here.
附图说明Description of drawings
为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。In order to explain the embodiments of the present invention or the technical solutions in the prior art more clearly, the following briefly introduces the accompanying drawings that need to be used in the description of the embodiments or the prior art. Obviously, the accompanying drawings in the following description are only These are some embodiments of the present invention, and for those of ordinary skill in the art, other drawings can also be obtained from these drawings without any creative effort.
图1为本发明实施例提供的一种在线计费系统的示意图;1 is a schematic diagram of an online charging system according to an embodiment of the present invention;
图2为本发明实施例提供的在线计费系统的网络架构示意图;2 is a schematic diagram of a network architecture of an online charging system provided by an embodiment of the present invention;
图3为本发明实施例提供的一种业务计费方法的流程示意图;3 is a schematic flowchart of a service charging method according to an embodiment of the present invention;
图4为本发明实施例提供的另一种业务计费方法的流程示意图;FIG. 4 is a schematic flowchart of another service charging method provided by an embodiment of the present invention;
图5为本发明实施例提供的另一种业务计费方法的流程示意图;5 is a schematic flowchart of another service charging method provided by an embodiment of the present invention;
图6为本发明实施例提供的另一种业务计费方法的流程示意图;6 is a schematic flowchart of another service charging method provided by an embodiment of the present invention;
图7为本发明实施例提供的另一种业务计费方法的流程示意图;7 is a schematic flowchart of another service charging method provided by an embodiment of the present invention;
图8为本发明实施例提供的一种业务计费方法的流程示意图;8 is a schematic flowchart of a service charging method according to an embodiment of the present invention;
图9为本发明实施例提供的一种业务计费装置的组成示意图;FIG. 9 is a schematic diagram of the composition of a service charging apparatus according to an embodiment of the present invention;
图10为本发明实施例提供的一种业务计费装置的组成示意图;FIG. 10 is a schematic diagram of the composition of a service charging apparatus according to an embodiment of the present invention;
图11为本发明实施例提供的一种业务计费装置的组成示意图。FIG. 11 is a schematic diagram of the composition of a service charging apparatus according to an embodiment of the present invention.
具体实施方式Detailed ways
本发明的说明书以及附图中的术语“第一”和“第二”等是用于区别不同的对象,而不是用于描述对象的特定顺序。例如,第一频率阈值和第二频率阈值是用于区别频率阈值,而不是用于描述频率阈值的特征顺序。The terms "first" and "second" and the like in the description of the present invention and the drawings are used to distinguish different objects, rather than to describe a specific order of the objects. For example, the first frequency threshold and the second frequency threshold are used to distinguish the frequency thresholds, not to describe the characteristic order of the frequency thresholds.
在本发明的描述中,除非另有说明,“多个”的含义是指两个或两个以上。例如,多个处理器是指两个或两个以上处理器。In the description of the present invention, unless otherwise specified, the meaning of "plurality" means two or more. For example, multiple processors refers to two or more processors.
此外,本发明的描述中所提到的术语“包括”和“具有”以及它们的任何变形,意图在于覆盖不排他的包含。例如包含了一系列步骤或单元的过程、方法、系统、产品或设备没有限定于已列出的步骤或单元,而是可选地还包括其他没有列出的步骤或单元,或可选地还包括对于这些过程、方法、产品或设备固有的其它步骤或单元。Furthermore, references to the terms "comprising" and "having" and any variations thereof in the description of the present invention are intended to cover non-exclusive inclusions. For example, a process, method, system, product or device comprising a series of steps or units is not limited to the listed steps or units, but optionally also includes other unlisted steps or units, or optionally also Include other steps or units inherent to these processes, methods, products or devices.
另外,本文中术语“系统”和“网络”在本文中常被可互换使用。本文中术语“和/或”,仅仅是一种描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B这三种情况。另外,本文中字符“/”,一般表示前后关联对象是一种“或”的关系。Additionally, the terms "system" and "network" are often used interchangeably herein. The term "and/or" in this article is only an association relationship to describe the associated objects, indicating that there can be three kinds of relationships, for example, A and/or B, it can mean that A exists alone, A and B exist at the same time, and A and B exist independently B these three cases. In addition, the character "/" in this document generally indicates that the related objects are an "or" relationship.
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行详细地描述,显然,所描述的实施例仅仅是本发明的一部分实施例,而不是全部实施例。The technical solutions in the embodiments of the present invention will be described in detail below with reference to the drawings in the embodiments of the present invention. Obviously, the described embodiments are only a part of the embodiments of the present invention, rather than all the embodiments.
本发明实施例提供的业务计费方法可以应用于如图1所示的在线计费系统(Online Charging System,OCS),如图1所示,该OCS 10至少可以包括:资费数据库11、用户数据库12和计费服务器13。其中,资费数据库11、用户数据库12和计费服务器13之间相互连接。The service charging method provided by the embodiment of the present invention can be applied to an online charging system (Online Charging System, OCS) shown in FIG. 1 . As shown in FIG. 1 , the
其中,资费数据库11用于存储资费策略不同的资费策略对应于不同的业务类型。运营管理人员可以通过管理客户端向资费数据库11中配置资费策略;并且,运营管理人员可以根据运营商为用户提供的业务类型的变化实时更新资费数据库11中保存的资费策略。The
用户数据库12用于存储用户的资费数据(如用户所订购的资费策略)和用户的账户余额。其中,运营商可以通过一定的平台向用户展示资费数据库11中配置资费策略,以供用户选择,当用户选择了资费数据库11中配置的相关资费策略后,则可以由用户数据库12记录并存储该相关资费策略,以便于计费服务器13用于用户的业务使用信息,结合用户数据库12保存的相关资费策略,对用户业务进行计费。The
可以想到的是,用户数据库12可以仅存储用户订购的资费策略的标识,计费服务器13可以根据用户数据库12中存储的用户订购的资费策略的标识从资费数据库11中查询具体的资费策略。It is conceivable that the
示例性的,为了实现OCS的在线计费,如图2所示,OCS连接无线局域网络(WirelessLocal Area Networks,WLAN),并分别网络侧的移动交换中心(Mobile Switching Center,MSC)、服务GPRS支持节点(Serving GPRS Support Node,SGSN)、IP多媒体子系统应用服务器(IP Multimedia Subsystem Application Server,IMS AS)、IMS多媒体资源控制器(Multimedia Resource Function Controller,MRFC)以及IMS多媒体资源处理器(Multimedia Resource Function Processor,MRFP)建立连接。同时,为了实时更新OCS中保存的用户账户余额,OCS还可以连接充值服务器(Charging Server),以便于实时从充值服务器获得用户的充值信息。Exemplarily, in order to implement the online charging of the OCS, as shown in FIG. 2 , the OCS is connected to a wireless local area network (Wireless Local Area Networks, WLAN), and the mobile switching center (Mobile Switching Center, MSC) on the network side and the serving GPRS support respectively. Node (Serving GPRS Support Node, SGSN), IP Multimedia Subsystem Application Server (IP Multimedia Subsystem Application Server, IMS AS), IMS Multimedia Resource Function Controller (Multimedia Resource Function Controller, MRFC) and IMS Multimedia Resource Function (Multimedia Resource Function) Processor, MRFP) to establish a connection. At the same time, in order to update the user account balance stored in the OCS in real time, the OCS can also be connected to a charging server (Charging Server), so as to obtain the user's charging information from the charging server in real time.
本发明实施例提供的业务计费方法可以应用于上述计费服务器13对用户业务进行计费的过程中。本发明实施例提供的业务计费方法的执行主体可以为计费服务器或者计费服务器中用于执行上述业务计费方法的装置(如业务计费装置),计费服务器中用于执行上述业务计费方法的装置可以为上述计费服务器的中央处理器(Central ProcessingUnit,CPU)或者可以为上述计费服务器的中的控制单元或者模块。其中,本发明实施例中以业务计费装置为业务计费方法的执行主体为例,对本发明实施例提供的业务计费方法进行详细说明。The service charging method provided by the embodiment of the present invention can be applied to the process in which the above-mentioned
下面结合附图,通过具体的实施例及其应用场景对本发明实施例提供的一种业务计费方法及装置进行详细地说明。The method and device for service charging provided by the embodiments of the present invention will be described in detail below through specific embodiments and application scenarios with reference to the accompanying drawings.
本发明实施例提供一种业务计费方法,如图3所示,该业务计费方法包括:An embodiment of the present invention provides a service charging method. As shown in FIG. 3 , the service charging method includes:
S101、业务计费装置获取一用户的当前业务的业务使用信息。S101. The service charging apparatus acquires service usage information of a current service of a user.
示例性的,用户的当前业务可以为:语音通信业务、短信业务、数据流量业务、彩信业务以及彩铃订购业务等电信业务中的任一项。其中,上述数据流量业务至少可以包括数据流量包订购业务和数据流量通信业务。Exemplarily, the current service of the user may be any one of telecommunication services such as a voice communication service, a short message service, a data traffic service, a multimedia message service, and a CRBT subscription service. Wherein, the above-mentioned data traffic service may at least include a data traffic package subscription service and a data traffic communication service.
当前业务的业务使用信息可以包括:用户对该当前业务的使用情况、该用户当前可以使用的资源和余额,以及该用户本月的消费累计信息。The service usage information of the current service may include: the usage of the current service by the user, the resources and balance currently available to the user, and the accumulated consumption information of the user this month.
例如,若当前业务为语音通信业务,则当前业务的业务使用信息可以包含本次语音通信的时长、本次语音通信的开始时间、本次语音通信的主叫号码、本次语音通信的被叫号码以及本次语音通信的发生地等信息;该用户当前可以使用的资源则可以为该用户当前可以用的免费通话时长,余额即为该用户的账户余额;该用户本月的消费累计信息则可以包括该用户的通话累计时长和该用户语音通话的累计资费金额。For example, if the current service is a voice communication service, the service usage information of the current service may include the duration of the current voice communication, the start time of the current voice communication, the calling number of the current voice communication, and the called party of the current voice communication. information such as the number and the place where the voice communication occurred; the resources that the user can currently use can be the free call duration that the user can currently use, and the balance is the account balance of the user; the cumulative consumption information of the user this month is the It may include the accumulative call duration of the user and the accumulative charge amount of the user's voice call.
需要说明的是,本发明实施例中的当前业务包括但不限于上述所列举的用户业务,其他的用户业务可以参考现有电信业务中的用户业务,此处不再赘述。并且,本发明实施例中当前业务的业务使用信息包括但不限于上述所列举的业务使用信息,各个用户业务的业务使用信息的详细内容可以参考现有电信业务中的用户业务的业务使用信息,此处不再赘述。It should be noted that the current services in this embodiment of the present invention include but are not limited to the user services listed above. For other user services, reference may be made to the user services in the existing telecommunication services, which will not be repeated here. In addition, the service use information of the current service in the embodiment of the present invention includes but is not limited to the service use information listed above. For details of the service use information of each user service, refer to the service use information of the user service in the existing telecommunication service, It will not be repeated here.
S102、业务计费装置确定用户为当前业务订购的资费策略。S102. The service charging apparatus determines a tariff policy subscribed by the user for the current service.
可以想到的是,用户可以根据需求订购包含多个资费策略的资费套餐。例如,一A地用户S1可以订购如下资费策略:(P1)38元月基本套餐,包含:本月内100分钟免费市话、30M免费数据流量、市话资费0.3元/分钟以及长途资费0.5元/分钟;(P2)10元50M数据流量,超出50M后0.29元/Kb;(P3)语音资费策略1:市话前10分钟的资费为0.3元/分钟,市话10分钟后的资费为0.2元/分钟;(P4)语音资费策略2:闲时(22:00-24:00)通话,50%优惠;(P5)语音资费策略3:长途费50元封顶,本月长途资费超过50元后不再计费(即免费);(P6)语音资费策略4:本月长途累计时长超过300分钟,赠送60分钟长途免费时长;(P7)语音资费策略5:在A地呼叫B地用户,0.05元/分钟。It is conceivable that a user can order a tariff package including multiple tariff strategies according to their needs. For example, a user S1 in a place A can subscribe to the following tariff strategy: (P1) A basic package of 38 yuan per month, including: 100 minutes of free local calls within the month, 30M free data traffic, local call tariff of 0.3 yuan/minute, and long-distance tariff of 0.5 yuan/minute ; (P2) 10 yuan for 50M data traffic, 0.29 yuan/Kb after exceeding 50M; (P3) voice tariff strategy 1: the tariff for the first 10 minutes of local calls is 0.3 yuan/min, and the tariff after 10 minutes of local calls is 0.2 yuan/min; (P4) Voice tariff strategy 2: Calls in idle time (22:00-24:00), 50% discount; (P5) Voice tariff strategy 3: The long-distance fee is capped at 50 yuan, and the long-distance tariff this month will not be counted if it exceeds 50 yuan (P6) Voice tariff strategy 4: If the accumulated long-distance time in this month exceeds 300 minutes, 60 minutes of free long-distance time will be given as a gift; (P7) Voice tariff strategy 5: Call a user in place B at 0.05 yuan/minute .
其中,业务计费装置(计费服务器13)可以根据一用户的账户(如手机号码)从用户数据库12中查询得到该用户所订购的所有资费策略,然后从该用户所订购的所有资费策略中确定出该用户为当前业务订购的资费策略。The service charging device (the charging server 13) can query the
基于上述实例,假设当前业务为语音通信业务,具体为用户S1对B地的用户S2的语音通信业务;业务计费装置则可以从用户S1订购的所有资费策略(P1)-(P7)中,确定出用户S1为上述语音通信业务所订购的资费策略(P4)-(P7)。Based on the above example, it is assumed that the current service is a voice communication service, specifically the voice communication service of user S1 to user S2 in place B; the service charging device can be from all tariff policies (P1)-(P7) ordered by user S1, The tariff policies (P4)-(P7) subscribed by the user S1 for the above-mentioned voice communication service are determined.
S103、业务计费装置从用户为当前业务订购的资费策略中,确定出当前业务的计费因子。S103: The service charging device determines the charging factor of the current service from the tariff policy subscribed by the user for the current service.
示例性的,本发明实施例中当前业务的计费因子可以包括:当前业务的业务类型(包括:语音业务、数据业务、短信业务和彩信业务)、当前业务的长途或短途(包括:本地、长途、国际)、当前业务的网划分(包括:网内呼叫和网外)、定时优惠、定向长途等。Exemplarily, the charging factor of the current service in this embodiment of the present invention may include: the service type of the current service (including: voice service, data service, short message service, and MMS service), the long-distance or short-distance of the current service (including: local, long distance, international), network division of current services (including: intra-network calls and out-of-network calls), timed discounts, directional long distance, etc.
其中,此处的网内呼叫是指属于同一运营商的号码之间的呼叫(如电信用户对电信用户的呼叫),网外是指不同运营商的号码之间的呼叫(如电信用户对移动用户的呼叫)。Among them, the intra-network call here refers to the call between numbers belonging to the same operator (such as a call from a telecommunications user to a telecommunications user), and the out-of-network refers to a call between numbers of different operators (such as a telecommunications user to a mobile phone). user's call).
本发明实施例中的计费因子可以包括:精确计费因子、复杂计费因子以及阶梯计费因子中的至少一项。The charging factor in this embodiment of the present invention may include: at least one of a precise charging factor, a complex charging factor, and a stepped charging factor.
其中,精确计费因子为取值范围有限、且其直接取值影响计费结果的计费因子。本发明实施例中的精确计费因子可以包括:精确因子标识和精确因子取值。The precise charging factor is a charging factor whose value range is limited and whose value directly affects the charging result. The precise charging factor in this embodiment of the present invention may include: an exact factor identifier and an exact factor value.
示例性的,本发明实施例中的精确计费因子可以包括:业务类型、长途或短途、网划分以及资费组合(包括:用户所订购所有资费策略的任意组合)等。例如,如表1所示,为本发明实施例提供的精确计费因子实例:Exemplarily, the precise charging factor in this embodiment of the present invention may include: service type, long-distance or short-distance, network division, and tariff combination (including: any combination of all tariff policies subscribed by the user) and the like. For example, as shown in Table 1, an example of the precise charging factor provided by the embodiment of the present invention:
表1Table 1
其中,复杂计费因子为经过函数运算后的运算结果影响计费结果的计费因子。本发明实施例中的复杂计费因子可以包括:复杂因子标识、复杂因子函数和复杂因子参数。The complex charging factor is a charging factor whose operation result after function operation affects the charging result. The complex charging factor in this embodiment of the present invention may include: a complex factor identifier, a complex factor function, and a complex factor parameter.
示例性的,以语音通信业务的定时优惠为例,如表2所示,为本发明实施例提供的复杂计费因子实例:Exemplarily, taking the timing preference of the voice communication service as an example, as shown in Table 2, it is an example of the complex charging factor provided by the embodiment of the present invention:
表2Table 2
其中,表2中的Funcl 1(复杂因子函数)为对22:00-24:00时段所进行的语音通话进行计费所要使用的数学函数,Funcl 2(复杂因子函数)为对9:00-11:00时段所进行的语音通话进行计费所要使用的数学函数。Among them, Funcl 1 (complex factor function) in Table 2 is a mathematical function to be used for charging the voice calls performed in the period of 22:00-24:00, and Funcl 2 (complex factor function) is a function for 9:00-24:00. Mathematical function to be used for billing of voice calls made during 11:00.
例如,假设在22:00-24:00时段的语音通信的资费为0.05元/分钟,此时,Funcl1=0.05×△t1,△t1为表2中的时刻t 1到时刻t 2的时长,其中,时刻t 1和时刻t 2均为[22:00,24:00]内的时刻。假设在9:00-11:00时段的语音通信的资费为0.6元/分钟,此时,Funcl2=0.6×△t2,△t2为表2中的时刻t 3到时刻t 4的时长,其中,时刻t3和时刻t 4均为[9:00,11:00]内的时刻。For example, assuming that the voice communication fee in the period of 22:00-24:00 is 0.05 yuan/minute, at this time, Funcl1=0.05×△t1, and △t1 is the duration from time t1 to time t2 in Table 2, The time t 1 and the time t 2 are both times within [22:00, 24:00]. Assuming that the voice communication fee in the period of 9:00-11:00 is 0.6 yuan/minute, at this time, Funcl2=0.6×Δt2, and Δt2 is the duration from time t3 to time t4 in Table 2, where, Time t3 and time t4 are both times within [9:00, 11:00].
示例性的,以语音通信业务的定向呼叫方案为例,如表3所示,为本发明实施例提供的复杂计费因子实例:Exemplarily, taking the directional calling scheme of the voice communication service as an example, as shown in Table 3, it is an example of the complex charging factor provided by the embodiment of the present invention:
表3table 3
其中,表3中的Funcl 3(复杂因子函数)为对主叫号码归属地为A地、被叫号码归属地为B地的语音通信业务(语音呼叫)进行计费所要使用的数学函数,Funcl 4(复杂因子函数)为对主叫号码归属地为A地、被叫号码归属地为C地的语音通信业务进行计费所要使用的数学函数。Wherein, Funcl 3 (complex factor function) in Table 3 is the mathematical function to be used for charging the voice communication service (voice call) where the calling number is attributable to place A and the attribution of the called number is place B. Funcl 4 (complex factor function) is a mathematical function to be used for charging the voice communication service where the calling number belongs to place A and the called number belongs to place C.
例如,假设主叫号码归属地为A地、被叫号码归属地为B地的语音通信业务(语音呼叫)的资费为0.03元/分钟,此时,Funcl 3=0.03×t,t为语音通信业务的通话时长。For example, assuming that the calling number belongs to place A and the called number belongs to place B, the fee for the voice communication service (voice call) is 0.03 yuan/min. At this time, Funcl 3=0.03×t, t is the voice communication The call duration of the business.
如上所示,上述复杂计费因子(如时间方案)经过函数运算后的运算结果可以影响计费结果。As shown above, the calculation result of the complex charging factor (such as the time scheme) after the function calculation can affect the charging result.
其中,阶梯计费因子为取值范围不可枚举、通过数学公式规整、映射后可转换为精确计费因子的计费因子。本发明实施例中的阶梯计费因子可以包括:阶梯因子标识、阶梯因子函数、阶梯资费标识和阶梯因子参数。其中,阶梯资费标识用于区别标识阶梯计费因子中各个阶段的资费信息。The step-by-step charging factor is a charging factor whose value range is not enumerable, and can be converted into a precise charging factor after being regulated by a mathematical formula and mapped. The tiered charging factor in the embodiment of the present invention may include: tiered factor identifiers, tiered factor functions, tiered tariff identifiers, and tiered factor parameters. The tiered tariff identifier is used to distinguish and identify tariff information of each stage in the tiered charging factor.
示例性的,以语音通信业务的分档资费(阶梯因子标识)方案为例,假设语音通信业务的资费可以分为三档:通话时长(0,3]分钟,其资费为0.1元/分钟;通话时长(3,5]分钟,其资费为0.08元/分钟;通话时长(5,∞)分钟,其资费为0.05元/分钟。Exemplarily, taking the tiered tariff (ladder factor identification) scheme of the voice communication service as an example, it is assumed that the tariff of the voice communication service can be divided into three grades: the call duration is (0, 3] minutes, and the tariff is 0.1 yuan/minute; The call duration is (3, 5] minutes, and the fee is 0.08 yuan/minute; the call duration is (5, ∞) minutes, and the fee is 0.05 yuan/minute.
表4Table 4
基于上述实例,假设上述一A地用户S1为电信用户,B地的用户S2为移动用户,A地用户S1在早8点向B地的用户S2发起语音通信业务,且本次语音通信业务持续7分钟(即A地用户S1与B地的用户S2通话时长7分钟)。Based on the above example, it is assumed that user S1 in place A is a telecommunication user, user S2 in place B is a mobile user, user S1 in place A initiates a voice communication service to user S2 in place B at 8:00 in the morning, and the voice communication service continues this time. 7 minutes (that is, the duration of the call between user S1 at place A and user S2 at place B is 7 minutes).
业务计费装置可以从用户S1为当前业务(A地用户S1与B地的用户S2之间持续7分钟的语音通信业务)订购的资费策略(P4)-(P7)中,确定出当前业务的计费因子包括:语音业务、长途、网外、资费组合(P4+P5+P6+P7)、定向呼叫和分档资费。The service charging device can determine the current service from the tariff policies (P4)-(P7) ordered by the user S1 for the current service (the voice communication service between the user S1 at A and the user S2 at B for 7 minutes). Billing factors include: voice service, long distance, out-of-network, tariff combination (P4+P5+P6+P7), directional call and sub-grade tariff.
S104、业务计费装置采用当前业务的计费因子匹配预先存储的历史计费结果,历史计费结果中包含计费因子以及与计费因子存在对应关系的计费结果。S104: The service charging device matches the pre-stored historical charging result by using the charging factor of the current service, and the historical charging result includes the charging factor and the charging result that has a corresponding relationship with the charging factor.
其中,历史计费结果中包含计费因子以及与计费因子存在对应关系的计费结果。The historical charging results include charging factors and charging results that have a corresponding relationship with the charging factors.
业务计费装置采用当前业务的计费因子匹配预先存储的历史计费结果的方法可以包括:业务计费装置从预先存储的历史计费结果包含的计费因子中查找与当前业务的计费因子匹配(相同)的计费因子;若预先存储的历史计费结果中存在与当前业务的计费因子匹配的计费因子(简称匹配计费因子),那么则认为与该匹配计费因子存在对应关系的计费结果与当前业务的计费因子匹配。The method for the service charging apparatus to match the pre-stored historical charging result by using the charging factor of the current service may include: the service charging apparatus searches for the charging factor related to the current service from the charging factors included in the pre-stored historical charging result. Matching (same) charging factor; if there is a charging factor (referred to as matching charging factor) that matches the charging factor of the current service in the pre-stored historical charging results, then it is considered that there is a corresponding charging factor for the matching The charging result of the relationship matches the charging factor of the current service.
S105、若存在与当前业务的计费因子匹配的历史计费结果,业务计费装置则采用与当前业务的计费因子匹配的历史计费结果,根据当前业务的业务使用信息为当前业务计费,以获得当前业务的计费结果。S105: If there is a historical charging result that matches the charging factor of the current service, the service charging device uses the historical charging result that matches the charging factor of the current service, and charges the current service according to the service usage information of the current service to obtain the charging result of the current service.
本发明实施例提供的业务计费方法,可以从用户为当前业务订购的资费策略中,确定出当前业务的计费因子,然后采用当前业务的计费因子匹配历史计费结果,存在与当前业务的计费因子匹配的历史计费结果,则可以直接复用该历史计费结果对当前业务进行计费,而不是逐个、循序渐进的采用每一个资费策略分别进行计费。复用历史计费结果对当前业务进行计费可以减少业务计费过程中的计算量,简化计费过程,进而可以降低对系统性能的消耗。The service charging method provided by the embodiment of the present invention can determine the charging factor of the current service from the charging policy subscribed by the user for the current service, and then use the charging factor of the current service to match the historical charging results. If the charging factor matches the historical charging result, the historical charging result can be directly reused to charge the current service, instead of charging each charging policy one by one and step by step. Charging the current service by multiplexing the historical charging results can reduce the amount of calculation in the service charging process, simplify the charging process, and further reduce the consumption of system performance.
优选的,为了加快业务计费装置采用当前业务的计费因子匹配预先存储的历史计费结果的匹配速度,提高匹配效率,本发明实施例中业务计费装置可以采用序列化算法对上述计费因子(包括精确计费因子、复杂计费因子和阶梯计费因子)进行序列化,为每一个计费因子分配一个可以唯一标识该计费因子的序列化特征值。Preferably, in order to speed up the matching speed of the service charging device using the charging factor of the current service to match the pre-stored historical charging results and improve the matching efficiency, the service charging device in the embodiment of the present invention may use a serialization algorithm to charge the above-mentioned charging Factors (including precise charging factors, complex charging factors, and stepped charging factors) are serialized, and each charging factor is assigned a serialized characteristic value that can uniquely identify the charging factor.
对应的,上述历史计费结果中包含计费因子以及与该计费因子存在对应关系的计费结果,具体可以为:历史计费结果中包含待匹配序列化特征值以及与该待匹配序列化特征值存在对应关系的计费结果,一个待匹配序列化特征值用于唯一标识一个计费因子。Correspondingly, the above-mentioned historical charging result includes a charging factor and a charging result that has a corresponding relationship with the charging factor. Specifically, the historical charging result includes the serialized characteristic value to be matched and the serialized characteristic value to be matched. A charging result for which the characteristic value has a corresponding relationship, and a serialized characteristic value to be matched is used to uniquely identify a charging factor.
此时,S104可以替换为S104′:At this point, S104 can be replaced with S104':
S104′业务计费装置采用当前业务的计费因子对应的序列化特征值匹配预先存储的待匹配序列化特征值。S104' The service charging device matches the pre-stored serialized characteristic value to be matched by using the serialized characteristic value corresponding to the charging factor of the current service.
其中,当当前业务的计费因子对应的序列化特征值等于一待匹配序列化特征值时,当前业务的计费因子与该待匹配序列化特征值对应的计费结果匹配。Wherein, when the serialization characteristic value corresponding to the charging factor of the current service is equal to a serialization characteristic value to be matched, the charging factor of the current service matches the charging result corresponding to the serialization characteristic value to be matched.
进一步的,如图4所示,本发明实施例的方法还可以包括S106:Further, as shown in FIG. 4 , the method of the embodiment of the present invention may further include S106:
S106、若不存在与当前业务的计费因子匹配的历史计费结果,业务计费装置则分别采用用户为所述当前业务订购的资费策略中的每一个资费策略,为当前业务计费,以获得当前业务的计费结果。S106. If there is no historical charging result matching the charging factor of the current service, the service charging apparatus adopts each charging policy in the charging policies ordered by the user for the current service, respectively, to charge for the current service, and use Obtain the billing result of the current service.
需要说明的是,业务计费装置则分别采用用户为当前业务订购的资费策略中的每一个资费策略,为当前业务计费,以获得当前业务的计费结果的方法与现有技术中分别采用用户为所述当前业务订购的资费策略中的每一个资费策略,为当前业务计费的方法类似,本实施例这里不再赘述。It should be noted that the service charging device adopts each of the tariff policies subscribed by the user for the current service, respectively, to charge for the current service, and the method for obtaining the charging result of the current service is the same as that used in the prior art. For each of the tariff policies subscribed by the user for the current service, the charging method for the current service is similar, and details are not described here in this embodiment.
本发明实施例提供的业务计费方法,当不存在与当前业务的计费因子匹配的历史计费结果时,则可以分别采用用户为所述当前业务订购的资费策略中的每一个资费策略,为当前业务计费。如此,无论是否存在与当前业务的计费因子匹配的历史计费结果,通过本方案均可以为当前业务计费,获得当前业务的计费结果。In the service charging method provided by the embodiment of the present invention, when there is no historical charging result matching the charging factor of the current service, each tariff policy in the tariff policies subscribed by the user for the current service can be respectively adopted, Billing for current business. In this way, regardless of whether there is a historical charging result matching the charging factor of the current service, the current service can be charged by the solution, and the charging result of the current service can be obtained.
进一步的,为了减少下次对类似业务(与上述当前业务相同或者相近的业务)进行计费时的计算量,简化计费过程,如图5所示,在图3所示的S106之后,本发明实施例的方法还可以包括S107:Further, in order to reduce the amount of calculation when charging the similar services (the same or similar services as the above-mentioned current services) next time, the charging process is simplified, as shown in FIG. 5 , after S106 shown in FIG. The method of the embodiment of the invention may further include S107:
S107、业务计费装置保存当前业务的计费因子与当前业务的计费结果之间的对应关系。S107: The service charging apparatus saves the correspondence between the charging factor of the current service and the charging result of the current service.
可以想到的是,保存当前业务的计费因子与当前业务的计费结果之间的对应关系后,下次对类似业务进行计费时,则可以直接复用本次保存的与当前业务的计费因子存在对应关系的计费结果,则不需要按照第五种可能的实现方式中所述的计费方式对类似业务进行计费,从而可以减少上述类似业务计费过程中的计算量,简化计费过程,进而可以降低对系统性能的消耗。It is conceivable that after saving the corresponding relationship between the charging factor of the current service and the charging result of the current service, when charging for a similar service next time, you can directly reuse the current service and the current service. If there is a charging result in which there is a corresponding relationship between the charging factors, it is not necessary to charge similar services according to the charging method described in the fifth possible implementation manner, so that the amount of calculation in the charging process of the similar services can be reduced and simplified. The billing process can reduce the consumption of system performance.
优选的,为了避免不常用(即使用频率较低)的计费因子以及与其存在对应关系的计费结果对计费系统存储空间的占用,影响系统性能,S106具体可以为S106′:Preferably, in order to avoid infrequently used (that is, low frequency of use) charging factors and charging results that have a corresponding relationship with them from occupying the storage space of the charging system and affecting system performance, S106 may specifically be S106':
S106′、若当前业务的计费因子的使用频率高于第一频率阈值,业务计费装置则保存当前业务的计费因子与当前业务的计费结果之间的对应关系。S106': If the usage frequency of the charging factor of the current service is higher than the first frequency threshold, the service charging apparatus saves the correspondence between the charging factor of the current service and the charging result of the current service.
并且,为了进一步避免不常用(即使用频率较低)的计费因子以及与其存在对应关系的计费结果对计费系统存储空间的占用,可选的,本发明实施例的方法还可以包括:若当前业务的计费因子的使用频率低于第二频率阈值,业务计费装置则删除当前业务的计费因子与当前业务的计费结果之间的对应关系。其中,第一频率阈值高于第二频率阈值。In addition, in order to further avoid the occupation of the storage space of the charging system by the charging factors that are not commonly used (that is, the frequency of use is low) and the charging results that have a corresponding relationship with them, optionally, the method in the embodiment of the present invention may further include: If the usage frequency of the charging factor of the current service is lower than the second frequency threshold, the service charging apparatus deletes the correspondence between the charging factor of the current service and the charging result of the current service. Wherein, the first frequency threshold is higher than the second frequency threshold.
本发明实施例提供一种业务计费方法,可以采用层级式的匹配方式,依次精确计费因子、复杂计费因子(或者精确计费因子、复杂计费因子以及阶梯计费因子)匹配历史计费结果,对当前业务进行计费,如图6或图7所示,该业务计费方法可以包括:The embodiment of the present invention provides a service charging method, which can adopt a hierarchical matching method, and sequentially match the precise charging factor, the complex charging factor (or the precise charging factor, the complex charging factor and the stepped charging factor) to match the historical accounting According to the charging result, the current service is charged, as shown in FIG. 6 or FIG. 7 , the service charging method may include:
S201、业务计费装置获取一用户的当前业务的业务使用信息。S201. The service charging apparatus acquires service usage information of a current service of a user.
需要说明的是,业务计费装置获取一用户的当前业务的业务使用信息的具体方法可以参考上述实施例中的相关描述,本发明实施例这里不再赘述。It should be noted that, for a specific method for the service charging apparatus to acquire the service usage information of a user's current service, reference may be made to the relevant descriptions in the foregoing embodiments, and details are not described herein again in this embodiment of the present invention.
S202、业务计费装置确定用户为当前业务订购的资费策略,并从用户为当前业务订购的资费策略中,确定出当前业务的计费因子。S202. The service charging apparatus determines the tariff policy subscribed by the user for the current service, and determines the charging factor of the current service from the tariff policy subscribed by the user for the current service.
需要说明的是,业务计费装置确定用户为当前业务订购的资费策略,并从用户为当前业务订购的资费策略中,确定出当前业务的计费因子的具体方法可以参考上述实施例中的相关描述,本发明实施例这里不再赘述。It should be noted that, the service charging device determines the tariff policy subscribed by the user for the current service, and determines the charging factor of the current service from the tariff policy subscribed by the user for the current service. description, and details are not repeated here in this embodiment of the present invention.
示例性的,在本发明实施例的一种应用场景中,假设当前业务的计费因子包括:精确计费因子和复杂计费因子,此时业务计费装置可以采用层级式的匹配方式,依次精确计费因子、复杂计费因子匹配预先存储的历史计费结果,以便于在匹配成功后可以直接复用匹配成功的历史计费结果。具体的,如图6所示,本发明实施例的方法还可以包括S203-S206:Exemplarily, in an application scenario of the embodiment of the present invention, it is assumed that the charging factor of the current service includes: an accurate charging factor and a complex charging factor. In this case, the service charging apparatus may adopt a hierarchical matching method, and sequentially The precise charging factor and the complex charging factor match the pre-stored historical charging results, so that the successfully matched historical charging results can be directly reused after the matching is successful. Specifically, as shown in FIG. 6 , the method in this embodiment of the present invention may further include S203-S206:
S203、业务计费装置采用精确计费因子匹配第一计费结果,第一计费结果为历史计费结果。S203. The service charging device matches the first charging result by using the precise charging factor, and the first charging result is the historical charging result.
S204、若存在第二计费结果,业务计费装置则采用复杂计费因子匹配第二计费结果,第二计费结果为第一计费结果中与精确计费因子匹配的计费结果。S204. If there is a second charging result, the service charging apparatus uses a complex charging factor to match the second charging result, and the second charging result is the charging result matching the precise charging factor in the first charging result.
S205、若存在第三计费结果,业务计费装置则采用第三计费结果,根据当前业务的业务使用信息为当前业务计费,第三计费结果为第二计费结果中与复杂计费因子匹配的计费结果,以获得当前业务的计费结果。S205. If there is a third charging result, the service charging device adopts the third charging result, charges the current service according to the service usage information of the current service, and the third charging result is the second charging result and the complex calculation result. The charging result matching the charging factor is used to obtain the charging result of the current service.
需要说明的是,业务计费装置采用精确计费因子匹配第一计费结果,采用复杂计费因子匹配第二计费结果的具体方法可以参考上述采用当前业务的计费因子匹配历史计费结果的方法,本实施例这里不再赘述。It should be noted that the service charging device uses the precise charging factor to match the first charging result, and the specific method for using the complex charging factor to match the second charging result may refer to the above-mentioned matching the historical charging result using the charging factor of the current service. method, which is not repeated here in this embodiment.
进一步的,若不存在第二计费结果或者不存在第三计费结果,则继续执行S206:Further, if there is no second charging result or no third charging result, continue to execute S206:
S206、业务计费装置分别采用用户为当前业务订购的资费策略中的每一个资费策略,为当前业务计费,以获得当前业务的计费结果。S206. The service charging apparatus adopts each tariff policy in the tariff policies subscribed by the user for the current service, respectively, to charge for the current service, so as to obtain the charging result of the current service.
优选的,为了加快采用当前业务的计费因子匹配预先存储的历史计费结果的匹配速度,提高匹配效率,本发明实施例中精确计费因子中还可以包含该精确计费因子的序列化特征值,复杂计费因子中还可以包含该复杂计费因子的序列化特征值。Preferably, in order to speed up the matching speed of using the charging factor of the current service to match the pre-stored historical charging results and improve the matching efficiency, the precise charging factor in the embodiment of the present invention may further include the serialization feature of the precise charging factor value, the complex charging factor may also contain the serialized characteristic value of the complex charging factor.
其中,业务计费装置则可以采用当前业务的每一个精确计费因子对应的序列化特征值分别匹配预先存储的待匹配序列化特征值,当当前业务的一个精确计费因子对应的序列化特征值等于一待匹配序列化特征值时,业务计费装置则可以确定该精确计费因子与该待匹配序列化特征值对应的计费结果匹配。同样的,业务计费装置也可以采用当前业务的每一个复杂计费因子对应的序列化特征值分别匹配预先存储的待匹配序列化特征值,当当前业务的一个复杂计费因子对应的序列化特征值等于一待匹配序列化特征值时,业务计费装置则可以确定该复杂计费因子与该待匹配序列化特征值对应的计费结果匹配。The service charging device may use the serialized feature value corresponding to each precise charging factor of the current service to match the pre-stored serialized feature value to be matched, respectively. When the serialized feature corresponding to an accurate charging factor of the current service When the value is equal to a to-be-matched serialization characteristic value, the service charging apparatus may determine that the precise charging factor matches the charging result corresponding to the to-be-matched serialization characteristic value. Similarly, the service charging device can also use the serialized characteristic value corresponding to each complex charging factor of the current service to match the pre-stored serialized characteristic value to be matched respectively. When the serialized characteristic value corresponding to a complex charging factor of the current service is When the characteristic value is equal to a to-be-matched serialized characteristic value, the service charging apparatus may determine that the complex charging factor matches the charging result corresponding to the to-be-matched serialized characteristic value.
示例性的,结合表1,如表5所示,为本发明实施例提供的精确计费因子实例,表5所示的精确计费因子中包含可以唯一标识每一个精确计费因子的序列化特征值。Exemplarily, in conjunction with Table 1, as shown in Table 5, it is an example of the precise charging factor provided by the embodiment of the present invention, and the precise charging factor shown in Table 5 includes the serialization that can uniquely identify each precise charging factor. Eigenvalues.
表5table 5
示例性的,结合表2,如表6所示,为本发明实施例提供的复杂计费因子实例,表6所示的复杂计费因子中包含可以唯一标识每一个复杂计费因子的序列化特征值。Exemplarily, in conjunction with Table 2, as shown in Table 6, it is an example of a complex charging factor provided by the embodiment of the present invention. The complex charging factor shown in Table 6 includes a serialization that can uniquely identify each complex charging factor. Eigenvalues.
表6Table 6
示例性的,结合表3,如表7所示,为本发明实施例提供的复杂计费因子实例,表7所示的复杂计费因子中包含可以唯一标识每一个复杂计费因子的序列化特征值。Exemplarily, in conjunction with Table 3, as shown in Table 7, it is an example of a complex charging factor provided by the embodiment of the present invention. The complex charging factor shown in Table 7 includes a serialization that can uniquely identify each complex charging factor. Eigenvalues.
表7Table 7
其中,本发明实施例中采用序列化算法对计费因子进行序列化,以得到计费因子的序列化特征值的相关方法可以参考现有技术中的详细描述,本实施例这里不再赘述。Wherein, in the embodiment of the present invention, the serialization algorithm is used to serialize the charging factor to obtain the serialized characteristic value of the charging factor. Reference may be made to the detailed description in the prior art, which will not be repeated in this embodiment.
示例性的,假设业务计费装置确定出当前业务的计费因子包括:精确计费因子和复杂计费因子;其中,精确计费因子包括:语音业务、长途、网外和资费组合(P4+P5+P6+P7);复杂计费因子包括:定向呼叫。Exemplarily, it is assumed that the service charging apparatus determines that the charging factors of the current service include: precise charging factors and complex charging factors; wherein, the precise charging factors include: voice services, long distances, out-of-network and tariff combinations (P4+ P5+P6+P7); complex charging factors include: directed calls.
如此,业务计费装置便可以确定当前业务的计费因子中精确计费因子的序列化特征值分别为:Key 11、Key 22、Key 32和Key 42;复杂计费因子的序列化特征值为:Key 53。In this way, the service charging device can determine that the serialized characteristic values of the precise charging factor in the charging factors of the current service are respectively:
需要强调的是,本发明实施例中,历史计费结果中包含计费因子以及与计费因子存在对应关系的计费结果,具体可以为:历史计费结果中包含待匹配序列化特征值以及与待匹配序列化特征值存在对应关系的计费结果,一个待匹配序列化特征值用于唯一标识一个计费因子。It should be emphasized that, in this embodiment of the present invention, the historical charging results include charging factors and charging results that have a corresponding relationship with the charging factors. Specifically, the historical charging results may include serialized feature values to be matched and A billing result that has a corresponding relationship with the serialized feature value to be matched, and one serialized feature value to be matched is used to uniquely identify a billing factor.
可以想到的是,本发明实施例中,历史计费结果中包含待匹配序列化特征值采用与上述同样的序列化算法对对应的计费因子进行序列化得到的。It is conceivable that, in the embodiment of the present invention, the historical charging result includes serialized characteristic values to be matched obtained by serializing the corresponding charging factor by using the same serialization algorithm as above.
示例性的,本发明实施例中可以采用表格方式给出本发明实施中的历史计费结果实例,如表8所示,为本发明实施例提供的一种历史计费结果实例:Exemplarily, in the embodiment of the present invention, the example of the historical charging result in the implementation of the present invention may be given in the form of a table, as shown in Table 8, which is an example of the historical charging result provided by the embodiment of the present invention:
表8Table 8
结合上述实例,若业务计费装置确定当前业务的计费因子中精确计费因子的序列化特征值分别为:Key 11、Key 22、Key 32和Key 42;复杂计费因子的序列化特征值为:Key53;那么业务计费装置从历史计费结果中匹配得到的第三计费结果中则可以包含如表8所示的计费结果1(对应于Key 11)、计费结果5(对应于Key 22)、计费结果7(对应于Key 32)、计费结果9(对应于Key 42)和计费结果12(对应于Key 53)。In combination with the above example, if the service charging device determines that the serialized characteristic values of the precise charging factor in the charging factors of the current service are respectively:
可以想到的是,业务计费装置可以在匹配得到上述计费结果1、计费结果5、计费结果7、计费结果9和计费结果12后,便可以根据当前业务的业务使用信息直接复用匹配得到的计费结果,对当前业务进行计费。It is conceivable that, after matching and obtaining the above-mentioned charging result 1, charging result 5, charging result 7, charging result 9 and charging
本发明实施例中,由于精确计费因子为取值范围有限、且其直接取值影响计费结果的计费因子,而复杂计费因子为经过逻辑运算后的运算结果影响计费结果的计费因子;因此可知精确计费因子相较于复杂计费因子,更容易匹配历史计费结果,即精确计费因子直接复用历史计费结果的可能性更高。In the embodiment of the present invention, since the precise charging factor is a charging factor whose value range is limited and whose value directly affects the charging result, and the complex charging factor is a calculation result that affects the charging result after logical operation Therefore, it can be seen that the precise charging factor is easier to match the historical charging result than the complex charging factor, that is, the precise charging factor has a higher possibility of directly multiplexing the historical charging result.
如此,若当前业务的计费因子包括精确计费因子和复杂计费因子,优先采用精确计费因子匹配历史计费结果(第一计费结果),然后再采用复杂计费因子匹配与精确计费因子匹配的历史计费结果(第二计费结果),则可以提高匹配成功的可能性以及复用历史计费结果的可能性。In this way, if the charging factor of the current service includes the precise charging factor and the complex charging factor, the precise charging factor is preferentially used to match the historical charging result (the first charging result), and then the complex charging factor is used to match the precise charging factor. If the historical charging result (second charging result) matching the charging factor is used, the possibility of successful matching and the possibility of multiplexing the historical charging result can be improved.
进一步的,在本发明实施例的另一种应用场景中,假设当前业务的计费因子包括:精确计费因子、复杂计费因子和阶梯计费因子,此时业务计费装置可以采用层级式的匹配方式,依次精确计费因子、复杂计费因子以及阶梯计费因子匹配预先存储的历史计费结果,以便于在匹配成功后可以直接复用匹配成功的历史计费结果。具体的,如图7所示,本发明实施例的方法还可以包括S203、S204、S206-S208:Further, in another application scenario of the embodiment of the present invention, it is assumed that the charging factor of the current service includes: an accurate charging factor, a complex charging factor, and a stepped charging factor. In this case, the service charging device may adopt a hierarchical type. In the matching method, the precise charging factor, the complex charging factor, and the stepped charging factor match the pre-stored historical charging results in turn, so that the successfully matched historical charging results can be directly reused after the matching is successful. Specifically, as shown in FIG. 7 , the method in this embodiment of the present invention may further include S203, S204, and S206-S208:
S207、若存在第三计费结果,则采用阶梯计费因子匹配第三计费结果,第三计费结果为第二计费结果中与复杂计费因子匹配的计费结果。S207. If there is a third charging result, use the step charging factor to match the third charging result, and the third charging result is the charging result that matches the complex charging factor in the second charging result.
示例性的,结合表4,如表9所示,为本发明实施例提供的阶梯计费因子实例,表9所示的复杂计费因子中包含可以唯一标识每一个阶梯计费因子的序列化特征值。Exemplarily, with reference to Table 4, as shown in Table 9, it is an example of the step-by-step charging factor provided by the embodiment of the present invention. The complex charging factor shown in Table 9 includes a serialization that can uniquely identify each step-by-step charging factor. Eigenvalues.
表9Table 9
示例性的,假设业务计费装置确定出当前业务的计费因子包括:精确计费因子、复杂计费因子和阶梯计费因子;其中,精确计费因子包括:语音业务、长途、网外和资费组合(P4+P5+P6+P7);复杂计费因子包括:定向呼叫;阶梯计费因子包括:分档资费。Exemplarily, it is assumed that the service charging device determines that the charging factors of the current service include: precise charging factor, complex charging factor, and stepped charging factor; wherein, the precise charging factor includes: voice service, long distance, out-of-network and Tariff combination (P4+P5+P6+P7); complex charging factors include: directional calls; stepped charging factors include: tiered tariffs.
如此,业务计费装置便可以确定当前业务的计费因子中精确计费因子的序列化特征值分别为:Key 11、Key 22、Key 32和Key 4n;复杂计费因子的序列化特征值分别为:Key53;阶梯计费因子的序列化特征值分别为:Key 71。In this way, the service charging device can determine that the serialized characteristic values of the precise charging factor in the charging factors of the current service are respectively:
示例性的,如表10所示,为本发明实施例提供的一种历史计费结果实例:Exemplarily, as shown in Table 10, it is an example of a historical charging result provided by the embodiment of the present invention:
表10Table 10
S208、若存在第四计费结果,则采用第四计费结果,根据当前业务的业务使用信息为当前业务计费,第四计费结果为第三计费结果中与阶梯计费因子匹配的计费结果,以获得当前业务的计费结果。S208. If there is a fourth charging result, use the fourth charging result, charge the current service according to the service usage information of the current service, and the fourth charging result is the third charging result that matches the step charging factor The charging result to obtain the charging result of the current service.
进一步的,若不存在第四计费结果,则可以继续执行S206。Further, if there is no fourth charging result, S206 may continue to be performed.
结合上述实例,若业务计费装置确定当前业务的计费因子的序列化特征值分别为:Key 11、Key 22、Key 32和Key 42、Key 53和Key 71;那么业务计费装置从历史计费结果中匹配得到的第四计费结果中则可以包含如表8所示的计费结果1(对应于Key 11)、计费结果5(对应于Key 22)、计费结果7(对应于Key 32)、计费结果9(对应于Key 42)、计费结果12(对应于Key 53)和计费结果14(对应于Key 71)。With reference to the above example, if the service charging device determines that the serialized characteristic values of the charging factor of the current service are respectively:
可以想到的是,业务计费装置可以在匹配得到上述计费结果1、计费结果5、计费结果7、计费结果9、计费结果12和计费结果14后,便可以根据当前业务的业务使用信息直接复用匹配得到的计费结果,对当前业务进行计费。It is conceivable that, after matching and obtaining the above-mentioned charging result 1, charging result 5, charging result 7, charging result 9, charging
进一步的,本发明实施例中的历史计费结果中包含的与计费因子存在对应关系的计费结果(如表9所示的计费结果1-14)可以包含:历史计费公式和业务计费结果中的至少一项。Further, the charging results that have a corresponding relationship with the charging factors included in the historical charging results in the embodiment of the present invention (such as charging results 1-14 shown in Table 9) may include: historical charging formulas and services At least one of the billing results.
其中,历史计费公式为在历史计费过程中归纳总结得到的与计费因子对应的用于计费计算的数学公式。The historical charging formula is a mathematical formula for charging calculation corresponding to the charging factor obtained by summarizing and summarizing in the historical charging process.
示例性的,以上述阶梯计费因子的历史计费结果为例,基于表9所示的分档资费的计费结果,在表9所示的分档资费中,语音资费按照时间阶梯可以分为三档:通话时长(0,3]分钟,其资费为0.1元/分钟;通话时长(3,5]分钟,其资费为0.08元/分钟;通话时长(5,∞)分钟,其资费为0.05元/分钟。Exemplarily, taking the historical charging results of the above-mentioned tiered charging factors as an example, based on the charging results of the tiered tariffs shown in Table 9, in the tiered tariffs shown in Table 9, the voice tariffs can be divided according to the time ladder. It is three grades: call duration (0, 3] minutes, the tariff is 0.1 yuan/min; call duration (3, 5] minutes, the tariff is 0.08 yuan/min; call duration (5, ∞) minutes, the tariff is 0.08 yuan/min. 0.05 yuan/minute.
由于在大多数语音通话场景中,其通话时长均在5分钟以上,因此,为了减少语音通信业务计费过程中的计算量,提高计费效率,上述分档资费的历史计费结果具体可以包含如表11所示的与计费因子对应的用于计费计算的数学公式:In most voice call scenarios, the call duration is more than 5 minutes. Therefore, in order to reduce the amount of calculation in the billing process of voice communication services and improve the billing efficiency, the historical billing results of the above-mentioned tiered tariffs can specifically include: Mathematical formula for charging calculation corresponding to charging factor as shown in Table 11:
表11Table 11
业务计费结果可以为在历史计费过程中归纳总结得到的与计费因子对应的计费金额。例如,若当前业务为数据流量包业务,那么此时该数据流量包业务的计费因子所对应的计费结果则可以为办理该数据流量包所要支付的计费金额(如10M数据流量包的计费金额为3元)。The service charging result may be the charging amount corresponding to the charging factor obtained by summarizing and summarizing in the historical charging process. For example, if the current service is a data flow package service, then the charging result corresponding to the charging factor of the data flow package service at this time may be the billing amount to be paid for the data flow package (for example, a 10M data flow package The billing amount is 3 yuan).
优选的,本发明实施例中还可以采用如图8所示的树形因子结构,进行当前业务的计费因子与历史计费结果的匹配。如图8所示,业务计费装置可以依次采用精确计费因子、复杂计费因子以及阶梯计费因子匹配历史计费结果。Preferably, in this embodiment of the present invention, a tree-shaped factor structure as shown in FIG. 8 may also be used to perform matching between the charging factor of the current service and the historical charging result. As shown in FIG. 8 , the service charging apparatus can sequentially use the precise charging factor, the complex charging factor, and the stepped charging factor to match the historical charging result.
可以想到的是,由于阶梯计费因子为取值范围不可枚举、通过数学公式规整、映射后可转换为所述精确计费因子的计费因子;因此可知复杂计费因子相较于阶梯计费因子,更容易匹配历史计费结果,即复杂计费因子复用历史计费结果的可能性高于阶梯计费因子复用历史计费结果的可能性。It is conceivable that, since the step-by-step charging factor is a charging factor whose value range cannot be enumerated, can be converted into the precise charging factor after being regulated by mathematical formulas, and mapped; It is easier to match the historical charging results, that is, the possibility of multiplexing historical charging results for complex charging factors is higher than the possibility of multiplexing historical charging results for stepped charging factors.
如此,若当前业务的计费因子包括精确计费因子、复杂计费因子和阶梯计费因子,依次采用精确计费因子、复杂计费因子以及阶梯计费因子匹配历史计费结果,可以提高匹配成功的可能性以及复用历史计费结果的可能性。In this way, if the billing factors of the current service include precise billing factors, complex billing factors, and stepped billing factors, the precise billing factors, complex billing factors, and stepped billing factors are used in sequence to match the historical billing results, which can improve matching. Likelihood of success and re-use of historical billing results.
本发明实施例提供的业务计费方法,可以从用户为当前业务订购的资费策略中,确定出当前业务的计费因子,然后采用当前业务的计费因子匹配历史计费结果,存在与当前业务的计费因子匹配的历史计费结果,则可以直接复用该历史计费结果对当前业务进行计费,而不是逐个、循序渐进的采用每一个资费策略分别进行计费。复用历史计费结果对当前业务进行计费可以减少业务计费过程中的计算量,简化计费过程,进而可以降低对系统性能的消耗。The service charging method provided by the embodiment of the present invention can determine the charging factor of the current service from the charging policy subscribed by the user for the current service, and then use the charging factor of the current service to match the historical charging results. If the charging factor matches the historical charging result, the historical charging result can be directly reused to charge the current service, instead of charging each charging policy one by one and step by step. Charging the current service by multiplexing the historical charging results can reduce the amount of calculation in the service charging process, simplify the charging process, and further reduce the consumption of system performance.
并且,由于精确计费因子为取值范围有限、且其直接取值影响计费结果的计费因子,而复杂计费因子为经过逻辑运算后的运算结果影响计费结果的计费因子,阶梯计费因子为取值范围不可枚举、通过数学公式规整、映射后可转换为所述精确计费因子的计费因子;因此可知精确计费因子相较于复杂计费因子,更容易匹配历史计费结果,即精确计费因子直接复用历史计费结果的可能性更高;复杂计费因子相较于阶梯计费因子,更容易匹配历史计费结果,即复杂计费因子复用历史计费结果的可能性高于阶梯计费因子复用历史计费结果的可能性。Moreover, since the precise charging factor is a charging factor whose value range is limited and whose value directly affects the charging result, and the complex charging factor is a charging factor whose operation result after logical operation affects the charging result, the step The billing factor is a billing factor whose value range is not enumerable, and can be converted into the precise billing factor after mapping through mathematical formulas. Therefore, it can be seen that the precise billing factor is easier to match the history than the complex billing factor. The billing result, that is, the precise billing factor is more likely to directly reuse the historical billing result; the complex billing factor is easier to match the historical billing result than the step billing factor, that is, the complex billing factor reuses the history The possibility of charging results is higher than the possibility of multiplexing historical charging results by tiered charging factors.
如此,当当前业务的计费因子包括精确计费因子、复杂计费因子和阶梯计费因子时,依次采用精确计费因子、复杂计费因子以及阶梯计费因子匹配历史计费结果,可以提高匹配成功的可能性以及复用历史计费结果的可能性。In this way, when the charging factor of the current service includes the precise charging factor, the complex charging factor, and the stepped charging factor, the precise charging factor, the complex charging factor, and the stepped charging factor are used in sequence to match the historical charging results, which can improve the efficiency of the charging process. The probability of a successful match and the possibility of reusing historical billing results.
本发明实施例提供一种业务计费装置,所述业务计费装置用于执行上述实施例提供的业务计费方法。所述业务计费装置可以包括上述实施例提供的业务计费方法相应步骤所对应的模块。示例的,如图9所示,所述业务计费装置可以包括:获取单元21、确定单元22、匹配单元23和计费单元24。An embodiment of the present invention provides a service charging apparatus, and the service charging apparatus is configured to execute the service charging method provided by the above embodiment. The service charging apparatus may include modules corresponding to the corresponding steps of the service charging method provided in the above embodiment. Illustratively, as shown in FIG. 9 , the service charging apparatus may include: an acquiring
获取单元21,用于获取一用户的当前业务的业务使用信息。The obtaining
确定单元22,用于确定所述用户为所述当前业务订购的资费策略,并从所述用户为所述当前业务订购的资费策略中,确定出所述当前业务的计费因子。The determining
匹配单元23,用于采用所述确定单元22确定的所述当前业务的计费因子匹配预先存储的历史计费结果,所述历史计费结果中包含计费因子以及与所述计费因子存在对应关系的计费结果。A matching
计费单元24,用于若所述匹配单元23确定存在与所述当前业务的计费因子匹配的历史计费结果,则采用与所述当前业务的计费因子匹配的历史计费结果,根据所述获取单元21获取的所述当前业务的业务使用信息为所述当前业务计费,以获得所述当前业务的计费结果。The charging
进一步的,所述当前业务的计费因子包括:精确计费因子、复杂计费因子以及阶梯计费因子中的至少一项。Further, the charging factor of the current service includes: at least one of a precise charging factor, a complex charging factor, and a step-by-step charging factor.
其中,所述精确计费因子为取值范围有限、且其直接取值影响计费结果的计费因子;所述复杂计费因子为经过函数运算后的运算结果影响计费结果的计费因子;所述阶梯计费因子为取值范围不可枚举、通过数学公式规整、映射后可转换为所述精确计费因子的计费因子。Wherein, the precise charging factor is a charging factor whose value range is limited and whose value directly affects the charging result; the complex charging factor is a charging factor whose operation result after function operation affects the charging result ; The step charging factor is a charging factor whose value range is not enumerable, and can be converted into the precise charging factor after being regulated by mathematical formulas and mapping.
进一步的,所述精确计费因子包括:精确因子标识和精确因子取值;所述复杂计费因子包括:复杂因子标识、复杂因子函数和复杂因子参数;所述阶梯计费因子包括:阶梯因子标识、阶梯因子函数、阶梯资费标识和阶梯因子参数。Further, the precise billing factor includes: an exact factor identifier and an exact factor value; the complex billing factor includes: a complex factor identifier, a complex factor function, and a complex factor parameter; the stepped billing factor includes: a stepped factor Flags, Step Factor Function, Step Tariff Flags, and Step Factor Parameters.
进一步的,所述历史计费结果中包含的与所述计费因子存在对应关系的计费结果包括:历史计费公式和业务计费结果中的至少一项。Further, the charging result that has a corresponding relationship with the charging factor included in the historical charging result includes at least one of a historical charging formula and a service charging result.
所述历史计费公式为在历史计费过程中归纳总结得到的与所述计费因子对应的用于计费计算的数学公式;所述业务计费结果为在历史计费过程中归纳总结得到的与所述计费因子对应的计费金额。The historical charging formula is a mathematical formula for charging calculation corresponding to the charging factor obtained by summarizing and summarizing in the historical charging process; the service charging result is obtained by summarizing and summarizing in the historical charging process. The billing amount corresponding to the billing factor.
可选的,在本发明实施例的一种应用场景中,所述当前业务的计费因子包括:所述精确计费因子和所述复杂计费因子。Optionally, in an application scenario of the embodiment of the present invention, the charging factor of the current service includes: the precise charging factor and the complex charging factor.
在这种应用场景中,所述匹配单元23,具体用于:In this application scenario, the matching
采用所述精确计费因子匹配第一计费结果,所述第一计费结果为所述历史计费结果;Matching a first charging result by using the precise charging factor, where the first charging result is the historical charging result;
若存在第二计费结果,则采用所述复杂计费因子匹配所述第二计费结果,所述第二计费结果为所述第一计费结果中与所述精确计费因子匹配的计费结果。If there is a second charging result, the complex charging factor is used to match the second charging result, and the second charging result is the first charging result that matches the precise charging factor. Billing results.
所述计费单元24,具体用于若所述匹配单元23确定存在第三计费结果,则采用所述第三计费结果,根据所述当前业务的业务使用信息为所述当前业务计费,所述第三计费结果为所述第二计费结果中与所述复杂计费因子匹配的计费结果,以获得所述当前业务的计费结果。The charging
优选的,在本发明实施例的另一种应用场景中,所述当前业务的计费因子包括:所述精确计费因子、所述复杂计费因子和所述阶梯计费因子。Preferably, in another application scenario of the embodiment of the present invention, the charging factor of the current service includes: the precise charging factor, the complex charging factor, and the stepped charging factor.
在这种应用场景中,所述匹配单元23,具体用于:In this application scenario, the matching
采用所述精确计费因子匹配第一计费结果,所述第一计费结果为所述历史计费结果;Matching a first charging result by using the precise charging factor, where the first charging result is the historical charging result;
若存在第二计费结果,则采用所述复杂计费因子匹配所述第二计费结果,所述第二计费结果为所述第一计费结果中与所述精确计费因子匹配的计费结果;If there is a second charging result, the complex charging factor is used to match the second charging result, and the second charging result is the first charging result that matches the precise charging factor. billing result;
若存在第三计费结果,则采用所述阶梯计费因子匹配所述第三计费结果,所述第三计费结果为所述第二计费结果中与所述复杂计费因子匹配的计费结果。If there is a third charging result, the step charging factor is used to match the third charging result, and the third charging result is the second charging result that matches the complex charging factor Billing results.
所述计费单元24,具体用于若所述匹配单元23确定存在第四计费结果,则采用所述第四计费结果,根据所述当前业务的业务使用信息为所述当前业务计费,所述第四计费结果为所述第三计费结果中与所述阶梯计费因子匹配的计费结果,以获得所述当前业务的计费结果。The charging
优选的,所述当前业务的计费因子中包含所述当前业务的计费因子对应的序列化特征值,该序列化特征值用于唯一标识该计费因子。Preferably, the charging factor of the current service includes a serialized characteristic value corresponding to the charging factor of the current service, and the serialized characteristic value is used to uniquely identify the charging factor.
所述历史计费结果中包含计费因子以及与所述计费因子存在对应关系的计费结果,具体为:所述历史计费结果中包含待匹配序列化特征值以及与所述待匹配序列化特征值存在对应关系的计费结果,一个所述待匹配序列化特征值用于唯一标识一个计费因子。The historical charging results include charging factors and charging results that have a corresponding relationship with the charging factors, specifically: the historical charging results include serialized feature values to be matched and sequences to be matched. A charging result in which there is a corresponding relationship between the serialized characteristic values, and one of the serialized characteristic values to be matched is used to uniquely identify a charging factor.
进一步的,所述匹配单元23,具体用于采用所述当前业务的计费因子对应的序列化特征值匹配预先存储的待匹配序列化特征值。Further, the matching
其中,当所述当前业务的计费因子对应的序列化特征值等于一待匹配序列化特征值时,所述当前业务的计费因子与该待匹配序列化特征值对应的计费结果匹配。Wherein, when the serialization characteristic value corresponding to the charging factor of the current service is equal to a serialization characteristic value to be matched, the charging factor of the current service matches the charging result corresponding to the serialization characteristic value to be matched.
进一步的,所述计费单元24,还用于若所述匹配单元23确定不存在与所述当前业务的计费因子匹配的历史计费结果,则分别采用所述用户为所述当前业务订购的资费策略中的每一个资费策略,为所述当前业务计费,以获得所述当前业务的计费结果。Further, the charging
进一步的,如图10所示,所述业务计费装置,还可以包括:保存单元25。Further, as shown in FIG. 10 , the service charging apparatus may further include: a
保存单元25,用于在所述计费单元24分别采用所述用户为所述当前业务订购的资费策略中的每一个资费策略,为所述当前业务计费,以获得所述当前业务的计费结果之后,保存所述当前业务的计费因子与所述当前业务的计费结果之间的对应关系。The saving
优选的,所述保存单元25,具体用于若所述当前业务的计费因子的使用频率高于第一频率阈值,则保存所述当前业务的计费因子与所述当前业务的计费结果之间的对应关系。Preferably, the saving
进一步的,所述业务计费装置,还可以包括:删除单元。Further, the service charging apparatus may further include: a deletion unit.
删除单元,用于若所述当前业务的计费因子的使用频率低于第二频率阈值,则删除所述当前业务的计费因子与所述当前业务的计费结果之间的对应关系。A deletion unit, configured to delete the corresponding relationship between the charging factor of the current service and the charging result of the current service if the usage frequency of the charging factor of the current service is lower than the second frequency threshold.
需要说明的是,本实施例提供的业务计费装置的详细描述可以参考本发明方法实施例中的相关内容,本实施例这里不再赘述。It should be noted that, for the detailed description of the service charging apparatus provided in this embodiment, reference may be made to the relevant content in the method embodiment of the present invention, and details are not described herein again in this embodiment.
本发明实施例提供的业务计费装置,可以从用户为当前业务订购的资费策略中,确定出当前业务的计费因子,然后采用当前业务的计费因子匹配历史计费结果,存在与当前业务的计费因子匹配的历史计费结果,则可以直接复用该历史计费结果对当前业务进行计费,而不是逐个、循序渐进的采用每一个资费策略分别进行计费。复用历史计费结果对当前业务进行计费可以减少业务计费过程中的计算量,简化计费过程,进而可以降低对系统性能的消耗。The service charging device provided by the embodiment of the present invention can determine the charging factor of the current service from the charging policy ordered by the user for the current service, and then use the charging factor of the current service to match the historical charging results. If the charging factor matches the historical charging result, the historical charging result can be directly reused to charge the current service, instead of charging each charging policy one by one and step by step. Charging the current service by multiplexing the historical charging results can reduce the amount of calculation in the service charging process, simplify the charging process, and further reduce the consumption of system performance.
并且,由于精确计费因子为取值范围有限、且其直接取值影响计费结果的计费因子,而复杂计费因子为经过逻辑运算后的运算结果影响计费结果的计费因子,阶梯计费因子为取值范围不可枚举、通过数学公式规整、映射后可转换为所述精确计费因子的计费因子;因此可知精确计费因子相较于复杂计费因子,更容易匹配历史计费结果,即精确计费因子直接复用历史计费结果的可能性更高;复杂计费因子相较于阶梯计费因子,更容易匹配历史计费结果,即复杂计费因子复用历史计费结果的可能性高于阶梯计费因子复用历史计费结果的可能性。Moreover, since the precise charging factor is a charging factor whose value range is limited and whose value directly affects the charging result, and the complex charging factor is a charging factor whose operation result after logical operation affects the charging result, the step The billing factor is a billing factor whose value range is not enumerable, and can be converted into the precise billing factor after mapping through mathematical formulas. Therefore, it can be seen that the precise billing factor is easier to match the history than the complex billing factor. The billing result, that is, the precise billing factor is more likely to directly reuse the historical billing result; the complex billing factor is easier to match the historical billing result than the step billing factor, that is, the complex billing factor reuses the history The possibility of charging results is higher than the possibility of multiplexing historical charging results by tiered charging factors.
如此,当当前业务的计费因子包括精确计费因子、复杂计费因子和阶梯计费因子时,依次采用精确计费因子、复杂计费因子以及阶梯计费因子匹配历史计费结果,可以提高匹配成功的可能性以及复用历史计费结果的可能性。In this way, when the charging factor of the current service includes the precise charging factor, the complex charging factor, and the stepped charging factor, the precise charging factor, the complex charging factor, and the stepped charging factor are used in sequence to match the historical charging results, which can improve the efficiency of the charging process. The probability of a successful match and the possibility of reusing historical billing results.
如图11所示,本发明实施例提供一种业务计费装置,所述业务计费装置包括:As shown in FIG. 11 , an embodiment of the present invention provides a service charging device, where the service charging device includes:
一个或多个处理器30、存储器31、总线系统32、收发器33以及一个或多个应用程序,所述一个或多个处理器、所述存储器31和所述收发器33通过所述总线系统32相连。one or more processors 30, memory 31, a bus system 32, a transceiver 33, and one or more applications through which the one or more processors, the memory 31 and the transceiver 33 pass 32 connected.
所述一个或多个应用程序存储在所述存储器31中,所述一个或多个应用程序包括指令,当所述业务计费装置的处理器30执行所述指令时,所述业务计费装置执行上述方法实施例中所述的业务计费方法。具体的业务计费方法可以参见上述方法实施例中的相关描述,此处不再赘述。The one or more application programs are stored in the memory 31, and the one or more application programs include instructions, when the processor 30 of the service charging device executes the instructions, the service charging device The service charging method described in the above method embodiment is executed. For a specific service charging method, reference may be made to the relevant descriptions in the foregoing method embodiments, which will not be repeated here.
本实施例还提供一种计算机可读存储介质,所述计算机可读存储介质中存储有一个或多个程序,所述一个或多个程序包括指令,当所述业务计费装置的处理器30执行所述指令时,所述业务计费装置执行如图3-图7中任一附图所示的业务计费方法。This embodiment further provides a computer-readable storage medium, where one or more programs are stored in the computer-readable storage medium, and the one or more programs include instructions, when the processor 30 of the service charging apparatus When the instruction is executed, the service charging apparatus executes the service charging method shown in any one of FIG. 3 to FIG. 7 .
所述一个或多个处理器30可以为中央处理器(英文:central processing unit,缩写:CPU)。所述一个或多个处理器30还可以为其他通用处理器、数字信号处理器(英文:digital signal processing,简称DSP)、专用集成电路(英文:application specificintegrated circuit,简称ASIC)、现场可编程门阵列(英文:field-programmable gatearray,简称FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件等。通用处理器可以是微处理器或者该处理器也可以是任何常规的处理器等。The one or more processors 30 may be a central processing unit (English: central processing unit, abbreviation: CPU). The one or more processors 30 may also be other general-purpose processors, digital signal processors (English: digital signal processing, DSP for short), application specific integrated circuits (English: application specific integrated circuit, ASIC for short), field programmable gates Array (English: field-programmable gate array, FPGA for short) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
所述一个或多个处理器30可以为专用处理器,该专用处理器可以包括NFC处理芯片、基带处理芯片、射频处理芯片等中的至少一个。进一步地,该专用处理器还可以包括具有便携式电子设备其他专用处理功能的芯片。The one or more processors 30 may be dedicated processors, and the dedicated processors may include at least one of an NFC processing chip, a baseband processing chip, a radio frequency processing chip, and the like. Further, the dedicated processor may also include a chip with other dedicated processing functions of the portable electronic device.
所述存储器31可以包括易失性存储器(英文:volatile memory),例如随机存取存储器(英文:random-access memory,缩写:RAM);所述存储器31也可以包括非易失性存储器(英文:non-volatile memory),例如只读存储器(英文:read-only memory,缩写:ROM),快闪存储器(英文:flash memory),硬盘(英文:hard disk drive,缩写:HDD)或固态硬盘(英文:solid-state drive,缩写:SSD);所述存储器31还可以包括上述种类的存储器的组合。The memory 31 may include a volatile memory (English: volatile memory), such as random-access memory (English: random-access memory, abbreviation: RAM); the memory 31 may also include a non-volatile memory (English: non-volatile memory), such as read-only memory (English: read-only memory, abbreviation: ROM), flash memory (English: flash memory), hard disk (English: hard disk drive, abbreviation: HDD) or solid-state drive (English: hard disk drive, abbreviation: HDD) : solid-state drive, abbreviation: SSD); the storage 31 may also include a combination of the above-mentioned types of storage.
所述总线系统32可以包括数据总线、电源总线、控制总线和信号状态总线等。本实施例中为了清楚说明,在图11中将各种总线示意为总线系统32。The bus system 32 may include a data bus, a power bus, a control bus, a signal status bus, and the like. In this embodiment, for the sake of clarity, various buses are illustrated as a bus system 32 in FIG. 11 .
所述收发器33具体可以是便携式电子设备上的收发器。该收发器可以为无线收发器。例如,无线收发器可以是便携式电子设备的天线等。所述一个或多个处理器30通过所述收发器33与其他设备或者数据库(例如,用户数据库)之间进行数据的收发。The transceiver 33 may specifically be a transceiver on a portable electronic device. The transceiver may be a wireless transceiver. For example, the wireless transceiver may be an antenna of a portable electronic device, or the like. The one or more processors 30 send and receive data to and from other devices or databases (eg, user databases) through the transceiver 33 .
需要说明的是,本实施例提供的业务计费装置的详细描述可以参考本发明方法实施例中的相关内容,本实施例这里不再赘述。It should be noted that, for the detailed description of the service charging apparatus provided in this embodiment, reference may be made to the relevant content in the method embodiment of the present invention, and details are not described herein again in this embodiment.
本发明实施例提供的业务计费装置,可以从用户为当前业务订购的资费策略中,确定出当前业务的计费因子,然后采用当前业务的计费因子匹配历史计费结果,存在与当前业务的计费因子匹配的历史计费结果,则可以直接复用该历史计费结果对当前业务进行计费,而不是逐个、循序渐进的采用每一个资费策略分别进行计费。复用历史计费结果对当前业务进行计费可以减少业务计费过程中的计算量,简化计费过程,进而可以降低对系统性能的消耗。The service charging device provided by the embodiment of the present invention can determine the charging factor of the current service from the charging policy ordered by the user for the current service, and then use the charging factor of the current service to match the historical charging results. If the charging factor matches the historical charging result, the historical charging result can be directly reused to charge the current service, instead of charging each charging policy one by one and step by step. Charging the current service by multiplexing the historical charging results can reduce the amount of calculation in the service charging process, simplify the charging process, and further reduce the consumption of system performance.
并且,由于精确计费因子为取值范围有限、且其直接取值影响计费结果的计费因子,而复杂计费因子为经过逻辑运算后的运算结果影响计费结果的计费因子,阶梯计费因子为取值范围不可枚举、通过数学公式规整、映射后可转换为所述精确计费因子的计费因子;因此可知精确计费因子相较于复杂计费因子,更容易匹配历史计费结果,即精确计费因子直接复用历史计费结果的可能性更高;复杂计费因子相较于阶梯计费因子,更容易匹配历史计费结果,即复杂计费因子复用历史计费结果的可能性高于阶梯计费因子复用历史计费结果的可能性。Moreover, since the precise charging factor is a charging factor whose value range is limited and whose value directly affects the charging result, and the complex charging factor is a charging factor whose operation result after logical operation affects the charging result, the step The billing factor is a billing factor whose value range is not enumerable, and can be converted into the precise billing factor after mapping through mathematical formulas. Therefore, it can be seen that the precise billing factor is easier to match the history than the complex billing factor. The billing result, that is, the precise billing factor is more likely to directly reuse the historical billing result; the complex billing factor is easier to match the historical billing result than the step billing factor, that is, the complex billing factor reuses the history The possibility of charging results is higher than the possibility of multiplexing historical charging results by tiered charging factors.
如此,当当前业务的计费因子包括精确计费因子、复杂计费因子和阶梯计费因子时,依次采用精确计费因子、复杂计费因子以及阶梯计费因子匹配历史计费结果,可以提高匹配成功的可能性以及复用历史计费结果的可能性。In this way, when the charging factor of the current service includes the precise charging factor, the complex charging factor, and the stepped charging factor, the precise charging factor, the complex charging factor, and the stepped charging factor are used in sequence to match the historical charging results, which can improve the efficiency of the charging process. The probability of a successful match and the possibility of reusing historical billing results.
通过以上的实施方式的描述,所属领域的技术人员可以清楚地了解到本发明可借助软件加必需的通用硬件的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在可读取的存储介质中,如计算机的软盘,硬盘或光盘等,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本发明各个实施例所述的方法。From the description of the above embodiments, those skilled in the art can clearly understand that the present invention can be implemented by means of software plus necessary general-purpose hardware, and of course can also be implemented by means of hardware, but in many cases the former is a better embodiment . Based on such understanding, the technical solutions of the present invention can be embodied in the form of software products in essence or the parts that make contributions to the prior art. The computer software products are stored in a readable storage medium, such as a floppy disk of a computer. , a hard disk or an optical disk, etc., including several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the methods described in the various embodiments of the present invention.
本领域普通技术人员将会理解,本发明的各个方面、或各个方面的可能实现方式可以被具体实施为系统、方法或者计算机程序产品。因此,本发明的各方面、或各个方面的可能实现方式可以采用完全硬件实施例、完全软件实施例(包括固件、驻留软件等等),或者组合软件和硬件方面的实施例的形式,在这里都统称为“电路”、“模块”或者“系统”。此外,本发明的各方面、或各个方面的可能实现方式可以采用计算机程序产品的形式,计算机程序产品是指存储在计算机可读介质中的计算机可读程序代码。As will be appreciated by one of ordinary skill in the art, various aspects of the present invention, or possible implementations of various aspects, may be embodied as a system, method or computer program product. Thus, aspects of the present invention, or possible implementations of various aspects, may take the form of an entirely hardware embodiment, an entirely software embodiment (including firmware, resident software, etc.), or a combination of software and These are collectively referred to herein as "circuits," "modules," or "systems." Furthermore, aspects of the present invention, or possible implementations of various aspects, may take the form of a computer program product, which refers to computer readable program code stored on a computer readable medium.
计算机可读介质可以是计算机可读信号介质或者计算机可读存储介质。计算机可读存储介质包含但不限于电子、磁性、光学、电磁、红外或半导体系统、设备或者装置,或者前述的任意适当组合,如随机存取存储器(RAM)、只读存储器(ROM)、可擦除可编程只读存储器(EPROM或者快闪存储器)、光纤、便携式只读存储器(CD-ROM)。The computer-readable medium may be a computer-readable signal medium or a computer-readable storage medium. Computer-readable storage media include, but are not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, devices, or devices, or any suitable combination of the foregoing, such as random access memory (RAM), read only memory (ROM), memory Erase programmable read only memory (EPROM or flash memory), optical fiber, portable read only memory (CD-ROM).
计算机中的处理器读取存储在计算机可读介质中的计算机可读程序代码,使得处理器能够执行在流程图中每个步骤、或各步骤的组合中规定的功能动作;生成实施在框图的每一块、或各块的组合中规定的功能动作的装置。The processor in the computer reads the computer-readable program code stored in the computer-readable medium, so that the processor can perform the functional actions specified in each step or combination of steps in the flowchart; A device that operates the functions specified in each block, or a combination of blocks.
计算机可读程序代码可以完全在用户的计算机上执行、部分在用户的计算机上执行、作为单独的软件包、部分在用户的计算机上并且部分在远程计算机上,或者完全在远程计算机或者服务器上执行。也应该注意,在某些替代实施方案中,在流程图中各步骤、或框图中各块所注明的功能可能不按图中注明的顺序发生。例如,依赖于所涉及的功能,接连示出的两个步骤、或两个块实际上可能被大致同时执行,或者这些块有时候可能被以相反顺序执行。The computer readable program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer, or entirely on the remote computer or server . It should also be noted that, in some alternative implementations, the functions noted in the steps in the flowcharts, or blocks in the block diagrams, may occur out of the order noted in the figures. For example, two steps, or two blocks shown in succession, may in fact be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved.
显然,本领域的技术人员可以对本发明进行各种改动和变型而不脱离本发明的精神和范围。这样,倘若本发明的这些修改和变型属于本发明权利要求及其等同技术的范围之内,则本发明也意图包含这些改动和变型在内。It will be apparent to those skilled in the art that various modifications and variations can be made in the present invention without departing from the spirit and scope of the invention. Thus, provided that these modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include these modifications and variations.
Claims (13)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201511028652.7A CN106936601B (en) | 2015-12-31 | 2015-12-31 | Service charging method and device |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201511028652.7A CN106936601B (en) | 2015-12-31 | 2015-12-31 | Service charging method and device |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN106936601A CN106936601A (en) | 2017-07-07 |
| CN106936601B true CN106936601B (en) | 2020-02-14 |
Family
ID=59441069
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201511028652.7A Active CN106936601B (en) | 2015-12-31 | 2015-12-31 | Service charging method and device |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN106936601B (en) |
Families Citing this family (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN108009806A (en) * | 2017-12-18 | 2018-05-08 | 深圳市快付通金融网络科技服务有限公司 | Charging regulation collocation method, data system for settling account and computer-readable recording medium |
| CN108833123A (en) * | 2018-04-11 | 2018-11-16 | 无锡华云数据技术服务有限公司 | Based on according to quantity cloud host charging method and device |
| CN108898446B (en) * | 2018-07-18 | 2022-04-12 | 北京百度网讯科技有限公司 | Method and apparatus for outputting information |
Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN1848737A (en) * | 2005-04-14 | 2006-10-18 | 华为技术有限公司 | a billing method |
| US7499890B1 (en) * | 2003-10-14 | 2009-03-03 | At&T Mobility Ii Llc | Cellsite budgetmaster |
| CN101673385A (en) * | 2009-09-28 | 2010-03-17 | 百度在线网络技术(北京)有限公司 | Consumption preliminary estimate method and device thereof |
| CN102388564A (en) * | 2011-05-06 | 2012-03-21 | 华为技术有限公司 | Method for rating group processing, method for data service charging, and related device and system |
| JP2015153039A (en) * | 2014-02-12 | 2015-08-24 | 株式会社コナミデジタルエンタテインメント | Settlement system, privilege management method thereof, and computer program |
Family Cites Families (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| KR100877475B1 (en) * | 2004-09-30 | 2009-01-07 | 주식회사 케이티 | Integrated billing processing device and method using real-time session management in wired / wireless integrated service network |
-
2015
- 2015-12-31 CN CN201511028652.7A patent/CN106936601B/en active Active
Patent Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US7499890B1 (en) * | 2003-10-14 | 2009-03-03 | At&T Mobility Ii Llc | Cellsite budgetmaster |
| CN1848737A (en) * | 2005-04-14 | 2006-10-18 | 华为技术有限公司 | a billing method |
| CN101673385A (en) * | 2009-09-28 | 2010-03-17 | 百度在线网络技术(北京)有限公司 | Consumption preliminary estimate method and device thereof |
| CN102388564A (en) * | 2011-05-06 | 2012-03-21 | 华为技术有限公司 | Method for rating group processing, method for data service charging, and related device and system |
| JP2015153039A (en) * | 2014-02-12 | 2015-08-24 | 株式会社コナミデジタルエンタテインメント | Settlement system, privilege management method thereof, and computer program |
Also Published As
| Publication number | Publication date |
|---|---|
| CN106936601A (en) | 2017-07-07 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN102811135B (en) | Traffic notifying system and method | |
| CN110557729B (en) | A roaming charging method and device | |
| CN103181142B (en) | Machine type communication session processing method and device | |
| JP4964951B2 (en) | Intra-area call area determination in wireless networks | |
| US20150024709A1 (en) | Method and server for sharing data traffic | |
| EP2564556A2 (en) | Mobile device bandwidth throttling | |
| CN110417561B (en) | A distributed charging method, device and system based on blockchain | |
| CN106936601B (en) | Service charging method and device | |
| CN110381222B (en) | Method and device for determining mobile service status | |
| CN102761851B (en) | Charging method and device based on divided detail records | |
| CN102137375A (en) | Method and device for realizing self-definition of service package | |
| WO2019184632A1 (en) | Rating method and apparatus | |
| CN101668098A (en) | Value-added service charging method and charging system | |
| CN108008973B (en) | Method, device and server for associating application program | |
| CN107786956B (en) | A method and device for determining real-time priority of a package | |
| CN106714128A (en) | Automatic fee-paying method and terminal | |
| US20120284208A1 (en) | Systems and/or Methods For Delivering Notifications On A Communications Network | |
| CN101309332B (en) | Charging method and system | |
| WO2021121176A1 (en) | Method and device for updating status information of sim card, and server | |
| CN104202738A (en) | Policy control method and system and gateway | |
| CN104602239A (en) | Mobile communication copy card determination method and system | |
| CN112995900B (en) | A SIM card allocation method, device, server and computer-readable storage medium | |
| CN115994756A (en) | Call bill processing method, device, electronic device and readable storage medium | |
| CN107708082A (en) | One kind supplement charging method and device | |
| CN115150763B (en) | Bill charging method and device |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| PB01 | Publication | ||
| PB01 | Publication | ||
| SE01 | Entry into force of request for substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| GR01 | Patent grant | ||
| GR01 | Patent grant |