A novel framework for optimizing the edge network node for wearable devices