CN100452708C - Fee counter for intelligent net - Google Patents

Fee counter for intelligent net Download PDF

Info

Publication number
CN100452708C
CN100452708C CN 02108925 CN02108925A CN100452708C CN 100452708 C CN100452708 C CN 100452708C CN 02108925 CN02108925 CN 02108925 CN 02108925 A CN02108925 A CN 02108925A CN 100452708 C CN100452708 C CN 100452708C
Authority
CN
Grant status
Grant
Patent type
Prior art keywords
charging
service
billing
control logic
charging member
Prior art date
Application number
CN 02108925
Other languages
Chinese (zh)
Other versions
CN1450748A (en )
Inventor
松 刘
剑 张
张玉峰
望远闻
杨若冰
王奇丰
郭丛松
Original Assignee
华为技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Grant date

Links

Abstract

本发明公开用于智能网的计费装置,包括业务控制逻辑及一个独立于所述业务控制逻辑的计费部件,该计费部件和业务控制逻辑以及业务数据库装置保持通讯连接,业务控制逻辑用于将基本计费信息传递给计费部件,计费部件用于根据收到的基本计费信息和从业务数据库装置获得的数据,完成计费工作,并把计算结果返回给业务控制逻辑。 The present invention discloses apparatus for charging intelligent network comprising a service control logic and service control logic is independent of the charging member, the charging member and the service control logic and service database means for holding communication connection, service control logic with basic billing information to be passed to the charging member, the charging member and the charging information for the basic data obtained from the received service database means to complete charging work and returns the results to the service control logic. 这样业务控制逻辑就不再需要负责处理计费的功能,它只是通过一些开放的接口或者是消息来访问这个独立的计费模块,以完成呼叫流程中的计费的功能。 Such service control logic is no longer responsible for processing a charging function, it is only access to this independent accounting module or a number of open interfaces message to complete the call flow accounting. 当计费模块需要修改的时候,就可以减少对中其它等其它模块的造成影响。 When the billing module needs to be modified, when it affects other on the other modules can be reduced.

Description

用于智能网的计费装置 Means for charging intelligent network

技术领域: FIELD:

本发明涉及用于智能网的计费装置。 The present invention relates to apparatus for charging intelligent network.

背景技术: Background technique:

目前业务部各产品,尤其是智能网产品计费功能是整个产品非常重要的功能,同时也是易变性最高的功能。 Currently each business unit products, especially intelligent network products accounting function is a very important function of the product, but also the highest functional variability.

但是,在现有技术中,由于计费与平台其他功能紧密结合,计费策略的改变,往往会导致平台的修改。 However, in the prior art, because the billing platform tightly integrated with other functions, changing accounting policies, often lead to a revision of the platform. 每做一次修改,都要投入大量的人力资源和时间,导致对市场的反应速度很慢。 Each do a modification, must invest a lot of time and human resources, resulting in market reaction speed is very slow. 目前许多业务已经进行外包,平台和业务之间应该是更加独立,更加没有紧密的关系,这样才能缩短短业务的开发周期和对于市场需求的响应时间,由于目前的计费修改频繁导致平台修改频繁,影响速度,不利于外包工作的进行。 Many businesses have been outsourced, between the platform and the business should be more independent, more no close relationship, so as to shorten the development cycle and short business response time to market demands, due to the current billing platform modifications frequently lead to frequent modification , affect the speed, not conducive to outsourcing of work carried out. 例如:目前在SCP (业务控制点)中,计费功能的主要功能是在SCP中的SCFServer (业务控制功能服务器)和SCF (业务控制功能模块)中实现的。 For example: In the present SCP (service control point), the main function of the charging function is SCFServer (service control function server) in the SCP and the SCF (service control function module) implemented. 整个计费模块的可扩展性很差,在设计的过程中对程序的可扩展性考虑不多。 Scalability entire charging module poor, much in the design process of the program scalability considerations. 整个计费模块涉及到多个源文件,计费模块内部的耦合度很强。 The entire charging module involves multiple source files, billing module inside strong coupling. 有时候对计费模块的一些小的修改,就可能要涉及到多个文件的修改。 Sometimes some small changes to the billing module, it may be related to the modification of multiple files. 这样造成单元测试的工作量很大,可能只是修改了十几行程序,就需要对整个计费进行一次全面的单元测试,这样大大影响了我们的开发效率,延长了产品的开发周期。 This causes a lot of work unit testing, may only be modified more than a dozen line program, we need to conduct a comprehensive test of the entire billing unit, which greatly affected our development efficiency, extend the product development cycle. 现有技术的另一个问题是:由于计费公式都是在SCP中写死的,计费公式不能灵活定制,所以每当有新的需求当计费公式需要改变的时候,原有的程序可能就纟艮难满足新的需求。 Another problem with the prior art is: Because billing formulas are written in the SCP dead, flexible billing formulas can not be customized, so whenever there is new demand when billing formula needs to be changed, the original program may Si Gen difficult to meet the new demand.

现有技术的第三个问题是:由于在计费的需求在发生变化时经常需要通过添加或者是改变一些计费数据表来满足这些新的需求。 The third problem of the prior art is: Because of the demand charge when changes occur often need to meet these new requirements by adding or change some of the billing data table. 但是由于现在在计费模块中还不能动态地改变或者是增加计费数据表,而且对数据表的查询和处理也是在SCP的代码中写死的。 However, due to now can not be changed dynamically in billing module or increase billing data tables, and tables of data query and processing is hard-coded in the code of the SCP. 所以每当有新的需求过来时,当计费公式或者是计费数据表需要改变的时候,可能就必须通过改变SCP代码来改变计费公式或者计费数据表,这样就造成SCP平台的稳定性很差。 So whenever there is new demand over time, when charging or billing data table formula needs to be changed, it must be possible to change the billing formula or billing data table by changing the code SCP, thus causing a stable platform SCP very poor.

