top - download
⟦9076095f2⟧ Wang Wps File
Length: 28409 (0x6ef9)
Types: Wang Wps File
Notes: CPS/SDS/008
Names: »1002A «
Derivation
└─⟦b282628ca⟧ Bits:30006035 8" Wang WCS floppy, CR 0059A
└─ ⟦this⟧ »1002A «
WangText
…11……00……00……00……00…>…0a……00……00…>…0b…>
=…0b…)
…11……0c……11……86…1 …02… …02… …02…
…02…CPS/SDS/008
…02…RIM/810801…02……02…
STP DESIGN SPECIFICATION
…02……02…CAMPS
T̲A̲B̲L̲E̲ ̲O̲F̲ ̲C̲O̲N̲T̲E̲N̲T̲S̲
1 GENERAL ......................................
9
1.1 PURPOSE AND SCOPE ........................
9
1.2 APPLICABLE DOCUMENTS AND PROJECT
REFERENCES ...............................
9
1.2.1 Applicable Documents .................
9
1.2.2 Project References ...................
10
1.3 TERMS AND ABBREVIATIONS ..................
10
1.3.1 Terms ................................
10
1.3.2 Abbreviations ........................
10
2 SUMMARY OF REQUIREMENTS ......................
11
2.1 PACKAGE DESCRIPTION ......................
11
2.2 PACKAGE FUNCTION .........................
13
2.2.1 Main Functions (Normal Operations) ...
13
2.2.1.1 Statistics Collection ............
13
2.2.1.2 Statistics Dump ..................
14
2.2.1.3 Statistics Generation ............
16
2.2.1.4 Statistics Delivery ..............
16
2.2.2 Functional Responsibilities ..........
18
2.2.2.1 Initialization, Close Down and
Restart ..........................
18
2.2.2.1.1 Initialization ...............
18
2.2.2.1.2 Close Down ...................
18
2.2.2.1.3 Restart ......................
18
2.2.2.2 Check Pointing and Recovery ......
19
2.2.2.3 Error Detection and Error Handling
19
2.2.2.3.1 Error Detection ..............
19
2.2.2.3.2 Error Handling ...............
19
2.2.2.4 Integrity of Operation ...........
19
2.2.2.5 Data Collection ..................
20
2.2.2.6 Security .........................
20
2.3 CHARACTERISTICS ..........................
20
2.3.1 Timing ...............................
20
2.3.1.1 Response Time ....................
20
2.3.2.2 Sequential Relationship ..........
20
2.3.1.3 Traffic Load .....................
21
2.3.1.4 Interleaving STP .................
21
2.3.1.5 Sequencing STP ...................
22
2.3.2 Throughput ...........................
25
2.3.3 Flexibility ..........................
25
2.3.4 Accuracy of Input Data ...............
25
3 ENVIRONMENT ..................................
26
3.1 EQUIPMENT ENVIRONMENT ....................
26
3.2 SOFTWARE ENVIRONMENT .....................
26
3.2.1 System Software ......................
26
3.2.2 Development Software .................
26
3.3 INTERFACES ...............................
27
3.3.1 External Interfaces ..................
27
3.3.2 Package Interfaces ...................
27
3.3.2.1 Collection Statistics Interface ..
27
3.3.2.1.1 THP Contribution .............
27
3.3.2.1.2 CSF Contribution .............
28
3.3.2.1.3 MDP Contribution .............
28
3.3.2.1.4 TEP Contribution .............
28
3.3.2.1.5 SSC Contribution .............
28
3.3.2.2 Dump Statistics Interface ........
28
3.3.2.3 Generating Statistics Interface ..
29
3.3.2.4 Delivery Statistics Interface ....
29
3.4 FUNCTIONS MAINTAINED BY OTHER PACKAGES ...
29
4 PACKAGE DESIGN ...............................
30
4.1 PACKAGE OVERVIEW .........................
30
4.1.1 Functional Specification .............
32
4.1.1.1 Functional Break Down ............
32
4.1.2 Software Specification ...............
34
4.1.2.1 Monitor Procedure ................
35
4.1.2.2 Main Program .....................
35
4.1.2.2.1 Statistics Dump ..............
37
4.1.2.2.2 Statistics Generation ........
37
4.1.2.2.3 Statistics Delivery ..........
37
4.1.3 Data Flow and Control Logic ..........
37
4.1.4 Package Data .........................
41
4.1.4.1 Shared Data Area (SDA) ...........
41
4.1.4.1.1 Table Area ...................
43
4.1.4.2 Statistics File Area .............
48
4.1.4.2.1 STP File Information Area ....
48
4.1.4.2.2 STP Dump .....................
48
4.1.4.3 Statistics Data Area .............
54
4.1.4.3.1 Hour Section .................
54
4.1.4.3.2 Day Section ..................
54
4.1.4.3.3 Week Section .................
54
4.1.5 External Data Elements ...............
55
4.1.5.1 Application Data Elements ........
55
4.1.5.2 STP Response Data Elements .......
56
4.1.6 Interfaces ...........................
56
4.1.6.1 External Interfaces ..............
56
4.1.6.2 Package Interfaces ...............
56
4.1.6.2.1 Collect Interface ............
57
4.1.6.2.1.1 Statistics Group Number ..
57
4.1.6.2.1.2 Statistics Subgroup
Number ...................
57
4.1.6.2.1.3 Statistics Record Number .
57
4.1.6.2.1.4 Statistics Parameters ....
58
4.1.6.2.2 Delivery Interface ...........
58
4.1.6.3 Sub-Package Interfaces ...........
61
4.2 SUB-PACKAGES .............................
64
4.2.1 Collection Sub-Package ...............
64
4.2.1.1 Functional Specification .........
64
4.2.1.1.1 Receive Collect Statistics ...
64
4.2.1.1.2 Reserve Shared Data Area .....
66
4.2.1.1.3 Update Shared Data Area ......
66
4.2.1.1.3.1 Data Address Pointer .....
66
4.2.1.1.3.2 Procedure Address Pointer
70
4.2.1.1.3.3 Loop Mechanism ...........
70
4.2.1.1.4 Release Shared Data Area .....
75
4.2.1.1.5 Update Completion Code .......
75
4.2.1.2 Software Structure ...............
75
4.2.1.3 Data Flow and Control Logic ......
81
4.2.1.4 Sub-Package Data .................
85
4.2.1.5 Sub-Package Interfaces ...........
85
4.2.2 Statistics Main Program Sub-Package ..
85
4.2.2.1 Functional Specifications ........
85
4.2.2.1.1 Receive Next QEL .............
87
4.2.2.1.2 Detect Type of QEL ...........
87
4.2.2.1.3 Activation of Sub-Packages ...
88
4.2.2.2 Software Structure ...............
88
4.2.2.3 Data Flow and Control Logic ......
88
4.2.2.4 Sub-Package Data .................
91
4.2.2.5 Sub-Package Interfaces ...........
91
4.2.3 Statistics Dump Sub-Package ..........
92
4.2.3.1 Functional Specification .........
92
4.2.3.1.1 Activate Dump ................
92
4.2.3.1.2 Request Access to Shared Data
Area .........................
94
4.2.3.1.3 Transfer of SDA Data .........
94
4.2.3.1.3.1 Get Transfer Information .
94
4.2.3.1.3.2 Transfer Data ............
94
4.2.3.1.4 Initiate SDA .................
94
4.2.3.1.5 Release of Shared Data Area ..
96
4.2.3.2 Software Structure ...............
96
4.2.3.3 Data Flow and Control Logic ......
98
4.2.3.4 Sub-Package Data .................
100
4.2.3.5 Sub-Package Interfaces ...........
100
4.2.4 Statistics Generation Sub-Package ....
101
4.2.4.1 Functional Specification .........
101
4.2.4.1.1 Generating Hourly Statistics .
103
4.2.4.1.1.1 Loop Over All Statistics
Sub-Groups ...............
103
4.2.4.1.1.2 Calculate Input Address
Information ..............
103
4.2.4.1.1.3 Input Statistics Sub-Group
Data .....................
106
4.2.4.1.1.4 Input Processing
Inforamtion ..............
106
4.2.4.1.1.5 Accumulate Sub-Groug Data
106
4.2.4.1.1.6 Store Accumulated Data ...
106
4.2.4.1.2 Generating Daily Statistics ..
106
4.2.4.1.2.1 Loop Over All Statistics .
107
4.2.4.1.2.2 Calculate Input
Addressing Information ...
107
4.2.4.1.2.3 Input Statistics Sub-
Groups Data ..............
109
4.2.4.1.2.4 Accumulate Sub-Group DAta
109
4.2.4.1.3 Generating Weekly Statistics .
109
4.2.4.1.3.1 Loop Over All Statistics
Sub-Groups ...............
110
4.2.4.1.3.2 Calculate Input Addressing
Information ..............
110
4.2.4.1.3.3 Input Statistics Sub-
Group Data ...............
110
4.2.4.1.3.4 Accumulate Sub-Group Data
110
4.2.4.1.3.5 Store Accumulated data ...
110
4.2.4.2 Software Structure ...............
112
4.2.4.3 Data Flow and Control Logic ......
114
4.2.4.4 Sub-Package Data .................
118
4.2.4.5 Sub-Package Interfaces ...........
118
4.2.5 Delivery Sub-Package .................
118
4.2.5.1 Functional Specification .........
119
4.2.5.1.1 Generate Temporary CIF .......
119
4.2.5.1.2 Append Statistics to CIF .....
121
4.2.5.1.2.1 Case Hour Statistics .....
121
4.2.5.1.2.2 Case Day Statistics ......
121
4.2.5.1.2.3 Case Week Statistics .....
121
4.2.5.1.3 Delivery of CIF ..............
122
4.2.5.1.4 Request Storage Occupancy ....
122
4.2.5.2 Software Structure ...............
122
4.2.5.3 Data Flow and Control Logic ......
124
4.2.5.4 Sub-Package Data .................
129
4.2.5.5 Sub-Package Interfaces ...........
129
4.3 MEMORY LAY-OUT ...........................
130
4.3.1 SDA Data Area ......................
131
4.3.1.1 Incoming Message Area ............
132
4.3.1.2 Outgoing Message Area ............
135
4.3.1.3 Channel Availability and Occupancy
Area .............................
138
4.3.1.4 Incoming Message Distribution Area
141
4.3.1.5 Outgoing Message Distribution Area
144
4.3.1.6 Use of Formats, type 1 Area ......
147
4.3.1.7 Use of Formats, type 2 Area ......
150
4.3.2 STP File Area (Data Area) ............
153
4.3.2.1 Group 1 Lay-Out ..................
155
4.3.2.2 Group 2 Lay-Out ..................
156
4.3.2.3 Group 2a Lay-Out .................
157
4.3.2.4 Group 3 Lay-Out ..................
158
4.3.2.5 Group 4 Lay-Out ..................
159
4.3.2.6 Group 4a Lay-Out .................
160
4.3.2.7 Group 5 Lay-Out ..................
161
4.3.2.8 Group 5a Lay-Out .................
162
4.3.2.9 Group 6 Lay-Out ..................
163
4.3.2.10 Group 6a Lay-Out .................
164
4.3.2.11 Group 7 Lay-Out ..................
165
4.3.2.12 Group 7a Lay-Out .................
167
APPENDIX A ......................................
169
A.1 Specific Input Data ......................
170
A.1.1 THP Contribution .....................
170
A.1.2 CSF Contribution .....................
170
A.1.3 MDP Contribution .....................
170
A.1.4 TEP Contribution .....................
171
A.1.5 SSC Contribution .....................
171
A.2 What to Collect ..........................
172
A.2.1 Record Header ........................
172
A.2.2 Record Parameters ....................
173
1̲ ̲ ̲G̲E̲N̲E̲R̲A̲L̲
1.1 P̲U̲R̲P̲O̲S̲E̲ ̲A̲N̲D̲ ̲S̲C̲O̲P̲E̲
The package specification for Statistics Package (STP)
CPS/SDS/008 is written to fulfil the following objectives:
1) To provide detailed definition of the package function
and software architecture.
2) To provide user operational and development personnel
details of the ongoing analysis.
3) To define in detail the interface with other packages
and to describe their facilities.
The specification contains a description of the package
to a level of a few software statements as lowest detail.
Higher level design specification can be found in the
next section, applicable documents.
All interfaces and data are described in this specification
and contained in Software Interface Control Document
and Database Design Document respectively.
1.2 A̲P̲P̲L̲I̲C̲A̲B̲L̲E̲ ̲D̲O̲C̲U̲M̲E̲N̲T̲S̲ ̲A̲N̲D̲ ̲P̲R̲O̲J̲E̲C̲T̲ ̲R̲E̲F̲E̲R̲E̲N̲C̲E̲S̲
1.2.1 A̲p̲p̲l̲i̲c̲a̲b̲l̲e̲ ̲D̲o̲c̲u̲m̲e̲n̲t̲s̲
The following documents represent a baseline for this
statistical specification:
- CPS/210/SYS/0001
CAMPS System Requirements
- CPS/SDS/001
CAMPS System Design Specification
1.2.2 P̲r̲o̲j̲e̲c̲t̲ ̲R̲e̲f̲e̲r̲e̲n̲c̲e̲s̲
Reference documents are as follows:
- CPS/230/ICD/0001
User Procedures and Associated Formats
- CPS/230/ICD/0002
Supervisor Commands and Procedures
1.3 T̲E̲R̲M̲S̲ ̲A̲N̲D̲ ̲A̲B̲B̲R̲E̲V̲I̲A̲T̲I̲O̲N̲S̲
1.3.1 T̲e̲r̲m̲s̲
Queue-id: Queue identification
Diag-id: Diagram identification
Remainder: The rest as a result of a division
Modulo N: Quotient as a result of a division by N
Statistics Parameter String, containing information
record: for STP during statistics collection.
1.3.2 A̲b̲b̲r̲e̲v̲i̲a̲t̲i̲o̲n̲s̲
STP: Statistics Package
SDA: Shared Data Area
HSG: Hourly Statistics Generator
DSG: Daily Statistics Generator
WSG: Weekly Statistics Generator
QEL: Queue Element
CSF: CAMPS System Function Package
SFM: Storage and File Management Package
TEP: Terminal Package
DESCR: Description
INFO: Information
SP: Sub-Package
PD: Preliminary Design
Addr: Address
2̲ ̲ ̲S̲U̲M̲M̲A̲R̲Y̲ ̲O̲F̲ ̲R̲E̲Q̲U̲I̲R̲E̲M̲E̲N̲T̲S̲
This chapter and its sections specify the requirements
pertinent to the package level.
2.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 the statistics package collection
monitor procedure.
It interfaces with the Terminal Package for retrieval
of statistics.
Fig. 2.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).
The letters a, b ... indicate the sequence in which
the above mentioned functions are performed.
FIGURE 2.1-1…01…STATISTICS
2.2 P̲A̲C̲K̲A̲G̲E̲ ̲F̲U̲N̲C̲T̲I̲O̲N̲S̲
The next two sub-sections 2.2.1 and 2.2.2 contain a
functional description under normal operation and special
circumstances respectively.
2.2.1 M̲a̲i̲n̲ ̲F̲u̲n̲c̲t̲i̲o̲n̲s̲ ̲(̲N̲o̲r̲m̲a̲l̲ ̲O̲p̲e̲r̲a̲t̲i̲o̲n̲)̲
The Statistics Package supports the 4 functions outlined
in the package description
- Statistics collection
- Statistics dump
- Statistics generation
- Statistics request response
2.2.1.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 STP collection
monitor procedure 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 STP 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 sub-group number
- Statistics record number
- Statistics parameter
The group and number are verified against the requestor.
The events in the processing are (refer to fig. 2.1-1
for event numbers).
Application calls Statistics Package (STP) with a request
to generate statistics (1a). The STP collector 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). During update and access
of the shared data area exclusive acceses is granted
by requesting CSF. The STP collector returns to the
application (1c).
When the different applications request statistics
collection specific parameters are supplied as described
in appendix A.
2.2.1.2 S̲t̲a̲t̲i̲s̲t̲i̲c̲s̲ ̲D̲u̲m̲p̲
The statistics package is activated every 6 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. 2.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 (2e). Give up the exclusive access (2f).
If a system switch-over or restart has taken place
the shared data area will be marked as invalid and
the dump will generate a dummy dump.
The dummy dump is a version of the shared data area
which does not contribute any information during generation
of the statistics.
The dump area is shown in figure 2.2.1.2-1.
FIGURE 2.2.1.2-1…01…STATISTICS DUMP AREA
2.2.1.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 2.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 3f).
Statistics are kept on an hourly basis for 24 hours,
on a daily basis for 1 day and on a weekly basis for
1 week.
The statistics files are shown in figure 4.1.4.2.1-4.
The size is in the order of 700 kbytes.
2.2.1.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 print is output by the terminal package.
STP delivers the statistics information to TEP. The
processing is (for event numbers, refer to fig. 2.1-1).
Invocation of delivering statistics (4a).
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).
FIGURE 2.2.1.3-1…01…STATISTICS STASTICAL FILES
2.2.2 F̲u̲n̲c̲t̲i̲o̲n̲a̲l̲ ̲R̲e̲s̲p̲o̲n̲s̲i̲b̲i̲l̲i̲t̲i̲e̲s̲
Functions, for which the statistics package are responsible,
are specified in the next paragraphs.
2.2.2.1 I̲n̲i̲t̲i̲a̲l̲i̲z̲a̲t̲i̲o̲n̲,̲ ̲C̲l̲o̲s̲e̲ ̲D̲o̲w̲n̲,̲ ̲a̲n̲d̲ ̲R̲e̲s̲t̲a̲r̲t̲
2.2.2.1.1 I̲n̲i̲t̲i̲a̲l̲i̲z̲a̲t̲i̲o̲n̲
Initialization of STP, i.e. preparation of main memory
collection area and the disk resident collection area
and the disk resident statistics file, is signalled
by SSC in STP system queue. This causes STP to start
an initialization program. Initialization data address
is a part of the queue element sent by SSC. STP initialization
program transfers data from an SSC specified data address
to the previous mentioned table and shared data areas,
refer figure 2.1-1. Completion of initialization is
acknowledged back in SSC response queue.
2.2.2.1.2 C̲l̲o̲s̲e̲ ̲D̲o̲w̲n̲
Close down of STP is initiated by SSC when a close
down command is received. No more collection will be
performed so the shared data area will be dumped as
normally, to the section corresponding to the 6 minutes
interval to be used.
2.2.2.1.3 R̲e̲s̲t̲a̲r̲t̲
Restart of STP is signalled by SSC by delivering a
QEL in the STP's system queue. Contents of queue element
specify the kind of restart, parameters to use during
restart and acknowledge queue where STP shall return
answer when restart has finished. Restart operations
are depicted in the SDS figure 5.10.1.2.1.3-1 where
start-up type is shown versus restart parameter file.
2.2.2.2 C̲h̲e̲c̲k̲p̲o̲i̲n̲t̲i̲n̲g̲ ̲a̲n̲d̲ ̲R̲e̲c̲o̲v̲e̲r̲y̲
Checkpointing is not applicable to STP.
Recovery of STP is requested by SSC which places a
queue element in STP system queue. Contents of QEL
specify the kind of recovery, which shall be carried
out by STP. Different recovery actions are explained
in the SDS figure 5.10.1.2.1.3-1.
2.2.2.3 E̲r̲r̲o̲r̲ ̲D̲e̲t̲e̲c̲t̲i̲o̲n̲ ̲a̲n̲d̲ ̲E̲r̲r̲o̲r̲ ̲H̲a̲n̲d̲l̲i̲n̲g̲
2.2.2.3.1 E̲r̲r̲o̲r̲ ̲D̲e̲t̲e̲c̲t̲i̲o̲n̲
All errors detected by STP are reported to CSF's error
reporting function. Detection of errors in input parameters
in collection statistics are reported to requestor.
Errors directly detected by STP are boundary exceedings
in parameters delivered to STP under collecton of statistics
information.
2.2.2.3.2 E̲r̲r̲o̲r̲ ̲H̲a̲n̲d̲l̲i̲n̲g̲
The action to be taken upon detection of an error is
reported by SSC to STP system queue.
2.2.2.4 I̲n̲t̲e̲g̲r̲i̲t̲y̲ ̲o̲f̲ ̲O̲p̲e̲r̲a̲t̲i̲o̲n̲
To avoid STP collector to access other areas than the
shared data area (SDA) validation is performed on input
data. Both the header information and the corresponding
parameters in the delivered data record are checked.
All parameters are checked for upper and lower boundaries.
2.2.2.5 D̲a̲t̲a̲ ̲C̲o̲l̲l̲e̲c̲t̲i̲o̲n̲
Not applicable to STP
2.2.2.6 S̲e̲c̲u̲r̲i̲t̲y̲
Not performed by STP
2.3 C̲H̲A̲R̲A̲C̲T̲E̲R̲I̲S̲T̲I̲C̲S̲
2.3.1 T̲i̲m̲i̲n̲g̲
2.3.1.1 R̲e̲s̲p̲o̲n̲s̲e̲ ̲T̲i̲m̲e̲
Response time for applications, requesting statistics
collection until completion code is returned, is less
than 1 m sec, for normal operation.
Worst case response time may be up to 100 msec occurring
every 6 minutes when the shared data area is dumped.
2.3.1.2 S̲e̲q̲u̲e̲n̲t̲i̲a̲l̲ ̲R̲e̲l̲a̲t̲i̲o̲n̲s̲h̲i̲p̲
Function of STP is purely sequential. Statistics information
is being collected and used as basis for production
of hourly statistics. This again is used as basis for
current day statistics, which serve as input for accumulating
day statistics, which form week statistics after a
period of 7 days. Each of the produced statistics is,
as the last step in the sequential relationship, delivered
to the terminal package for print-out.
2.3.1.3 T̲r̲a̲f̲f̲i̲c̲ ̲L̲o̲a̲d̲
STP traffic load for the 4 sub-packages involved is:
- Collection sub-package:
- main memory data size: 8 kbytes
- CPU time, one collect: 1 m sec
- I/Os per collect: 0
- Dump sub-package:
- main memory data size: 0 bytes
- disk data size: 80 kbytes
- CPU time: 1 m sec
- I/Os: 2
- Generate sub-package:
- main memory data size: 0 bytes
- disk data size: 600 kbytes
- CPU time, max: 10 sec
- I/Os, max: 150
- Delivery sub-package:
- main memory data size: 0 bytes
- disk data size: 0 bytes
- CPU time: 1 sec
- I/Os: 50
2.3.1.4 I̲n̲t̲e̲r̲l̲e̲a̲v̲i̲n̲g̲ ̲S̲T̲P̲
Any kind of disturbance signalled by SSC in STP system
queue causes the current used collecting interval area
to be declared as invalid. The produced statistics
are then calculated on basis of the reduced amount
of input information. The least disturbance of the
STP input stream is for information covering a six
minutes interval.
When collection interval has been declared invalid
this is reported to SSC.
2.3.1.5 S̲e̲q̲u̲e̲n̲c̲i̲n̲g̲ ̲S̲T̲P̲
The way STP is sequenced is shown overleaf. Time-out
QELs are treated one by one in one of the cases detailed
below.
FIGURE 2.3.1.6-1
2.3.2 T̲h̲r̲o̲u̲g̲h̲p̲u̲t̲
The throughput of statistics data records collected
by STP is 4-5 data records per busy second traffic
load.
2.3.3 F̲l̲e̲x̲i̲b̲i̲l̲i̲t̲y̲
As STP is fully table driven, introduction of a new
kind of statistics, or removal of old ones are easily
implemented. This is achieved by changing the contents
of the main memory resident table area in the shared
data area, and the information area in the disk resident
statistics file. Introduction of new statistics resultd
in deletion of previously stored information.
2.3.4 A̲c̲c̲u̲r̲a̲c̲y̲ ̲o̲f̲ ̲I̲n̲p̲u̲t̲ ̲D̲a̲t̲a̲
Input data delivered under a collection of statistics
data records are validated. The validation performed
check each input data to see if boundaries are fulfilled.
Any exceeding of the limits is reports to SSC, which
acknowledge back in STP system queue the action to
be taken.
3̲ ̲ ̲E̲N̲V̲I̲R̲O̲N̲M̲E̲N̲T̲S̲
3.1 E̲Q̲U̲I̲P̲M̲E̲N̲T̲ ̲E̲N̲V̲I̲R̲O̲N̲M̲E̲N̲T̲
The STP software package is fully on-line resident
in CAMPS processing units.
Main memory program area size is 3k words. Main memory
data area consists of a table and a data area. Table
area size is 2k words. Data area size is 7.5k words.
Disk area consists of one file containing information
area and data area. Information area size is 400 words.
Data area size is 200k words. The disk file is an on-line
disk resident placed on the 2 mirrored disks.
3.2 S̲O̲F̲T̲W̲A̲R̲E̲ ̲E̲N̲V̲I̲R̲O̲N̲M̲E̲N̲T̲S̲
3.2.1 S̲y̲s̲t̲e̲m̲ ̲S̲o̲f̲t̲w̲a̲r̲e̲
STP's system software environments consist of the following
components:
- DAMOS
- CSF
- MMS
3.2.2 D̲e̲v̲e̲l̲o̲p̲m̲e̲n̲t̲ ̲S̲o̲f̲t̲w̲a̲r̲e̲
Development software is standard DAMOS and TOS (terminal
operating system) resident in a single CR80D configuration.
The SDA table and STP file information areas are generated
at system generation time.
3.3 I̲N̲T̲E̲R̲F̲A̲C̲E̲S̲
3.3.1 E̲x̲t̲e̲r̲n̲a̲l̲ ̲I̲n̲t̲e̲r̲f̲a̲c̲e̲s̲
Not applicable.
3.3.2 P̲a̲c̲k̲a̲g̲e̲ ̲I̲n̲t̲e̲r̲f̲a̲c̲e̲s̲
Interfaces to other application packages are identified
below including a description of events. Paragraph
4 contains a detailed specification of all interfaces.
3.3.2.1 C̲o̲l̲l̲e̲c̲t̲i̲o̲n̲ ̲S̲t̲a̲t̲i̲s̲t̲i̲c̲s̲ ̲I̲n̲t̲e̲r̲f̲a̲c̲e̲
Packages contributing with statistics information are:
- Traffic Handling, THP
- CAMPS System Function, CSF
- Message Distribution, MDP
- Terminal Package, TEP
- System Status and Control, SSC
Information delivered by the packages is listed below
according to contributor.
3.3.2.1.1 T̲H̲P̲ ̲C̲o̲n̲t̲r̲i̲b̲u̲t̲i̲o̲n̲
THP delivers a statistics record related to each of
the following events:
- incoming messages per channel
- outgoing messages per channel
- channel availability and occupancy
3.3.2.1.2 C̲S̲F̲ ̲C̲o̲n̲t̲r̲i̲b̲u̲t̲i̲o̲n̲
CSF delivers a statistics record related to the following
event:
- storage occupancy
3.3.2.1.3 M̲D̲P̲ ̲C̲o̲n̲t̲r̲i̲b̲u̲t̲i̲o̲n̲
MDP delivers a statistics record related to each of
the following events:
- incoming messages per distribution terminal
- outgoing messages per distribution terminal
3.3.2.1.4 T̲E̲P̲ ̲C̲o̲n̲t̲r̲i̲b̲u̲t̲i̲o̲n̲
TEP delivers a statistics record related to each of
the following events:
- use of message formats, type 1
- use of message formats, type 2
3.3.2.1.5 S̲S̲C̲ ̲C̲o̲n̲t̲r̲i̲b̲u̲t̲i̲o̲n̲
SSC delivers a statistics record related to each of
the following events:
- use of message formats, type 2 security interrogation
I1 and security warning I2.
3.3.2.2 D̲u̲m̲p̲ ̲S̲t̲a̲t̲i̲s̲t̲i̲c̲s̲ ̲I̲n̲t̲e̲r̲f̲a̲c̲e̲
STP receives a time-out dump queue element from CSF
each time a dump process shall be incarnated.
3.3.2.3 G̲e̲n̲e̲r̲a̲t̲i̲n̲g̲ ̲S̲t̲a̲t̲i̲s̲t̲i̲c̲s̲ ̲I̲n̲t̲e̲r̲f̲a̲c̲e̲
STP receives a time-out generating queue element from
CSF each time an hourly statistics shall be generated.
3.3.2.4 D̲e̲l̲i̲v̲e̲r̲y̲ ̲S̲t̲a̲t̲i̲s̲t̲i̲c̲s̲ ̲I̲n̲t̲e̲r̲f̲a̲c̲e̲
STP receives a delivery time-out queue element from
CSF each time a delivery of statistics information
procedures is initiated.
The delivery procedure creates a temporary CIF for
each of the statistics:
- 24 one hour statistics
- 1 day statistics
- 1 week statistics
On completion of the CIF, a queue element is sent to
the queue, to which statistics shall be sent. The QEL
references the CIF by containing a view ref.
3.4 F̲U̲N̲C̲T̲I̲O̲N̲S̲ ̲M̲A̲I̲N̲T̲A̲I̲N̲E̲D̲ ̲B̲Y̲ ̲O̲T̲H̲E̲R̲ ̲P̲A̲C̲K̲A̲G̲E̲S̲
Functions maintained by other packages are as follows:
- recovery functions
- error handling
- SDA synchronization