TSP Lab UCPGwC - The ‘UCP-Gw Client Handler’ Module UCPGwC

The ‘UCP-Gw Client Handler’ module
("UCPGwC")

Table of Contents

Features


Built-in limitations


User interface

The main menu

Menu Menuitem Shortcut(s) Meaning
[Log]
  Find line containing... (Ctrl-F) Finds text in log window
  Find next matching line (F3) Finds next occurrence of text in log window
  Details   Detail level of logging (Off, Normal, Detailed, or Debug)
[UCP clients]
  Accept new connection request (Ctrl-A or ) Enables incoming UCP client connections
  Abort all connections immediately (!!!BRUTAL!!!)   Not available.
  Import list from file (Ctrl-L) Reloads UCP client port list
[SMSC handlers]
  All "cold" (.) ones are "warm" (+), too   Enables all "cold" SMSC connections to be "warm" ones
  Abort connection #0 immediately (!!!BRUTAL!!!)   Tears down the connection of 0th SMSC Handler module
  Abort connection #1 immediately (!!!BRUTAL!!!)   Tears down the connection of 1st SMSC Handler module
  Abort connection #2 immediately (!!!BRUTAL!!!)   Tears down the connection of 2nd SMSC Handler module
  Abort connection #3 immediately (!!!BRUTAL!!!)   Tears down the connection of 3rd SMSC Handler module
  Abort connection #4 immediately (!!!BRUTAL!!!)   Tears down the connection of 4th SMSC Handler module
[Options]
  Auto scroll () Allows automatic scrolling of the log screen
  Flush statistics counters   Not available.
  Zero statistics counters   Not available.
  Show log   Switches to the log window
  Show ports   Switches to the ports window
  Save settings   Saves actual settings into the configuration (UCPGwC.ini) file

The bottom status-line


Details of ports window

List of 'ports'

The popup menu of the 'ports' screen
Right-click on a row on the connections screen window to access this menu!
  Menuitem Shortcut(s) Meaning
  Remove hilite (no selection)   Selection is removed.
  Active (A)
Warm reserve (+)
Cold reserve (.)
Deactive reserve (D)
Not to be used (−)
  Role settings can be changed right clicking over the proper column.
New setting is saved into the existing UCPClientPorts.lst file.
Active only over the roles.


List of 'active ports'

The popup menu of the 'active ports' screen
(Right-click on a row on the connections screen window to access this menu!)
  Menuitem Shortcut(s) Meaning
  Drop this connection   Disconnects selected connection.
  Remove hilite (no selection)   Selection is removed.


List of 'SMSC modules' screen


Renumbering

In case of request operations in the SMSC→Client direction each subsequent response should be returned to the proper SMSC. To fulfill this requirement these requests and responses should be renumbered by changing the two-digit transaction reference number within the UCP messages.

The renumbering rules are as follows:


For request operations and responses in the reverse directions don't need the application of such a renumbering.

The renumbering rules are as follows:


Handling spare (reserve) and load-sharing rules

Sparing and load-sharing rules are defined per each client port in the UCP client port list file. For the different SMSC connections different rules can be defined. Sparing and sharing rules are as follows: Notes:

Port list file

The port list file defines the available ports for the clients and the sparing and load-sharing roles for them.
Each row of the list defines a port and has the following structure:

An example

	+  5010 Y ---AA 3 Test OTA         ;
It means:

Rule files

These files define the rules to be applied for A- and B-number verifications and to decide whether they are LargeAccounts or mobile equipments.
Rules are evaluated in the following ways.

For SUBMIT (51) operations

For DELIVER (52) operations

Further notes


Logging

The module creates daily logfiles about its operation. The name of the logfile is "modulename_YYYYMMDD.log", reflecting the day when it is created.
The module can write information into the logfile and onto the screen at various detail levels, set by the [Log]/Details menu item. The logging level can be: Status line counters are logged in every fifteen minutes irrespectively of logging level actually set.

The color coding of the log lines have the following meaning:

Code Color Usage
0 Black Compact data record
1 Red Errors
2 Green Open/close output file/stream
3 Blue Open/close input file/stream
4 Yellow Warnings
5 Light Grey Detailed data (debug info)
6 Dark Grey Detailed data (user info)
7 Purple Operator intervention;
Errors with emphasis

Per-connection logging

There can be a unique log file for each active client port with different log level, which can be set in the client port list file. The filename of the log contains the port number, like this:
	UCPGwC_5002_20141216.log
This log was created for the client that connected to the port 5002 on 16th of December in 2014.

Configuration (UCPGwC.ini) file settings

Section Entry Example Meaning
[Position]
  iLeft 140 Position of the program module on the display screen
  iTop 72 Position of the program module on the display screen
  iWidth 995 Position of the program module on the display screen
  iHeight 694 Position of the program module on the display screen
[Options]
  bAutoScroll True (Refer to the [Options]/Auto scroll menu item!)
[UCP Clients]
  sListFile UCPClientPorts.lst Define the path of the UCP client port list file
  bAcceptConnectionRequest True Initial value of [UCP Client]/Accept new connection request option.
  sRuleFilesPath D:\Ucp_gw_1\UCP_GWC\RuleFiles Defines the folder which contains the rule files
[SRI4SM]
  sHLRQueryModuleIPAddress 127.0.0.1 IP Address of the SgaSS7R5 module
  wHLRQueryModuleTCPPort 9069 Listening port of the SgaSS7R5 module
  wHLRQueryModuleConnectRetryDelaySec 3 Waiting time after unable to connect to the SgaSS7R5 module
  dwHLRQueryTimeoutMS 2000 Remaining time for the current SRI4SM request
  dwHLRQueryTimeoutCountLimit 2 Number of timed out queries to generate SNMP Trap
[UCP-Gw Server Modules]
  wTCPPort0 9900 Remote port of SMSC Handler #0
  wTCPPort1 9901 Remote port of SMSC Handler #1
  wTCPPort2 9902 Remote port of SMSC Handler #2
  wTCPPort3 9903 Remote port of SMSC Handler #3
  wTCPPort4 9904 Remote port of SMSC Handler #4
  bAllColdAreWarm False Initial value of 'All "cold" (.) ones are "warm" (+), too' option in the [SMSC handlers] menu
  wAutoRetryO60IntervalSec 60 Retry interval for connecting (O60 messages)
[Remote Control]
  wLocalPort 9801 Local port where the remote module can connect to
[Advanced]
  wLogDetailLevel 3 (Equals to the listed order; refer to the [Log]/Details menu item!)
  dwMaxLinesInLogWindow 1000 Number of lines in the log window on screen
  sLogFilesPath d:\LogFiles Path for the LOG files
  sTrapFilesPath d:\TrapFiles Path for the SNMP Trap files to be sent to the NMC/NOC