References

Use case overview and impacted components are described in the 5G OOF PCI optimization main wiki page.

1. Architecture

The architecture below depicts the SON-Handler MS as a part of DCAE. Only the relevant interactions and components are shown.


The internal architecture of SON-Handler MS is shown below.


1.1. Core Logic

This is composed of a Main Thread and one or more Child Threads. The Main Thread is responsible for spawning and terminating the Child Threads, this is described in the sections below.


1.2. Database

This is a PostgreSQL DB, and is intended to persist information such as the following:

1.3. DMaaP Client

This is responsible for registering with the DMaaP client for the DMaaP notifications from SDN-R and VES-Collector, and to Policy.

2. Core Logic components and Pre-processing algorithm

Note: The pre-processing logic may not be 100% fool-proof as well as the most efficient one. An attempt has been made to balance the usefulness for a PoC versus the complexity of handling all possible scenarios.

2.1. Main Thread

The state transition diagram is illustrated below:


The main actions in the various states are listed below:

2.1.1. Initialization

In this state, the following actions are performed:

2.1.2. Eternal Wait State

The main thread always comes back to this state (except when terminated). In this state, the inputs and associated actions are summarized below:

2.1.2.1. DMaaP message from VES-Collector received (PM/FM data)

2.1.2.2. SDN-R Notification handling

Upon receipt of a neighbor-list-change notification message (DMaaP) from SDN-R, do the following:

  1. Fetch the PCI_optimization requests (from DB) for which OOF has been triggered, and corresponding ‘cluster’ details
  2. For each ‘cluster’ for which OOF has been triggered, check if the Nodeid of the Cell Ci or at least one cell in its NbrList matches with any cell in the ‘cluster’
  3. If there is a match, then the request has to be buffered, along with the cluster indication (cluster id), else the notification has to be processed. If the notification has to be processed, then instantiate the PCI-ANR child thread (if not already active), and forward the notification.

2.1.2.3. OOF Response Handling

Upon invocation of API by OOF for PCI result pass it to the relevant child thread(s) (by request id <-> thread mapping). Store the OOF results in database along with the timestamp.

2.1.2.4. Policy response handling

2.1.2.5. Child Thread Status update handling

Clean up the resources associated with the child thread (including cluster details), and kill the child thread.

2.1.3. Terminating

Upon receiving a terminate request clean up all resources.

2.2. PCI-ANR Child Thread(s)

These child threads are spawned for handling PCI optimization primarily, though they may also trigger PCI-ANR joint optimization in some cases. The various states and associated actions are described below.

2.2.1 Initialization

In this state, perform initialization, and based on the type of notification, go to either Section 2.2.1.1 or 2.2.1.2 for next actions.

2.2.1.1. Neighbor list change notification received

2.2.1.2. FM notification received

2.2.1.3. Check if OOF can be triggered

Based on number of collisions/confusions and config policy, determine if OOF has to be triggered or more notifications should be awaited (handle also timeout case).

If OOF has to be triggered

then

if any ANR actions are ongoing by PM-child thread

Go to "Wait for PM-based ANR actions" state (Section 2.2.2)

else

Go to step 2.2.1.4 below.

fi

else

Go to "Wait for notifications/alarms" state (Section 2.2.3)

fi

2.2.1.4. Re-determine valid collisions/confusions

This step is to ensure that collisions and confusions are re-computed after PM-based ANR actions are completed. When transitioning from 2.2.1.1 or 2.2.1.2, this action need not be carried out. After re-computation of collisions/confusions, again a check on number of collisions/confusions should be done to determine if OOF has to be triggered or more notifications should be awaited (handle also timeout case).

If OOF has to be triggered

then

Go to Step 2.2.1.5 below

else

Go to "Wait for notifications/alarms" state (Section

fi

2.2.1.5. Determine OOF trigger type

A simple logic, for e.g., based on number of times PCI optimization has been triggered during a given time window could be used to determine whether PCI optimization or joint PCI-ANR optimization should be triggered.

If PCI optimization should be triggered

then

Go to "Trigger OOF, wait for PCI optimization results" state (Section 2.2.4)

else

Go to "Trigger OOF, wait for PCI-ANR optimization results" state (Section 2.2.5)

fi

2.2.2. Wait for PM-based ANR actions

Wait until PM-based ANR actions are completed by PM child thread. In this state, if any new notifications/alarms are received, then the child thread simply buffers them. Upon knowing that the PM-based ANR actions are completed, go to Step 2.2.1.4.

2.2.3. Wait for notifications/alarms

Wait for more notifications/alarms, and start notification_timer if not started already. Upon reception of a new notification/alarm, go to Step 2.2.3.1 below. Upon notification_timer expiry, go to Step 2.2.1.5.

2.2.3.1. Process notification/alarm

Note: When transitioning to this state from Handle buffered notifications state, more than 1 notification may have to be handled.

2.2.4. Trigger OOF, wait for PCI optimization results

2.2.5. Trigger OOF, wait for PCI-ANR optimization results

if response contains PCI updates

then

Prepare DMaaP messages to Policy for the cells whose PCI value has changed, as well as to all the neighbors of the cells whose PCI value has changed. The pnf-name corresponding to the cell-ids can be fetched from Config DB of SDN-R (using REST API). (Note: The layout of the message from SDN-R to RAN is available in the SDN-R sub-page)

fi

if response contains NRT updates (corresponding to ANR)

Update/prepare DMaaP messages to Policy for the cells whose neighbors have undergone updates (with indication "HO prohibited"). The pnf-name corresponding to the cell-ids can be fetched from Config DB of SDN-R (using REST API). (Note: The layout of the message from SDN-R to RAN is available in the SDN-R sub-page)

fi

2.2.6. Handling Policy Response

2.2.7. Wait for RAN updates

Wait in this state until buf_timer expires. If any notification/alarm is received in this state, simply buffer/store them. Upon expiry of buf_timer, check if there are any buffered notifications.

if there are buffered notifications/alarms

then

else

fi

2.3. PM-child thread

This child thread perform all PM-related computations, and initiate autonomous ANR updates based on HO metrics.

2.3.1. Initialization

In this state, all data structures are initialized. This includes any processing-pending PM data, processed PM data and populating details from DB.

2.3.2. Wait for PM inputs

In this state PM inputs are awaited. Upon reception of PM inputs, do the following:

2.3.2.1 Handle PM inputs

    1.    < threshold_bad
    2.    < threshold_poor, but >= threshold_bad

then

2.3.2.2. Check readiness for ANR actions and carry out next steps

if ANR actions can be carried out (i.e., any PCI-ANR actions are ongoing by a PCI-ANR child thread)
then

if Policy_rsp is not pending

then

2.3.2.2.1. Prepare and send message(s) to Policy

Prepare and send DMaaP messages to Policy for all the cells whose neighbors have to be updated with "HO prohibited".

Start policy_rsp timer

Go to "Wait for Policy response" state (Section 2.3.4)

else

Go to "Wait for Policy response" state (Section 2.3.4)

fi

else

Go to "Wait for PCI-ANR child thread(s) action completion" state (Section 2.3.3 )

fi

else

Remain in "Wait for PM inputs" state (Section 2.3.2).

fi

2.3.3. Wait for PCI-ANR child thread(s) action completion

When an indication that PCI-ANR child thread(s)' actions are completed is received, go to Step 2.3.2.2.1. If any PM inputs are received, go to Step 2.3.2.

2.3.4. Handling Policy response