现有技术的第四个问题是:目前智能网的各个版本的计费模块可公用性很差。 The fourth issue of the prior art are: the current versions of the intelligent network of public charging module can be poor. 智能网现在的主要有有线智能网(TELLIN,简称有线)、无线智能网(WIN,简称无线)等几个大的版本,这几个版本中计费模块的实现方式差别很大,各个版本相互之间的可共用性很差。 Intelligent Network now mainly cable intelligent network (TELLIN, referred wired), (WIN, referred wireless) and several other versions of wireless intelligent network, implementation of these versions of the billing module varies greatly, the various versions of each other can be shared between poor. 下面是从几个主要的方面来分析几个版本的不同之处: Below are several key aspects to the analysis of several different versions of Office:

1、 计费点的不同:有线的计费点主要是在SSP (业务交换点),无线的计费点是在SCP。 1, different charging points: charging cable is the main point in the SSP (service switching point), the wireless charging point SCP. 有线在SCP中负责计费的点是在SCFServer部分,无线主要是在SCF部分。 SCP is responsible wired charging point is SCFServer part, mainly in the radio part of SCF.

2、 计费SIB (即计费业务独立模块)的划分的不同:有线只有一个计费SIB,它负责处理了几乎所有的计费问题。 2 different division, billing SIB (ie, independent billing service module): The only one wireline billing SIB, which handles almost all the billing issues. 无线计费有四个SIB, 它们是号码分析SIB、 ChargeClass (计费级別)SIB、灵活计费写话单SIB。 Wireless charging has four SIB, which is the number analysis SIB, ChargeClass (charge level) SIB, flexible billing written bill SIB.

3、 计费所采用的数据结构和算法差异很大。 3, large data structures and algorithms used by the charging differences.

目前各个版本为了实现计费功能所采用的数据结构和算法方面也有很大的差别。 In order to achieve the current versions aspects of billing data structures and algorithms used are also very different. 在共享内存的数据的处理方面,有线是釆用计费矩阵的储存方式,它查表的方法是直接采用下标定位的方法。 In the processing of shared memory data, it is wired preclude charging the storage matrix manner, a method which is a direct look-up table index positioning method. 无线的计费数据是采用顺序数组的存放方式。 Is the use of wireless charging data array stored in a sequential manner. 有线在共享内存中只有一套计费数据,而无线则存在主被用两套计费数据。 Cable set in the shared memory only charging data, and the wireless master data sets to be accounting exists.

4、 在对计费数据的存取方面各个版本中也存在很多不同的实现方法。 4, the data in each version of the billing aspect of access there are many different implementations. 具体的一些方法像直接下标定位法、二分法、二分加回搠查表法、 十叉树查表法、哈希查表法、最大匹配查表法。 Some specific methods like direct index positioning, Dichotomy, adding back half daub look-up table, ten tree look-up table, a hash lookup table, the maximum matching look-up table.

5、 各个版本的计费数据表也有和大的区别,无线跟计费有关的系统表有23个,有线有21个。 5, various versions of billing data tables and there are big differences, with wireless billing system related table has 23, there are 21 cable.

发明内容: SUMMARY:

本发明的目的之一就是为了解决以上问题,提供用于智能网的计费装置,使得在修改计费模块的时候,减少其对其它模块的影响,以减少修改的工作量,特别是大大减少了修改后测试引起的工作量。 One object of the present invention is to solve the above problems, there is provided apparatus for charging intelligent network, such that when the modified billing module, reducing its impact on other modules, in order to reduce the workload changes, particularly greatly reduced the workload caused by the modified test.

本发明的目的之二是使计费公式能够快速的适应目前电信计费策略多变的需求。 The purpose of the present invention, the second is the billing formula can quickly adapt to the current telecom billing policy changing needs.

本发明的目的之三是使计费模块在计费数据发生改变的时候,能够迅速的调整适应。 Another object of the present invention is to make changes in the billing module when the charging data, can quickly adapt.

本发明的目的之四是使计费模块能进行不断的功能升级,并为第三方提供的计费功能开放接口,使其他的开发人员能够迅速地在计费部件 A fourth object of the present invention is to enable the charging function module being continually upgraded, and accounting functions of the open interface for third parties, so that other developers in the charging member can be promptly

平台的基础上,开发出新的计费功能。 The basic platform on the development of a new billing feature.

