A Method for Network Data Collection and Processing in the Pervasive Computing Environment