mobile_insight.analyzer.mobility_mngt module

A Mobility management analyzer.

Author: Yuanjie Li

class mobile_insight.analyzer.mobility_mngt.MobilityMngt

Bases: mobile_insight.analyzer.analyzer.Analyzer

A function analyzer that models mobility management. It offers two functions

  1. Mobility event notification

  2. A complete mobility history and configuration query

  3. A handoff rule inference module

__get_meas_obj(msg)

Parse MeasObjectToAddMod_element, return a measurement object

Parameters

msg – the XML msg with MeasObjectToAddMod_element

Returns

a measurement objects to be added

__get_report_config(msg)

Parse ReportConfigToAddMod_element, return a report config

Parameters

msg – the XML msg with ReportConfigToAddMod_element

Returns

a measurement objects to be added

__on_lte_nas_msg(msg)

Handle LTE NAS messages (traking area update and attach/detach) It updates the mobility state,

Parameters

msg – the event (message) from the trace collector.

__on_lte_rrc_msg(msg)

Handle LTE RRC messages. It updates the mobility state, recovers the partial state transition, and then the entire handoff mobility graph

Parameters

msg – the event (message) from the trace collector.

__on_umts_nas_msg(msg)

Handle UMTS NAS messages (location/routing area update and attach/detach) It updates the mobility state,

Parameters

msg – the event (message) from the trace collector.

__on_wcdma_rrc_msg(msg)

Handle WCDMA RRC messages. It updates the mobility state, recovers the partial state transition, and then the entire handoff mobility graph

Parameters

msg – the event (message) from the trace collector.

load_state_machine(path)

Load the mobility state machine from file

Parameters

path – the file path to load the state machine

print_mobility_policy()

Print out the handoff strategies

reset()

Reset the state machine

save_state_machine(output_path)

Save the mobility state machine

Parameters

output_path (string) – file path to save the state machine

set_handoff_prediction(b_predict)

Enable/disable handoff prediction

Parameters

b_prediction (boolean) – True if prediction should be enabled, False otherwise