Professional Documents
Culture Documents
Course Overview
Section 4 discusses the principle for bill fetching and the instant bill
fetching's application.
Course Objectives
Section 1
Bill Types
Introduction
There are two charging methods used in the C&C08 switch, detailed
ticket and meter . When detailed ticket is used as charging method,
detailed call information is collected and outputs a record. For
meter, subscriber are charged according to the pulse count
accumulated over a period time.
Objective
Subscribers are charged for using the system resources. They can be
charged for the local calls, toll calls and calls related to
supplementary services. During the call, the switch collects the
charging data and takes corresponding action (according to which
kind of charging method deployed).
G Note
OSB2B02-2
Course OSB2B02 Bill Manager
Issue 1.0 OVSV610R003
1.2 Bill
Take a call as an example, its detailed bill should look like this•F
OSB2B02-3
Course OSB2B02 Bill Manager
Issue 1.0 OVSV610R003
Long-duration calls: A long call can be split into two bills. This
typically happens if a call exceeds 2-hour periods.
Normally, the detailed bills in C&C08 are produced for one of the
following reasons:
Recording free calls -- for those calls that has been predefined
free of charge, the switch also records their detailed call
information.
OSB2B02-4
Course OSB2B02 Bill Manager
Issue 1.0 OVSV610R003
Meter table 1 = 2
Meter table 2 = 10
Meter table 3 = 0
Meter table 4 = 0
Meter table 5 = 0
Meter table 6 = 0
Meter table 7 = 0
Meter table 8 = 0
Meter table 9 = 0
Meter table 10 = 0
OSB2B02-5
Course OSB2B02 Bill Manager
Issue 1.0 OVSV610R003
At the end of everyday (at 3:00 AM), the pulse counts on the
corresponding meter will be updated. This enables a meter bill
produced on per subscriber basis and then stored in bill pool.
1000 68904
OSB2B02-6
Course OSB2B02 Bill Manager
Issue 1.0 OVSV610R003
Section 2
Bill Storage
Introduction
All charging actions are performed within the SM's MPU and
produce bills, which adopt a two-level storage structure: first in the
SM's MPU buffer and then copy to the hard disk of BAM.
Objective
OSB2B02-7
Course OSB2B02 Bill Manager
Issue 1.0 OVSV610R003
BAM
YYYYMMDD.bil
AM/CM
SM
MPU Buffer
Bill Pool
Update meter
Meter
Figure2-Bill Storage
OSB2B02-8
Course OSB2B02 Bill Manager
Issue 1.0 OVSV610R003
For detailed ticket, a call record is produced and stored in the bill
pool.
For meter, the call accounting data is kept as pulse count in the
corresponding meter. These meters are updated everyday at 3:00 am
and a meter bill is generated on a per subscriber basis and stored in
bill pool.
Meter and bill pool share a fixed size data segment so-called MPU
bill buffer. The MPU buffer is protected from all system failure
except MPU restart. This is discussed in the following sections.
The bill file on the BAM is named according to the date the file
generated and all the bills generated on the same day will be stored
in one file .
For the sake of security, the system copies these bills to a backup
directories automatically .
E•FBackup \ Bill \
OSB2B02-9
Course OSB2B02 Bill Manager
Issue 1.0 OVSV610R003
OSB2B02-10
Course OSB2B02 Bill Manager
Issue 1.0 OVSV610R003
Section 3
Introduction
This section discusses the storage mechanism in bill pool and the
three pointers involved.
Objective
Commands Description
LST BILMTR Querying the meter count
LST BILPOL Querying the bill pool
Querying meter bill from bill file
LST MTR
on BAM
Querying bill from bill file on
LST AMA
BAM
OSB2B02-11
Course OSB2B02 Bill Manager
Issue 1.0 OVSV610R003
Module Total Backup Fetch Ptr Save Ptr Csn Pool Size Ctrx
Total Ctrx Size
Bill Pool
Backup Ptr
OSB2B02-12
Course OSB2B02 Bill Manager
Issue 1.0 OVSV610R003
Bills and meter bills are stored in the bill pool before being sent to
BAM.
And the bill pool's capability depends, since bill pool and meter
share the data segment together. Generally speaking, it can
accommodate more than 30,000 bills.
To retrieve the information from the bill pool, you can input the
following command:
Command•FLST BILPOL•FMN=3•G
•yFetch Ptr•z: Indicates the point of the latest fetched bill and
where BAM should start with this time.
Since the bill pool is such an annular queue that the pointer returns
to the beginning, setting value as 0, when it reaches the maximum.
3.2 Meters
OSB2B02-13
Course OSB2B02 Bill Manager
Issue 1.0 OVSV610R003
For meter, the charging information is not based on one call. But
there will be times you are asked to trace the information in meters
timely.
3. The meters reset and the pulse count starts from 0 again.
OSB2B02-14
Course OSB2B02 Bill Manager
Issue 1.0 OVSV610R003
Section 4
Bill Fetching
Introduction
However, there are some special restrictions for fetching bill based
on the following conditions:
Objective
Command Description
LST FBIL List the schedule of bill fetching
SET FBIL Setting bill fetching schedule
STR BILAF Enable scheduled bill fetching
STP BILAF Disable scheduled bill fetching
Update meter table and statistic
RST BILPOL
meter table
STR BILIF Enable instant bill fetching
STP BILIF Disable instant bill fetching
OSB2B02-15
Course OSB2B02 Bill Manager
Issue 1.0 OVSV610R003
Command: SET
FBIL•FSTA=9&11•CSTP=15&17•CSTEP=60•G
The second principle for bill fetching is that when there is any
possibility that MPU buffer will risk of bill loss, BAM should fetch
bill immediately.
In order to get all the charging information safe and sound, you
must follow the procedures as below :
OSB2B02-16
Course OSB2B02 Bill Manager
Issue 1.0 OVSV610R003
STR BILIF•FMN ;
% Attention
When the emergency ends, you should better recover bill fetching
to the default state, scheduled bill fetching.
STP BILIF;
OSB2B02-17
Course OSB2B02 Bill Manager
Issue 1.0 OVSV610R003
Section 5
Routine Maintenance
Introduction
In order to ensure that there is enough space on BAM hard disk for
bill storage, the operator should clear up the hard disk regularly.
Objective
Command Description
DEL AMA Delete the expired bill file
View the alarming information associate
LST ALMLOG
with bill
At the end of the month, we should copy the bill files to the floppy
disk or read-write CD, or transfer these files over the data link to
billing center.
Step 2 is optional.
OSB2B02-18
Course OSB2B02 Bill Manager
Issue 1.0 OVSV610R003
Notice that when BAM fetches bill, it stores bill under the
designated sub directory. Since BAM' s hard disk capacity is
limited, the operator should clear up bill files regularly, otherwise
BAM may fail to copy the files to hard disk in the case of space
shortage.
M Warning
The shortage of disk space either for the bill or for the backup bill
will cause bill fetching failure .
Command•FDEL AMA•FED=1999&9&25•G
G Note
OSB2B02-19
Course OSB2B02 Bill Manager
Issue 1.0 OVSV610R003
OSB2B02-20
Course OSB2B02 Bill Manager
Issue 1.0 OVSV610R003
Exercises
Hands-on Exercises
OSB2B02-21
Course OSB2B02 Bill Manager
Issue 1.0 OVSV610R003
a) Update Meter
c) Check whether the Fetch PTR has matched together with Save
PTR.
OSB2B02-22
Course OSB2B02 Bill Manager
Issue 1.0 OVSV610R003
Keys to Exercises
3. D: \ bill \ bill \
OSB2B02-23
Course OSB2B02 Bill Manager
Issue 1.0 OVSV610R003
Table of
Contents
Course Description
1
Course Overview
1
Course Objectives
1
1.2 Bill
3
xxiv
Course OSB2B02 Bill Manager
Issue 1.0 OVSV610R003
3.2 Meters
12
xxv
Course OSB2B02 Bill Manager
Issue 1.0 OVSV610R003
Exercises
20
Keys to Exercises
22
xxvi
Course OSW0111 Primary User Data
Issue 1.0 OVSV610R003
Course OSB2B02
Bill Manager
OSB2A03- 27