You are on page 1of 42

Charge

ZTE University IN Team

The information contained in the file is solely property of ZTE corporation. Any kind of disclosing without permission is prohibited.

ZTE University

univ.zte.com.cn

Contents

Charge structure Charge process Functional module Charge advantage ZXIN10 Charging System

The information contained in the file is solely property of ZTE corporation. Any kind of disclosing without permission is prohibited.

ZTE University

univ.zte.com.cn

Charge structure

SMP bill Bill management

settlement center

SCP
bill AC SSP ACR

Result and Bill in different area

bill

Billing center

The information contained in the file is solely property of ZTE corporation. Any kind of disclosing without permission is prohibited.

ZTE University

univ.zte.com.cn

SSP:generate bill,ACR->SCP,bill->local bill center


SCP:control charge of SSP. SMP:send charge management information to SCP, bill to

settlement center.

Settlement center: Result and Bill in different area Billing center:user bill information.

The information contained in the file is solely property of ZTE corporation. Any kind of disclosing without permission is prohibited.

ZTE University

univ.zte.com.cn

Process of charge

According to service instruct, SCP decide to charge or not.


At the same time, SCP->SSP the information about charge, SSP receive and analyze the information, report

the charge information to SCP.

The information contained in the file is solely property of ZTE corporation. Any kind of disclosing without permission is prohibited.

ZTE University

univ.zte.com.cn

Functional Module

JF: Charge module of SCP realizes the function of charge.


SIB: number analysis SIB

information statistics SIB


charge control SIB: max conversation time, total cost, and generate bill

CDR control SIB : send bill to billing center

The information contained in the file is solely property of ZTE corporation. Any kind of disclosing without permission is prohibited.

ZTE University

univ.zte.com.cn

There is a memory database in SCP which can meet the


requirement of fee data query. First in SMP db,

(synchronization) db->bin
ftp->scp (/service/.dat) db thread (charge process) create and maintenance

memory db,supply the interface ,hash and half method to


find the data.

The information contained in the file is solely property of ZTE corporation. Any kind of disclosing without permission is prohibited.

ZTE University

univ.zte.com.cn

There are two part: Charge Process, CDRPack.


(1) Charge Process: the core of chargemany SIB send information through ChargeProcess ,query fee

information,and get the result of query.


(2) Cdrpack:scp generate cdr

The information contained in the file is solely property of ZTE corporation. Any kind of disclosing without permission is prohibited.

ZTE University

univ.zte.com.cn

Chargeprocess(receive the charge information)->generate bill>billpackagesendprocess(memory buffer)->send buffer->SMP-> BillTransferProcess(SDF)->DB.->query ,print,browse.

SCP->bill centre(cdr),file method transfer, cdrSaveProcess will generate new file according to timed and max number of each bill fie.

Scp->ftp->bill centre(CDR server)->save local machine, scp1 Cdr server (.zip) scp1 Bill centre

The information contained in the file is solely property of ZTE corporation. Any kind of disclosing without permission is prohibited.

ZTE University

univ.zte.com.cn

CDR in zxin10.ini [cdr] CDRFileVersion = zx_3.50 CDRFilePrefix = in01 CDRFileSequenceLen = 6 CDRFileMaxRecordNum = 5000 EncodeCDR = 2 INCDRPath = incdr IsNetType = 1 ; TxtIsHead = 1 ; TxtDateSeparator = . ; IsLowSKeyNoNet = 1 ; TxtTimeSeparator = : ;

; YYYY.MM.DD HH:MM:SS
ZTE University univ.zte.com.cn

The information contained in the file is solely property of ZTE corporation. Any kind of disclosing without permission is prohibited.

Charge advantage

ZXC10-IN

charging

module

uses

Charging

Plan

technology for call charging. Service logic or service logic instance can optionally select or specify the charging plan

number for IN call. The charging module charges calls as


required in the charging plan. The design technology based on Charging Plan provides multiple advantages to SCM charging:

The information contained in the file is solely property of ZTE corporation. Any kind of disclosing without permission is prohibited.

ZTE University

univ.zte.com.cn

(1)IN service call processing is organically separated from


actual charging operations. Service call processing concerns only the choice of the charging plan rather than

charging details, freeing the service call processing from


burden some charging processing operations.

The information contained in the file is solely property of ZTE corporation. Any kind of disclosing without permission is prohibited.

ZTE University

univ.zte.com.cn

(2)Separation of service call processing from actual


charging operations diversifies applications and charging options for service call. Service call and charging are

coupled through Charging Plan, therefore, service call


processing will not be affected when the charging flow changes.

The information contained in the file is solely property of ZTE corporation. Any kind of disclosing without permission is prohibited.

ZTE University

univ.zte.com.cn

(3)Charging processing plans for the calls can be flexibly


set during service call processing. Different charging plans can be selected for different stages of a call, and the