本发明的目的之五是使计费模块能兼容所有现有的智能网。 Another object of the present invention is to enable charging five modules are compatible with all existing intelligent network. 为实现上述目的,本发明提出一种用于智能网的计费装置,包括业务控制逻辑,其特征是:还包括一个独立于所述业务控制逻辑的计费部件,所述计费部件中对应于智能网中的所有计费构件SIB,都有一个相应的脚本,所述业务控制逻辑通过计费构件SIB作为接口与计费部件连接,并通过所述接口传递数据到所述计费部件,所述计费部件根据收到的数据和从业务数据库装置获得的数据生成计费信息并通过分析所述脚本实现费用计算,把计算结果返回给业务控制逻辑。 To achieve the above object, the present invention proposes a charging device for an intelligent network, comprising a service control logic, characterized by: further comprising a service control logic is independent of the charging member, the charging member corresponding SIB all charging member in the intelligent network, there is a corresponding script, the service control logic SIB charging member as the charging member is connected with the interface, and data is transmitted through the interface to the charging member, generating the charging member according to the received data and data obtained from the service database means implemented billing information and fee calculation by analyzing the script, the calculation result is returned to the service control logic. 其中业务控制逻辑是指SCP (业务控制点)、SCF (业务控制功能模块、SCU (业务控制单元)或MSCU (主业务控制单元)等。 Wherein the service control logic refers to the SCP (Service Control Point), SCF (service control function module, SCU (service control unit) or mscu (main service control unit) and the like.

在一个重要的实施例中,所述的用于智能网的计费装置还包括下述特征: In one important embodiment, the apparatus for charging intelligent network further comprises the following features:

所述计费部件中有计费公式配置装置,该配置装置与业务控制逻辑通讯相连,使得计费公式可由业务配置,该配置装置包括脚本化的计费公式和外挂的动态连接公式库。 Said charging member has a formula accounting means configured, the configuration communication means connected to the service control logic, may be such that formula accounting service configuration, the configuration of the charging apparatus includes scripts and plug formulas dynamic link library formulas.

所述计费部件中还有数据表配置装置,该配置装置与业务控制逻辑通讯相连,使得数据表可由业务配置,该配置装置可设置于业务控制逻辑、业务文件、数据库或指定的配置文件中。 The charging member disposed in the data table as well as means, the configuration control logic means and the communication service is connected, so that the data table may be service configuration, which means may be provided to a service control logic, business documents, database or specify a configuration file .

所述计费部件中还有开放的独立的公共接口,该接口适用于多种业务和智能网平台。 The charging member there are separate open public interface, the interface for a variety of services and intelligent network platform.

由于采用了以上的方案,计费部件独立于所述业务控制逻辑,业务控制逻辑就不再需要负责处理计费的功能,它只是通过一些开放的接口或者是消息来访问这个独立的计费模块,以完成呼叫流程中的计费的功能。 With the above scheme, the charging member is independent of the service control logic, service control logic is no longer responsible for processing a charging function, it is only access to this independent accounting module or a number of open interfaces message to implement charging function call flow. 这样当计费模块需要修改的时候,就可以减少对SCP中其它等其它模块的造成影响。 So that when the charging module requires modified, you can reduce the impact on the other SCP, and other modules.

本发明的优点二是:由于计费公式可由业务配置,通过业务就可以改变计费公式,对于一些新需求,就只需要通过改变计费公式就满足, 而不用修改计费模块程序,这样就可以大大地提高我们的开发效率。 Second advantage of the present invention: Since the chargeable service configuration by the formula, can be changed by the service billing formula for some new requirements, it only changes the accounting equation satisfied by, without modifying the accounting module program, so that It can greatly improve our development efficiency.

本发明的优点三是:由于可以动态地修改、增加数据表而不需要修改程序,修改数据表的结构或是增加数据表的时候就可以减少或是避免修改程序了。 Three advantages of the present invention are: since dynamically modified, without increasing the data table to modify the program, data table or modify the structure increases when the data table can be reduced or avoided modified procedure. 而且由于程序的实现跟数据表的结构相关不大,这样各个版本中计费模块的可共用性就大大提高了。 And since the structure of a program implemented with the data table is not relevant, so that each version of the shared billing module is greatly improved.

本发明的优点四是:由于计费模块能够提供一些公共的接口,可让其它的开发人员可以通过这些公共的接口进行功能扩展性的开发。 Fourth, the advantage of the present invention: since the charging module can provide a common interface that allows other developers can extend the development of these features common interface. 且为我们的计费模块添加新的功能时不需要去修改我们原有的程序。 We do not need to modify existing procedures and add new capabilities to our billing module.

本发明的优点五是:对应于现有智能网的所有计费SIB,都有一个相应的脚本,计费部件通过分析这些脚本来实现对应计费SIB所应完成的功能,这样,所述计费部件能兼容所有现有的智能网。 Fifth, the advantages: the intelligent network corresponding to the existing SIB all billing, there is a corresponding script, to achieve the charging member corresponding to the SIB accounting functions to be performed by the analysis of these scripts so that the count fee component compatible with all existing intelligent network.

附图说明: BRIEF DESCRIPTION OF:

图1是现有技术的SCP工作方式示意图。 1 is a schematic SCP prior art work.

图2是现有技术的系统配置图。 FIG 2 is a system configuration diagram of the prior art.

图3是本发明计费部件化在系统中的作用原理图。 FIG 3 is a charging member of the present invention, the principle of action in the system of FIG.

图4是本发明实施例的SCP的工作方式图 FIG 4 is a mode of operation of the SCP of the present invention, the embodiment of FIG.

图5是本发明实施例的系统配置图 FIG 5 is a system configuration diagram of an embodiment of the present invention

图6是计费部件层次结构组成。 FIG 6 is a charging member of hierarchies.

图7是计费Service开发与使用示意图 FIG 7 is a schematic view of the development and use billing Service

图8是计费矩阵算法流程示意图 FIG 8 is a schematic flow diagram of matrix arithmetic billing

具体实施方式: detailed description:

下面通过具体的实施例并结合附图对本发明作进一步详细的描述。 Following through specific embodiments with the accompanying drawings of the present invention will be described in further detail. 如图1所示为现有技术中的一种计费实例中的SCP工作方式示意图, 1 is a prior art example A charging in schematic SCP work,

它的计费点在SCP。 It's charging point SCP. 其计费SIB和业务逻辑紧密交互在一个业务逻辑文件 SIB its billing and business logic to interact closely with the business logic in a file

中,由SCF统一进行解释执行,工作方式如下: , The unified interpreted by the SCF, works as follows:

Manager (主控进程)将消息发给MSCU(主业务控制单元,图中的 Manager (master process) the message to mscu (main service control unit, FIG.

SCF),由其中的主控模块负责调度自动机和业务逻辑处理以及相关的计 SCF), wherein the control module is responsible for scheduling the automatic processing machine and the service logic and associated meter

费SIB,完成计费的相关计算生成话单和更新数据库记录;其中所有计 Fee SIB, the correlation calculation is completed to generate billing CDR and update database records; wherein all meter

费的相关代码和业务逻辑处理代码完全耦合。 Costs related code and service logic processing code fully coupled.

其对应的系统配置方式如图2,由图2的配置中可以看到所有的计 Corresponding system configuration shown in Figure 2, the configuration of FIG. 2 can be seen in all of the meter

费工作完全和业务逻辑处理在一起完成(MSCU/SCU中)。 Fees and complete work together to complete the business logic (MSCU / SCU in). 其中各部分的 In which each part

含义如下: The following meanings:

SMAP 业务管理接入点 Service Management Access Point SMAP

SMP 业务管理点 SMP service management point

MSCU主业务控制单元SCU 业务控制单元SDP 业务数据点SAU 信令接入单元各部分的功能是: MSCU main function of each part of the service control unit SCU service control unit SAU service data point SDP signaling access units is:

SAU 提供业务信令接入,并通过TCP/IP协议和SCU/MSCU进行通 SAU provide signaling access service, and pass through the TCP / IP protocol and SCU / MSCU

讯; News;

MSCU/SCU 实现业务逻辑的控制和处理,包括计费; SDP 提供业务数据和用户数据信息的存放和查询; SMP 提供业务管理操作; MSCU / SCU implement business logic control and processing, including charging; inquiry and the SDP offer to store user data and service data information; the SMP provide business management operations;

SMAP提供业务管理接入平台,下发各种管理和控制信号。 SMAP provides service management access platform, issued various management and control signals. 与上述情况不同的是,本发明将计费部件独立出来,称为"计费部件化"。 Different from the above case, the charging member of the present invention will be independent, it referred to as "charging member of." 图3是计费部件化在系统中的作用原理图。 FIG 3 is a schematic charging member of the role in the system.

图4是本发明在计费部件化后的一个实施例的系统工作方示意图。 FIG 4 is a system schematic of an embodiment of work in the present invention is a member of the charging. 由图可见,计费部件作为独立的服务进程运行,对于业务逻辑(图中SCF)是完全透明,业务逻辑只需要将计费的信息传递给计费部件,计费的所有相关工作直接由计费部件完成,并把业务结束后的费用计算结果返回给业务控制逻辑,同时计费部件还更新lt据库记录和产生相关文件信息;SCF只负责不包含计费计算等相关工作的业务逻辑控制和处理。 , Charging member as a separate service run by the process of FIG seen that for the business logic (FIG SCF) is completely transparent, the service logic simply want charging information is transmitted to the charging member, the charging of all work directly from the meter SCF service logic control is only responsible for billing calculation does not include other related work; fee component is completed, and the fee calculation results after the end of business returned to the service control logic, while also charging component update lt database records and related documents generated information and treatment. 图5则是本实施例的系统配置模式图。 FIG 5 is a schematic diagram showing a system configuration of the present embodiment. 在此种配置下,可以看到新增计费部件同时和SCU/MSCU与SDP保持通讯,所有计费相关的工作直接由MSCU/SCU交给计费部件完成,计费部件可以直接访问SDP获取计费相关数据,同时把计费的结果返回MSCU/SCU完成后续的流程处理。 In this configuration, you can see the new billing components simultaneously and SCU / MSCU maintain communication with the SDP, all work related to the billing directly from MSCU / SCU billing component is completed, the billing component can get direct access to SDP charging related data, and returns the result of billing mSCU / SCU subsequent processing flow is completed.

图6是本实施例计费部件的层次结构组成示意图。 FIG 6 is a hierarchy charging member of the present embodiment composed of a schematic embodiment. 它分为三层:最低层(layerl )为基本功能层,中间一层(layer2)为基本结构层,最顶上一层(layer3)为可配置的计费Service层(即可配置计费方式)。 It is divided into three layers: the lowest level (Layerl) is a basic function layer, an intermediate layer (Layer2) as a basic layer structure, the uppermost layer (Layer3) is configurable billing Service layer (charging mode can be arranged ). 计费部件提供了开放的接口,使在每一个功能层都能够很容易地进行扩展,以满足不同的需求。 Charging means provides an open interface so that it can be easily extended in each of the functional layer, in order to meet different needs.

计费基本功能层(LAYER1层)是一个计费基本功能API函数集。 Charging base functional layer (LAYER1 layer) is the basic function of a set of API functions billing. 我们将计费的功能细化分解成一些基本的功能,由计费基本功能函数实现这些计费基本的功能。 We will refine the billing function broken down into some basic functions, these basic accounting functions implemented by the basic functions of accounting functions. 然后将这些基本功能提供给较高层次进行调用。 These basic functions are then available to be called a higher level. 在LAYER1层,提供对号码分析所需数据表查询的操作函数。 In LAYER1 layer, providing data manipulation functions for analyzing the number of the required table lookup. 它能够根据给定的条件,对计费矩阵中的每一个计费数据表进行查询,做到查询函数跟计费表的具体结构无关。 It is possible, for each metered charging data matrix according to a given query conditions, so that regardless of the particular structure of the query function with charge table. 同时它也必须能够提供各种基本的查询算法,包括二分法和最大匹配法。 It also must be able to provide a variety of basic query algorithms, including dichotomy and maximum matching. 在查询计费数据时只需要指定需要查询数据表的名称和查询的条件还有查询算法,查询函数就可以得到需要的计费数据。 Only need to specify the need to query the data tables in the query name and billing data query conditions as well as search algorithm, the query function can get billing data needs.

基本结构层(LAYER2层)根据计费需要划分的基本的功能结构,调用计费部件的基本功能,并将这些基本的功能封装成能完成特定计费功能基本模块,以提供给计费Service层调用。 The basic structure layer (LAYER2 layer) of the basic functional configuration of the charging need to be divided, the basic function call charging member, and package these basic functions to accomplish specific basic accounting function module to provide Service layer to the billing transfer. 在LAYER2层,可以提供计费计算基类,对于目前按次计费、按时间计费、按固定费率计费、按流量计费提供相应的类处理计费计算与预算,并支持SSP与SCP之间存在时差时的计费功能;,可以提供货币兌换率功能可以提供百分比总额附加费功能;也可以提供GPRS中的按流量计算的计算与预算功能。 In LAYER2 layer, the base class may be provided accounting calculation, for the current pay-per-by time billing, flat-rate billing, traffic accounting provide appropriate handling billing and budget calculation, and supports the SSP SCP billing function between the time difference; can provide currency exchange rate capability provides total percentage surcharges function; can also provide computing and budget functions calculated by traffic in GPRS.

计费Service层(LAYER3层)属于计费部件中最灵活的部分。 Billing Service layer (LAYER3 layer) of the charging member belongs to the most flexible portion. 计费 Billing

Service层可以根据计费的具体需求,将前面两层的计费功能组合起来 Service layer according to the specific needs charging, the combination of the foregoing two-layer charging function

以完成计费的功能。 To complete the accounting. 计费Service层是计费部件的最上面一层,也是直 Billing Service uppermost layer is a layer of the charging member, are straight

接跟相关业务的一层,也是计费部件中最容易发生变化的一层。 Contact with relevant business layer, the charging member is the one most prone to change. 计费 Billing

Service能够根据计费业务的不同而采取不同的计费Service。 Service can take different according to different accounting Service accounting services. 为了能 In order to

够灵活地适应不同的计费需求,计费Service层需要尽量设计的简单一 Enough flexibility to adapt to different billing requirements, accounting Service layer needs to try to design a simple

些,以方便于以后当需求发生变化时计费Service {务改。 These, when in order to facilitate subsequent billing Service {modified traffic requirements change. 在LAYER3 In LAYER3

层,提供一个计费计算与预算Service,实现现有计费计算SIB的功台^ 目前计费按功能来分主要分为费用计算与预算两部分;按计费方式 Layer, a-Service billing and budget calculation, to achieve charging calculation prior SIB currently accounting work station ^ divided by function divided into two parts and costing budget; press charging mode

来分主要分为按次计费、按时计费、按流量计费、按固定费率计费等方式。 It is divided into pay-per-division, time and billing, traffic accounting, billing, etc. at a fixed rate. 按次计费的特点是其不连续性(固定费率计费可看着是计次计费的特例),按时计费与^t安流量计费都是连续性计费,区别在于其计算单位不同。 Pay-per discontinuity is characterized by its (fixed-rate billing billing can be looked at is the total time a special case), time and billing and accounting traffic safety ^ t are continuous charging, in that calculation of the difference different units.

计费的流程按功能主要分为五部分:初始化数据,划分折扣区间, 得到计费类別的费率,费用计算,费用预算。 Billing process according to the functions are divided into five parts: initialization data, divided discount range, get-rate billing category, costing, cost budget.

本实施例采用计费部件化方案后,计费Service的开发与使用采用如图7所示模式进行(其中SCE和其他模块没有直接联系,只是在生成和编辑一个业务的时^i美调用一个计费部件化SIB) 。 After the charging member of the present embodiment employs a scheme, the development and use of accounting Service using mode shown in FIG. 7 (wherein SCE and other modules not directly linked, but when generating and editing a service call to a US ^ i charging member of SIB). SCF只是通过一些开放的接口或者是消息来访问这个独立的计费模块,以完成呼叫流程中的计费的功能。 SCF only to access the billing module through some independent open interfaces or message to complete the call flow accounting. 这样就减少了计费模块同SCP之间的耦合度,增强了计费独立性,当计费模块需要修改的时候,就可以减少对SCP中其它等其它模块的造成影响可大大减少计费模块的修改对SCP系统的影响。 This reduces the coupling between the accounting module with the SCP, to enhance the independence of the charging, when a charging module requires modified, can reduce the SCP other modules and other effects caused by the charging module can be greatly reduced SCP impact on system changes. SCF 中的计费部件SIB仅仅需要将输入参数透传给计费部件,并将输出参数取回,不用考虑对数据的处理。 The SCF SIB charging member is only necessary to pass through the charging member input parameters, and outputs the retrieved parameters, regardless of the processing of the data. 上述过程完全是通过配置完成,计费开发完全集中在计费部件一侧,SCE, SCF程序在开发完后不需进行任何改动。 By the above-described process is completely configured, the charging member in the charging develop entirely on one side, SCE, SCF after development program without any changes.

其基本算法流程如图8所示。 The basic algorithm is shown in Fig. 包括如下步骤: Comprising the steps of:

a. 分析输入lt据; . A data analyzing an input lt;

b. 如果输入数据错误,返回FAIL,并将错误号置为参数错误; . B If the input data error, FAIL returned, and the error number is set to the error parameter;

c. 得到根据业务选择的计费矩阵类型; . C obtained according to the selected type of traffic accounting matrix;

d. 查询得到计费矩阵及附加计费信息,并将附加计费信息保存在SCF传递来的基本计费信息中,形成新的计费信息; . D query matrix obtained billing information and additional charging, and additional charging information in the basic charging information is transmitted to the SCF to form a new charging information;

e. Service将得到的计费矩阵以及计费信息放到输出参数緩冲区中, 一起传递给SCF以供后续处理。 e. Service matrix obtained charging and billing information in the output buffer parameters, passed along to the SCF for subsequent processing.

其中核心部分可描述为:l)初始化输入数据;2)根据业务选择的费用计算方法生成不同的计费类;3)调用相应的费用计算与费用预算函数进行计算。 The core portion may be described as: l) Initialization input data; 2) generate different billing classes based on the cost calculation method of the selection; 3) call the corresponding costs and budget calculation function calculation.

