top - download
⟦8de3e90c4⟧ Wang Wps File
Length: 8192 (0x2000)
Types: Wang Wps File
Notes: CPS/SDS/001 ISSUE 1
Names: »0692A «
Derivation
└─⟦2d517f7c3⟧ Bits:30006011 8" Wang WCS floppy, CR 0046A
└─ ⟦this⟧ »0692A «
WangText
…02…CPS/SDS/001
…02…HKI/810227…02……02…
CAMPS SYSTEM DESIGN SPECIFICATION
…02……02…CAMPS
T̲A̲B̲L̲E̲ ̲O̲F̲ ̲C̲O̲N̲T̲E̲N̲T̲S̲
5.17 STATISTICS PACKAGE ......................
695
5.17.1 Summary of Requirements .............
695
5.17.1.1 Package Description .............
695
5.17.1.2 Package Functions ...............
697
5.17.1.2.1 Statistics Collection .......
697
5.17.1.2.2 Statistics Dump .............
698
5.17.1.2.3 Statistics Generation .......
700
5.17.1.2.4 Statistics Request Response .
702
5.17.1.3 Package Control .................
702
5.17.1.4 Characteristics .................
703
5.17.1.5 Design and Construction .........
703
5.17.1.6 Documentation ...................
703
5.17.2 Environment .........................
704
5.17.2.1 Standard Hardware, Firmware, and
Software ........................
704
5.17.2.2 External Interfaces .............
704
5.17.2.3 Package Interfaces ..............
704
5.17 S̲T̲A̲T̲I̲S̲T̲I̲C̲S̲ ̲P̲A̲C̲K̲A̲G̲E̲
5.17.1 S̲u̲m̲m̲a̲r̲y̲ ̲o̲f̲ ̲R̲e̲q̲u̲i̲r̲e̲m̲e̲n̲t̲s̲
5.17.1.1 P̲a̲c̲k̲a̲g̲e̲ ̲D̲e̲s̲c̲r̲i̲p̲t̲i̲o̲n̲
The statistics package generates statistics based on
information collected by CAMPS System Functions.
It interfaces with the Terminal Package for retrieval
of statistics.
Fig. 5.17.1.1-1 gives an overview.
The application requests CAMPS System Functions to
collect statistics (1).
The statistics package dumps statistics onto disk (2).
The statistics package generates statistics (3).
The terminal package requests statistics (4).
FIGURE 5.17.1.1-1…01…STATISTICS
5.17.1.2 P̲a̲c̲k̲a̲g̲e̲ ̲F̲u̲n̲c̲t̲i̲o̲n̲s̲
The Statistical Package supports the 4 functions outlined
in the package description
- Statistics collection
- Statistics dump
- Statistics generation
- Statistics request response
5.17.1.2.1 S̲t̲a̲t̲i̲s̲t̲i̲c̲s̲ ̲C̲o̲l̲l̲e̲c̲t̲i̲o̲n̲
The statistics collection is performed by CAMPS System
Functions into the shared data area. They are:
- Count increment
- Add a number to a value
- Boundary (minimum + maximum)
- Cumulative time periods (i.e. how many percent
on of a switch)
The collection of statistics is table driven.
The table is defined by the Statistics Package in such
a way that the processing by CAMPS System Functions
is defined by the table in conjunction with the parameters
specified by the calling application.
The request of a statistics is by supplying:
- Statistics group number
- Statistics number
- Statistics type
- Statistics parameter
The group and number are verified against the requestor,
the type is given for visibility.
The events in the processing are (refer to fig. 5.17.1.1-1
for event numbers):
Application calls CAMPS System Functions (CSF) with
a request to generate statistics (1a). The CSF checks
the request parameters by access to the Table in the
shared data and updates the shared area at addresses
specified in the Table (1b). The CSF returns to the
application (1c).
5.17.1.2.2 S̲t̲a̲t̲i̲s̲t̲i̲c̲s̲ ̲D̲u̲m̲p̲
The statistics package is activated every 15 minutes
to perform dump of the collected data. The timing is
controlled by a request to the CAMPS System Function
timer. The dump processing is (Refer fig. 5.17.1.1-1
for event numbers):
Invocation of the Statistics Package by CAMPS System
Functions (2a). Request to CAMPS System Function for
exclusive access to the shared data area (2b). Dump
the data area onto disk (2c and 2d). Reset the shared
data area (2e). Give up the exclusive access (2f).
If a system switch or restart has taken place the shared
data area will be marked as invalid and the dump will
generate a dummy dump.
The dump area is shown in figure 5.17.1.2.2-1
FIGURE 5.17.1.2.2-1…01…STATISTICS DUMP AREA
5.17.1.2.3 S̲t̲a̲t̲i̲s̲t̲i̲c̲s̲ ̲G̲e̲n̲e̲r̲a̲t̲i̲o̲n̲
The statistics package is once per hour generating
statistics for the last hour. The processing is (refer
to figure 5.17.1.1-1 for event numbers):
Invocation of generation part of statistics package
(3a). Request storage occupancy from SFM (3b). Calculate
from the statistics dump statistics for the last hour
and output to statistics files (3c and 3d).
Once a day the hourly statistics are summarized to
a daily statistics and once a week the daily statistics
are summarized into a weekly statistics (3e and 3f).
Statistics are kept on an hourly basis for 48 hours,
on a daily basis for 14 days and on a weekly basis
for 4 weeks.
The statistics files are shown in figure 5.17.1.2.3-1.
The size is in the order of 200 kbytes.
FIGURE 5.17.1.2.3-1…01…STATISTICS STATISTICAL FILES
5.17.1.2.4 S̲t̲a̲t̲i̲s̲t̲i̲c̲s̲ ̲R̲e̲q̲u̲e̲s̲t̲ ̲R̲e̲s̲p̲o̲n̲s̲e̲
Statistics is output by the terminal package. The terminal
package request statistical data from the statistics
package. The statistics package returns the data to
the requestor.
The processing is (for event numbers refer to fig.
5.17.1.1-1):
Queue request to statistics package (4a). The queue
entry contains:
- Statistics type (Hour, Day, Week)
- Statistics interval identification (Which hour
or hours, which day, which week)
- Return Queue Identification
Read the appropriate statistics information (4b) and
copy it to temporary storage (4c). Return reference
to return queue (4d). For the case no temporary storage
could be allocated or when the statistics is not available
for the period a return code is generated and returned
(4d).
5.17.1.3 P̲a̲c̲k̲a̲g̲e̲ ̲C̲o̲n̲t̲r̲o̲l̲
S̲y̲n̲c̲h̲r̲o̲n̲i̲z̲a̲t̲i̲o̲n̲
The Statistics package is event driven by the CAMPS
System Functions. It is activated at regular intervals
of 15 minutes.
The statistics package shares the collection area with
CAMPS System Functions. The access is synchronized
by CAMPS System Function.
I̲n̲i̲t̲i̲a̲l̲i̲z̲a̲t̲i̲o̲n̲
The Statistics package is initialized by the SSC package.
E̲r̲r̲o̲r̲ ̲H̲a̲n̲d̲l̲i̲n̲g̲
All errors are irrecoverable by the statistics package
and as such returned to the SSC package.
R̲e̲c̲o̲v̲e̲r̲y̲
The statistics package recovers to the last complete
15 minute data. This means, that statistics may be
unavailable for periods of up to 15 minutes.
At the moment of recovery the collection data area
shared with CAMPS System Function is reset.
5.17.1.4 C̲h̲a̲r̲a̲c̲t̲e̲r̲i̲s̲t̲i̲c̲s̲
Throughput (By CAMPS System Functions). Collect
statistics at a rate of 4-5 in busy
hour.
Dump of 3k statistical data once per
15 minutes.
Process of 3k statistical data once
per hour.
Storage Maintain the collection area of 3k.
Security All statistical data are considered
unclassified.
5.17.1.5 D̲e̲s̲i̲g̲n̲ ̲a̲n̲d̲ ̲C̲o̲n̲s̲t̲r̲u̲c̲t̲i̲o̲n̲
Refer section 2.5.
5.17.1.6 D̲o̲c̲u̲m̲e̲n̲t̲a̲t̲i̲o̲n̲
Refer section 2.6.
5.17.2 E̲n̲v̲i̲r̲o̲n̲m̲e̲n̲t̲
5.17.2.1 S̲t̲a̲n̲d̲a̲r̲d̲ ̲H̲a̲r̲d̲w̲a̲r̲e̲,̲ ̲F̲i̲r̲m̲w̲a̲r̲e̲,̲ ̲a̲n̲d̲ ̲S̲o̲f̲t̲w̲a̲r̲e̲
N.A.
5.17.2.2 E̲x̲t̲e̲r̲n̲a̲l̲ ̲I̲n̲t̲e̲r̲f̲a̲c̲e̲s̲
N.A.
5.17.2.3 P̲a̲c̲k̲a̲g̲e̲ ̲I̲n̲t̲e̲r̲f̲a̲c̲e̲s̲
Collection by means of CAMPS System Function:
Terminal Package: Use of Message Formats
Traffic Handling: Incoming & Outgoing +
Service Assistance
Distribution: Nominal Distribution
+ MDCO Assistance
Storage and File Management: Storage Occupancy
SSC Package: Channel Availability
R̲e̲t̲r̲i̲e̲v̲a̲l̲
Terminal Package.