same charging plan can be used at different stages of the


call.

The information contained in the file is solely property of ZTE corporation. Any kind of disclosing without permission is prohibited.

ZTE University

univ.zte.com.cn

(4)An independent charging module transfers charging


data between SCM and SMF and the charging data covers the modification of charging rate and transfer of

bills. Meanwhile the modules related to service call


processing are mainly engaged in call processing.

The information contained in the file is solely property of ZTE corporation. Any kind of disclosing without permission is prohibited.

ZTE University

univ.zte.com.cn

ZXG10-IN Charging System

1. Background Notes
2. Charging Setting Steps 3. Synchronization

4. Other Operations

The information contained in the file is solely property of ZTE corporation. Any kind of disclosing without permission is prohibited.

ZTE University

univ.zte.com.cn

Background Notes

(1) Call Type Normally divided into local, national & international call, has nothing to do with fee calculation.
Type Number 1 2 3 Type Name Local Call National Call International Call

The information contained in the file is solely property of ZTE corporation. Any kind of disclosing without permission is prohibited.

ZTE University

univ.zte.com.cn

(2) Fee Item Under one Call Type, users fee possibly covers communication fee, additional fee & construction fee, etc., all of which are called as Fee Item of this Call Type. Call Type 1 2 2 3 Fee Item Num. 1 1 2 1 Fee Item Name Communication Fee Communication Fee Additional Fee Communication Fee

The information contained in the file is solely property of ZTE corporation. Any kind of disclosing without permission is prohibited.

ZTE University

univ.zte.com.cn

(3) Charge Type

Further describer different meaning under Call Type.


For example: National Toll call can be divided into intro-province & inter-province. Charge Type is not subjection of Call Type

Type Number 1 2 3 4 5
ZTE University

Type Name Local Call Charging Intro-province Call Charging Inter-province Call Charging HK & Macao International Call Charging
univ.zte.com.cn

The information contained in the file is solely property of ZTE corporation. Any kind of disclosing without permission is prohibited.

(4) Time Discount


Period Discount: In ZXIN10 charging system, one day is divided into different periods of time, different call

occurring in different periods of time could have


different favorable fee rate. Every record covers starting time(Hour:Second), end

time and discount rate. Discount rate 100 means no


discount, 50 means 50% off.

The information contained in the file is solely property of ZTE corporation. Any kind of disclosing without permission is prohibited.

ZTE University

univ.zte.com.cn

Period of Time Discount No.

Starting time (Hour:Second)

End time (Hour:Second)

count Percent

Description
Plan 1,customer pays 30% of the entire rate Plan 1, no discount Plan 1, 50% Plan 2, 50% off whole day Plan 3, 80% for the whole day

1 1 1 2 3

00:00 07:00 21:00 00:00 00:00

07:00 21:00 24:00 24:00 24:00 Time discount plan

30 100 50 50 80

The information contained in the file is solely property of ZTE corporation. Any kind of disclosing without permission is prohibited.

ZTE University

univ.zte.com.cn

Period of time discount list is collection of all discount


situation, normally, ZXGIN-10 charging system has 3 types of discount:

Holiday Discount
Weekend Discount Daily Discount

The information contained in the file is solely property of ZTE corporation. Any kind of disclosing without permission is prohibited.

ZTE University

univ.zte.com.cn

Holiday?

Weekend

Adopt Daily Discount Plan

Adopt Weekend Discount Plan

Adopt Holiday Discount Plan

Calculate Communication Fee


The information contained in the file is solely property of ZTE corporation. Any kind of disclosing without permission is prohibited.

ZTE University

univ.zte.com.cn

Holiday Plan
1 1 1 1 1 1

Month
Jan. Feb. Feb. Feb. May Oct.

Date
1 16 17 18 1 1

Related Period of Time Discount Plan No.

2 2 2 2 2 2

2
2 2 2 2 2 ZTE University

Jan.
Feb. Feb. Feb. May Oct.

1
16 17 18 1 1

3
3 3 3 3 3 univ.zte.com.cn

The information contained in the file is solely property of ZTE corporation. Any kind of disclosing without permission is prohibited.

Weekend Plan

Week

Related Period of Time Discount Plan 2

Saturday

Sunday

The information contained in the file is solely property of ZTE corporation. Any kind of disclosing without permission is prohibited.

ZTE University

univ.zte.com.cn

Time Discount Plan No. 1

Holiday Plan No. 0

Weekend Plan No.

Daily Plan No. 0

Description

No Discount

National Toll Discount Plan International Toll Discount Plan

The information contained in the file is solely property of ZTE corporation. Any kind of disclosing without permission is prohibited.

ZTE University

univ.zte.com.cn

(5) Charging Plan Regular One-time Discounted

The information contained in the file is solely property of ZTE corporation. Any kind of disclosing without permission is prohibited.

ZTE University