另外,由于目前智能网的几个版本中的计费模块在实现方式上有很大的不同,它们跟业务的接口也是相差很大,有线只有1个计费SIB, 无线有4个与计费相关的SIB,所以我们新的计费部件要跟以前的老的版本兼容是非常困难的。 In addition, due to the current several versions of the intelligent network billing module in very different implementations, their interface with business also vary greatly, only one wireline billing SIB, there are four radio and Billing related to SIB, so our new billing components to keep up before the old version is compatible is very difficult. 我们采用下面的方法来跟以前的老版本进行兼容: We use the following method to be compatible with previous versions of old:

首先在计费模块的接口部分我们采用一种可灵活配置的方法,对应不同的版本我们可以在智能网内保留各自原来的SIB作为接口,这些SIB只是负责将输入的数据传递给计费部件。 First, the interface portion of accounting module we use a method of flexible configuration, corresponding to different versions we can retain their original SIB as an interface in the intelligent network, which is only responsible for the input data SIB is transmitted to the charging member. 同时对应于每个SIB,都有一个对应的脚本,计费部件通过分析这些脚本来实现对应SIB所应完成的功能。 At the same time corresponding to each SIB, has a corresponding script, the charging member should be realized corresponding to the SIB functions performed by analyzing these scripts.

综上所述,本实施例系统的优点如下: To sum up the advantages, embodiments according to the present embodiment the system is as follows:

