TSP Lab GTPCStat - PDP/Session Activation Statistics module GTPCStat

The PDP/Session Activation Statistics module
("GTPCStat")

Table of Contents

Basic Operation

User Interface

The main menu

Menu Menu item Shortcut(s) Meaning
[File]      
  Load state Load a previously saved memory dump
  Save state Save the memory content into a dump file (both context and open transaction statistics memories)
  Reload IMSI prefix   Reload IMSI prefix - IMSI name assignment list for open transaction statistics
  Reload Operator prefix   Reload IP address - operator name assignment list
  Reload blacklist file   Reload APN blacklist
  Reload EC file   Reload EC lists
  Log counters Save counters into log file
  Save counters Save counters into CSV file
  Exit Close the program
[Tools]      
  Start processing Enable data processing
  Stop processing Disable processing
  Clear state Reset internal states to initial value.
  Flush state Send messages from internal buffers to output channels
  Clear counters Reset counters to zero
  Settings Set INI file settings from menu
  Save settings Save current settings into the INI file
[Help]      
  Help Currently not used
  About Show information about the program

The bottom status-line

The log view

The "log" view shows the last log lines on the screen with the timestamp. The counters of the views are logged every quarter hour.

The "Log" view shows the latest log lines on the screen with their timestamps. The counters of the views are logged every quarter hour. The log level can be set through a drop-down list (Off, Normal, Detailed, Debug), the initial level is defined in the INI file. If the INI file does not exist (first-start without INI file), the default value is 'Normal'.

To search in the log entries, there is a 'Find' text-field. The 'next' button applies the text search and jumps to the next match.

Each log entry has a category, which is represented by the following icons:

The "GTP-C Statistics" tab

Sections in views can be collapsed and expanded using the triangle button at the right up corner of the sections.

Counters in the "GTP-C Assembler proxy" section

Counters in the "GTP-C context creation statistics" section

The "Connections" tab

This view shows the currently used input and output connections. Both input and output connections can be defined in INI file before starting the program, as well as during operation. Details of connections can be collapsed and expanded using the "expand" triangle button at the right up corner of the connections.


Controls of Input and Output connections

Connections of the PDP/Session Activation Statistics module

Connection management

The "Terminal" tab

The "Terminal" provides direct access to the core logic using commands. Available commands are listed on the right. Typically used for debug purposes.

The PDP/Session Activation Statistics

Description

RAT Type definitions

Currently defined RAT Types by 3GPP TS 29.274 V13.12.0 and their classifications:

Value RAT Type Classification
1 UTRAN 2G/3G
2 GERAN 2G/3G
3 WLAN 4G
4 GAN 2G/3G
5 HSPA Evolution 2G/3G
6 EUTRAN (WB-E-UTRAN) 4G
7 Virtual 4G
8 EUTRAN-NB-IoT 4G

Operator identification

Operators are identified based on their MCC/MNC or IP address. The applied rules are the followings.

'GTPv0 Create PDP Context' transactions

'GTPv1 Create PDP Context' transactions

'GTPv2 Create Session' transactions

Input lists for GTP statistics

Input lists are loaded at the start of the module and can be reloaded via menu items from the [Actions] menu.
In case of unsuccessful read of any input files the module logs which line contains the problem and continues its working without loading the input file.
In case of successful read of input files it flushes the so far cumulated statistics and starts new statistics with the new parameters.

The output files

Configuration (GTPCStat.ini) file settings

Section Entry Example Meaning
[Log]      
  LogFilesPath d:\LogFiles Path of the log files
  LogDetailLevel 1 Log detail level at startup:
0: Off
1: Normal
2: Detailed
3: Debug
[Counters]      
  ClearOnWrite false Clear counters after history file written
  HistoryFile D:\LogFiles\GTPCStat.csv The path of the counter history file
  HistoryPeriod 15 The counter history file writing period in minutes
[Input]      
  RestoreChannels true Restores the active channels after restart
  SortingQueueDelay 0 The sorting queue delay in milliseconds
  SortingQueueLength 0 The maximum size of the sorting queue
  StoragePointerFilePath D:\DataFiles-7700 Path for optional storage pointer files (Sga-7700.xxx), if MUFI2 input is used
  SynchronizedIO false The input and the output channels will be synchronized
  GTPAssembler_socket socket-adg://127.0.0.1:17002?listen=1 Definition of the listening TCP socket for incoming connection from GTP-C Assembler module
[Output] Output connection is not used in this application    
  RestoreChannels false Restores the active channels after restart
  SortingQueueDelay 0 The sorting queue delay in milliseconds
  SortingQueueLength 0 The maximum size of the sorting queue
  output_connection_name output_connection_specification Definition of the output connection
[GTPCStat]      
  APNBlackListFile opblack.cfg Path and file name for the APN blacklist file containing APNs to exclude from the context creation success statistics
  Caption Gw2 The given text will appear in the title bar of the program window
  DailyStatInterval 1440 The interval of the daily statistics in minutes
  ECInboundFile e:\GTP-CDR\Sga-LUcollectorCSPS_E1E2E3_inbound.ini Path and file name for inbound EC list file
  ECInboundSection E1E2E3 inbound Defines the section name for inbound EC list within the EC1EC2EC3file_Inbound file
  ECOutboundFile e:\GTP-CDR\Sga-LUcollectorCSPS_E1E2E3_outbound.ini Path and file name for outbound EC list file
  ECOutboundSection E1E2E3 outbound Defines the section name for outbound EC list within the EC1EC2EC3file_Outbound file
  IMSIPrefFile imsipref.cfg Path and file name for the IMSI prefix file (IMSI codes/ranges and IMSI names)
  OpPrefIPFile opprefip.cfg Path and file name for the operator - IP address file (IP addresses/ranges/subnets and operator names)
  StatDelimiter , The delimiter used to separate values in the output files
  StatisticsDir e:\GTP-CDR\StatFiles Path for the output statistics file. If this entry is not set or left out then the PDP activation statistics feature of disabled.
  TimeoutDir e:\GTP-CDR\StatFiles_TO Path and file name for the list of the timed out create transactions. If this entry is not set or left out then the timed out transaction list feature of disabled.
  TransactionTimeout 40 The transaction timeout applied in GTP-C assembler in seconds
[CauseGroups]      
  CauseGroup0..9 v0:209, v0:220, v1:209, v1:220, v2:92-96 List of cause values to be counted into the same group.
Format:
 GroupName = (<version>:<cause value> | <version>:<cause value from>-<cause value to>)
[State]      
  AutoStart true Initial state of data processing. Possible values: true|false.
  StateFile GTPStat.state The path of the state file
[RemoteUI]      
  TCPHost 10.111.122.135 Local IP address for command interface
  TCPPort 16002 Local TCP port for command interface

Version history