univ.zte.com.cn

Charging Flag: 0: Free; 1: Charge


Charging Plan Call Type Charg e Type Fee Item Chargi ng Flag Chargi ng Way

Fee Rate 50

Discou nt Plan No.

Roaming Fee rate

80

30

The information contained in the file is solely property of ZTE corporation. Any kind of disclosing without permission is prohibited.

ZTE University

univ.zte.com.cn

(6) Charged Area

Areas the IN system cover

Charged Area Code 21 25

Charged Area Name Shanghai Nanjing

The information contained in the file is solely property of ZTE corporation. Any kind of disclosing without permission is prohibited.

ZTE University

univ.zte.com.cn

(7) Local Office Group


Under every Charged Area Code, set local office code and separate the codes with same charging information into one group. Then set charging information for local office code groups.

Charged Area Code 21 21 21 21

Office Code 458 457 346 348

Group No. 1 1 2 2

The information contained in the file is solely property of ZTE corporation. Any kind of disclosing without permission is prohibited.

ZTE University

univ.zte.com.cn

(8) Domestic Area Code Group Under every Charged Area Code, set area code and separate the codes with same charging information into one group. Then set charging information for area code groups. Charged Area Code Area Code Group No.

25

21

25

215

The information contained in the file is solely property of ZTE corporation. Any kind of disclosing without permission is prohibited.

ZTE University

univ.zte.com.cn

(9) Country Code Group As per country the IN system locates, set country code and separate the codes with same charging information into one group. Then set charging information for country code groups. Country Code Group No. Country Name

33

France

34

Spain

The information contained in the file is solely property of ZTE corporation. Any kind of disclosing without permission is prohibited.

ZTE University

univ.zte.com.cn

(10) Charging Information


In ZXIN10 charging system, charging information relative to calculated fee is saved at charging matrix,

including charged Area Code, Group No., related Call


Type, Charge Type. Charging information is divided into local, domestic &

international information.

The information contained in the file is solely property of ZTE corporation. Any kind of disclosing without permission is prohibited.

ZTE University

univ.zte.com.cn

Charged Area Code

Calling Group No.

Called Group No.

Call Type

Charge Type

Time Unit (Second)

21

180

21

180

21

180

21

180

The information contained in the file is solely property of ZTE corporation. Any kind of disclosing without permission is prohibited.

ZTE University

univ.zte.com.cn

Charged Area Code

Area Code Group

Call Type

Charge Type

Time Unit (Second)

21 21

1 2

2 2

3 2

180 180

The information contained in the file is solely property of ZTE corporation. Any kind of disclosing without permission is prohibited.

ZTE University

univ.zte.com.cn

Country Code Group

Call Type

Charge Type

Time Unit (Second)

1 2

3 3

5 4

60 60

The information contained in the file is solely property of ZTE corporation. Any kind of disclosing without permission is prohibited.

ZTE University

univ.zte.com.cn

(11) System Configuration


set Country Code, Reference Minimum Fee, Nature, etc.

Once system configuration is set, highly suggest do not


modify randomly. Otherwise, system will run incorrectly.

The information contained in the file is solely property of ZTE corporation. Any kind of disclosing without permission is prohibited.

ZTE University

univ.zte.com.cn

Charging Setting Steps

Step 1: set call type, fee item, charge type and time
discount, finish charge information matrix Step 2: firstly set period of time discount, then set daily

discount, week discount and holiday discount. Finally,


form time discount with these three discount plans.

Step

3:

set

charged

Area

Code,

local,

national,

international group and respective charging information.

The information contained in the file is solely property of ZTE corporation. Any kind of disclosing without permission is prohibited.

ZTE University

univ.zte.com.cn

Step 1: set Call Type Step 2: set Fee Item Step 3: set Charge Type Step 4: set Time Discount Step 5: set Charging Plan Step 6: set Charged Area Code

The information contained in the file is solely property of ZTE corporation. Any kind of disclosing without permission is prohibited.

ZTE University

univ.zte.com.cn

Step 7: set Local office code group


Step 8: set Local charge information Step 9: set domestic area code group

Step 10: set domestic charge information


Step 11: set international country code group Step 12: set international country charge information

The information contained in the file is solely property of ZTE corporation. Any kind of disclosing without permission is prohibited.

ZTE University

univ.zte.com.cn

Synchronization

While charging information changes, SMP informs of CP


timely upgrading relative information.

The information contained in the file is solely property of ZTE corporation. Any kind of disclosing without permission is prohibited.

ZTE University

univ.zte.com.cn

Other Operations

Query Log
Connect DB while application process disconnect abnormally with

DB, or if maintenance engineer would like to know


connection situation between application process and DB, run DB/Connection to connect DB.

Online Help

The information contained in the file is solely property of ZTE corporation. Any kind of disclosing without permission is prohibited.

ZTE University

univ.zte.com.cn