1. 计费模块的独立性: 1. The billing module of Independence:

通过将计费部分的功能抽取出来,将它们放在计费部件中实现,这样就将计费才莫块在SCP中独立出来,SCF和SCFServer不再实现计费的功能,减少计费模块和SCF、 SCFServer之间的耦合度,使得在修改计费模块的时候,减少其对其它模块的影响,这样可减少修改的工作量, 特别是大大减少了修改后测试引起的工作量。 By charging function extracted portion, in the charging member are achieved, so that charging will only Mo independent blocks in the SCP, SCF and SCFServer not achieve charging function, and reduce billing module the degree of coupling between the SCF, SCFServer, so that when modifying the billing module, reducing its impact on other modules, thus reducing the workload changes, in particular, greatly reducing the workload due to the modified test.

2. 计费的灵活性: 2. Accounting flexibility:

以前主要是通过对业务开放一些接口来达到灵活计费的目的,业务的接口主要是一些CID (呼叫实例数据)和SSD (业务支撑数据)。 Was mainly by opening some of the traffic interface to the flexible billing purposes, some of the interface is primarily the CID service (call instance data) and SSD (Service Support Data). 业务还可以通过对各个SIB进行不同的组合来达到控制计费流程的目的。 For each business you can also SIB different combinations to achieve the purpose of controlling the charging procedure. 相对来说,采用动态的脚本来控制计费的流程的实现方法要更灵活一些,而且还可以通过脚本来配置计费公式,还可做到计费数据表的动态 In contrast, a dynamic implementation of scripts to control the charging process to be more flexible, but may also be configured by a script formula accounting, billing data may do the dynamic table

