Optimize the Network Traffic Flow according to Usage Preference