管理,这些都是目前业务没有办法做到的。 Management, which are at present there is no way to do business. 而且修改脚本不用牵涉到其它的模块,所以修改起来也比较简单。 And do not involve modifying the script to other modules, so it is relatively simple to modify.

3. 减少业务的复杂度: 3. Reduce the complexity of the business:

在以前的一些版本中,为了达到由业务可以灵活控制计费的目的, In some previous versions, in order to achieve a flexible control business accounting purposes,

将计费模块化分为多个SIB,并对业务开放了较多的CID和SSD接口, 在这些接口中有大部分是计费模块内部的接口。 The modular charging into multiple SIB, and open up more business CID and SSD interfaces, these interfaces have the most internal billing module interface. 这样就造成在业务开发方面复杂度的提高,业务要通过对多个SIB的配置才能实现计费的功能。 This resulted in increase in the complexity of business development, and business to achieve billing functions can be configured by a plurality of SIB. 现在我们采用动态的脚本的方式来控制计费的流程,以前计费的一些业务逻辑可以通过脚本的形式反映出来。 Now we use a dynamic manner script to control the charging process, before charging some business logic can be reflected in the form of scripts. 大部分计费模块中的内部的接口可以在脚本中实现,将计费模块内部的接口跟业务屏蔽掉。 Most internal billing module interfaces can be implemented in the script, internal billing module interface with business masked. 这样可 This

以大大减少开放给业务的接口,以达到降低业务复杂度的目的。 To significantly reduce open interfaces to the business in order to achieve the objective of reducing operational complexity.

4. 跟老版本的兼容性。 4. compatibility with older versions. 如前所述,由于对应于每个SIB,都有一个对应的脚本,计费部件通过分析这些脚本来实现对应SIB所应完成的功能,这样可兼容各种老版的智能网。 As described above, since corresponding to each SIB, has a corresponding script, the script analysis by the charging member to achieve the SIB corresponds to the function to be completed, so that the old version is compatible with the various intelligent network.

文中或图中出现的英文缩写(前文未及细述的部分)的中文含义如 Abbreviation (no time previously detailed in section) occurs or text in Chinese meaning as in FIG.

下: under:

SERVER、 服务器; HeatBeat、 心跳消息; AC、 发送计费请求,智能网协议的一个命令; ACR、 接收计费请求, 智能网协议的一个命令; Radius、 一种通信协议,主要是固网的数据通信协议; FEA函数、功能实体动作函数; 系统CID、系统呼叫实例数据; HSIB、 超级业务独立模块; OAM AGENT和SMF AGENT:两个参与维护和管理的进程; INAP:智能网应用步见程; CAP:智能网应用协议。 SERVER, server; Heatbeat, heartbeat message; a command AC, sending a charging request, the intelligent network protocol; the ACR command, receives the charging request, the intelligent network protocol; the Radius, a communication protocol, the main data is fixed communication protocol; FEA function, functional entity action functions; systems CID, the system calls the instance data; HSIB, super service independent modules; OAM AGENT and SMF AGENT: two processes involved in the maintenance and management; INAP: intelligent network application see step process; CAP: intelligent network application protocol.

Claims (7)

  1. 1. 一种用于智能网的计费装置,包括业务控制逻辑,其特征是: 还包括一个独立于所述业务控制逻辑的计费部件(1),所述计费部件(1)中对应于智能网中的所有计费构件SIB,都有一个相应的脚本,所述业务控制逻辑通过SIB作为接口与计费部件(1)连接,并通过所述接口传递数据到所述计费部件(1), 所述计费部件(1)根据收到的数据和从业务数据库装置(2 ) 获得的数据生成计费信息并通过分析所述脚本实现费用计算, 对巴计算结果返回给业务控制逻辑。 1. A charging apparatus for an intelligent network, comprising a service control logic, characterized by: further comprising a service control logic is independent of the charging member (1), corresponding to the charging member (1) SIB all charging member in the intelligent network, there is a corresponding script, the service control logic is connected as an interface to the SIB via the charging member (1), and communicating data via said interface to said charging member ( 1), the charging member (1) according to the received data and generating accounting information data (2) obtained from the service database means and said script analyzing costs achieved by calculation, the calculation result of the bar returns to the service control logic .
  2. 2. 如权利要求1所述的用于智能网的计费装置,其特征是:还包括文件系统(3),且所述计费部件(1)中还用于更新业务数据库装置(2)中的相关记录和产生相关文件信息并存储于所述文件系统(3)中。 2. The apparatus as claimed in claim billing for intelligent network of claim 1, characterized in that: further comprising a file system (3), and the charging member (1) is also used to update the service database means (2) related records and produce relevant documents and information stored in the file system (3).
  3. 3. 如权利要求1或2所述的用于智能网的计费装置,其特征是: 所述计费部件(1)中有计费公式配置装置,该配置装置与业务控制逻辑通讯相连,使得计费公式可由业务配置,该配置装置包括脚本化的计费公式和外挂的动态连接公式库。 3. The charging device or the intelligent network according to claim 12, characterized in that: the charging member (1) there is arranged a formula accounting means, connected to the service control logic and the configuration communication means, It may be such that formula accounting service configuration, the configuration of the charging apparatus includes scripts and plug formulas dynamic link library formulas.
  4. 4. 如权利要求1或2所述的用于智能网的计费装置,其特征是: 所述计费部件(1)中还有数据表配置装置,该配置装置与业务控制逻辑通讯相连,使得数据表可由业务配置,该配置装置可设置于业务控制逻辑、业务文件、数据库或指定的配置文件中。 4. The charging device or the intelligent network according to claim 12, characterized in that: the charging member (1) there are disposed the data table means, and means coupled to the configuration control logic communication service, so that the data table may be service configuration, which means may be provided to a service control logic, business documents, database or the specified configuration file.
  5. 5. 如权利要求1或2所述的用于智能网的计费装置,所述计费部件(1)中还有开放的独立的公共接口,该接口适用于多种业务和智能网平台。 5. The apparatus as claimed in claim billing for intelligent network of claim 1 or 2 and the charging member (1) there are separate open public interface, the interface for a variety of services and intelligent network platform.
  6. 6. 如权利要求1或2所述的用于智能网的计费装置,其特征是: 所述计费部件结构分为三层:基本功能层(layerl)、基本结构层(layer2)和计费service层(layer3 ),所述计费部件有开放的接口。 6. The charging device or the intelligent network according to claim 12, characterized in that: the charging member structure is divided into three layers: a functional layer base (Layerl), the basic structure layer (Layer2) and the count fee service layer (layer3), the charging member has an open interface.
  7. 7. 如权利要求1或2所述的用于智能网的计费装置,其特征是计费部件中的基本算法流程为:l)分析输入数据;2)如果输入数据错误,则返回出错标识,否则:3)得到根据业务选择的计费矩阵类型,并才艮据情况查询得到附加计费信息,并将附加计费信息保存在业务控制逻辑传递来的基本计费信息中,形成新的计费信息;4)将得到的计费矩阵以及计费信息放到输出参数緩沖区中, 一起传递给业务控制逻辑供后续处理。 7. The charging device or the intelligent network of claim 1 for 2, characterized in that the basic algorithm for the process of charging member: l) analyzing the input data; 2) if the input data an error, an error identifier returned otherwise: 3) to obtain a matrix type according to the charging service selection, and where the query data was obtained Gen additional charging information, the charging information and stores the additional charging information in the service control logic is substantially transmitted to the formation of new billing information; 4) the matrix obtained charging and billing information in the output buffer parameters, passed along to the service control logic for subsequent processing.
CN 02108925 2002-04-06 2002-04-06 Fee counter for intelligent net CN100452708C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 02108925 CN100452708C (en) 2002-04-06 2002-04-06 Fee counter for intelligent net

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN 200710181476 CN101175229A (en) 2002-04-06 2002-04-06 Charging device used for intelligent network
CN 02108925 CN100452708C (en) 2002-04-06 2002-04-06 Fee counter for intelligent net

Publications (2)

Publication Number Publication Date
CN1450748A true CN1450748A (en) 2003-10-22
CN100452708C true CN100452708C (en) 2009-01-14

Family

ID=28680371

Family Applications (2)

Application Number Title Priority Date Filing Date
CN 02108925 CN100452708C (en) 2002-04-06 2002-04-06 Fee counter for intelligent net
CN 200710181476 CN101175229A (en) 2002-04-06 2002-04-06 Charging device used for intelligent network

Family Applications After (1)

Application Number Title Priority Date Filing Date
CN 200710181476 CN101175229A (en) 2002-04-06 2002-04-06 Charging device used for intelligent network

Country Status (1)

Country Link
CN (2) CN100452708C (en)

Families Citing this family (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6954631B2 (en) 2003-02-13 2005-10-11 Hewlett-Packard Development Company, L.P. Apparatus and method for telecommunications services
CN100403676C (en) 2004-03-24 2008-07-16 华为技术有限公司 Payment metering operation supporting system and metering method for intelligent network
CN100542096C (en) 2004-06-16 2009-09-16 华为技术有限公司 Method and apparatus for setting charge strategy
CN100514997C (en) 2005-01-24 2009-07-15 华为技术有限公司 Fixed intelligent network and charging method thereof
CN100389561C (en) * 2005-04-20 2008-05-21 华为技术有限公司 Charge network and charge agency device and charge method
WO2007085112A1 (en) 2006-01-24 2007-08-02 Zte Corporation A system and method for implementing the prepaid in the intelligent network
CN101562529B (en) 2008-04-14 2011-06-01 华为技术有限公司 Method and device for charging treatment
CN101631131B (en) 2009-06-02 2013-11-06 中兴通讯股份有限公司 Method, system and device for allocating resources
CN101582957A (en) * 2009-06-11 2009-11-18 中兴通讯股份有限公司 System and method for revising accounting bill
CN101938362B (en) 2009-06-29 2013-04-17 华为技术有限公司 Charging regrant method, device and system
CN102693212A (en) * 2011-03-23 2012-09-26 苏州科雷芯电子科技有限公司 Variable-function computer system and operation method thereof

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0866625A1 (en) 1997-03-19 1998-09-23 Siemens Aktiengesellschaft Networked SCP in an intelligent network
CN1221541A (en) 1996-06-07 1999-06-30 诺基亚电信公司 Improving charging criteria for call in cellular mobile network
CN1286554A (en) 1999-10-29 2001-03-07 深圳市中兴通讯股份有限公司 On-line message accounting device and method for mobile communication network

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1221541A (en) 1996-06-07 1999-06-30 诺基亚电信公司 Improving charging criteria for call in cellular mobile network
EP0866625A1 (en) 1997-03-19 1998-09-23 Siemens Aktiengesellschaft Networked SCP in an intelligent network
CN1286554A (en) 1999-10-29 2001-03-07 深圳市中兴通讯股份有限公司 On-line message accounting device and method for mobile communication network

Also Published As

Publication number Publication date Type
CN1450748A (en) 2003-10-22 application
CN101175229A (en) 2008-05-07 application

Similar Documents

Publication Publication Date Title
Denaro et al. Early performance testing of distributed software applications
US20020087682A1 (en) Network service provider platform for supporting usage sensitive billing and operation services
US5668993A (en) Multithreaded batch processing system
US20030061067A1 (en) System and method for web services packaging
US6611858B1 (en) Garbage collection method for time-constrained distributed applications
US5943657A (en) Communications pricing and charging maintenance sub-system and process
US5594792A (en) Methods and apparatus for modeling and emulating devices in a network of telecommunication systems
Jonkers et al. Towards a language for coherent enterprise architecture descriptions
US5724584A (en) Method and apparatus for processing discrete billing events
US20030229884A1 (en) Interaction manager template
US5999916A (en) No-reset option in a batch billing system
US20020107754A1 (en) Rule-based system and apparatus for rating transactions
US6658099B2 (en) System and method for processing call detail records
US20010056362A1 (en) Modular, convergent customer care and billing system
US20080195622A1 (en) Service provisioning system
US20040153382A1 (en) System and method for determining discrepancies in a communications system
US20010012346A1 (en) Interactive billing system utilizing a thin web client interface
US20030074286A1 (en) Intelligent network charging edge
US20120011067A1 (en) Gateway abstraction layer
US6502109B1 (en) Distributed communications system having garbage collecting virtual processes
US20030133552A1 (en) Method and apparatus for integrating disparate telecommunication operational support systems (OSS) and streamlining business processes using a software platform
US5995946A (en) System and method for establishing and managing links among customer accounts maintained within a telecommunications system
US20070172040A1 (en) Configurable charging system for a telecommunications service provider
US20070198283A1 (en) Revenue management system and method
US7313575B2 (en) Data services handler

Legal Events

Date Code Title Description
C06 Publication
C10 Request of examination as to substance
C14 Granted